text stringlengths 13 6.01M |
|---|
using Microsoft.Owin;
using Owin;
using Swashbuckle;
using System.Web.Http;
[assembly: OwinStartupAttribute(typeof(Cognology.FlightBookingApp.Startup))]
namespace Cognology.FlightBookingApp
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(... |
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 TubesAI
{
public partial class MessageForm : Form
{
public MessageForm(string ... |
// Copyright (c) Simple Injector Contributors. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for license information.
namespace SimpleInjector.Advanced
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq.Expressions;
using System.Thre... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using System.IO; //System.IO.FileInfo, System.IO.StreamReader, System.IO.StreamWriter
using System; //Exception
using System.Text;
using MiniJSON;
//using CityCreater;
public class CameraMove : MonoBehaviour {
const ... |
using System.Collections.Generic;
namespace TryHardForum.ViewModels.Topic
{
public class TopicIndexModel
{
// TODO заполнить!
public int NumberOfTopics { get; set; }
public IEnumerable<TopicInformationModel> TopicList { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Nac.Common.Control {
[DataContract, Serializable]
public class NacBlockIf : NacBlockSeq {
[DataMember]
private HashSet<string> _next... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;// библиотека для работы с текстовыми файлами
namespace TextFiles
{
class Program
{
static void Main(string[] args)
{
string path = @"D:\TestFolder\fil... |
using System;
using System.Collections.Generic;
using System.Data.Entity.Migrations;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using System.Data.Entity.Infrastructure;
using System.Data.Entity;
using CAPCO.Infrastructure.Domain;
namespace CAPCO.Infrastructure.Data
{
public cl... |
using Lab2.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Lab2_api.Models
{
public enum Genre
{
action,
comedy,
horror,
thriller
}
public enum Watched
... |
using MongoDB.Bson.Serialization;
using Ninject.Modules;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using System.IO;
using Ninject;
using MongoDB.Driver;
using Nailhang.Mongodb.ModulesStorage.Processing;
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Task1;
namespace UnitTestProject1
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
// Создание обычного треугольника
Triangle casual = new Triangle(3, 4, 6... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Crystal.Plot2D.Common
{
[DebuggerDisplay("Count = {Count}")]
internal sealed class ResourcePool<T>
{
private readonly List<T> pool = new();
public T Get()
{
T item;
if (pool.Count < 1)
{
i... |
using AppLogic.Dto;
using AppLogic.DtoCreate;
using AppLogic.DtoUpdate;
using AppLogic.Management;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace BeerShop.Controllers
{
public class BeerKindController : ApiController
... |
using Andr3as07.Logging.Formater;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Andr3as07.Logging.Sink {
public class DebugSink : ISink {
public readonly ITextFormater Formater;
public DebugSink(ITextFormater formater) {
this.Formater = formater;
... |
using EQS.AccessControl.Domain.Specification.Role;
using EQS.AccessControl.Domain.Validation.Base;
namespace EQS.AccessControl.Domain.Validation.Role
{
public class RoleConsistentValidation
{
public BaseValidation BaseValidation { get; set; }
public RoleConsistentValidation(Entities.Role perso... |
using System.Data.Entity;
namespace DataAccess.Tests
{
public class TestInitializer : DropCreateDatabaseAlways<TestBlogContext>
{
}
}
|
using System.Collections.Generic;
using System.Linq;
using ODL.ApplicationServices.DTOModel.Query;
using ODL.DataAccess;
using ODL.DomainModel.Avtal;
using ODL.DomainModel.Organisation;
using ODL.DomainModel.Person;
namespace ODL.ApplicationServices.Queries
{
internal class PersonerPerResultatenhetQuery
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IWorkFlow.DataBase;
namespace IWorkFlow.ORM
{
[Serializable]
[DataTableInfo("B_OA_Supervision_Complete", "id")]
public class B_OA_Supervision_Complete : QueryInfo
{
#region... |
using System;
using System.Collections.Generic;
using TDC_Union.Model;
using TDC_Union.ViewModels;
namespace TDC_Union.Models
{
public class UnionPeeEvenModel : EventArgs
{
public List<ClassUnionFee> lClassUnionFee { get; set; }
public UnionPeeEvenModel() { }
public UnionPeeEvenModel... |
using UnityEngine;
public class PlayerScript : MonoBehaviour
{
GameObject triangle;
public int life;
public int score;
public int record;
public float rotspeed;
public bool pause;
public void Catch(int typeOfSide, int typeOfObject)
{
if (typeOfSide != 0)
{
... |
//*************************************************************************
//@header EventCategory
//@abstract Set type of event with enum
//@version v1.0.0
//@author Felix Zhang
//@copyright Copyright 2015-2016 FFTAI Co.,Ltd.All rights reserved.
//*********************************************... |
using System.ComponentModel;
namespace ModelViewViewModel_Voorbeeld.Stap5
{
class PersoonViewModel : INotifyPropertyChanged
{
private readonly Persoon Model;
private string _txtNaam;
private string _txtLeeftijd;
private bool _isMannelijk;
public string TxtNaam
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.IO;
namespace GSVM.Components.Processors.CPU_1.Assembler
{
public class Preprocessor
{
List<string> code;
Dictiona... |
using System.Threading.Tasks;
namespace Szogun1987.EventsAndTasks
{
public interface ITaskAdapter
{
Task<int> GetNextInt();
Task<int> GetNextIntWithArg(string arg);
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Jypeli.Physics;
using Jypeli.Profiling;
namespace Jypeli
{
/// <summary>
/// Kantaluokka fysiikkapeleille.
/// </summary>
public abstract partial class PhysicsGameBase : Game
{
protected struct CollisionReco... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DateBlockControl : MonoBehaviour
{
Component halo;
public GameObject player;
public float speed = 3;
private Vector3 screenPoint;
private Vector3 offset;
private Component placementCollider;
privat... |
using BootcampTwitterKata.Helpers;
namespace BootcampTwitterKata.Tests
{
using NFluent;
using NUnit.Framework;
public class Part_2_EventStore
{
private IEventStore eventStore;
public class FakeEvent
{
private readonly int val;
public FakeEvent(int val... |
using MyShop.Core.Model;
using System.Collections.Generic;
namespace MyShop.Core.Contracts
{
public interface IRepository<T> where T : BaseEntity
{
void Commit();
void Delete(string id);
T Find(string id);
IEnumerable<T> GetAll();
void Insert(T t);
void Update(T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BethanyShop.Models
{
public static class DBIntializer
{
public static void seed(AppDbContext context)
{
if(!context.Pies.Any())
{
context.AddRange(... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BasicBullet : BulletInterface
{
protected override void instantEffect()
{
}
protected override void persistantEffect()
{
}
protected override void OnCollisionEnter(Collision collision)
... |
using ISE.Framework.Server.Core.DataAccessBase;
using ISE.SM.Common.DTO;
using ISE.SM.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ISE.SM.DataAccess
{
public class PermissionToUserTDataAccess : TDataAccess<PermissionToUser, Pe... |
using Profiling2.Domain.Contracts.Tasks;
using Profiling2.Domain.Prf;
using Profiling2.Web.Mvc.Areas.System.Controllers.ViewModels;
using SharpArch.NHibernate.Web.Mvc;
using SharpArch.Web.Mvc.JsonNet;
using System.Web.Mvc;
namespace Profiling2.Web.Mvc.Areas.System.Controllers
{
public class RolesController : Syst... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Nailhang.Display.MD5Cache
{
public class MD5NonBlockingCache : IMD5Cache
{
readonly ConcurrentDictionar... |
/*
Designer for the OptionGroup Control
*/
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Drawing;
using System.Windows.Forms;
using System.Collections;
using System.Windows.Forms.Design;
namespace Com.Colin.Win.Customized
{
/// <summary>
/// OptionGroupDesigner exten... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _01.LeapYear
{
class FindLeap
{
static int year;
static void Main()
{
Console.WriteLine("Enter a year to check if it is leap: ");
year ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Entities.MDM
{
public class AvailableSite
{
/// <summary>
/// 序号
/// </summary>
public int Ordinal { get; set; }
/// <summary>
/// 产品叶标识
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using NotSoSmartSaverAPI.DTO.GoalDTO;
using NotSoSmartSaverAPI.Interfaces;
namespace NotSoSmartSaverAPI.Controllers
{
[Route("api/[controller]")]
[A... |
namespace Sentry;
/// <summary>
/// A type of application crash.
/// Used exclusively by <see cref="SentrySdk.CauseCrash"/>.
/// </summary>
[Obsolete("WARNING: This method deliberately causes a crash, and should not be used in a real application.")]
public enum CrashType
{
/// <summary>
/// A managed <see cref... |
public class Category {
public string Name { get; }
public int Val { get; set; }
public bool IsScored { get; set; }
public Category(string name) {
Name = name;
Val = 0;
IsScored = false;
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using MultiUserBlock.Common.Enums;
namespace MultiUserBlock.DB
{
public class Program
{
public static void Main(string[] args)
{
Console.OutputEncod... |
using System;
namespace DevilDaggersCore.MemoryHandling.Variables
{
public class BoolVariable : AbstractVariable<bool>
{
public override bool ValuePrevious => BitConverter.ToBoolean(BytesPrevious, 0);
public override bool Value => BitConverter.ToBoolean(Bytes, 0);
public BoolVariable(int localBaseAddress, in... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using DigitalRuby.PyroParticles;
public class Cultist : MonoBehaviour
{
// All cultists
public float invisibility;
public float disappearSpeed = 0.5f;
public float disappearDelay;
public bool perform... |
using System.Collections.Generic;
using Xunit;
using ImagoCore.Models;
using ImagoCore.Enums;
using System.Collections;
namespace ImagoCore.Tests.Models
{
public class KoerperTests
{
[Fact]
public void ConstructKoerper_KoerperHasKopf()
{
var koerper = new KoerperTeileCollec... |
namespace CryptoReaper.Simulation.Devices
{
class HellFireReceiver : GameToken, IOutputs<HellFire>
{
public HellFireReceiver() : base("Sprites/HellFireReceiver")
{
}
public IInputs<HellFire> OutputTo => throw new System.NotImplementedException();
public IODirection Out... |
using ControleFinanceiro.Domain.Contracts.Repositories;
using ControleFinanceiro.Domain.Contracts.Services;
using ControleFinanceiro.Domain.Entities;
using ControleFinanceiro.Infra.Data.EF;
using System;
using System.Collections.Generic;
namespace ControleFinanceiro.Domain.Service.Services
{
public class ServicoR... |
using AutoMapper;
using IntegrationAdapters.Apis.Grpc;
using IntegrationAdapters.Dtos;
namespace IntegrationAdapters.MapperProfiles
{
public class PharmacySystemProfile_Id1 : Profile
{
public PharmacySystemProfile_Id1()
{
CreateMap<Drug, DrugDto>().ForMember(dest => dest.PharmacyDt... |
namespace FoodPricer.Core.Order.Meal
{
public class Sandwich : IMeal
{
public double Price => 10;
}
} |
using DataModels.Models;
using Microsoft.EntityFrameworkCore;
using System;
namespace DataStorage
{
public class BatContext : DbContext
{
public BatContext(DbContextOptions<BatContext> options)
: base(options) { }
public BatContext() { }
public DbSet<Person> Persons { get; set; }
}
}... |
using Bolster.API.Interface.Stateless;
using NUnit.Framework;
namespace Bolster.Test
{
[TestFixture]
public class TestStatus
{
[Test]
public static void TestFluentInterface() {
var didNotWork = Status.Failure.Reason("The operation did not work");
var worked = Status... |
using EPI.Sorting;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.Sorting
{
[TestClass]
public class MergeSortUnitTest
{
[TestMethod]
public void MergeSortTest()
{
int[] A = new[] { 23, 1, 56, 99, 0, -1, 7, 7, 8 };
MergeSort<int>.Sort(A);
A.Should... |
using System;
using System.IO;
using SixLabors.Fonts;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using SixLabors.Primitives;
using SixLabors.Shapes;
namespace Overmapper
{
class Program
{
static void Main(string[] args)
{
... |
using System;
using System.Collections.Generic;
using System.Collections;
using Quark.Conditions;
using Quark.Contexts;
using UnityEngine;
using Quark.Utilities;
namespace Quark
{
public class ConditionCollection<T> : Condition<T>, IEnumerable<ICondition>, IDeepCopiable<ConditionCollection<T>>, IDisposable where ... |
using System;
using System.Runtime.CompilerServices;
using iSukces.Code.Interfaces;
using JetBrains.Annotations;
namespace iSukces.Code
{
public class CsCodeWriter : CodeWriter, ICsCodeWriter
{
public CsCodeWriter([CallerMemberName] string memberName = null,
[CallerFilePath] string filePat... |
//Max And Min Of Array
public void MaxAndMinOfArray(List<string> readInList)
{
List<int> myList = new List<int>();
string[] temp = null;
foreach (string x in readInList)
{
temp = x.Split(' ');
}
foreach (str... |
namespace RTBid.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class new1 : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Auctions",
c => new
{
... |
namespace ClipModels
{
public class SupplierList
{
public int ID { get; set; }
public virtual SupplierClip SupplierClip { get; set; }
public int SupplierClipId { get; set; }
}
}
|
using System;
using System.Net.Http;
using System.Threading.Tasks;
using LogoSystem;
using Shared;
using Xunit;
namespace Tests
{
public class LogoTests
{
[Fact]
public static async Task FetchesFavicon()
{
var result = await QueueFunction.FetchLogo(new HttpClient{Timeout = ... |
using AutoMapper;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Text;
namespace FamilyAccounting.AutoMapper
{
public static class MappingConfiguration
{
public static IServiceCollection AddModelMapping(this IServiceCollection services)
... |
using Jogging.Model.JsonConverters;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jogging.Model
{
public class Session
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonPropert... |
using System;
namespace DmManager.Models
{
public class Note
{
public int Id { get; set; }
public string Body { get; set; }
public DateTime When { get; set; } = DateTime.UtcNow;
public int GameId { get; set; }
public Game Game { get; set; }
}
public class NoteVM
{
public string Body ... |
using RiverPuzzle1.Models;
using System.Collections.Generic;
using Xunit;
namespace RiverPuzzle1.Tests.Models
{
public class BeanTests
{
[Fact]
public void NotCompatibleCharacters_ReturnsListOfStrings()
{
// Arrange
var character = new Bean();
// Ac... |
using System;
namespace accessController
{
internal class Packet
{
public static int WGPacketSize = 64; //Short Packet Length
//2015-04-29 22:22:41 const static unsigned char Type = 0x19; //Type
public static int Type = 0x17; //2015-04-29 22:22:50 //Type
... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace COM_ports
{
public static class Extens
{
public static Size Div(this Size size, int div)
{
return new Size(size.Height / div, size.Wid... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ShoppingCart
{
public class Jeans : Pants
{
public override double SizeValue(int ProductSize)
{
return base.SizeValue(ProductSize);
}
}
}
|
using eTicaretProjesi.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace eTicaretProjesi.BL.Repository
{
public class BaseRepository<T, TId> where T : class
{
protected internal static MyContext dbContext;
public ... |
using AuctionApi.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using TechTalk.SpecFlow;
using TechTalk.SpecFlow.Assist;
namespace SpecflowWorkshop.Steps
{
[Binding]
class RetrieveAuctionsGivenSteps
{
private readonly RetrieveAuctionContext _context;
pu... |
using SMG.Common.Transitions;
using System;
using System.Collections.Generic;
namespace SMG.Common.Conditions
{
/// <summary>
/// Static operations and extensions on the ICondition interface.
/// </summary>
public static class ConditionOperations
{
/// <summary>
/// Cal... |
using System;
using System.Collections.Generic;
using System.Text;
using Linedata.Foundation.Domain.Messaging;
namespace Account.DDD.Commands
{
public class BlockAccount : Command
{
public Guid AccountId;
public BlockAccount(Guid id)
{
AccountId = id;
}
}
}
|
namespace Template
{
public class UHCPharmacyInsuranceValidator : PharmacyInsuranceValidator
{
public UHCPharmacyInsuranceValidator(PatientProfile patient) : base(patient)
{
}
protected override decimal GetCoveragePrice(Drug drug)
{
return drug.Price / 5;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameRecorder : MonoBehaviour {
[SerializeField]
private Transform players;
private Stack<GameObject> lifeRanking;
private int nbPlayers;
private int alivePlayers;
private bool checkA... |
using SoulHunter.Enemy;
using UnityEngine;
public class EnemyAnimation : MonoBehaviour // Mort
{
EnemyBase enemyBase;
EnemyCombat enemyCombat;
EnemyScript movement;
SpriteRenderer spriteRenderer;
Animator anim;
private void Awake()
{
enemyBase = GetComponentInParent<EnemyBase>()... |
using Airelax.Domain.Houses.Defines;
namespace Airelax.Application.ManageHouses.Request
{
public class HouseCategoryInput
{
public Category Category { get; set; }
public HouseType? HouseType { get; set; }
public RoomCategory? RoomCategory { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpsPolicy;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using E_LEARNING.Data;
using E_LEARNING.Models;
using Microsoft.AspNetCore.Identity;
namespace E_LEARNING.Cont... |
using System;
using System.Reflection;
using UnityEditor;
using UnityEngine;
namespace ScriptableObjectFramework.Attributes
{
/// <summary>
/// Connects a field to a property so that when it is changed in editor, the property will be triggered as well.
/// </summary>
/// <remarks>
/// This works b... |
// <copyright file="LanguageSystemRecord.cs" company="WaterTrans">
// © 2020 WaterTrans
// </copyright>
namespace WaterTrans.GlyphLoader.Internal.OpenType
{
/// <summary>
/// The OpenType language system record.
/// </summary>
internal sealed class LanguageSystemRecord
{
/// <summary>
... |
using System;
using System.Linq;
using Xunit;
using ticketarena.lib.services;
using ticketarena.lib.model;
namespace ticketarena.tests
{
public class VendTests
{
private readonly IVendService _vendService;
private readonly ICoinService _coinService;
public VendTests()
{
... |
using System;
namespace OperatorOverloading
{
public class Demo4
{
public static void Run()
{
Point p1 = new Point(100, 100);
Point p2 = new Point(40, 40);
Point p3 = p1;
Console.WriteLine("p1 == p2: {0}", p1 == p2);
Console.WriteLine... |
using UnityEngine;
using System.Collections;
public class SnowballController : MonoBehaviour {
public float movementSpeed;
public float initPush;
public bool p1;
private Rigidbody rb;
public GameObject level1;
public GameObject level2;
public GameObject level3;
public float baseVelocity;
public float baseVe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BuffManager : MonoBehaviour
{
[SerializeField]
private List<GameObject> buffs;
[SerializeField]
private int _buffDropRate = 100;
public void GetBuff(Vector3 position)
{
int pick = Utils.Gene... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GroundControl : MonoBehaviour {
public float velocidad;
public Text letreroDebug;
private Vector3 vectorAnterior;
// Use this for initialization
void Start () {
}
// Update is called once per... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Simpler;
using WebApplication1.Models;
namespace WebApplication1.Tasks
{
public class GetCustomerIdTask : OutSimpleTask<string>
{
public override void Execute()
{
var sql = "SELECT AutoCustPrefix as Prefix, AutoCustSuf... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EBS.Query.DTO
{
public class AccessTokenDto
{
public int Id { get; set; }
public string StoreName { get; set; }
public int PosId { get; set; }
public stri... |
using EasySave.Helpers.Files;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows;
namespace EasySave.Model.Management
{
/// <summary>
/// Load the configuration.
/// </summary>
public class Config
{
private const s... |
using System.Collections.Generic;
using System.Data;
using Docller.Core.Models;
using Microsoft.Practices.EnterpriseLibrary.Data;
namespace Docller.Core.Repository.Mappers.StoredProcMappers
{
public class FileVersionDownloadMapper : IResultSetMapper<FileVersion>
{
private readonly IRowMapper<FileVersi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Sparks : MonoBehaviour
{
public ParticleSystem smoke;
public ParticleSystem smallbois;
private void Awake()
{
transform.parent = LevelConfig.instance.effects;
smoke.Play();
smallbois.Pl... |
using System;
using System.Collections.Generic;
using System.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AIMLbot.UnitTest
{
/// <summary>
/// Summary description for UnitTest1
/// </summary>
[TestClass]
public class UserTests
{
private User _user;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using Tomelt.Localization;
using Tomelt.ContentManagement;
using Tomelt.Mvc;
using Tomelt.Mvc.AntiForgery;
using Tomelt.Mvc.Extensions;
using Tomelt.Tags.Drivers;
using Tomelt.Tags.Models;
using Tomelt.Tags.ViewModels;
using Tomel... |
namespace Krafteq.ElsterModel.Common
{
using Krafteq.ElsterModel.ValidationCore;
using LanguageExt;
public class AdditionalHouseNumber : NewType<AdditionalHouseNumber, string>
{
static readonly Validator<StringError, string> Validator = Validators.All(
StringValidators.MaxLength(15)... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Alabo.Domains.Repositories.Mongo.Extension;
using MongoDB.Bson;
using Newtonsoft.Json;
namespace Alabo.Framework.Basic.PostRoles.Dtos
{
public class PlatformRoleTreeOutput
{
/// <summary>
/// id
//... |
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 FormularioPrincipal
{
public partial class FrmInicioSistema : Form
{
//Variáve... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DTO
{
public class TinhThanh
{
private int maTinhThanh;
public int MaTinhThanh
{
get { return maTinhThanh; }
set { maTinhThanh = value; }
}
... |
using System;
using System.Linq;
using System.Text;
using System.IO;
using System.Security.Cryptography;
using System.Text.RegularExpressions;
using System.Net.Sockets;
using System.Numerics;
using System.Windows.Forms;
namespace Projet2Cpi
{
public class Sec
{
public const int ALPHA = 1;
pu... |
using System.Text;
using Sind.Model;
namespace Sind.BLL.Excel
{
public class ImportaPlanilha
{
public int IdIndicador { get; set; }
public Filial Filial { get; set; }
public string MesAno { get; set; }
public string TipoBase { get; set; }
public int Valor { get; set; }
... |
using Alabo.Domains.Entities;
namespace Alabo.Domains.Services.View {
/// <summary>
/// 获取视图
/// </summary>
/// <typeparam name="TEntity"></typeparam>
/// <typeparam name="TKey"></typeparam>
public interface IViewBase<TEntity, in TKey> where TEntity : class, IAggregateRoot<TEntity, TKey> ... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class DogBar : MonoBehaviour
{
public Camera cameraDogBar;
public Sprite ImgDogLeftBar, ImgDogRightBar;
public GameObject ojosDogBar;
void start()
{
this.GetComponent<SpriteRenderer>().enabled = true;
}
v... |
namespace GraphicalEditorServer.DTO
{
public class PatientBasicDTO
{
public string Name { get; set; }
public string Surname { get; set; }
public string Jmbg { get; set; }
public int PatientCardId { get; set; }
public PatientBasicDTO() { }
public PatientBasicDTO... |
using FootballTAL.Data;
using FootballTAL.DataAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FootballTAL.BusinessLogic;
namespace FootballTAL.BusinessLogic
{
public class FootballClubArray
{
private IList<FootballClubEx... |
using FluentValidation.Attributes;
namespace VnStyle.Web.Models.Auth
{
[Validator(typeof(LoginRequestValidator))]
public class LoginRequest
{
public string UserName { get; set; }
public string Password { get; set; }
public bool RememberMe { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class DinamicConditioner : MonoBehaviour
{
[SerializeField]
private bool[] conditions;
public UnityEvent OnTrue;
public bool[] Conditions
{
get
{
return con... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.