text stringlengths 13 6.01M |
|---|
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using EPI.Strings;
using FluentAssertions;
namespace EPI.UnitTests.Strings
{
[TestClass]
public class RomanNumeralsUnitTest
{
[TestMethod]
public void ConvertToDecimal_Cases()
{
RomanNumerals.ConvertToDecimal("I").Should().Be(1);
RomanN... |
using CryptoReaper.Simulation.CryptFeatures;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
namespace CryptoReaper.Simulation
{
/// <summary>
/// A building where the mining machines run.
/// </summary>
class Crypt
{
p... |
using System;
namespace DateCalculator
{
public class EgWorkdayCalculator : CountryWorkdayCalculator
{
public EgWorkdayCalculator()
: base("eg", DateTime.Now)
{ }
public EgWorkdayCalculator(DateTime date)
: base("eg", date)
{ }
protected overri... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace PopCinema.Models
{
public class Filmes
{
public Filmes() {
ListaAtores = new HashSet<FilmesAtores>... |
namespace Entoarox.Framework.Advanced
{
internal class PolyTupleHelper
{
/*********
** Public methods
*********/
public static int CreateHashCode(params object[] objects)
{
int hash1 = (5381 << 16) + 5381;
int hash2 = hash1;
int i = 0;... |
using DrinkMenu.Business.Abstract;
using DrinkMenu.Business.Concrete;
using DrinkMenu.DataAccess.Abstract;
using DrinkMenu.DataAccess.Concrete.ADONET;
using DrinkMenu.DataAccess.Concrete.EntityFramework;
using Ninject.Modules;
using System;
using System.Collections.Generic;
using System.Text;
namespace DrinkMenu.Busi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using StarChart.Data;
using StarChart.Models;
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace StarChart.Controlle... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MySql.Data.MySqlClient;
using System.Data;
using System.Configuration;
public partial class login : System.Web.UI.Page
{
protected void Page_Load(object sender, EventAr... |
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using Microsoft.AspNet.Identity;
using Microsoft.Owin.Security;
using Ricky.Infrastructure.Core.ObjectContainer;
using VnStyle.S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PADIbookCommonLib
{
[Serializable]
public class RegisteredInterest
{
private Interest _interest;
private String _ringNextUri;
private String _ringBeforeUri;
public Interest Inte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExerciseAnoula.Interfaces;
namespace ExerciseAnoula.Models
{
class CountryHouse : Door , ICountryHouse
{
public CountryHouse()
{
}
... |
using System;
using System.Collections.Generic;
using Environment;
using UnityEngine;
using Random = UnityEngine.Random;
namespace DungeonsGeneration
{
public class DungeonGenerator
{
private const int MAX_ITERATION_SEARCH = 100;
private Room[,] rooms;
private List<Vector2> takenPositions = new List<Vector2... |
namespace com.Sconit.Web.Controllers.Report
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using com.Sconit.Service;
using Models;
using Telerik.Web.Mvc;
using AutoMapper;
using com.Sconit.Entity.ORD;
using com.Sc... |
using Microsoft.AspNetCore.Identity;
namespace Projeto.Models
{
public class Usuario : IdentityUser
{
public string Status { get; set; }
public string Perfil { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlacebleObject : MonoBehaviour
{
public Vector3 _location;
public bool _isStackeble;
public bool _isHouse;
public bool _isDecoration;
public bool _isEnvironment;
public bool _multipleVersions;
[Ser... |
using Focuswin.SP.Base.Utility;
using Microsoft.SharePoint;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YFVIC.DMS.Model.Models.Common;
using YFVIC.DMS.Model.Models.Settings;
using YFVIC.DMS.Model.Models.DataDictionary;
namespace YFVIC.DMS.M... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.ComponentModel.Design;
namespace SupportArrayType
{
[Designer("System.Windows.Forms.Design.ControlDesigner, System.Windows.Forms.De... |
namespace PCLExt.FileStorage.Files
{
/// <summary>
/// Represents a folder created by a given path
/// </summary>
public class FileFromPath : BaseFile
{
/// <summary>
/// Creates a new <see cref="IFile"/> corresponding to the specified path.
/// </summary>
/// <param... |
namespace Demineur
{
/// <summary>
/// Point d'entrée du programme.
/// On a une seule instance de Demineur.
/// Demineur peut créer une seule partie à la fois.
/// </summary>
class Demineur
{
Partie m_Partie;
Classements m_Classement;
Demineur()
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ORM.Models
{
public class Shop
{
public int Id { get; set; }
public int AddressID { get; set; }
public Addresses Address { get; set; }
//Insert Constructor
public Shop()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Assets.Scripts.PlayerFolder;
namespace Assets.Scripts.EnemyFolder
{
public class Enemy : CharacterBase
{
public bool Angry { get; set; }
public Enemy(string name, float health, float energy) : base(name... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CS_2_HomeWork.Object
{
/// <summary>
/// Класс планет
/// </summary>
class Planet : BaseObject
{
/// <summary>
/// Св... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ToggleUIOnKey : MonoBehaviour {
[SerializeField] UIBase uiComponent;
[SerializeField] KeyCode togglekey;
void Update () {
if (Input.GetKeyDown (togglekey)) {
if (uiComponent.hidden) {
uiComponent.Show ();
} el... |
using PFRCenterGlobal.ViewModels;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using static PFRCenterGlobal.ViewModels.RegisterStep3Logic;
namespace PFRCenterGlobal.Views.Register
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Register3Page : ContentPage
{
public Registe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Polaris.Models {
/// <summary>
/// ファイル状態チェッカ
/// </summary>
public class FileStateChecker {
/// <summary>
/// ctor
/// </summary>
public FileStateChecker()
#region
{
}
#... |
using Alabo.Web.Mvc.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.Framework.Core.Enums.Enum {
[ClassProperty(Name = "数据类型")]
public enum ZkCloudDateType {
#region 数值为10-100,基本控件
/// <summary>
/// 文本类型
/// </summary>
[Display(Name = "Str... |
using System;
using System.Xml;
using System.Text;
namespace pjank.BossaAPI.Fixml
{
public class OrderStatusRequestMsg : FixmlMsg
{
private static uint nextId = 0;
public string OrderStatusId; // ID zapytania, definiowane przez nas
public string ClientOrderId; // ID zlecenia, nadane ... |
namespace BattleEngine.Utils
{
public class Point3 : Point
{
public double z;
public void offset(double x, double y, double z)
{
this.x += x;
this.y += y;
this.z += z;
}
}
}
|
using Cs_IssPrefeitura.Aplicacao.Interfaces;
using Cs_IssPrefeitura.Dominio.Interfaces.Servicos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_IssPrefeitura.Aplicacao.ServicosApp
{
public class AppServicoBase<TEntity> : IDisposable... |
namespace BettingSystem.Application.Teams.Queries.Players
{
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
public class GetTeamPlayersQuery : IRequest<IEnumerable<GetTeamPlayersResponseModel>>
{
public int Id { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using IRAP.Components.WorkFlow;
using IRAP.Entity.MDM;
using IRAP.Client.Global.Resources.Properties;
namespace IRAP.Client.GUI.MDM
{
/// <summary>
/// 流程图节点类
/// </summary>
publ... |
using AJWebAPI.Report;
using Coldairarrow.Util;
using DevExpress.XtraReports.UI;
using RX.Gas.ReportLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace LH.ReportWeb
{
public partial class PrintReportView : System... |
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.EntityFrameworkCore;
using WorkScheduleManagement.Data.Enums;
using WorkScheduleManagement.Persistence;
namespace WorkScheduleManagement.Application.CQRS.Queries
{
public static class GetUserCount... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DiseaseCubeRotator : MonoBehaviour
{
private int speed = 45;
private Vals.Colour colour;
public Vals.Colour Colour { get => colour; set => colour = value; }
void Update()
{
transform.Rotate(new... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Net.UdpServer
{
/// <summary>
/// Simple pipeline builder realization
/// </summary>
public class PipelineBuilder : IPipelineBuilder
{
/// <summary>
/// List of middleware
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DelftTools.TestUtils.TestReferenceHelper
{
public class ReferenceNode
{
public ReferenceNode(object o)
{
Object = o;
try
{
Name = Object.ToString();
}
... |
public class Solution {
public string FractionToDecimal(int numerator, int denominator) {
if (numerator == 0) return "0";
StringBuilder sb = new StringBuilder();
var dict = new Dictionary<long, int>();
bool isPositive = (numerator > 0 && denominator > 0) || (numerat... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using DMS.Utils;
namespace DMS.Utils
{
public class DataServices
{
/// <summary>
/// Get connection string from App config
/// </summary>
/// <return... |
namespace SFA.DAS.ProviderCommitments.Web.Authentication
{
public static class ProviderClaims
{
public static readonly string Upn = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn";
public static readonly string DisplayName = "http://schemas.portal.com/displayname";
public st... |
using System;
using System.Collections.Generic;
using IoTManager.Utility.Serializers;
namespace IoTManager.Core.Infrastructures
{
public interface IFieldBus
{
List<FieldSerializer> GetAllFields();
String CreateNewField(FieldSerializer fieldSerializer);
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlatformDrop : MonoBehaviour
{
PlatformEffector2D platformEffector;
private void Awake()
{
platformEffector = GetComponent<PlatformEffector2D>();
}
private void OnCollisionStay2D(Collision2D other... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AutoDrive : MonoBehaviour
{
public GameObject playercar;
public float speed = 5f;
void Start()
{
playercar = transform.parent.GetChild(0).gameObject;
}
void Update()
{
if (trans... |
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities;
using Alabo.Domains.Enums;
using Alabo.Domains.Repositories;
using Alabo.Domains.Services;
using Alabo.Exceptions;
using Alabo.Extensions;
using Alabo.Framework.Basic.Relations.Domain.Entities;
using Alabo.Framework.Basic.Relations.Dtos;
using Alabo.Framewor... |
using AutoMapper;
using Dg.KMS.People;
using Dg.KMS.People.Dtos;
namespace Dg.KMS.People.Mapper
{
/// <summary>
/// 配置Person的AutoMapper
/// </summary>
internal static class PersonMapper
{
public static void CreateMappings(IMapperConfigurationExpression configuration)
{
confi... |
using System.Collections.Generic;
namespace EAN.GPD.Infrastructure.Database.SqlClient
{
internal class PersistenceEntity : Persistence, IPersistenceEntity
{
private readonly TypePersistence typePersistence;
private readonly string nameTable;
private readonly string namePrimaryKey;
... |
using FluentAssertions;
using ModaTime;
using NUnit.Framework;
using System;
using System.Collections;
namespace ModaTime.Test
{
class GetEndDayOfMonthTests
{
[SetUp]
public void Setup()
{
}
[Test, TestCaseSource("TestCases")]
public void Get_EndDayOfMonth(Date... |
using System;
namespace ExtensionMethods
{
public static class MyExtensions
{
public static object NullToDBNullValue(this object originalObject)
{
return originalObject ?? DBNull.Value;
}
}
} |
namespace Sentry.Android.Extensions;
internal static class BreadcrumbExtensions
{
public static Breadcrumb ToBreadcrumb(this JavaSdk.Breadcrumb breadcrumb)
{
var data = breadcrumb.Data
.WorkaroundKeyIteratorBug()
.ToDictionary(x => x.Key, x => x.Value.ToString());
retur... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.VFX;
using Unity.Entities;
using Unity.Mathematics;
using Unity.Transforms;
public class ECSManager : MonoBehaviour {
public GameObject playerShipPrefab;
[Range(0, 100)] public float forwardThrust;
[Range(0,... |
using Models;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Repository
{
public class EmployeeQueryRepository
{
public Employees SearchResult(int EmpId)
{
SqlDataReader sdr ... |
using System;
using System.Collections.Generic;
using System.Linq;
using LightingBook.Test.Api.Common;
using PaymentOption = LightingBook.Test.Api.Client.v11.Models.TravelCTMOBTApiModelsv4PaymentOption;
using LightingBook.Tests.Api.Proxy.v11;
namespace LightingBook.Tests.Api.Product.V11
{
public class Itinerary
... |
using BattleEngine.Modifiers;
using Common.Composite;
namespace BattleEngine.Players
{
public class PlayerModifier : Component
{
public double calculate(ModifierType type, double value, int id = 0)
{
return value;
}
}
}
|
using System;
using System.Runtime.CompilerServices;
namespace ScriptKit
{
public class JsRuntimeException:Exception
{
public JsRuntimeException(JsErrorCode jsErrorCode)
{
this.ErrorCode = jsErrorCode;
}
public JsErrorCode ErrorCode { get; private set; }
[... |
using Discord.WebSocket;
using OrbCore.Core;
using OrbCore.Core.Config;
using OrbCore.Interfaces.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrbCore {
public static class OrbCoreFactory {
public static IOrbCore MasterC... |
using System;
namespace Sejalan.Framework.Preferences.Data.DbLinq.Sqlite
{
public class PreferencesProvider
{
public PreferencesProvider ()
{
}
}
}
|
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Models;
using Services.Dawa;
using NetTopologySuite.Geometries;
using Microsoft.AspNetCore.Authorization;
using System.Net.Http.Headers;
using System.Text;
using Services.Repo;
using ApiEndpoints.TransferModels;
namespace ApiEndpoints.C... |
using System;
using System.Collections.Generic;
using Assets.Common.Extensions;
using Assets.src.signals;
namespace Assets.src.battle {
public class SelectionManager : ISelectionManager {
[Inject]
public DeselectAllSignal DeselectAllSignal { get; set; }
private readonly List<SelectableBeh... |
using System.Threading.Tasks;
namespace MyMovies.BLL.Interfaces
{
public interface IImageService
{
Task UploadImage(string path);
}
} |
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
namespace UseFul.ClientApi
{
public static class Globals
{
private static string _login = string.Empty;
private static string _usuario, _nickName;
private static string _nomeUsuario;
private ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OcenaKlientow.Model.Models
{
public class Parametr
{
[Required]
public string Nazwa { get; set; }
[Key]
[R... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace BanSupport
{
public partial class ScrollSystem
{
/// <summary>
/// Content节点名字
/// </summary>
private static readonly string ContentTransformName = "ContentTransform";
/// <summary>
/// 用途:给拳... |
using System;
using System.Reflection;
namespace DelftTools.Utils.Aop
{
/// <summary>
/// A base class implemented by attributes that can be applied to parameters and will be called at runtime to validate them.
/// </summary>
public abstract class AbstractParameterValidationAttribute : Attribute
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace RectangleIntersection
{
public class Rectangle_Intersection
{
public static void Main()
{
var rectangles = new Dictionary<string, Rectangle>();
var input = Console.ReadLine().Split().Select(int... |
using GraphQLDynamic.Model;
namespace GraphQLDynamic
{
public static class DynamicObjectGraphSchemaExtensions
{
public static DynamicObjectGraphSchema ToDynamicObjectGraphSchema(this TypeDefinition typeDefinition)
=> new(typeDefinition);
}
}
|
using Model.Interfaces;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace Resources.Converters
{
public class InstructionListToStringConverter : IValueConverter
{
public o... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using V50_IDOMBackOffice.AspxArea.MasterData.Models;
using V50_IDOMBackOffice.AspxArea.MasterData.Controllers;
using V50_IDOMBackOffice.AspxArea.Helper;
using DevExpress.Web;
name... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dominio.EntidadesNegocio
{
public class Proveedor
{
public long RUT{ get; set; }
public string RazonSocial{ get; set; }
}
}
|
using AutoMapper;
using DigitalLeap.Repositories.EntityModel;
namespace DigitalLeap.Web.MappingProfiles
{
public class DataProfile : Profile
{
public DataProfile()
{
CreateMap<Domain.Model.ContactInformation, ContactInformation>().ReverseMap();
}
}
} |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
using System;
public enum JudgeState
{
NONE,
GOOD,
GREAT,
PERFECT,
MISS
}
public class LevelManager : MonoBehaviour
{
//싱글톤 패턴. {get; private set;} = readonly
public static LevelManager Instance { get; private... |
using System;
using System.Linq;
namespace _11._Array_Manipulator
{
class Program
{
static void Main(string[] args)
{
int[] initialArr = Console.ReadLine()
.Split()
.Select(int.Parse)
.ToArray();
string command = Console.R... |
using System;
namespace Mapper.Objects
{
public class Destination
{
/// <summary>
/// Название "физической" таблицы в БД Generated
/// </summary>
public string SchemeName { get; set; }
/// <summary>
/// Название для прикладного разработчика
/// </summary... |
using System;
using Atc.Rest.Extended.Options;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
// ReSharper disable once CheckNamespace
namespace Microsoft.AspNetCore.Builder
{
public static class OpenApiBuilderExtensions
{
public static IApplicationBuilder UseOpenApiSpec(this ... |
using ScheduleService.CustomException;
using ScheduleService.DTO;
using ScheduleService.Model;
using ScheduleService.Repository;
using System;
using System.Collections.Generic;
namespace ScheduleService.Services
{
public class ExaminationService : IExaminationService
{
private readonly IExaminationRep... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace primer
{
class printAllSubstrings
{
public static void printall(string s) {
for (int i = 0; i < s.Length; i++) {
for (int j = i; j<s.Length;j++) ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using lsc.Bll;
using lsc.Common;
using lsc.Model;
using lsc.Model.Enume;
using Microsoft.AspNetCore.Mvc;
namespace lsc.crm.Controllers
{
public class QuesController : BaseController
{
public async Task<IAc... |
using System;
using System.Collections.Generic;
namespace EPI.Sorting
{
/// <summary>
/// Design an efficient algorithm for removing all duplicates from an array.
/// It's ok for the final result to have the array elements not present in their original order
/// </summary>
/// <example>
/// {1,2,6,6,0,0,-1} upd... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Ejemplo
{
class Audio:MultimediaFile
{
public override void reproducir()
{
Console.WriteLine("Audio en REPRODUCCION");
}
public override void pausar()
{
Console.WriteLi... |
using Meeting;
using Meeting.Entities;
using NAudio.Biz;
using RDPCOMAPILib;
using Sardf;
using Sardf.Logging;
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms... |
using ContentPatcher.Framework.Tokens;
namespace ContentPatcher.Framework
{
/// <summary>An instance which can receive token context updates.</summary>
internal interface IContextual
{
/*********
** Accessors
*********/
/// <summary>Whether the instance may change depending ... |
namespace ThaiTable.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class WeekTimeSlot
{
[Key]
[Column(Order = 0)]
... |
using System;
namespace ASCIIDecoder
{
class Program
{
static void Main(string[] args)
{
byte Code = byte.Parse(Console.ReadLine());
Console.WriteLine((char)Code);
}
}
}
|
using System.Collections.Generic;
using System.Linq;
using GraphQL.MetadataIntrospection.Model;
using GraphQL.MetadataIntrospection.Schema;
using GraphQL.Types;
using Xunit;
namespace GraphQL.MetadataIntrospection.Tests.Schema
{
public class MetadataSchemaEnchanterTests
{
[Fact]
public void Mut... |
namespace Vanara.PInvoke
{
public static partial class User32_Gdi
{
/// <summary>Flags used to enable or disable scroll bars.</summary>
[PInvokeData("winuser.h")]
public enum ESB_FLAGS : uint
{
/// <summary>Disables both direction buttons on the specified scroll bar.</summary>
ESB_DISABLE_BOTH = 0x0003,... |
namespace ChirperLive.ModelConfigurations
{
using Models;
using System.Data.Entity.ModelConfiguration;
public class ChirpConfiguration : EntityTypeConfiguration<Chirp>
{
public ChirpConfiguration()
{
this.Property(c => c.Id).HasColumnName("Key");
this.Property... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace FinalExamNew.Dal
{
public class TipOglasa
{
[Key]
public string TipOglasaId { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using System.Data.SqlClient;
using DBDiff.Schema.Events;
using DBDiff.Schema.SQLServer2000.Model;
namespace DBDiff.Schema.SQLServer2000
{
public class GenerateTables
{
private string connectioString;
... |
using UnityEngine;
using System.Collections;
public class Bullet : MonoBehaviour {
[SerializeField] private GameObject explosion;
[SerializeField]
private int explosionRadius = 40;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void ... |
using System.Windows;
using System.Windows.Markup;
namespace CODE.Framework.Wpf.Documents
{
/// <summary>
/// Document Fragment
/// </summary>
[ContentProperty("Content")]
public class DocumentFragment : FrameworkElement
{
/// <summary>Represents a generic fragment of content within a ... |
namespace Serilog.PerformanceTests;
/// <summary>
/// Tests the cost creating a nested logger.
/// </summary>
[MemoryDiagnoser]
public class NestedLoggerCreationBenchmark
{
ILogger log = null!;
[GlobalSetup]
public void Setup()
{
log = new LoggerConfiguration()
.WriteTo.Sink(new Nu... |
using System;
using System.Linq;
using System.Text.RegularExpressions;
namespace _04.Sentences_Of_Equal_Strings
{
class EqualStringsMain
{
static void Main()
{
string input = Console.ReadLine();
Regex getRepeatingRegex = new Regex(@"(((\w+) )\2*\3)|(\w+)");
var matches = getRepeatingRegex.Matches(inpu... |
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Data.ViewModel
{
public class State
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int StateId { get; set; }
[DisplayName("State name")]... |
using System;
using System.Collections.Generic;
namespace LogViewer.Model
{
/// <summary>
/// Абстракция ленивой коллекции для чтения логов
/// </summary>
public interface ILazyReadLogCollection : IEnumerable<string>, IDisposable
{
bool CanMoveNext();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
namespace AxisEq
{
public enum TradeScalesType
{
[EnumDescription("Не задан")]
Unknown = 0,
[EnumDescription("Mettler Toledo")]
MettlerToledo = 1,
[EnumDescription(... |
using Moq;
using System;
using Xunit;
namespace MediatorRealExample.Tests
{
public class MediatorRealExampleTest
{
private Participant _george;
private string _georgeName = "George";
public MediatorRealExampleTest()
{
_george = new Beatle(_georgeName);
... |
using System;
namespace Programacion_dos.RegistroVentas
{
public class Vendedor
{
public String Nombre;
public int Edad;
}
}
|
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
namespace ZacharyFaulk_CECS545_P2
{
class Program
{
[STAThread]
static void Main(string[] args)
{
//Matrix that define connections between cities
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DChild.Gameplay.Objects.Characters.Enemies
{
public class GoblinAnimation : CharacterAnimation
{
public bool isAttackingAnimationPlaying;
public override void DoDeath()
{
throw new Syst... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum AttackType {
None,
Random,
Follow
}
public class EnemyShot : MonoBehaviour
{
public AttackType AttackType;
public int Damage;
public int Speed;
public float Delay;
float delayChe... |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Voluntariat.Data;
using Voluntariat.Framework.Identity;
using Voluntariat.Models;
namespace Voluntariat.... |
using System;
using System.Runtime.InteropServices;
using System.Drawing;
using System.Drawing.Imaging;
using System.Drawing.Drawing2D;
using System.Threading;
namespace SenseHat
{
/// <summary>
/// LED Matrix Object for Raspberry Pi SenseHat
/// </summary>
public class SenseLED
{
// Alloc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.