text stringlengths 13 6.01M |
|---|
using Microsoft.AspNet.Identity.EntityFramework;
using RimLiqourProject.Models;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity;
namespace NewRimLiqourProject.Models
{
// You can add profile data for the user by adding more properties to your ApplicationUser class, please visit http://go.mic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EX_6C_Inheritance_Weapons
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Firing Small weapon: ");
SmallCaliberWeapon myH... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TransferData.DataAccess;
using TransferData.DataAccess.Entity.Mapping;
namespace TransferData.Business.MappingMasterData
{
public class MappingCarModelLogic
{
private static IList<... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class SwordItem : Collectable
{
public int itemID = 5;
override protected void OnCollect(GameObject target) {
var equipBehavior = target.GetComponent<Equip>();
if (equipBehavior != null) {
equip... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CEMAPI.Models
{
public class FailInfo
{
public int listcount { get; set; }
public int errorcode { get; set; }
public string errormessage { get; set; }
public string exceptionMessage ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerControls : MonoBehaviour
{
private MovingEntity m_movingEntity;
private AttackingEntity m_attackingEntity;
private SynchronizedActor m_actor;
private LevelBuilder m_levelBuilder;... |
using ContentPatcher.Framework.Conditions;
using ContentPatcher.Framework.ConfigModels;
using ContentPatcher.Framework.Tokens;
using ContentPatcher.Framework.Tokens.Json;
using StardewModdingAPI;
namespace ContentPatcher.Framework.Migrations
{
/// <summary>Migrates patches to a given format version.</summary>
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Shuffle_Deck
{
class Deck_Manipulation: Random
{
static List<string> shuffled_Deck = new List<string>();
static List<string> deck = new List<string>();
static StringBuilder sb = new StringBui... |
namespace qbq.EPCIS.Repository.Custom.Entities
{
class EpcisEventSourceDestination
{
//-----------------------------------------------------------------
//-- Tabelle zum Zwischenspeichern der SourceDestination
//-----------------------------------------------------------------
... |
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;
using System.Net;
using System.Net.Sockets;
using System.Threading;
namespace slashGame {
public part... |
using ShopApp.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace ShopApp.Business.Abstract
{
public interface IAddressService
{
Address GetById(int id);
IEnumerable<Address> GetByUserId(string id);
void Create(Address entity);
void Update(Addr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MovementBob : MonoBehaviour
{
public float walkingBobbingSpeed = 14f;
public float bobbingAmount = 0.05f;
public float timeOffset = 0f;
public CharacterController controller;
protected float startYPos = 0f;... |
using Alabo.Domains.Dtos;
using Alabo.Domains.Entities;
using Alabo.Domains.UnitOfWork;
using Alabo.Validations.Aspects;
using System.Threading.Tasks;
namespace Alabo.Domains.Services.Add {
/// <summary>
/// 创建操作
/// </summary>
public interface IAddAsync<TEntity, in TKey> where TEntity : class, I... |
using System;
using System.IO;
using System.Threading.Tasks;
using XamarinConfig.Configuration;
namespace XamarinConfig.iOS.Configuration
{
public class IOSConfigurationStreamProvider : IConfigurationStreamProvider
{
private const string ConfigurationFilePath = "Assets/config.json";
p... |
//
// TorrentException.cs
//
// Authors:
// Alan McGovern alan.mcgovern@gmail.com
//
// Copyright (C) 2006 Alan McGovern
using System;
namespace ResumeEditor.Torrents
{
[Serializable]
public class TorrentException : Exception
{
public TorrentException()
: base()
{
}
... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Validation;
using System.Linq;
using System.Security.Claims;
using System.Web.Mvc;
using BradescoPGP.Common;
using BradescoPGP.Common.Logging;
using BradescoPGP.Repositorio;
using BradescoPGP.Web.Models;
namespace Brade... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WebAPI.Helpers;
using WebAPI.Services.Base;
namespace WebAPI.Controllers
{
public class BaseController : ControllerBase
{
protected ActionResult<APIResponseWrapper<T>> APIResponse<T>(T result, ValidationResult validationResult,
... |
using System;
using System.Collections.Generic;
using DelftTools.Functions.Generic;
using NUnit.Framework;
namespace DelftTools.Functions.Tests.Conversion
{
[TestFixture]
public class ConvertedArrayTest
{
[Test]
public void TestConvertedArray()
{
IMultiDimensionalArray... |
using System.CodeDom.Compiler;
namespace Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution
{
[GeneratedCode("wsdl", "2.0.50727.42")]
public delegate void GetExecutionInfo3CompletedEventHandler(object sender, GetExecutionInfo3CompletedEventArgs e);
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Xlns.BusBook.Core.Model;
namespace Xlns.BusBook.UI.Web.Models
{
public class ListFlyerView
{
public Agenzia agenzia;
public IList<Flyer> flyers;
}
} |
using BS;
using System;
using UnityEngine;
namespace BlinkSpell
{
public class Spell_Blink : Spell
{
SpellCasterHand spellCasterHand;
public override void Load(SpellData.Instance spellDataInstance, SpellCasterHand handCaster)
{
spellCasterHand = handCaster;
ba... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShowMeDateClient
{
class Program
{
static void Main(string[] args)
{
ShowMeDateBusiness.ShowMeDateBusiness date = new ShowMeDateBusiness.ShowMeDateBusiness(... |
using System.Data.Entity.ModelConfiguration;
using ODL.DomainModel.Common;
namespace ODL.DataAccess.Mappningar
{
public class MetadataMappning : ComplexTypeConfiguration<Metadata>
{
public MetadataMappning()
{
Property(m => m.UppdateradDatum).HasColumnName("UppdateradDatum");
... |
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 PegususDemo.View
{
public partial class Reports : Form
{
public ... |
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace com.Sconit.Entity
{
public class MessageHolder
{
private static ThreadLocal<IList<Message>> messages = new ThreadLocal<IList<Message>>();
public static IList<Message> GetAll()
{
return m... |
using SalaryCalculator;
using SalaryCalculator.TaxPlans;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SalaryCalculatorTests
{
/// <summary>
/// Summary description for IrelandTests
/// </summary>
[TestClass]
public class CaymanIslandsTests
{
[TestMethod]
public... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Hayaa.SecurityController.Model
{
public class UserAuthReponse
{
/// <summary>
/// 会话标识
/// </summary>
public String SessionToken { set; get; }
}
}
|
using UnityEngine;
public interface IOption {
string name { get; set; }
GameObject controlObj { get; set; }
void setupControlObj(GameObject obj);
/// <summary>
/// Applies the option's value to game. This makes the option
/// take effect.
/// </summary>
void applyValue();
///... |
using System;
using System.Data.SqlClient;
using System.Management;
using System.Net.NetworkInformation;
using System.Windows.Forms;
namespace POS.Classes
{
class Authorize
{
static public bool AuthorizeComputer()
{
return AuthorizeCridentials(GetUniqueKey());
}
sta... |
using System;
using System.Collections.Generic;
namespace PizzeriaApi.Models
{
public partial class Ciasto
{
public int IdCiasta { get; set; }
public string Nazwa { get; set; }
public int CenaCiasta { get; set; }
}
}
|
using CQRS.MediatR.Event;
namespace Scheduler.MailService.Events
{
public class MailHasBeenSent: IEvent
{
public string From { get; }
public string Recipient { get; }
public string Title { get; }
public MailHasBeenSent(string from, string recipient, string title)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IBLLService
{
public partial interface IBLLSession
{
IWeChat_MANAGER IWeChat_MANAGER { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UseFul.Uteis
{
public static class UltimoDiaMes
{
public static DateTime RetornaDia(DateTime dt)
{
return new DateTime(dt.Year, dt.Month, DateTime.DaysInMonth(dt.Year, dt.Month));
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InfoSign : MonoBehaviour
{
private void OnEnable()
{
transform.Find("Canvas").gameObject.SetActive(false);
}
private void OnTriggerEnter2D(Collider2D collision)
{
if (collision.CompareTag("P... |
using System;
using Tomelt.ContentManagement;
using Tomelt.Events;
namespace Tomelt.Autoroute.Services {
public interface IRouteEvents : IEventHandler {
void Routed(IContent content, String path);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace KartLib
{
/// <summary>
/// Класс, расширяющий работу с сообщениями
/// </summary>
public static class ExtMessageBox
{
/// <summary>
/// Выводит сообщение об ... |
using System.Data.Entity.Migrations;
using System.Linq;
namespace GymWorkout.Data.Migrations
{
internal sealed class Configuration : DbMigrationsConfiguration<GymWorkout.Data.GymContext>
{
public Configuration()
{
AutomaticMigrationsEnabled = false;
}
protected over... |
using UnityEngine;
using System.Collections;
public class AssetPoolItem : MonoBehaviour {
private string _assetName;
public void SetAssetName(string name)
{
_assetName = name;
}
public string GetAssetName()
{
return _assetName;
}
public void Drop()
{
this... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Inventory.Data
{
public class Street : BaseEntity
{
[Required]
public string Name { get; set; }
public int StreetTypeId { get; set; }
[... |
using UnityEngine;
using System.Collections;
public class SetPanelJiaoZhunDianCtrl : MonoBehaviour
{
public Transform JiaoZhunDianTr;
GameObject JiaoZhunDianObj;
int IndexJiaoZhun;
int StartX = -3;
int StartY = 3;
static SetPanelJiaoZhunDianCtrl _Instance;
public static SetPanelJiaoZhunDianCtrl GetInstance()
... |
using Newtonsoft.Json;
namespace gView.Interoperability.GeoServices.Rest.Json.Legend
{
public class LegendResponse : JsonStopWatch
{
[JsonProperty("layers")]
public Layer[] Layers { get; set; }
}
}
|
public enum RoomCode
{
Test1,
Test2,
Test3,
Test4,
Room,
//Ground Story
StartingRoom,
Library,
DiningRoom,
Kitchen,
MasterBedroom,
GameRoom,
Lounge,
//Basement
BasementLanding,
Catacomb,
Cellar,
BoilerRoom,
PanicRoom,
... |
using Newtonsoft.Json;
namespace Titan.MatchID.Sharecode
{
public class ShareCodeInfo
{
[JsonProperty("matchid")]
public ulong MatchID { get; set; }
[JsonProperty("outcomeid")]
public ulong OutcomeID { get; set; }
[JsonProperty("tokens")]
publ... |
using System;
using System.Threading;
namespace Amf.Ultima.Api.Services
{
public class TimerUltima
{
private Timer _timer;
private AutoResetEvent _autoResetEvent;
private Action _action;
public DateTime TimerStarted { get; set; }
public TimerUltima(Action action)
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class PlayerMotor
{
[Header("References")]
public Transform cam;
public CapsuleCollider col;
[Header("Player")]
public float playerSpeed;
[Header("Physics")]
public float gravity... |
// // ---------------------------------------------------------
// // <copyright file="IPagedList.cs" >
// // Co., Ltd
// // Author: Hua Dai Phong
// // Created date: 22/07/2014
// // </copyright>
// // ---------------------------------------------------------
using System.Collections.Generic;
namespace Ricky.Infra... |
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace pjank.BossaAPI.Fixml
{
public class MarketDataIncRefreshMsg : FixmlMsg
{
public const string MsgName = "MktDataInc";
public int RequestId { get; private set; }
public MDEntry[] Entries { get; private set; }
publi... |
using System;
using System.Collections.Generic;
using TechnicalRadiation.Models;
using TechnicalRadiation.Models.Dtos;
using TechnicalRadiation.Models.Entities;
using TechnicalRadiation.Models.InputModels;
using TechnicalRadiation.Repositories;
namespace TechnicalRadiation.Services
{
public class AuthorService
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CQRS.Abstraction;
using Model;
namespace Client.Command
{
public class DocumentCreateCommandHandler : ICommandHandler<DocumentCreateCommand>
{
private FakeContext context;
... |
namespace FeriaVirtual.Infrastructure.Persistence.OracleContext.Configuration
{
public interface IDBConfig
{
string GetConnectionString { get; }
string GetDatabaseName { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Abhs.Model.ViewModel
{
public class StudentHeartCondition
{
/// <summary>
/// 学生ID
/// </summary>
public int student_id { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hoofdstuk_7_Facade
{
public class PopcornPopper
{
public void On()
{
Console.WriteLine("Popcorn machine turned on");
}
public void Pop()
... |
/*
********************************************************************************
* COPYRIGHT(c) ЗАО «ЧИП и ДИП», 2018
*
* Программное обеспечение предоставляется на условиях «как есть» (as is).
* При распространении указание автора обязательно.
****************************************************************... |
using Stack;
using NUnit.Framework;
namespace NUnitTestStack
{
[TestFixture]
class ItemTests
{
[Test]
public void Index_GetIndexOfSecondItem_1Returned()
{
//arrange
Item<int> firstitem = new Item<int>(null);
Item<int> secoditem = new Item<int>(firstitem);
int expectedIndex;
//act
expectedIn... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace transport.Models.ApplicationModels
{
public class Tankowanie
{
[Key]
[DatabaseGenerated(Da... |
using System;
namespace OptionalTypes.JsonConverters.Tests.TestDtos
{
public class NullableDateTimeDto
{
public Optional<DateTime?> Value { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Tenant2
{
public readonly string Name;
public readonly int MaxRent;
public readonly int MinQuality;
public Tenant2() {
Name = Names.One();
MaxRent = 1800;
MinQuality = 0;
}
}
... |
using System;
using System.Collections.ObjectModel;
namespace TwojePrzedszkole.API.Models
{
public class Task
{
public int Id { get; set; }
public Collection<TaskCategory> TaskCategories { get; set; }
public string TaskName { get; set; }
public int Quantity { get; set; }
... |
using UnityEngine;
using System.Collections;
public class CameraShake : MonoBehaviour {
RadialBlur RadialBlurScript;
MotionBlur BlurScript;
private Transform mCamTran; //Main Camera transform
private float fCamShakeImpulse = 0.0f; //Camera Shake Impulse
float minShakeVal = 0.05f;
public static bool IsActiveC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fahrzeugverwaltung
{
public enum Autotyp
{
Coupe,
Combi,
Roadster,
Van,
Pickup
}
class Auto : Landfahrzeug
{
public Autotyp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PasswordCreator22
{
public class NumLetter : Letter
{
public NumLetter(Random random) : base(random) //baseは親クラスのこと。親クラスに引数randomを送る
{
}
public override string GetLetter() //親クラスで... |
using MuggleTranslator.Common;
using MuggleTranslator.Runtime;
using MuggleTranslator.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Docum... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace AxisEq
{
/// <summary>
/// Эмуляция фискальной памяти
/// </summary>
///
[Serializable]
public class FiscalMemory
{
... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
namespace fajlList
{
class Program
{
static void Main(string[] args)
{
string[] ip = (File.ReadAllLines( @"ip.txt"));
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace cs_pp1
{
class TreadQueue
{
private Queue<String> list;
private object block = new object();
public TreadQueue()
{
list = new Queue<String>();
}
p... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace CarRental.API.DAL.Entities
{
[Table("PriceModels")]
public class PriceItem
{
[Key]
public Guid Id { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Blog.Core.AuthHelper
{
public class JwtHelper
{
}
}
|
using ApiTemplate.Core.Entities.Base;
using ApiTemplate.Core.Entities.Users;
using ApiTemplate.Data.Extensions;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace ApiTemplate.Data.ApplicationDbContexts
{
public class AppDbContext :IdentityDbContext<AppUser,AppR... |
using FluentMigrator;
namespace Profiling2.Migrations.Migrations
{
[Migration(201302200921)]
public class AuditSources : Migration
{
public override void Down()
{
Delete.Table("PRF_Source_AUD");
}
public override void Up()
{
Create.Table("P... |
using System;
using System.Collections.Generic;
using FTLibrary.EliteDevice;
using UnityEngine;
class EliteDeviceAccessJava : EliteDeviceAccess
{
private AndroidJavaObject jo = null;
public EliteDeviceAccessJava()
:base()
{
jo = new AndroidJavaObject("com.ss.game.MyElite5Access");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace TopTrumpsHCML.Entities
{
public abstract class SharpEntity
{
}
} |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using VEE.Models;
using VEE.Models.BasedeDatos;
namespace VEE.Controllers
{
public class ResultadoesController : C... |
using HBPonto.Database.Entities;
using HBPonto.Kernel.Enums;
using HBPonto.Kernel.Interfaces.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace HBPonto.Kernel.Interfaces.Authentication
{
public interface IUserService
{
List<User> GetAllUsers();
List<RoleEnum... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using IdentityS4.Data;
using Microsoft.EntityFrameworkCore;
namespace IdentityS4.Services
{
public class BaseService<T> where T : class, new()
{
public EFContext db;
... |
using System;
using DFC.ServiceTaxonomy.ContentApproval.Drivers;
using DFC.ServiceTaxonomy.ContentApproval.Handlers;
using DFC.ServiceTaxonomy.ContentApproval.Indexes;
using DFC.ServiceTaxonomy.ContentApproval.Models;
using DFC.ServiceTaxonomy.ContentApproval.Permissions;
using DFC.ServiceTaxonomy.ContentApproval.Servi... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace DigiX.Web.Global.Objects
{
public class FreeOtherItemDeals : IDeals
{
public int DealsId { get; set; }
public int DealsTypeId { get; set; }
public int LeastItems { get; set; }
public bool IsMultipliabl... |
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 Interfaz
{
public partial class MenuPrincipal : Form
{
private B... |
// Copyright (c) Adrian Sims 2018
//
// 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, copy, modify, merge, publish, ... |
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 DT;
namespace DTPrueba
{
public partial class Form1 : Form
{
public Form1()
{
InitializeCom... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using SnakeMultiplayer.Services;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddMvc(o => o.EnableEndpointRouting = false);
builder.Services... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using SocialMedia.Infrastructure.Core;
using System;
using System.Collections.Generic;
using System.Text;
namespace SocialMedia.Infrastructure.Data.Configurations
{
public class AspnetPersonalizationPerUserConfiguration : ... |
using Atc.Resources;
// ReSharper disable once CheckNamespace
namespace Atc
{
/// <summary>
/// Enumeration: ForwardReverseType.
/// </summary>
public enum ForwardReverseType
{
/// <summary>
/// Default None.
/// </summary>
[LocalizedDescription(null, typeof(EnumRes... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace DFC.ServiceTaxonomy.GraphSync.Settings
{
public class GraphSyncPartSettingsViewModel
{
public GraphSyncPartSettingsViewModel()
{
Settings = new List<SelectListItem>();
AllSettings = n... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LapComplete : MonoBehaviour
{
public GameObject MiddleTrig;
public GameObject LapCompleteTrig;
public GameObject CANVAStoGO;
public Text MinuteSet;
public Text SecSet;
public Text MilliSet;
public... |
using System.Collections.Generic;
namespace ObjectDumper
{
public enum QueueType
{
Unknown,
QueueTypeOne,
QueueTypeTwo
};
class Queue
{
public int Id { get; set; }
public string Name { get; set; }
public QueueType QueueType { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Routing;
using System.Web.Mvc;
using SSISTeam9.Services;
namespace SSISTeam9.Filters
{
public class PendingDeliveryOrderFilter : ActionFilterAttribute, IAuthorizationFilter
{
public void OnAuthorizati... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace Nailhang.Display
{
public static class StringUtils
{
public static Guid ToMD5(this string content)
{
using (var md5 = MD5.Create())
re... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NeuralNetwork;
using NeuralNetwork.Core;
namespace NeuralNetworkTests
{
[TestClass]
public class BackpropagationTest
{
[TestMethod]
public void GetErrorsOutputSignal()
{
//Arrange
float[... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static ProgressQuest.GameStrings;
using static ProgressQuest.GameManager;
namespace ProgressQuest.Models
{
public static class EquipmentManager
{
publi... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace BSTree.Tests
{
[TestClass]
public class TraversingTests
{
[TestMethod]
public void TestInorderTraverse()
{
var treeHead = GetTree(40);
List<int> sor... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Bidar.WebAPI.Domain;
using Bidar.WebAPI.Services;
using TalebiAPI.Domain;
namespace TalebiAPI.Controllers
{
[ApiController]
[Route("[contro... |
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(Experiment_Ctrl))]
public class Experiment_Ctrl_Editor : Editor
{
KeyCode key;
SerializedProperty SMI_Prefab;
private void OnEnable()
{
SMI_Prefab = serializedObject.FindProperty("SMI_Prefab");
}
public override void OnInspect... |
using Swan.Net;
namespace Swan.Ldap
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
/// <summary>
/// The central class that encapsulates th... |
using System;
namespace _9_Abstract
{
abstract class Shape
{
public int numSides;
public abstract double GetArea();
}
class Square : Shape
{
int n;
public Square(int n)
{
numSides = 4;
this.n = n;
}
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Ideal.Ipos.RealTime.Skat.Model {
public class Spieltisch {
private readonly List<Spieler> m_Spieler = new List<Spieler>(3);
private const int SpielerProTisch = 3;
... |
using AutoFixture;
using NUnit.Framework;
using System.Threading.Tasks;
using FluentAssertions;
using SFA.DAS.ProviderCommitments.Web.Mappers;
using SFA.DAS.ProviderCommitments.Web.Models;
namespace SFA.DAS.ProviderCommitments.Web.UnitTests.Mappers
{
[TestFixture]
public class WhenIMapBaseDraftApprenticeshipR... |
namespace DFC.ServiceTaxonomy.GraphVisualiser.Models.Owl
{
public partial class Description
{
public string? En { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace MIDIDotNet
{
public static class InvokeLayer
{
public static class Messages
{
public const uint MM_MOM_OPEN = 0x3C7;
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HTB.Database.Views
{
public class qryLookupUser : Record
{
#region Property Declaration
private int _userID;
private string _userVorname;
private string _userNachname;
privat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems {
public class Problem48 : ProblemBase {
public override string ProblemName {
get { return "48: Self powers"; }
}
public... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.