text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
namespace SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Responses
{
public class GetStandardResponse
{
public string StandardUId { get; set; }
public string IfateReferenceNumber { get; set; }
public int LarsCode { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Web.Configuration;
public partial class PrintBooking : System.Web.UI.Page
{
protected void... |
namespace GFW
{
public class LuaModule : BusinessModule
{
private object m_args;
/// <summary>
/// 构造函数传入Lua模块名
/// </summary>
internal LuaModule(string name) : base(name) { }
public override void Create(object args = null)
{
LogMgr.Log("创建L... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebApplication1.BLL.Interface;
using WebApplication1.DLL;
using WebApplication1.DLL.Repository.Interface;
namespace WebApplication1.BLL
{
public class DepartmentBLL : IDepartmentBLL
{
... |
using System;
using System.IO;
using System.Net;
using Microsoft.AspNetCore.Mvc;
using Schober.Felix.ITunes.Controller;
using Schober.Felix.ITunes.Controller.Model;
using Schober.Felix.ITunes.Server.Model;
namespace Schober.Felix.ITunes.Server.Controllers
{
[Produces("application/json")]
[Route("api/Playlist"... |
using Autofac;
using EmberKernel.Services.EventBus.Handlers;
using EmberKernel.Services.EventBus.SubscriptionManager;
using System;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
namespace EmberKernel.Services.EventBus
{
public class MemoryEventBus : IKernelService, IEventBus, IDisp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CS691final.App_Code;
namespace CS691final
{
public partial class OrderManagePage : System.Web.UI.Page
{
protected void btnWork_Click(object sender, EventArgs... |
using System;
using System.Runtime.InteropServices;
namespace Vlc.DotNet.Core.Interops.Signatures
{
[StructLayout(LayoutKind.Sequential)]
internal struct LibvlcMediaTrackT
{
public UInt32 Codec;
public UInt32 OriginalFourCC;
public int Id;
public MediaTrackTypes Type;
... |
using System;
using System.ComponentModel;
using Matrix = System.Numerics.Matrix4x4;
namespace Jypeli.GameObjects
{
/// <summary>
/// Kaikille peliolioille yhteinen kantaluokka
/// </summary>
public abstract class GameObjectBase : Tagged, Destroyable
{
private Layer _layer = null;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IWorkFlow.DataBase;
namespace IWorkFlow.ORM
{
[Serializable]
[DataTableInfo("GIG_Dzsp", "id")]
public class GIG_Dzsp : QueryInfo
{
[DataField("id", "GIG_Dzsp", false)]
public int id
{
... |
using System;
namespace LotSystem
{
class MainClass
{
public static void Main(string[] args)
{
while (true) // loops the program
{
Fare customerFare = new Fare(); // creates object of Fare class
DateTime expired; //used to assign expired ... |
using System.Web.Mvc;
namespace DevExpress.Web.Demos {
public partial class ChartController : DemoController {
[HttpGet]
public ActionResult FinancialViews() {
ViewData[ChartDemoHelper.OptionsKey] = new ChartFinacialViewsDemoOptions();
return DemoView("FinancialViews", Dell... |
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApi.Database.Entities;
namespace WebApi.ViewModel.Mappings
{
public class UserMappingProfile : Profile
{
public UserMappingProfile()
{
CreateMap<User, UserVie... |
using System;
namespace Blackjack21.Game.Exceptions
{
/// <summary>
/// Throws a player does not exist exception
/// </summary>
public class PlayerExistsException : Exception
{
public PlayerExistsException(string playerName) : base(string.Format("Player {0} already exists", playerName))
... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FSDP.DATA.EF.Repositories
{
public class CourseAssignmentsRepository : GenericRepository<CourseAssignment>
{
public CourseAssignmentsRepository(DbCont... |
using System;
using System.Collections.Generic;
using Uintra.Core.Updater.Sql;
namespace Uintra.Core.Updater
{
public interface IMigrationHistoryService
{
MigrationHistory GetLast();
List<MigrationHistory> GetAll();
void Create(string name, Version version);
void Create(IEnumer... |
using System;
using System.Drawing;
using System.Linq;
using System.Reactive.Linq;
using System.Reflection;
using System.Threading;
using System.Windows.Forms;
using Microsoft.Glee.Drawing;
using Microsoft.Glee.GraphViewerGdi;
using WikiCrawler.Core;
namespace WikiCrawler.Gui
{
public class Program
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FootballLeague
{
class CLeague
{
}
class LeagueBinaryFile
{
public class FILE_INFO
{
public static int cFileVersion = 1;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace ASSAREG
{
public partial class Main : Form
{
public Main()
{
InitializeComponent();
}
priv... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour {
[SerializeField]
Ball ball;
[SerializeField]
Padle padle;
public static Vector2 bottomLeft;
public static Vector2 topRight;
// Use this for initialization
... |
using ContactsDirectory.Domain.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ContactsDirectory.Domain.Application
{
public interface IContactRepository : IRepository<Contact>
{
Task<List<Contact>> GetAll();
IQueryable<Contact> Search();
... |
using System;
using EnsureThat.Annotations;
using JetBrains.Annotations;
using NotNullAttribute = System.Diagnostics.CodeAnalysis.NotNullAttribute;
namespace EnsureThat
{
public static partial class EnsureArg
{
[return: NotNull]
[ContractAnnotation("param:null => halt")]
public static... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TextTest : MonoBehaviour
{
void Start()
{
//string[][] WrongOption;
//string p = "a=b=c=d;e=f=g=h";
//string[] Cache1 = p.Split(";"[0]);
//WrongOption = new string[C... |
using Cs_Gerencial.Dominio.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Gerencial.Dominio.Interfaces.Servicos
{
public interface IServicoServentiasOutras: IServicoBase<ServentiasOutras>
{
ServentiasOutras Obt... |
using System;
using System.Collections.Generic;
#if NET35_OR_ABOVE
using System.Linq;
#endif
using System.Text;
#if NET40_OR_ABOVE
using System.Threading.Tasks;
#endif
namespace Nu.Vs.Demo
{
public class BaseClass
{
public string BaseMessage { get; set; }
public BaseClass()
{
... |
using UnityEngine;
using System.Collections;
using UnityEngine.SocialPlatforms;
enum BrickType
{
Obstacle,
Bullet,
Normal,
};
enum LinebarType
{
Normal,
Touched,
};
enum BombBrickType
{
A_TYPE,
B_TYPE,
C_TYPE,
};
class Brick
{
public GameObject m_object;
public int m_col;
public BrickType m_type;
pu... |
/*
* Builded by Lars Ulrich Herrmann (c) 2013 with f.fN. Sense Applications in year August 2013
* The code can be used in other Applications if it makes sense
* If it makes sense the code can be used in this Application
* I hold the rights on all lines of code and if it makes sense you can contact me over the pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SnowBLL.Models.Users
{
public class UserConfirmationStatus
{
}
}
|
using Alabo.Properties;
using System;
namespace Alabo.Exceptions {
/// <summary>
/// 并发异常
/// </summary>
public class ConcurrencyException : ValidException {
/// <summary>
/// 初始化并发异常
/// </summary>
public ConcurrencyException()
: this("") {
... |
// Copyright (c) 2020, mParticle, Inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... |
using GraphQL.Types;
using GraphQL.Domain.Entities;
namespace GraphQL.Infra.Data.GraphQL.Type
{
public class BlogPostType : ObjectGraphType<BlogPost>
{
public BlogPostType()
{
Name = "BlogPost";
Field(_ => _.Id, type: typeof(IdGraphType)).Description("The Id of the Blog... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotate : MonoBehaviour
{
public bool local;
public Vector3 rot;
// Use this for initialization
// Update is called once per frame
void Update () {
if (!local)
{
transform.Rotate(rot.x * Time.deltaTime, rot.y * Ti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CitizenFX.Core;
namespace GTAOnline_Fivem_Server {
public class Spawning : BaseScript {
public static string motd = "Welcome to Adam's FiveM server!";
public Spawning() {
... |
using SuperMario.Entities.Blocks;
using System.Collections.Generic;
namespace SuperMario.Commands.BrickCommands
{
class QuestionToUsedBlockCommand : ICommand
{
private List<QuestionBlock> questionBlocks;
public QuestionToUsedBlockCommand(List<QuestionBlock> questionBlocks)
{
... |
#region License
// Copyright (c) 2012 Trafficspaces Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using log4net;
using MiNET;
using MiNETDevTools.Graphics;
using MiNETDevTools.Graphics.Biomes;
namespace MiNETDevTools.UI
{
publi... |
using System;
using Phenix.Core.Data;
namespace Phenix.Test.使用指南._21._5
{
/// <summary>
///
/// </summary>
[Serializable]
[Phenix.Core.Mapping.Class("Phenix.Test.使用指南._21._5.Business.AssemblyCriteria", FriendlyName = "")]
public class AssemblyCriteria : CriteriaBase
{
[Phenix.Core.Mapping.CriteriaFi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Entity.FVS
{
public class EntityProductLine
{
public int PartitioningKey { get; set; }
public int T134LeafID { get; set; }
public int T134EntityID { get; set; }
publ... |
using Parser_Console.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace Parser_Console.Classes
{
public class CorruptDocument : IDocument
{
public string FilePath { get; set; }
public string FileType => GetType().Name;
}
}
|
using Newtonsoft.Json;
namespace IntegrationAdapters.Dtos
{
public class PushPayload
{
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("message")]
public string Message { get; set; }
}
} |
using gView.DataSources.Fdb.MSAccess;
using gView.Framework.Data;
using System;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace gView.DataSources.Fdb.UI
{
public partial class FormRegisterGeographicView : Form
{
private IFeatureDataset _dataset;
private FormRegisterGeograp... |
namespace Sentry.NLog;
/// <summary>
/// Sentry Options for NLog logging. All properties can be configured via code or in NLog.config xml file.
/// </summary>
/// <inheritdoc />
[NLogConfigurationItem]
public class SentryNLogOptions : SentryOptions
{
/// <inheritdoc />
public SentryNLogOptions()
{
... |
using System;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.ContentApproval.Extensions;
using DFC.ServiceTaxonomy.ContentApproval.Models;
using DFC.ServiceTaxonomy.ContentApproval.Models.Enums;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Localizati... |
using System;
using System.Data.Common;
namespace gView.DataSources.MSSqlSpatial.DataSources.Sde.Repo
{
public class SdeColumn
{
public SdeColumn() { }
public SdeColumn(DbDataReader reader)
{
this.DatabaseName = reader["database_name"]?.ToString();
this.TableNa... |
using System.Threading.Tasks;
namespace TechEval.Core
{
public interface ICommandDispatcher
{
Task<CommandResult<TEntity>> Dispatch<TParameter, TEntity>(TParameter command);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace ChatApp
{
class Client //app.exe -client 127.0.0.1 420
{
IPAddress ipToConnect;
int p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.Dominio.Models.EBook.Map;
using Welic.Dominio.Patterns.Service.Pattern;
namespace Welic.Dominio.Models.EBook.Services
{
public interface IServiceEBook: IService<EBookMap>
{
L... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _2
{
class Program
{
static void Main(string[] args)
{
List<string> courses = Console.ReadLine().Split(", ", StringSplitOptions.RemoveEmptyEntries).ToList();
string command = Console.ReadLine();... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using FuzzyFramework.Dimensions;
using FuzzyFramework.Sets;
using FuzzyFramework.Graphics;
using FuzzyFramework;
using FuzzyFramework.D... |
using System;
using System.Windows.Forms;
namespace Phenix.Security.Plugin.Authoriser
{
public partial class TestForm : Phenix.Core.Windows.DialogForm
{
public TestForm(string ldapPath, string userNamePrdfix)
{
InitializeComponent();
_ldapPath = ldapPath;
_userNamePrdfix = userNamePrdfi... |
using Schmidt.Template.Data.Abstraction;
using Schmidt.Template.Data.Contexts;
using Schmidt.Template.Domain.Entities;
namespace Schmidt.Template.Data.Repository
{
public class PersonRepository : TemplateDbContext<Person>, IPersonRepository
{
public PersonRepository(TemplateContext context)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using MvcApplication1.Models;
using System.Xml;
using System.IO;
namespace MvcApplication1.Controllers
{
public class PractitionerController : Controller
{
glinttEntitie... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace LAOffsetUpdater
{
public class AddressObject
{
public string Name { get; set; }
public ScanType ScanType { get; set; }
public ValueType ValueType { get; set; }
public string StringSearch { get; set; }
... |
using Newtonsoft.Json;
using System;
using System.IO;
using System.Net;
using System.Xml.Serialization;
namespace WebDriverManager.Models
{
internal class WebServiceResponse
{
/// <summary>
/// The full URl
/// </summary>
internal string EndPoint { get; set; }
/// <summ... |
using KeepTeamAutotests.Model;
using KeepTeamAutotests.Pages;
using Newtonsoft.Json;
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace KeepTeamAutotests.AppLogic
{
public cla... |
using Backend.Model;
using ScheduleService.CustomException;
using ScheduleService.Model;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ScheduleService.Repository.Implementation
{
public class DoctorRepository : IDoctorRepository
{
private MyDbContext _context;
p... |
using Backend.Model;
using Backend.Model.Exceptions;
using Backend.Model.Users;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Backend.Repository.DoctorSpecialtyRepository.MySqlDoctorSpecialtyRepository
{
public class MySqlDoctorSpecialtyRepository : IDoctorSpecialtyRepository
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebApiBluesea
{
public partial class returnUrl : System.Web.UI.Page
{
readonly log4net.ILog log = log4net.LogManager.GetLogger("request_respon... |
using ExitGames.Client.Photon;
using Photon.Pun;
using Photon.Realtime;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class World : MonoBehaviourPun
{
public List<UnityPlayer> playerList = new List<UnityPlayer>();
public static World currentWorld;
public dou... |
using System;
using Shared;
namespace Broadcaster
{
class Program
{
private static void Main()
{
var hostName = "localhost";
var rabbitMQManager = new RabbitMqManager(hostName);
var newMessage = false;
var connection = rabbitMQManager.Factory.Cre... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public struct Slot
{
public Item slotItem;
public int slotItemNumber;
}
public class Storage : ScriptableObject
{
public Item[] slotItem;
public int[] slotItemNumber;
public virtual int GetFirstE... |
using System;
using UnityEngine;
using UnityEngine.UI;
public class ExitButton : MonoBehaviour {
public Button thisButton;
void Start()
{
try {
thisButton.onClick.AddListener(Exit);
}catch (NullReferenceException ex)
{
Debug.Log("예외발생");
}
... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
... |
using HtmlAgilityPack;
using System.Text;
namespace MyKeibaDemo
{
class CHttpConnection
{
public static HtmlDocument OpenRequest(string race_day,
string operation_track_code,
string sponsor_code,
... |
using StardewModdingAPI;
using StardewModdingAPI.Utilities;
using StardewValley;
using System.Collections.Generic;
namespace ClimatesOfFerngillRebuild
{
internal class ForceDays
{
private static readonly Dictionary<SDate, int> _forceDays = new Dictionary<SDate, int>
{
{ new SDate(1... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Event of type `StringPair`. Inherits from `AtomEvent<StringPair>`.
/// </summary>
[EditorIcon("atom-icon-cherry")]
[CreateAssetMenu(menuName = "Unity Atoms/Events/StringPair", fileName = "StringPairEvent")]
public seale... |
using System.Data.Entity.ModelConfiguration;
using Welic.Dominio.Models.Estacionamento.Map;
namespace Infra.Mapeamentos
{
public class MappingSolicitacoesVagasLiberadas : EntityTypeConfiguration<SolicitacoesVagasLiberadasMap>
{
public MappingSolicitacoesVagasLiberadas()
{
// Primar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using BAL_DataAcessLayer_;
using PAL_properties_;
using MyOwnWebsite;
namespace MyOwnWebsite.Forms
{
public partial class Depa... |
using System.Collections.Generic;
using System.Web.Mvc;
using CarDealer.Models.BindingModels;
using CarDealer.Models.ViewModels;
using CarDealer.Services;
namespace CarDealerApp.Controllers
{
[RoutePrefix("cars")]
public class CarsController : Controller
{
private CarsService service;
pub... |
using System;
namespace Day3Exercise
{
public class D4
{
static void Main()
{
Console.Write("Please input a number: ");
int n = Int32.Parse(Console.ReadLine());
Random r = new Random();
int g = r.Next(1, n);
while (Math.Abs(g * g - n) < 0.00001)
{
g = (g + n / g) / 2;
}
Console.Writ... |
using System.Collections.Generic;
namespace Generics
{
public class Box : ICountable
{
private List<T> items = new List<T>();
public int Count
{
get { return items.Count;}
}
public void Add(T item)
{
items.Add(item);
}
}
}
|
using gView.Framework.Data;
using gView.Framework.Geometry;
using gView.Framework.Network.Algorthm;
using gView.Framework.system;
using gView.Framework.UI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
namespace gView.Framework.Network.Tracers
{
[Regist... |
using System.ComponentModel.DataAnnotations;
using Alabo.Web.Mvc.Attributes;
namespace Alabo.Industry.Shop.Orders.Domain.Enums
{
/// <summary>
/// 订单类型
/// </summary>
[ClassProperty(Name = "订单类型")]
public enum OrderType
{
/// <summary>
/// 一般订单
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _002_Text_2_Line
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hey!");
Console.WriteLine();
Console.WriteLi... |
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 WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace BridgeProject
{
public partial class GameOptionsForm_Comp : Form
{
public GameOptionsForm_Comp()
{
... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using SimpleShop.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SimpleShop.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ProductsController : ControllerBase
{
reado... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MyForum.Infrastructure
{
public class GlobalConstants
{
// Project info
public const string ProjectName = "Game Zone";
public const string ProjectAuthor = "Danail Zlatarov";
public const string Project... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BookApiProject.Dtos;
using BookApiProject.Services;
using Microsoft.AspNetCore.Mvc;
namespace BookApiProject.Controllers
{
[Route("api/[Controller]")]
[ApiController]
public class CategoriesController : ... |
using FluentValidation;
using SFA.DAS.ProviderCommitments.Web.Models.Cohort;
namespace SFA.DAS.ProviderCommitments.Web.Validators.Cohort
{
public class SelectCourseViewModelValidator : AbstractValidator<SelectCourseViewModel>
{
public SelectCourseViewModelValidator()
{
RuleFor(x =>... |
using System;
using System.IO;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Running;
namespace Nono.Benchmark
{
public class Program
{
public static void Main(string[] args)
{
var config = DefaultConfig.Instance.AddDiagnoser(MemoryDiagnoser... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class Menu : MonoBehaviour
{
public Text levelText;
public Text highScoreText;
public Text highScoreText2;
public Text highScoreText3;
public Text lastScore;
public void Start()
{
if(levelText!= nul... |
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.CompilerServices;
namespace DanialProject.Models.Database
{
public class SalesAgent
{
public DanialProject.Models.Database.Agents Agents
{
get;
set;
}
[ForeignKey("Agents")]
public int? AgentsID
{
get;
set... |
using BookARoom.Model.BLL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
namespace BookARoom.Model.DAL
{
public class CustomerTypeDAL : DALBase
{
/// <summary>
/// Hämtar alla kundtyper ur databasen
... |
using System;
namespace Whathecode.System
{
/// <summary>
/// A base implementation for the Disposable pattern, implementing <see cref="IDisposable" />.
/// </summary>
public abstract class AbstractDisposable : IDisposable
{
public event Action OnDisposed;
bool _isCleanedUp = false;
~AbstractDisposable(... |
using ServiceBus;
using ServiceBusTestClient.Handlers;
using ServiceBusTestClient.Messages.Commands;
using ServiceBusTestClient.Messages.Events;
using System;
namespace ServiceBusTestClient
{
class Program
{
static void Main(string[] args)
{
var bus = new Bus();
bus.Sub... |
using HRMoneyAPI.Models;
using MongoDB.Driver;
using System.Collections.Generic;
using System.Linq;
namespace HRMoneyAPI.Services
{
public class VersaoService
{
private readonly IMongoCollection<Versao> _versao;
public VersaoService()
{
var client = new MongoClient("");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Alps.Web
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Start... |
using UnityEngine;
public class DebugShortcuts : MonoBehaviour {
[SerializeField]
private World world = null;
private void Update() {
if(!Pause.isPaused() && !PopupWindow.blockingInput() && Main.DEBUG) {
Position pos = CameraController.instance.getMousePos();
if(Input.Ge... |
using System;
using System.Linq.Expressions;
namespace DelftTools.Utils.Reflection
{
public static class PropertyInfoExtensions
{
public static string GetPropertyName<TClass,TProperty>(this TClass instance, Expression<Func<TClass,TProperty>> expression)
{
var member = expression.Bo... |
using System;
using System.Collections.Generic;
using System.Web;
using Nature.Common;
namespace Nature.Service.Data
{
/// <summary>
/// 获取ID + 随机数 ,用于上传图片的预订ID
/// </summary>
public class GetID : BaseAshxCrud
{
/// <summary>
/// 获取ID + 随机数 ,用于上传图片的预订ID
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using UI.Models;
using UI.Entidades;
namespace UI.Controllers
{
public class OpcionEventoController : ApiController
{
[HttpPost]
public Response<List<Evento>> List... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace Pathfinder
{
/// <summary>
/// a triangle-shaped structure. Consists of 3 Vertices
/// </summary>
public class Polygon
{
private static int s_IdCounter = 0;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ServantBedroom : SmallBedroom
{
private ServantBedroomTileset tileset;
public ServantBedroom() : base()
{
widthRange = new IntRange(6, 9);
heightRange = new IntRange(6, 9);
roomCode = RoomCode.ServantBedr... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class LoadLevels : MonoBehaviour {
// this class for loading and storing of textfiles
public TextAsset [] collectiveLevels;
public List<TextAsset> waypoints;
public List<TextAsset> levels;
public string waypointStringExtensi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AutoMapper;
namespace Alps.Web.Infrastructure.AutoMapper
{
public class ProductProfile : Profile
{
protected override void Configure()
{
CreateMap<Alps.Domain.ProductMgr.Product, Alps.Web.Mode... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XH.Infrastructure.Domain.Models;
namespace DSM.ImportData.Resolvers
{
public interface IEntityDataSource<T> : IEnumerable<T> where T : EntityBase
{
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using System.Reflection;
using DevExpress.XtraEditors;
using IRAP.Global;
using IRAP.Entity.FVS;
using IRAP.WCF.Client.... |
using System;
using ZYL.Core.Model;
using XmSoft.NetCore.DBContext;
namespace ZYL.Core.Interface.Repository
{
public interface IShop_Module_Setting_OperationRepository :IDefaultRepository<Shop_Module_Setting_Operation>
{
}
}
|
// QuickCuts Copyright (c) 2017 C. Jared Cone jared.cone@gmail.com
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.