text stringlengths 13 6.01M |
|---|
using System.IO;
using System.Xml.Linq;
using EngageNet.Exceptions;
namespace EngageNet.Api
{
public static class ApiResponseParser
{
public static XElement Parse(TextReader responseReader)
{
if (responseReader == null)
throw new EngageException("No response to parse");
var doc = XDocument.Load(respo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spear : MonoBehaviour
{
public int dmg = 10;
public float speed;
private Rigidbody rb;
public GameObject explosionFx;
void Start()
{
rb = GetComponent<Rigidbody>();
rb.AddForce(transform.forward * speed);
... |
using System;
namespace SuperRpgGame.Items
{
public class Beer : Item
{
public Beer(Position position, char itemSymbol, BeerSize beerSize)
: base(position, itemSymbol)
{
this.BeerSize = beerSize;
}
private BeerSize BeerSize { get; set; }
publi... |
namespace com.Sconit.Web.Controllers.ORD
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AutoMapper;
using com.Sconit.Entity;
using com.Sconit.Entity.Excepti... |
namespace Fingo.Auth.ManagementApp.Services.Interfaces
{
public interface ITokenService
{
string RegistrationState(string jwt);
}
} |
using System.Diagnostics.CodeAnalysis;
using WitsmlExplorer.Api.Jobs.Common;
using WitsmlExplorer.Api.Jobs;
using System.Threading.Tasks;
using WitsmlExplorer.Api.Services;
using WitsmlExplorer.Api.Workers;
using Xunit;
namespace WitsmlExplorer.IntegrationTests.Api.Workers
{
[SuppressMessage("ReSharper", "xUnit100... |
using System;
using System.Collections.Generic;
using System.Linq;
using WebStore.Domain.Models;
using WebStore.Interfaces.Services;
using WebStore.Services.Data;
namespace WebStore.Services.Services.InMemory
{
public class InMemoryEmployeesData : IEmployeesData
{
private readonly List<Employee> _Emp... |
using System.IO;
using AxiEndPoint.EndPointClient.Transfer;
namespace AxiEndPoint.EndPointClient
{
public interface IRequest
{
Message Message { get; }
IResponse Create(Stream stream);
}
} |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MSTestFramework.Helpers;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MSTestFramework.Extensions
{
public static class JsonExtension
{
... |
namespace HBPonto.Kernel.Helpers
{
public class AppSettings
{
public string Secret { get; set; }
public string ConnectionString { get; set; }
public string HostJira { get; set; }
public string AuthJiraToken { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Entities
{
public class QuestionBE
{
#region publicProperties
public Guid Id { get; set; }
public string Question { get; set; }
public VariantBE RightVariant { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.Linq;
using System.Web;
/// <summary>
/// Descripción breve de Avisos
/// </summary>
public class Avisos
{
public int gsUsuario { set; get; }
public string gsVersion { set; get; }
/// <summary>
... |
using System.Threading.Tasks;
namespace gView.Framework.IO
{
public interface IMetadataProvider : IPersistable
{
Task<bool> ApplyTo(object Object);
string Name { get; }
}
}
|
namespace gView.Framework.Geometry
{
public interface IHole : IRing
{
}
}
|
using System;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.INP
{
[Serializable]
public partial class InspectResult : EntityBase, IAuditable
{
#region O/R Mapping Properties
//[Display(Name = "Id", ResourceType = typeof(Resources.INP.InspectResult))]
publ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class ReloadScene : MonoBehaviour {
Scene scene;
private void Awake()
{
scene = SceneManager.GetActiveScene();
var btn = GetComponen... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Projeto_Carros.Migrations
{
public partial class First : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Carros",
... |
using Prism.Modularity;
using Prism.Regions;
using Prism.Events;
using System;
using System.Linq;
using Microsoft.Practices.Unity;
using HabMap.CanvasModule.Events;
using HabMap.CanvasModule.Models;
using HabMap.CanvasModule.ViewModels;
using HabMap.CanvasModule.Views;
using HabMap.Artist.Events;
using Prism.Commands;... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class UpgradeMoveNoise : MonoBehaviour {
public bool noiseVisible = false;
public int currentNoise = 5;
private int currentIndex = 0,
nextIndex = 0;
private bool fadeIn = true;
public bool displayPanel = false;
public bo... |
using DSSLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using DSSCriterias.Logic;
namespace DSSAHP
{
public class StatGameView : View<StatGame>
{
public MtxStat Mtx => Source.Mtx;
public IEnum... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bat : Interactable
{
public float swingDuration = 1;
Vector3[] initialScale;
public float swingGrowFactor = 1.5f;
public AudioSource myAudioSource;
public AudioClip batteSwingClip;
protected override v... |
namespace GraphicalEditorServer.DTO
{
public class EquipmentTypeDTO
{
public int Id { get; set; }
public string Name { get; set; }
public bool IsConsumable { get; set; }
public EquipmentTypeDTO()
{
}
public EquipmentTypeDTO(int id, string equipementType... |
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terraria;
namespace StarlightRiver.Codex
{
public class CodexEntry
{
public bool Locked = true;
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TRPO_labe_4.Real_Estate;
namespace TRPO_labe_4
{
class Program
{
static void Main(string[] args)
{
var cottage = new Cottage
(
3... |
using SFA.DAS.CommitmentsV2.Api.Client;
using SFA.DAS.CommitmentsV2.Shared.Interfaces;
using SFA.DAS.ProviderCommitments.Web.Models;
using System.Threading.Tasks;
namespace SFA.DAS.ProviderCommitments.Web.Mappers.Apprentice
{
public class RecognisePriorLearningRequestToViewModelMapper : IMapper<RecognisePriorLear... |
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LibModels.common;
namespace LibModels
{
public class TaiKhoan
{
private byte _ID;
private string _Username;
private ... |
using System.ComponentModel;
namespace PhuLiNet.Business.Common.Enums
{
public enum EArticleOrProduct
{
[Description("1")]
Article,
[Description("2")]
Product
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using System.Web.Security;
using CAPCO.Models;
using CAPCO.Infrastructure.Services;
using CAPCO.Infrastructure.Domain;
using CAPCO.Infrastructure.Mailers;
using CAPCO.Infrastr... |
using JT808.Protocol.Attributes;
using JT808.Protocol.Formatters;
using JT808.Protocol.MessagePack;
namespace JT808.Protocol.MessageBody
{
/// <summary>
/// 接收终端 SMS 文本报警号码
/// </summary>
public class JT808_0x8103_0x0044 : JT808_0x8103_BodyBase, IJT808MessagePackFormatter<JT808_0x8103_0x0044>
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Data.Entity;
using System.Xml.Linq;
using Castle.Components.DictionaryAdapter;
using Meshop.Framework.Model;
using Meshop.Framework.Services;
namespace Meshop.Core... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Alps.Web.Canteen.Model
{
public abstract partial class EntityBase
{
public Guid ID { get; set; }
[Timestamp]
[ScaffoldColumn(false)]
public byte[]... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
using DataAccess.Model;
using DataAccess.Repository;
using KioskClient.View;
namespace KioskClient.ViewModel
{
public class CatalogPageViewModel : ViewModelBase
{
private read... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Imp.Admin.Models.Users;
using Imp.Core.Domain.Users;
using Imp.Services.Users;
namespace Imp.Admin.Controllers
{
/// <summary>
/// role controller
/// </summary>
public class RoleController... |
using System;
class ToyShop
{
static void Main()
{
double vacation = double.Parse(Console.ReadLine());
int puzzles = int.Parse(Console.ReadLine());
int talkingDoll = int.Parse(Console.ReadLine());
int teddyBear = int.Parse(Console.ReadLine());
int minnions = int.Parse(... |
using System;
using Refit;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using NewBeeProject.Models;
namespace NewBeeProject.Services
{
public interface INewBeeAPI
{
//Student endpoint
[Post("/student")]
Task RegisterStudent([Body] Student NewStudent... |
using MinecraftToolsBoxSDK;
using System.Windows;
using System.Windows.Controls;
namespace MinecraftToolsBox.Commands
{
/// <summary>
/// Title.xaml 的交互逻辑
/// </summary>
public partial class Title : Grid, ICommandGenerator
{
CommandsGeneratorTemplate CmdGenWindow;
public Title(Comm... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(AudioSource))]
public class AudioController : MonoBehaviour
{
AudioSource source;
public List<AudioClip> clips;
static AudioController instance;
public static AudioController Instance
{
get
{
if (ins... |
using ContestsPortal.Domain.DataAccess.Providers.Interfaces;
using ContestsPortal.Domain.Models;
using Microsoft.AspNet.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ContestsPortal.Domain.DataAccess.Providers
{
public class ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing;
namespace UI
{
internal class MyFormExc05 : Form
{
TextBox Tb1 = new TextBox();
TextBox Tb2 = new TextBox();
Label InfoL... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace EBS.Admin.PayServices
{
public class PayRouteAttribute:Attribute
{
public PayRouteAttribute(string routeName)
{
this.RouteName = routeName;
}
public string RouteName { g... |
using Autofac;
using DemoLibrary;
using System.Linq;
using System.Reflection;
namespace ConsoleUI
{
// based on dependency inversion principle, the top level object will control all our dependencies,
// in the top we mean our program cs, which is outer layer, it would control how we wire the dependencies and... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Training.Framework
{
public class ConcurrencyException : Exception
{
}
}
|
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace RU.Tinkoff.Acquiring.Sdk {
// Metadata.xml XPath class reference: path="/api/package[@name='ru.tinkoff.acquiring.sdk']/class[@name='PaymentStatus']"
[global::Android.Runtime.Register ("ru/tinkoff/acquiring/sdk/PaymentStatus", DoNotGene... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
namespace Bezier
{
public class VisualHost : UIElement
{
public Visual Visual { get; set; }
protected override int VisualChildr... |
namespace ForumSystem.Data.Models.Enums
{
public enum VoteType
{
Dislike = -1,
Neutral = 0,
Like = 1,
}
}
|
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace EDDiscovery2.PlanetSystems
{
public class EdMaterializer : HttpCom
{
public EdMaterializer()
{
#if DEBUG
// Dev server. Mess with data as ... |
/******************************************************************************\
* Copyright (C) 2012-2016 Leap Motion, Inc. All rights reserved. *
* Leap Motion proprietary and confidential. Not for distribution. *
* Use subject to the terms of the Leap Motion SDK Agreement available at ... |
using System;
using System.Collections.Generic;
using System.Linq;
using iSukces.Code.Interfaces;
using JetBrains.Annotations;
namespace iSukces.Code.Typescript
{
public class TsMethod : ITsClassMember
{
public TsMethod(string name = null)
{
Name = name;
}
public T... |
using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.IaasCmdletInfo.Extensions.Common
{
public class GetAzu... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Work.HTTP.Response
{
public class RedirectResponse:HttpResponse
{
public RedirectResponse(string newLocation)
{
this.Headers.Add(new Header("Location",newLocation));
this.Code = HttpResponseCod... |
using System;
using System.ComponentModel;
using System.Timers;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace GridTest
{
public class GridEntry : INotifyPropertyChanged
{
static private FormatConvertedBitmap[] ArrayImages;
// a static constructor to cache these pi... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
namespace net.callOut
{
class callOutThread
{
SqlDataReader EvaluationSDR; List<Evaluation> le ;
public static... |
using UnityEngine.InputSystem;
namespace UnityAtoms.InputSystem
{
/// <summary>
/// Action of type `InputAction.CallbackContext`. Inherits from `AtomAction<InputAction.CallbackContext>`.
/// </summary>
[EditorIcon("atom-icon-purple")]
public abstract class InputAction_CallbackContextAction : A... |
using Com.Colin.Lib;
using System;
using System.Web.Mvc;
namespace Com.Colin.UI.Filters
{
[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
public class CustomExceptionFilter : HandleErrorAttribute
{
public override void OnException(ExceptionContext filterContext)
... |
using UnityEngine;
public abstract class SingletonScriptableObject<T> : ScriptableObject where T : ScriptableObject
{
static T instance = null;
public static T Instance
{
get
{
if (!instance)
instance = Resources.Load<T>(typeof(T).Name);
return ins... |
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using OpenQA.Selenium.Support.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace KeepTeamAutotests.Pages
{
public class NewAssetPopup : PopupPage
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ClockUIScript : MonoBehaviour
{
public Image RedOverlay;
public float FillAmount;
void Start ()
{
RedOverlay.fillAmount = 0;
}
void Update()
{
RedOverlay.fillAmount = Fil... |
using VehicleInventory.Services.Contracts;
using CodingExercise.API.App_Start;
using VehicleInventory.Services;
using CodingExercise.Data;
using System.Web.Http;
using Unity.WebApi;
using Unity;
namespace CodingExercise.API
{
public static class UnityConfig
{
public static void RegisterComponents()
... |
using System;
using System.IO;
using System.Linq;
using DelftTools.Shell.Core;
using DelftTools.Shell.Core.Dao;
using DelftTools.TestUtils;
using DelftTools.Utils.Aop.NotifyPropertyChange;
using DelftTools.Utils.IO;
using DelftTools.Utils;
using NUnit.Framework;
using Rhino.Mocks;
namespace DelftTools.Tests.Shell.Core... |
namespace Newbe.Claptrap.EventCenter.RabbitMQ
{
public interface IMessageSerializer
{
byte[] Serialize(string source);
string Deserialize(byte[] bytes);
}
} |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace KFrame.Sources
{
/// <summary>
/// Class SourceAbstract.
/// </summary>
public abstract class SourceAbstract
{
/// <summary>
/// Gets or sets the prefix.
/// </summary>
/// <value>The prefix.</v... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Attendance.Resources
{
public partial class frm_Vac : Form
{
#region Declarati... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
public class SubjectEventBroadcasting : MonoBehaviour {
//we need to define the subject that we are interested in changes happening to
public Button subject;
//and create an even... |
/**
* Stored Procedure Name: tutorial_2
*
* Parameters:
*
*
* Result Set:
* name VARCHAR(40)
* total MONEY(8)
*/
#region Using list
using Ctree.SqlSP;
using System;
using System.Collections.Generic;
using System.Text;
#endregion
#region Stored procedure namespace and class heade... |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace skyConverter.ModelStructure
{
class Material : ISerializer
{
private String file = "";
private String name = "";
public double diffuse... |
namespace Cluj.GPS2Address
{
public struct GoogleAddressType
{
public string long_name { get; set; }
public string short_name { get; set; }
public string[] types { get; set; }
}
public struct GoogleAddressInfo
{
public GoogleAddressType[] address_components { get; se... |
using TiledSharp;
public class MapSquare {
public int tileSetId;
public int x;
public int y;
public bool isWalkable;
public MapSquare(TmxLayerTile sourceTile)
{
tileSetId = sourceTile.Gid;
x = sourceTile.X;
y = sourceTile.Y;
}
}
|
using UnityEngine;
using System.Collections;
public class WelcomeGamePhaseUI : GamePhaseUI {
public ZoomInWithBounce logoZoomer;
public ZoomInWithBounce buttonsZoomer;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public override void ConfirmLa... |
using System.Windows.Input;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using AGCompressedAir.Windows.Extensions;
namespace AGCompressedAir.Windows.Controls
{
public class PageHeader : Control
{
private bool _initialized;
private Button _searchButton;
private AutoSuggestBox ... |
using System;
using System.Globalization;
using System.Linq;
using AutoMapper;
using ReactMusicStore.Core.Domain.Interfaces.Foundation;
using ReactMusicStore.Core.IoC;
namespace ReactMusicStore.WebApi.Framework.Mapping
{
public class MappingDefinitions
{
public void Initialise()
{
... |
// Copyright © 2020 Void-Intelligence All Rights Reserved.
namespace Vortex.Normalization.Utility
{
public enum ENormalizationType
{
NoNorm
}
}
|
namespace PopulationFitness.Simulation
{
public enum RunType
{
Series,
Parallel,
}
}
|
using System;
using System.Collections.Generic;
using System.Threading;
namespace ObserverPattern
{
interface IPublisher
{
void Attach(IObserver observer);
void Detach(IObserver observer);
void Notify();
}
interface IObserver
{
void Update(IPublisher publisher);
... |
using UnityEngine;
using TMPro;
using UnityEngine.UI;
using Photon.Realtime;
using System;
public class TradingManager : MonoBehaviour
{
private const float MALUS_AMOUNT = .85f;
private const string EUROS_PRICE = "Euros_Price";
private const string DOLLARS_PRICE = "Dollars_Price";
private const strin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using APIWeb.Models;
namespace APIWeb.Controllers
{
[Route("api/hardware")]
[ApiController]
public class hardwareController : ControllerBase... |
using System;
using System.Globalization;
using NodaTime;
using NodaTime.Text;
using Xamarin.Forms;
namespace Zenworks.UI {
public class DurationStringConverter : IValueConverter {
private static readonly DurationPattern hm = DurationPattern.CreateWithCurrentCulture("H'h' m'm'");
public object Con... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Media;
namespace TRPO_labe_10
{
public class LuckyTicketContext
{
private List<int> _percents = new List<int>();
public IEnume... |
using Android.App;
using Android.Content;
using Android.OS;
using OdborkyApp.Activities;
namespace OdborkyApp.Base
{
[Activity(Label = "ChallangeAppBaseActivity")]
public abstract class LoadedChallengesBasedActivity : AccountRequiringBaseActivity<SkautIsConnectActivity>
{
protected override void On... |
using System;
using System.Linq;
using System.Web.Mvc;
using ClotheOurKids.Web.Models.ViewModel;
using ClotheOurKids.Model;
using Microsoft.AspNet.Identity;
using System.Collections.Generic;
using ClotheOurKids.Web.Models;
using Microsoft.AspNet.Identity.EntityFramework;
using System.Threading.Tasks;
using Postal;
usi... |
using System;
namespace InterestRateApp.Contracts.Responses
{
public class CustomerDTO
{
public Guid Id { get; set; }
public string PersonalId { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
}
} |
using System.Collections;
using UnityEngine;
public class ObstacleController1 : MonoBehaviour
{
public UIController2 UIController2;
private void OnCollisionEnter (Collision hit)
{
if (hit.collider.CompareTag ("Player"))
{
hit.collider.GetComponent<Rigidbody> ().constraints = RigidbodyConstraints.Freez... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO.Ports;
namespace AxisEq
{
public class Bizerba:AbstractScale
{
SerialPort scale_sp;
public override event OnScanHandler OnScan;
public override event OnErrorHandler OnError;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TouchInput : MonoBehaviour
{
public Vector2 startPos;
public Vector2 direction;
[SerializeField] private GameObject trigger;
public List<Cell> touchedCells = new List<Cell>();
private ... |
using Dapper;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL
{
public class Class1
{
/// <summary>
/// 添加
/// </summary>
public int Add()
{... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HabMap.ProjectConfigurations.Models
{
public interface IProjectConfigurationModel
{
ObservableCollection<IClientInterfaceModel> ClientInte... |
using System;
using System.Collections.Generic;
namespace ComLib.Extensions
{
public static class ListExtensions
{
/// <summary>
/// Gets string of all items in the collection.
/// </summary>
public static string ToString<T>(this IList<T> collection, char seperator = ',')
... |
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Text;
namespace AspCoreBl.Model
{
public class ErrorDetail
{
public Exception Ex { get; set; }
public HttpRequest Request { get; set; }
public string ConnectionId { get; set; }
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QTouristik.Data.Booking
{
public class BookingProcess
{
public string id { get; set; }
public List<BookingProcessPart> BookingProcessInquiryPart { get; set; } = new Lis... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace AHAO.TPLMS.Entitys
{
public class User
{
[DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
public int Id { ... |
using Prism.Commands;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UPractice.Dbcontext;
using UPractice.Model;
namespace UPractice.ViewModel
{
class AddFacultyVM : BindableBase
... |
using System;
using System.Collections.Generic;
using System.IO;
namespace Ferris_Directory_Scanner
{
public enum OwnFileSort
{
Name,
Pfad,
Size
};
[Serializable]
public class OwnFile
{
public bool Favourite { get; set; }
public string Name { get; set;... |
using System;
using System.Linq;
using Boxofon.Web.Helpers;
using Boxofon.Web.Model;
using Boxofon.Web.Services;
using Nancy;
using Nancy.Helpers;
using Nancy.Security;
using TinyMessenger;
namespace Boxofon.Web.Modules.Account
{
public class PrivateNumbersModule : WebsiteBaseModule
{
private readonly... |
using System.Linq;
using Raven.Client.Indexes;
namespace Common
{
public class AllNames : AbstractIndexCreationTask<Record>
{
public AllNames()
{
Map = records =>
from record in records
from given in record.Name.Split(' ')
where given... |
using System;
using System.Collections.Generic;
namespace _02.ExcelFunctions
{
class Program
{
static void Main(string[] args)
{
var rows = int.Parse(Console.ReadLine());
var table = new string[rows][];
for (int row = 0; row < rows; row++)
{
... |
using ND.FluentTaskScheduling.Command;
using ND.FluentTaskScheduling.Core;
using ND.FluentTaskScheduling.Core.CommandSet;
using ND.FluentTaskScheduling.Core.TaskSet;
using ND.FluentTaskScheduling.Helper;
using ND.FluentTaskScheduling.Model;
using ND.FluentTaskScheduling.Model.request;
using ND.FluentTaskSchedul... |
using System;
using Autofac;
namespace Simple.Wpf.Composition.Workspaces.Example
{
public sealed class ExampleWorkspaceDescriptor : IWorkspaceDescriptor
{
private readonly Uri _resources = new Uri("/simple.wpf.composition;component/workspaces/example/resources.xaml",
UriKind.Relati... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RPG
{
class Tod
{
static public void KeinLeben()
{
Console.WriteLine("Dein Leben ist kleiner oder gleich 0.");
Console.WriteLine("Neu versuchen? (J/j)");
string n... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityEngine.UIElements;
using UnityAtoms.Editor;
using UnityAtoms.MonoHooks;
namespace UnityAtoms.MonoHooks.Editor
{
/// <summary>
/// Event property drawer of type `CollisionGameObject`. Inherits from `AtomEventEditor<CollisionGameObject, CollisionGameObje... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Mono.Profiling
{
/*
Missing checks:
CompileMethod
JitHelper
Code range overlap
AllocEvent
Check for overlapped allocations between 2 GC cycles
HandleCreatedEvent
Check if the object is valid
Ignored events:
... |
using UnityEngine;
using UnityEngine.Events;
public class SphereTouch : MonoBehaviour {
[SerializeField]
private UnityEvent onTouch;
public void DoTouch(){
this.onTouch.Invoke();
}
void OnMouseDown(){
this.DoTouch();
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.