text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SamOthellop.Model
{
public abstract class IOthelloAgent
{
/// <summary>
/// Returns Agent's move of choice
/// </summary>
/// <param name="game"></param... |
using Microsoft.SqlServer.Management.Smo;
using SqlServerWebAdmin.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace SqlServerWebAdmin
{
public partial class EditDatabaseUser : System.Web.UI.Page
{
... |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Windows.Forms;
namespace MouseSpeedSwitcher
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Ma... |
using System;
using System.Collections.Generic;
namespace POSServices.Models
{
public partial class DiscountRetailLines
{
public int Id { get; set; }
public int DiscountRetailId { get; set; }
public int? ArticleId { get; set; }
public int? BrandCode { get; set; }
public... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Z.Framework.DbEntity
{
public class CoreDbInitialiser: DropCreateDatabaseIfModelChanges<zEntity>
{
protected override void Seed(zEntity context)
... |
using Reactive.Flowable.Subscriber;
using System;
namespace Reactive.Flowable
{
public class FlowableWithUpstream<T, R> : IFlowable<R>
{
private readonly IFlowable<T> upstream;
Action<T, ISubscriber<R>> onNextFilter;
private readonly Action<int, ISubscription> onRequestFilter;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Linq.Mapping;
namespace upSight.CartaoCorp
{
public class RetornoCabecalhoBaseEN
{
#region Propriedades
[Column(Name = "IdRetIdentCab", DbType = "... |
namespace Cs_Notas.Infra.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class CidadesIbge : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.CidadesIbge",
c => new
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Serialization.Mappers
{
public interface ICorrelationMatrixManager
{
object[] GetObjects(object[] header);
}
}
|
namespace Zebble
{
using System;
using System.Reflection;
using System.Threading.Tasks;
public partial class WebView : View, IRenderedBy<WebViewRenderer>, FormField.IControl
{
string url, html, ResourceNamespace;
Assembly ResourceAssembly;
public readonly AsyncEvent Browser... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Student.Mangmnet.Models;
using Student.DAL;
using System.Threading.Tasks;
namespace Student.Mangmnet.Controllers
{
public class SubjectController : Controller
{
public ActionResult Index(str... |
namespace ApartmentApps.Api
{
public class ExternalUnitImportInfo : IExternalUnitImportInfo
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string UnitNumber { get; set; }
public string BuildingName { get; set; }
public string Address {... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace V50_IDOMBackOffice.AspxArea.Booking.Models
{
public class PaymentViewModel
{
public string Id { get; set; }
public string BookingId { get; set; }
public string docType { get; set; }
p... |
namespace CaseManagement.DataObjects
{
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("ReferralType")]
public partial class R... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
[RequireComponent(typeof(CapsuleCollider), typeof(Rigidbody))]
public class PlayerController_Noah : MonoBehaviour {
[SerializeField]
private Rigidbody _rb;
public float SPEED; //Player spee... |
using Alabo.Data.People.Internals.Domain.Entities;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using Alabo.Domains.Services;
using MongoDB.Bson;
namespace Alabo.Data.People.Internals.Domain.Services
{
public class InternalService : ServiceBase<Internal, ObjectId>, IInternalService
{
... |
using System.Reflection;
[assembly: AssemblyTitle("ThreeHeartDancePartner")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyVersion("1.0.3.0")]
[assembly: AssemblyFileVersion("1.0.3.0")]
|
using System;
using System.ComponentModel.DataAnnotations; // REMEMEBR TO IMPORT THIS!!!
namespace DojoSurvey.Models
{
public class Survey
{
[Required]
[MinLength(2)]
public string Name { get; set; }
[Required]
public string Location { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PastorDialogue : MonoBehaviour
{
private Text dialogue;
private TextScrambler scrambler;
public void Start()
{
scrambler = this.GetComponent<TextScrambler>();
... |
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
using System;
using System.Collections.Generic;
using System.Linq;
using ApartmentApps.Client.Models;
using Newtonsoft.Json.Linq;
namespace ApartmentApps.Client.Mode... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace KenanPROJEKT
{
public partial class test : System.Web.UI.Page
{
protected voi... |
using System;
using Windows.Foundation;
using Windows.Graphics.Display;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace SampleUWP
{
public sealed partial class S02 : Page
{
// A pointer to MainPage is needed if you want to call methods or variables in ... |
using AlgorithmProblems.Linked_List.Linked_List_Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Linked_List
{
class CopyLinkedListWithRandomNode
{
public static LinkedListNodeWithRandomPointer<int> ... |
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 CoVID
{
public partial class LoadForm : Form
{
public Action wor... |
namespace _08._MultiplyBigNumber
{
using System;
using System.Numerics;
public class Startup
{
public static void Main()
{
BigInteger firstNumber = BigInteger.Parse(Console.ReadLine());
BigInteger secondNumber = BigInteger.Parse(Console.ReadLine());
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ButtonParameter : MonoBehaviour
{
[Tooltip("正常时文本大小")] public int fontNormalSize = 50;
[Tooltip("悬浮时文本大小")] public int fonthighlightSize = 70;
[Tooltip("正常时文本颜色")] public Color fontNormalColor = Color.white;
[T... |
using Alabo.Cache;
using Alabo.Domains.Repositories;
using Alabo.Domains.Services;
using Alabo.Helpers;
using System;
using ZKCloud.Open.ApiBase.Connectors;
using ZKCloud.Open.ApiBase.Formatters;
using ZKCloud.Open.DiyClient;
namespace Alabo.Tool.Payment
{
public abstract class ApiStoreClient : RestClientBase, IA... |
using System;
using UnityEngine;
using UnityEngine.UI;
public class Level25 : MonoBehaviour
{
public Color clickedColor;
public Color defaultColor;
public AudioClip clip;
public Sprite snakeSprite;
private GameObject[] letters;
private string command;
private AudioSource audioSource;
... |
using eMAM.Data.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace eMAM.Service.DbServices.Contracts
{
public interface IStatusService
{
Task<Status> GetInitialStatusAsync();
Task<Status> GetStatusByName(string statusName);
... |
using System;
using System.Linq;
using Fingo.Auth.DbAccess.Models;
using Fingo.Auth.DbAccess.Models.CustomData.Enums;
using Fingo.Auth.DbAccess.Repository.Interfaces;
using Fingo.Auth.Domain.CustomData.ConfigurationClasses;
using Fingo.Auth.Domain.CustomData.ConfigurationClasses.Project;
using Fingo.Auth.Domain.Custom... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using EdjCase.JsonRpc.Router;
using EdjCase.JsonRpc.Router.Defaults;
using FiiiChain.Framework;
using System;
using System.Collectio... |
/** 版本信息模板在安装目录下,可自行修改。
* tb_error.cs
*
* 功 能: N/A
* 类 名: tb_error
*
* Ver 变更日期 负责人 变更内容
* ───────────────────────────────────
* V0.01 2017-04-05 10:52:23 N/A 初版
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│ 此技术信息为本公司机密信息,... |
using HtmlAgilityPack;
using System;
using System.Collections;
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;
using HtmlDocument = HtmlAgilityPack.HtmlDocument;
name... |
/*-------------------------------------------------------------------------------------------------------------
* Programa: Ejercicio 9
* Autor: Douglas W. Jurado Peña
* Versión: DAM 2018/2019
* Descripción: Escribe un programa que tome todos los ficheros dados como argumentos en la línea de comando y ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoNet.Controller;
namespace MongoNet
{
class Program
{
static void Main(string[] args)
{
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using Atomic.DbProvider;
using Autofac;
using Autofac.Builder;
using Autofac.Core.Lifetime;
namespace Atomic.Dependency
{
/// <summary>
/// 依赖注入管理者
/// <... |
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 mainMDI
{
public partial class ReturnFrm : Form
{
public ReturnF... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Xml;
using S... |
using eCommerceSE.Cliente;
using eCommerceSE.Model;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Web.UI;
namespace Enviosbase.Establecimiento
{
public partial class EstablecimientoList : System.Web.UI.Page
{
string llave = ConfigurationManager.AppSettings["Us... |
using System;
namespace TestApplication
{
internal class Artwork
{
public void run()
{
//this method is going to create an artwork
}
public void test ()
{
// this is going to be my work
string name = "Diana";
Console.Writ... |
using EPiServer.Core;
using EPiServer.DataAbstraction;
using EPiServer.DataAnnotations;
using EPiServer.Web;
using System.ComponentModel.DataAnnotations;
namespace EpiserverSiteFromScratch.Models.Pages
{
[ContentType(DisplayName = "StartPage", GUID = "7c20e845-7fde-4c82-ad9b-43d1369a8a9d", Description = "StartPag... |
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 z88dk_compile_options_helper_beta
{
public partial class target : Form
{
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RedBlackTreeProject
{
class RBTree
{
private RBTreeNode root = null;
private RBTreeNode newNode;
private RBTreeNode deleteChild;
private int level;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class simonWaiting : MonoBehaviour {
private float timer;
private bool started = false;
public float counter;
public GameObject Heart;
private void Start()
{
}
void Update () {
if (!star... |
using System;
namespace ex20
{
public class Pedido
{
public string[] itens;
public string Client;
public string Restaurant;
public string PayForm;
private void makeRequisition(string arg1){
Console.ForegroundColor=ConsoleColor.DarkMagenta;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlServerCe;
using System.IO;
using System.Windows.Forms;
namespace Speech_Example
{
class DataBase
{
public static void... |
using OctoFX.Core.Model;
namespace OctoFX.Core.Repository
{
public interface IBeneficiaryAccountRepository : IOctoFXRepository<BeneficiaryAccount>
{
}
public class BeneficiaryAccountRepository : OctoFXRepository<BeneficiaryAccount>, IBeneficiaryAccountRepository
{
public BeneficiaryAccountRepository(OctoFX... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using AlmenaraGames;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace AlmenaraGames{
[HelpURL("https://almenaragames.github.io/#CSharpClass:AlmenaraGames.MultiAudioListener")]
[AddComponentMenu("Almenara Games/MLPAS/Multi Audio Liste... |
namespace SelectionCommittee.BLL.DataTransferObject
{
public class EnrolleeDTO
{
public string Id { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public string UserName { get; set; }
public string Name { get; set; }
public str... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace AutoVsManualReset
{
public class _ManualResetEvent
{
EventWaitHandle _wait_handle = new ManualResetEvent(false);
public _ManualResetEvent()
... |
using Unity.Entities;
using Unity.Burst;
using Unity.Collections;
public class MeleeDamageSystem : ComponentSystem
{
private EntityQuery _overlappingMeleePlayerGroup;
protected override void OnCreate()
{
_overlappingMeleePlayerGroup = GetEntityQuery(
ComponentType.ReadOnly<PlayerComponent>(),
ComponentType... |
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.EntityFrameworkCore;
using WorkScheduleManagement.Data.Entities.Requests;
using WorkScheduleManagement.Data.Enums;
using WorkScheduleManagement.Persistence;
namespace WorkScheduleManagement.Application.CQRS.Queries... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassiAstratte2
{
public abstract class Solid
{
double _specificWeight;
string _name;
//costruttore base non isntanziabile
public Solid(double specific... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace AnyTest.Model
{
public class Student
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace MessageTranslate
{
public class TCP
{
public static Socket BuildServer(string Ip, int Port)
... |
using System;
namespace TheZhazha.Events
{
public delegate void MoodChangedEventHandler(object sender, MoodChangedEventArgs e);
public class MoodChangedEventArgs : EventArgs
{
public string Mood { get; private set; }
public MoodChangedEventArgs(string mood)
{
Mood = m... |
using RRExpress.AppCommon;
using RRExpress.AppCommon.Attributes;
using System.Collections.Generic;
namespace RRExpress.ViewModels {
/// <summary>
/// 个人信息修改页
/// </summary>
[Regist(InstanceMode.Singleton)]
public class EditMyInfoViewModel : BaseVM {
public override string Title {
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.IO;
namespace GhostscriptSharp
{
public class GhostscriptManager : IDisposable
{
#region Constants
public const String KernelDllName = "kernel32.dll";
#endregion
#reg... |
using System;
using System.Text;
using System.Text.RegularExpressions;
namespace _03_Cubic_s_Messages
{
public class _03_Cubic_s_Messages
{
public static void Main()
{
var input = "";
while ((input = Console.ReadLine()) != "Over!")
{
var n... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RechargePellet : RechargeMarker, PoolObject {
[Header("Recharge Pellet Settings")]
public float Lifetime;
private float aliveTime;
[Header("Pool Object Settings")]
[SerializeField]
protected string _key;
public string... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using System.ComponentModel;
namespace KartSystem
{
public class CashDocumentSpecRecord : Entity
{
public CashDocumentSpecRecord()
{ }
[DBIgnoreAutoGenerateParam]
[DBIgnore... |
using System;
using System.Linq;
using System.Reflection;
using Sandbox.Game.Entities;
using Torch.Managers.PatchManager;
using VRage.Game;
using VRage.Sync;
using VRageMath;
namespace DataValidateFix
{
internal static class ReflectionExtensions
{
private static readonly FieldInfo ValueChangedEventInf... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class OptionSliderBehaviour : MonoBehaviour {
public Text minval;
public Text maxval;
public Text curval;
public Text title;
public Slider slider;
public void Start() {
title.text ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Orleans;
namespace Grains
{
public class UserGrain : Grain, IUserGrain
{
public Task InitUser()
{
return TaskDone.Done;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RPC.SQLAPI
{
/// <summary>
/// An interface to represent converters from SQL results represented by a <see cref="RowReader"/> to concrete model types.
/// </summary>
/// <typep... |
// Copyright © 2020 Void-Intelligence All Rights Reserved.
namespace Vortex.Activation.Utility
{
public enum EActivationType
{
Invalid,
Arctan,
BinaryStep,
BipolarSigmoid,
Elu,
Exponential,
HardSigmoid,
HardTanh,
Identity,
Loggy,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ace
{
/// <summary>
/// 3Dオブジェクトの更新と描画を管理するレイヤーの機能を提供するクラス
/// </summary>
public class Layer3D : Layer, IDestroy
{
/// <summary>
/// コンストラクタ
/// </summary>
public Layer3D()
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace task1
{
class Program
{
static void Main(string[] args)
{
string path = @"..\..\..\task1.dat";
using (var str = new BinaryWrite... |
using System;
namespace SocketLite.Net
{
/// <summary>
/// 异常处理器
/// </summary>
public static class ExceptionHandler
{
private static readonly object handlerLocker = new object();
/// <summary>
/// 处理异常
/// </summary>
/// <param name="exception">异常</param>
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace SafeControls
{
public class SafeToolStripProgressBar : ToolStripProgressBar
{
delegate void SetValue(int value);
delegate int GetValue();
delegate void SetMaximum(int val... |
using CarRental.API.Common.SettingsOptions;
using CarRental.API.DAL.Entities;
using CarRental.API.DAL.CustomEntities;
using Dapper;
using Dapper.FastCrud;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Threading.Tasks;
namespace C... |
/****************************************************
文件:Enemy_Eagle.cs
作者:Sam
邮箱: 403117224@qq.com
日期:2020/01/20 1:33
功能:鹰
*****************************************************/
using UnityEngine;
public class Enemy_Eagle : Enemy
{
private Rigidbody2D rb;
//private Animator Anim;
public Transf... |
using Microsoft.Xna.Framework.Input;
namespace Entoarox.Framework.Interface
{
public interface IHotkeyComponent : IDynamicComponent
{
/*********
** Methods
*********/
/// <summary>This event is triggered whenever a keyboard key is pressed. If <see cref="IDynamicComponent.Enabled... |
using Prism.Commands;
using Prism.Mvvm;
using Prism.Navigation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ObservableTune.ViewModels
{
public class MainPageViewModel : ViewModelBase
{
public MainPageViewModel(INavigationService navigationService)
... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CS_2_HomeWork.Object
{
class Kit : BaseObject
{
public bool IsMissing { get; set; } = false;
public Kit(Bitmap img, Point pos, Point... |
using Revisao.LogConfing;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExceptionControl.LogConfing
{
public class ExceptionText
{
public ExceptionText(Exception ex)
{
string errorForma... |
using ContosoPortal.Models;
using GistackWAPService.models;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IdentityModel.Protocols.WSTrust;
using System.IdentityModel.Tokens;
using System.Linq;
using System.Net;
using System.Net.Security;
using System.Runtime.Seriali... |
using UnityEngine;
using System.Collections;
public class Loader : MonoBehaviour {
public GameObject gameController;
private GameController gc;
// Use this for initialization
void Awake () {
gc = GameController.gc;
if (gc == null)
Instantiate (gameController);
}
}
//good luck! |
using System;
using CarDealer.Data;
using CarDealer.Models.EntityModels;
namespace CarDealer.Services
{
public class Service
{
private CarDealerContext context;
protected Service()
{
this.context = new CarDealerContext();
}
protected CarDealerContext Conte... |
using mec.Model.Entities;
using mec.Model.Interfaces;
using mec.Model.Orders;
using mec.Database.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.ServiceModel.Activation;
using Oracle.ManagedDat... |
using System;
using Microsoft.Practices.Unity;
using Microsoft.Practices.Unity.Configuration;
using Agencia_Datos_Repositorio;
using Agencia_Datos_Entidades;
namespace Agencia_Dominio.App_Start
{
/// <summary>
/// Specifies the Unity configuration for the main container.
/// </summary>
public class Uni... |
using System.Collections.Generic;
using System.IO;
using ManyConsole;
namespace TsFromCsGenerator
{
class GenerateInterfacesCommand : ConsoleCommand
{
private readonly ICsToTsConverter _converter;
private readonly List<string> _fileLocations = new List<string>();
private string _outLocation;
private bool _... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Logging;
namespace RequestMonitor.Filters
{
public class GlobalExceptionHandler : IExceptionFilter
{
ILogger logger;
public GlobalExceptionHandler(ILoggerFactory ... |
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Action of type `int`. Inherits from `AtomAction<int>`.
/// </summary>
[EditorIcon("atom-icon-purple")]
public abstract class IntAction : AtomAction<int> { }
}
|
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
namespace _05.ChangeTownNamesCasing
{
class ChangeTownNamesCasing
{
static void Main()
{
string countryName = Console.ReadLine().Trim();
string connStr = @"Server=.\SQLEXPRES... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.IO;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace NetRuntimeChanger
{
public partial class Form1 : Form
{
public Form1()
{
In... |
using UnityEngine;
public class ColumnMove : MonoBehaviour
{
private float speed = 0.1F;
void Update()
{
transform.Translate(-speed,0,0);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
namespace Concept.Linq.Lesson1 {
class Main
{
public void Run()
{
string[] files = { "fileA.txt", "fileB.txt", "fileC.txt" };
var exceptionDemoQuery =
from file in files
le... |
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 CommentsTab : PopupPage
{
[FindsBy(How = Ho... |
using System;
using Breeze.Screens;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Breeze.AssetTypes
{
//public class ScreenAsset
//{
// public int ZIndex { get; set; } = 0;
// public FloatRectangle? Clip { get; set; } = null;
// public Rectangle? Sciss... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
using System.Threading;
namespace chatSrv
{
class Program
{
static void Main(string[] args)
{
Console.OutputEncoding = E... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using TravelBuddySite.DAL;
using TravelBuddySite.Handlers;
using TravelBuddySite.Models;
namespace TravelBuddySite.Controllers
{
public class U... |
using Hayaa.BaseModel;
using Hayaa.BaseModel.Service;
using System;
using System.Collections.Generic;
using System.Text;
namespace Hayaa.Security.Service
{
public interface AppGrantService : IBaseService<AppGrant, AppGrantSearchPamater>
{
/// <summary>
/// 对App进行授权
/// </summary>
... |
using SecureNetRestApiSDK.Api.Models;
using SNET.Core;
namespace SecureNetRestApiSDK.Api.Requests
{
/// <summary>
/// Request class used for allowing a previously authorized transaction to be captured for settlement.
/// </summary>
public class PriorAuthCaptureRequest : SecureNetRequest
{
... |
using Exiled.API.Features;
using Exiled.Events.EventArgs;
using UnityEngine;
namespace CustomEscape
{
class EventHandlers
{
CustomEscapePlugin Plugin;
public EventHandlers(CustomEscapePlugin plugin)
{
Plugin = plugin;
}
public void OnWaitingForPlayers() ... |
using System;
using CouponMerchant.Data;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
[assembly: HostingStartup(typeof(Coup... |
using UnityEditor;
using UnityEngine;
using System.Collections;
// Custom Editor using SerializedProperties.
// Automatic handling of multi-object editing, undo, and Prefab overrides.
[CustomEditor(typeof(TilingSegmentBendingScript))]
[CanEditMultipleObjects]
public class TilingSegmentBendingScriptEditor : Editor {
/... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Plotliner.Entities
{
class ColorChanger
{
Color[,] colors = { { Color.Blue, Color.Red, Color.Black },
... |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
[CreateAssetMenu ( menuName = "Third Person Synty Character/Weapons/New Weapon" )]
public class WeaponData : ScriptableObject
{
public enum WeaponType { Pistol, Rifle }
public enum FireType { Single, Burst, Auto ... |
using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections;
public class Health : MonoBehaviour {
[SerializeField]private int _health;
public int HP
{
get { return _health; }
set { _health = value; }
}
void Update () {
Death();
}
void Death()
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.