text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Data;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using PROJECT.SERV.Model.Adm;
using PROJECT.SERV.Model.Tab;
using SFP.Persistencia.Model;
using SFP.Persistencia.Servicio;
using SFP.SERVICIOS... |
using System;
using System.Collections.Generic;
namespace RestApiEcom.Models
{
public partial class TVActiviteAnalyseNationalite
{
public int ActpaId { get; set; }
public DateTime? ActpaDate { get; set; }
public int? ActpaActId { get; set; }
public int? ActpaTaxfId { get; set; ... |
using HardwareInventoryManager.Models;
using HardwareInventoryManager.Helpers;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace HardwareInventoryManager.Filters
{
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebsiteBanHang.Models
{
public class Wards
{
public Wards()
{
Address = new HashSet<Address>();
Orders = new HashSet<Orders>();
... |
using System;
namespace Fano
{
class Encoder
{
//Parse.
//Shannon-Fano algorithm.
//Encode.
}
}
|
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;
namespace Phu... |
namespace LearningEnglishWeb.Areas.Training.ViewModels.CollectWord
{
public class CollectWordAnswerResult
{
public char Letter { get; set; }
public bool IsRight { get; set; }
}
}
|
namespace ns20
{
using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.CompilerServices;
internal static class Class171
{
public static void smethod_0(this ILGenerator ilgenerator_0, Type type_0)
{
ilgenerator_0.Emit(OpCodes.Ldarg... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/**
* Copyright (c) blueback
* Released under the MIT License
* https://github.com/bluebackblue/fee/blob/master/LICENSE.txt
* http://bbbproject.sakura.ne.jp/wordpress/mitlicense
* @brief テスト。
*/
/** test20
*/
public... |
using System;
namespace TQVaultAE.Domain.Entities;
/// <summary>
/// Gear rarity
/// </summary>
public enum Rarity
{
/// <summary>
/// Item is no gear
/// </summary>
NoGear = 0,
Broken = 1,
Mundane = 2,
Common = 3,
Rare = 4,
Epic = 5,
Legendary = 6,
}
#region Related logic
public static class RarityExten... |
using ICSharpCode.SharpZipLib.Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PNPUTools
{
public class GereMDBDansBDD
{
/// <summary>
/// Methode qui zippe et insère des fichiers d... |
using System.ComponentModel;
using System.Collections.Generic;
using System.Collections;
namespace Framework.Db.LightWeight
{
public class CxLwRowList : List<CxLwRow>, ITypedList, IBindingList
{
public List<CxLwColumn> Columns { get; set; }
public CxLwRowList()
{
Columns = new List<CxLwColumn>(... |
using System.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Editing;
using Mic... |
namespace Gg.Scottie.Dotnet.Standard.Testing.Demo.Domain
{
public class AdditionService : IAdditionService
{
public decimal Add(decimal first, decimal second)
{
return first + second;
}
}
} |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mis_Recetas.Controlador
{
class Conexion
{
public static string Cn = ConfigurationManager.ConnectionStrings["SQLCon"].ConnectionString;
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class NavMeshUpdater : MonoBehaviour
{
public NavMeshSurface surface => GetComponent<NavMeshSurface>();
Transform m_Tracked;
// The size of the build bounds
public Vector3 m_Size = new Vector3(80.... |
using System;
namespace ConsoleAppSample
{
class Program
{
static void Main(string[] args)
{
byte number=255;
var count = 10; //when we declare with keyword "var" the compiler maps to the related datatype
var isWorking = false; //it takes it as boolean
... |
using System.Collections.Generic;
using Sesi.WebsiteDaSaude.WebApi.Models;
namespace Sesi.WebsiteDaSaude.WebApi.Interfaces
{
public interface IEventoRepository
{
/// <summary>
/// Lista todos os eventos cadastrados no banco de dados.
/// </summary>
/// <returns>Lista de eventos<... |
using System;
namespace Contract
{
public class CustomerContract
{
public int CustomerId { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public string ... |
using System;
namespace Com.PDev.PCG
{
public class TurnManager
{
private PhotonPlayer turn_player;
public TurnManager ()
{
}
public void PassTurn(){
turn_player = turn_player.GetNext();
}
public void SetTurn (PhotonPlayer player){
this.turn_player = player;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTT2021_Round2.sample.dtos
{
public class Question
{
public int ID { get; set; }
public string Detail { get; set; }
public string Answer { get; set; }
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using Microsoft.SqlServer.Server;
using Dapper;
using Dapper.Tvp;
using IES.DataBase;
using IES.Resource.Model;
namespace IES.G2S.Resource.DAL
{
publ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using InvoiceClient.Properties;
using Model.Schema.EIVO;
using InvoiceClient.Agent;
namespace InvoiceClient.TransferManagement
{
public class InvoiceTransferManagerV2ForDSC : ITrans... |
using System;
using System.Collections.Generic;
using System.Text;
using cn.bmob.io;
namespace cn.bmob.response
{
/// <summary>
/// 更新数据的回调类
/// </summary>
public class UpdateCallbackData : BmobObject, IBmobWritable
{
/// <summary>
/// 数据的更新时间
/// </summary>
public ... |
namespace E08_IsoscelesTriangle
{
using System;
using System.Text;
public class IsoscelesTriangle
{
public static void Main(string[] args)
{
/*
Write a program that prints an isosceles triangle of 9 copyright
symbols ©, somethin... |
using Microsoft.Xna.Framework.Media;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WAO_Player.Class
{
public class Song_W : INotifyPropertyChanged
{
public event PropertyChangedEventHandler Pro... |
using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
using CGCN.Framework;
using Npgsql;
using NpgsqlTypes;
using CGCN.DataAccess;
using DanhMuc.DataAccess;
namespace DanhMuc.BusinesLogic
{
/// <summary>
/// Mô tả thông tin cho bảng tblkhachhang
/// Cung cấp các hàm xử lý... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HelloWorld
{
class Character
{
protected int _health;
protected int _damage;
protected string _name;
public Character()
{
_health = 100;
_damage = 10;
_name... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WUIServer {
public struct Color {
public float r, g, b, a;
public Color(float r, float g, float b, float a = 1) {
this.r = r;
this.g = g;
... |
// --------------------------------------------------------------------------------------------------------------
// <copyright file="HiddenApiFilter.cs" company="Tiny开源团队">
// Copyright (c) 2017-2018 Tiny. All rights reserved.
// </copyright>
// <site>http://www.lxking.cn</site>
// <last-editor>ArcherTrister... |
using Assets.Scripts.Core.FiniteStateMachine;
namespace Assets.Scripts.Units.Logic.Conditions
{
public class CanNotInteractCondition : IFSMCondition<UnitController>
{
public bool IsTriggered(UnitController entity)
{
return entity.Interactable == null || !entity.Interactable.IsAlive... |
using UnityEngine;
using System.Collections;
namespace Ph.Bouncer
{
public static class CommonAssetHelper
{
public static void Load()
{
DestroyAll("CommonAssets");
DestroyAll("DynamicObjects");
Application.LoadLevelAdditive("InGameCommonAssets");
}
private static void DestroyAll(string name)
{
... |
using UnityEngine;
namespace ACO.Util
{
public class LoggerUnity : MonoBehaviour, ACO.Util.Base.ILogger
{
public void Begin(string evt)
{
Debug.Log(evt);
}
public void Finish(string evt)
{
}
}
} |
using UnityEngine;
using System.Collections;
using Puppet.Core.Model;
public class ChatItem : MonoBehaviour {
public UILabel lbMessage;
public static ChatItem Create(DataChat data) {
GameObject gobj = GameObject.Instantiate(Resources.Load("Prefabs/Gameplay/ChatItem")) as GameObject;
ChatItem ... |
//
// CPPTestLibBase.cs: Base class for supporting tests using CPPTestLib
//
// Author:
// Alexander Corrado (alexander.corrado@gmail.com)
//
// Copyright (C) 2010 Alexander Corrado
//
using System;
using NUnit.Framework;
using Mono.VisualC.Interop;
using Mono.VisualC.Interop.ABI;
namespace Tests.Support {
... |
using MediatR;
using OmniSharp.Extensions.DebugAdapter.Protocol.Models;
using OmniSharp.Extensions.DebugAdapter.Protocol.Serialization;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.JsonRpc.Generation;
// ReSharper disable once CheckNamespace
namespace OmniSharp.Extensions.DebugAdapter.Protocol
{
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="OrderExtensions.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------... |
namespace WalkInMatrix
{
public class Directions
{
public Directions()
{
this.X = new int[] { 1, 1, 1, 0, -1, -1, -1, 0 };
this.Y = new int[] { 1, 0, -1, -1, -1, 0, 1, 1 };
}
public int[] X { get; private set; }
public int[] Y { get; private set... |
using System.Web;
using System.Web.Optimization;
namespace RecipeWebRole
{
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
AddScriptBundles(bundles);
AddStyleBundles(bundles);
}
private static void AddScriptBun... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Biblioteca.Model;
using Biblioteca.Arquivo;
using ProgramaCadastros.Conversores;
namespace ProgramaCadastros.Telas
{
class ManterFuncionario
{
public void CadastrarFuncionario()
... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_Rendering_RenderBufferLoadAction : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.Rendering.RenderBufferLoadAction");
LuaObject.addMember(l, 0, "Load");
LuaObject.addMember(l, 2, "DontCare");
Lua... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Tff.Panzer.Models;
using System.Collections.Gen... |
using System;
#region Tupla
Tuple<string, string, int> coche
= new Tuple<string, string, int>("Audi", "A3", 2008);
var coche2 = Tuple.Create("Opel", "Astra", 2005);
Console.WriteLine($"El primer coche es un {coche.Item1} {coche.Item2} del año {coche.Item3}");
Console.WriteLine($"El segundo coche es un {coche2.... |
using Asset.Core.Repository.Library.Repositorys.Purchases;
using Core.Repository.Library.UnitOfWork;
namespace Asset.Core.Repository.Library.UnitOfWorks.Purchases
{
public interface IPurchaseUnitOfWork:IUnitOfWork
{
IVendorRepository Vendors { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace NewsEngine.Models
{
public class Message
{
public int Id {get; set;} //Primary key (ключевое поле), чтобы эффе... |
using System;
using esstp.Models.Services;
namespace esstp.Models.ViewModels
{
public class ObserverModel
{
public int Id { get; set; }
public string Action { get; set; }
public Observer O { get; set; }
public ObserverModel()
{
this.Id = 0;
thi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RestSharp;
using Newtonsoft.Json;
namespace TfLAPITest
{
public class DTOHelper
{
public ListOfUsersDTO GetUsers(string endpoint)
{
var user = new APIHelper<Lis... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NumberWizard : MonoBehaviour
{
int max;
int min;
int guess;
// Start is called before the first frame update
void Start()
{
StartGame();
}
void StartGame()
{
max = 1000;
... |
using UnityEngine;
using UnityEngine.UI;
using System.Text;
using System.Collections.Generic;
public class NodeLogic : MonoBehaviour
{
private Node _node;
void OnMouseOver()
{
if (Input.GetMouseButtonDown(0)) {
ShowSummaryPopup();
}
}
public Node Node
{
se... |
using System;
using CallCenter.Common;
using CallCenter.Common.Entities;
namespace CallCenterRepository.Controllers
{
public interface IOperatorsController:IEntityController<IOperator>
{
IOperator GetByNumber(string number);
void LogAction(IOperatorEventInfo eventInfo, DateTime time... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
namespace Rinsen.IdentityProvider
{
public class LoginResult
{
public ClaimsPrincipal Principal { get; private set; }
public bool Succeeded { get; private set; }
... |
//
// Copyright (c) 2016 Easy Editor
// All Rights Reserved
//
//
using UnityEngine;
using UnityEditor;
using UEObject = UnityEngine.Object;
using System.Collections;
using EasyEditor.ReorderableList;
using System;
namespace EasyEditor
{
public class EESerializedPropertyAdaptor : SerializedPropertyAdaptor, IReo... |
using System.ComponentModel;
using XMLApiProject.Services.Models.PaymentService.Entities;
namespace XMLApiProject.Api.Models.PaymentService.Entities
{
public class AuthorizeSwipeRequest: IAuthorizeSwipeRequest
{
[DefaultValue(12137000)]
public uint? MerchantCode { get; set; }
[DefaultV... |
//using System.Collections.Generic;
//using System.ComponentModel.DataAnnotations;
//using System.Data.Entity.ModelConfiguration;
//using DominosPizza.Models;
//namespace DominoPizza.Models
//{
// public class CustomerTask
// {
// public int CustomerId { get; set; }
// public int TaskId { get; set... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ColorTrees : MonoBehaviour
{
[Header ("Wood part of the tree")]
public SpriteRenderer[] wood;
[Header ("Leafs part of the tree")]
public SpriteRenderer[] leaf;
public void ColorTree ()
{
//color the leafs
f... |
using JumpAndRun.API;
using Microsoft.Xna.Framework;
using System;
namespace JumpAndRun.Content.Animations
{
public class SwordBeat : IAnimation
{
public float Duration => 0.4f;
public string Name => "SwordBeat";
public IAnimation NextAnimation => ContentManager.Instance.Animations["... |
using System;
using System.CodeDom.Compiler;
using System.Collections.Specialized;
namespace Unicorn
{
public class WindBehaviour : UniBehaviour
{
// Variables
bool activate = false;
public float dirX;
public float dirY;
public float dirZ;
public Vector3 dir;
//Req... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DrBAE.Congress.Common
{
/// <summary>
/// 정당
/// </summary>
public class Party
{
public Party() { }
public Party(int id, string name)
{
Id = id;
Name = name;
}
... |
namespace MoneyBack.Calculators
{
public interface ICommisionCalculator
{
decimal Calculate(decimal price);
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using Zhouli.Common.ResultModel;
using Zhouli.DbEntity.Models;
using Zhouli.DbEntity.Views;
namespace Zhouli.BLL.Interface
{
public interface IBlogArticleBLL : IBaseBLL<BlogArticle>
{
/// <summary>
/// 获取文章列表
/// </summa... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Viking.AssemblyVersioning;
namespace TestConsole
{
class Program
{
static void Main(string[] args)
{
var type = typeof(SS<int>);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tasks.Data.Domain.Contracts
{
public interface IRepository { }
public interface IRepository<TEntity> : IRepository where TEntity : class, IEntity
{
IQueryable<TEntity> All... |
using PetSharing.Contracts.PetProfilesContract;
using System;
using System.Collections.Generic;
using System.Text;
namespace PetSharing.Contracts
{
public class PostContract
{
//public int PetId { get; set; }
public int Id { get; set; }
public string Img { get; set; }
public st... |
using UnityEngine;
using UnityEngine.Audio;
namespace DefaultNamespace
{
public class SettingsMenu : MonoBehaviour
{
public AudioMixer audioMixer;
private float currentVolume;
public void SetVolume(float volume)
{
audioMixer.SetFloat("volume", volume);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SecondProject.Ultis
{
public class Constans
{
public const String USER_NAME = "levanthuy100";
public const String PASSWORD = "00821058257176";
public const String AUTHORIZATION =... |
using UnityEngine;
using System.Collections;
using Lowscope.Saving;
using Lowscope.Saving.Core;
using System;
using UnityEngine.SceneManagement;
namespace Lowscope.Saving.Examples
{
[AddComponentMenu("")]
public class ExampleGameBomb : MonoBehaviour, ISaveable
{
[SerializeField] private GameObject... |
using System.ComponentModel.DataAnnotations;
namespace StudentExercises.Models
{
public class Instructor
{
private Cohort _cohort = null;
public int Id { get; set; }
[Required]
[StringLength(25)]
public string FirstName { get; set; }
[Required]
[String... |
using System;
using System.ComponentModel;
using System.IO;
using System.Reflection;
using System.Runtime.Serialization.Formatters.Binary;
using System.Xml.Serialization;
namespace Infrastructure
{
public static class ObjectEx
{
/// <summary>
/// 复制属性
/// </summary>
/// <typepa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SM.Entities.SearchModel
{
public class SearchCargoType
{
/// <summary>
/// 货物名Like
/// </summary>
public string CargoNameLike { get; set; }
/// <summary>
/// 记录删除状态(... |
using FXBLOOM.SharedKernel;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace FXBLOOM.DomainLayer.CustomerAggregate
{
public class Country
{
public int CountryId { get; private set; }
public string CountryName { g... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using System.Collections;
public partial class Risk_newArRisk : System.Web.UI.Page
{
PDTech.OA.BLL.OA_ARCHIVE_TYPE tBll = new PDTech.OA.BLL.OA_ARCHIVE_TYPE(... |
using Avalonia;
using Dock.Avalonia.Controls;
using Dock.Model.Core;
namespace AvaloniaDemo.ViewModels
{
public class MainWindowViewModel : StyledElement
{
public static readonly StyledProperty<DockControl?> DockControlProperty =
AvaloniaProperty.Register<MainWindowViewModel, DockControl?>... |
namespace WebApplication1.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Firebird.I")]
public partial class Identifier
{
[Key]
... |
using Pchp.Core;
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.RichObjectStrings
{
/**
* Class Definitions
*
* @package OCP\RichObjectStrings
* @since 11.0.0
*/
class Definitions
{
/**
* @var array
* @since 11.0.0
... |
namespace SGA.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Status : DbMigration
{
public override void Up()
{
AddColumn("dbo.Aluno", "Status", c => c.String(maxLength: 1));
AddColumn("dbo.Aula", "Status", c => c.String(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Inheritance
{
class Program
{
// Inherit etmek, Inheritance
// Sınıflar arası hiyerarşik yapı kurabilmek, oluşturmak için kullanılır.
// Bir sınıf, başka bir sı... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Codewars.ListFiltering.Tests
{
internal class ListFilterer
{
internal static List<int> GetIntegersFromList(List<object> listOfItems)
{
return listOfItems.OfType<int>().ToList();
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DataLayer.Conexion
{
public interface IConexion <T> where T : class
{
Boolean existeConfigBaseDatos { get; set; }
Exception exception { get; set; }
Conexion Conectar();
}
}
|
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace Juego
{
public class MovmentHeroe : IMovment
{
public ObjectGeneric[,] Movimiento(ObjectGeneric[,] Dungeon, int x, int y,int size)
{
char Mov = Console.ReadKey().KeyChar;
... |
using AquaShop.Models.Aquariums.Contracts;
using AquaShop.Models.Decorations.Contracts;
using AquaShop.Models.Fish.Contracts;
using AquaShop.Utilities.Messages;
using Microsoft.VisualBasic;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Com... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SimpleButton : MonoBehaviour
{
public string Text = "";
void Start()
{
gameObject.GetComponent<Text>().text = Text;
}
private void OnEnable()
{
gameObject.GetCompo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.AspNetCore.Mvc.Testing;
using Newtonsoft.Json;
using OneIdentityApi.Models;
using Xunit;
namespac... |
namespace BPiaoBao.DomesticTicket.EFRepository.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class _201407161616 : DbMigration
{
public override void Up()
{
DropForeignKey("dbo.InsuranceRecord", "Passenger_Id", "dbo.Passenger");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using LibSelection;
using RgxC.ASTranslator;
namespace RgxC.Translators
{
public class GrammarTranslator : Translator
{
priv... |
using AutoMapper;
using TQ.SaveFilesExplorer.Entities.Players;
using TQ.SaveFilesExplorer.Entities.TransferStash;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace TQ.SaveFilesExplorer.En... |
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Data;
using MySqlConnector;
public class blDB
{
IConfiguration _config = new ConfigurationBuilder()
.SetBasePath(System.IO.Directory.GetCur... |
using UnityEngine;
public class AudioManager : MonoBehaviour {
static int poolIndex = 0;
static AudioSource[] sources;
public int audioPoolSize;
public AudioSource audioPrefab;
// Use Awake for initialization (setting up components etc.)
private void Awake() {
sources = new AudioSource[audioPoolSize];
Tr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TourApi.Models;
namespace TourApi.Repos
{
public interface ISightsRepository
{
Task<List<Sight>> GetAllSights();
Task<List<Sight>> GetSights(Guid id);
Task<Sight> Create(Sight sight);... |
using ContactManagement.Service.DLL.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ContactManagement.Service.DLL.Repository
{
public class ContactRepository : IContactRepository
{
private C... |
using Net.Buffers;
using Net.Communication.Incoming.Consumer;
using Net.Sockets.Pipeline.Handler;
using PlatformRacing3.Server.Game.Client;
namespace PlatformRacing3.Server.Game.Communication.Messages.Incoming.Handlers;
internal interface IClientSessionIncomingPacketConsumer : IIncomingPacketConsumer
{
void IIncomi... |
using System;
using Xunit;
using Xunit.Abstractions;
namespace AdventureWorks.Tests
{
public class UnitTest1
{
private readonly ITestOutputHelper _output;
public UnitTest1(ITestOutputHelper output)
{
_output = output;
}
[Fact]
public void Test1()
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using dk.via.businesslayer.Data.Services;
using dk.via.ftc.businesslayer.Models;
using Microsoft.AspNetCore.Mvc;
namespace dk.via.ftc.businesslayer.Controllers
{
[Route("api/[controller]")]
[ApiController]
[ApiExplorerSettings(I... |
using Dapper;
using Reserva.Domain.Command.Result;
using Reserva.Domain.Entities;
using Reserva.Domain.Repositories;
using Reserva.Infra.Context;
using Reserva.Infra.Transactions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Reserva.Infra.Repositories
{
public cl... |
using Frostbyte.Entities;
using Frostbyte.Entities.Discord;
using Frostbyte.Extensions;
using Frostbyte.Handlers;
using System;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Threading;
using System.Threading.Tasks;
namespace Frostbyte.Audio
{
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Planning
{
class Group
{
public List<Predicate> group = new List<Predicate>();
public int cost = 0;
public Group()
{
}
public Group(Group g)
{
g... |
using Crt.Api.Authorization;
using Crt.Api.Controllers.Base;
using Crt.Domain.Services;
using Crt.Model;
using Crt.Model.Dtos;
using Crt.Model.Dtos.Element;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Crt.Api.Controllers
{
[ApiVersion("1.... |
using RenovoLive.Domain;
using RenovoTools.Common;
namespace RenovoLive.Features.ServiceEvents.BusinessLayer.ServiceEventTransition.Validators.DMValidators
{
public class DMCompletedToClosedTransitionValidator : BaseDMToClosedTransitionValidator
{
public DMCompletedToClosedTransitionValidator(IServiceEvent... |
using System;
using System.Collections.Generic;
using System.Text;
using Scintilla;
using Scintilla.Forms;
using Scintilla.Configuration;
using Scintilla.Configuration.SciTE;
namespace MyGeneration
{
public interface IScintillaEditControl : IMyGenDocument
{
IScintillaNet ScintillaEditor { get; }
}
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DinoDiner.Menu
{
/// <summary>
/// Represents a Tyrannotea order for the diner
/// </summary>
public class Tyrannotea : Drink
{
protected Size size;
public bool hasLemon = false;
public bool isSwee... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlueSportApp.Models
{
public class BannerModel
{
public string ImageUrl { get; set; }
public string ImageAlt { get; set; }
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.