text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YourContacts.Contracts
{
public interface IValidator<TRequest>
{
Dictionary<string, string> Validate(TRequest request);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EBS.Query.DTO
{
public class SearchStorePurchaseOrder
{
public string Code { get; set; }
public int SupplierId { get; set; }
public string StoreId { get;set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using chat.Sources.Validation;
using System.IO;
using chat.Models;
using System.Drawing;
namespace chat.Sources.Files
{
public abstract class Uploader
{
public static void Upload(HttpPostedFileBase file,string... |
using Calculator.Logic.Operations.MyOperations;
using System.Linq;
namespace Calculator.Logic.Operations
{
//Metody wykonują się w momencie zmianyaktualnej liczby
public class MyNumber : BasicOperation
{
public MyNumber(IOperation operationClass, double number) : base(operationClass)
{
... |
using System.Collections.Generic;
namespace ContestsPortal.Domain.Models
{
public class MenuItemCategory
{
public int CategoryId { get; set; }
public string CategoryName { get; set; }
public virtual List<MenuItem> MenuItems { get; set; }
public MenuItemCategory()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebUI.Data.Abstract;
using WebUI.Entity;
namespace WebUI.Data.Concrete.EfCore
{
public class EfAbilityRepository : IAbilityRepository
{
private ApplicationIdentityDbContext _context;
public E... |
using System;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using NCalc;
using Xamarin.Forms;
namespace CaLC
{
public class Numberz : StackLayout
{
CCbutton a1, a2, a3, a4, a5, a6, a7, a8, a9, a0, plus, minus, multiply, divide, point, equal,clear,clr;
string holder;
public Numberz()... |
using MyBlog.WebApi.Framework.DTOs;
using System;
namespace MyBlog.WebApi.DTOs.Blogs
{
//TODO: you can create an additional abstract class, extract properties to it and then just force these classes to inherit from the abstract class
public partial class BlogPostForUpdateDto : BaseRequestDto
{
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace Editor
{
public class Meta
{
public class MetaClass
{
public string name;
public Field[] fields;
public Me... |
using System;
using System.Collections.Generic;
namespace Newbe.Claptrap
{
public interface IClaptrapDesignStore : IEnumerable<IClaptrapDesign>
{
/// <summary>
///
/// </summary>
/// <param name="claptrapIdentity"></param>
/// <exception cref="ClaptrapDesignN... |
using System;
using System.Collections.Generic;
using Windows.Foundation;
using Windows.Storage;
using Windows.Storage.Pickers;
namespace AGCompressedAir.Windows.Services.DialogService
{
internal sealed class FileOpenPickerWrapper
{
private readonly FileOpenPicker _picker;
internal FileOpenPi... |
using UnityEngine;
using System.Collections;
public class CharacterSpawnPoint : MonoBehaviour
{
public Vector3 position { get; private set; }
public Quaternion rotation { get; private set; }
void Awake()
{
position = transform.position;
rotation = transform.rotation;
}
}
|
using System;
using DelftTools.Utils.Data;
using ValidationAspects;
namespace DelftTools.Functions.Filters
{
public class VariableAggregationFilter: Unique<long>, IVariableFilter {
private IVariable variable;
private readonly int minIndex;
private readonly int maxIndex;
pri... |
using Common;
using Common.Log;
using Common.Presentation;
using SessionSettings;
using System;
using System.Drawing;
using System.Windows.Forms;
namespace Common.Presentation.Modals
{
public partial class LockedRecord : SkinnableModalBase
{
#region Private Fields
private int mItemId = -1;
private string mLoc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Grillisoft.FastCgi.Test
{
internal class SimpleChannelFactory : IFastCgiChannelFactory
{
private readonly ILoggerFactory _loggerFactory;
public SimpleChannelFactory(ILoggerFactory loggerFactory)
... |
namespace EXON.Model
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("STRUCTURES")]
public partial class STRUCTURE
{
[System.Diagnostics.Co... |
using System;
using NumberConverter.Repository;
using NumberConverter.Services;
using NUnit.Framework;
namespace NumberConverter.Tests
{
[TestFixture]
public class WordsRepositoryTests
{
private IWordsRepository _wordsRepository;
[SetUp]
public void Setup()
{
_... |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
public class Run {
private GameObject m_owner;
// @ Constructor
public Run (GameObject owner)
{
this.m_owner = owner;
}
public void Listen ()
{
Animator animator = m_owner.GetComponent<Animator>();
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Security.Cryptography;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using Jose;
using Microsoft.IdentityModel.Protocols;
using Micros... |
using System;
namespace interfaces
{
public class Minivan : IVehicle, ILand
{
public int Doors { get; set; } = 5;
public int PassengerCapacity { get; set; } = 7;
public double EngineVolume { get; set; } = 25.0;
public int Wheels { get; set; } = 4;
public string TransmissionType { get; set; } = ... |
using Microsoft.WindowsAzure.Storage.Table;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DoodleReplacement
{
class AnswerEntity : TableEntity
{
public string Name { get; set; }
public string AdditionalMessage { get; set; }
public string... |
using System;
namespace Sharp.Pipeline
{
public interface IPipelineBuilder
{
IPipelineBuilder Use(Func<PipelineDelegate, PipelineDelegate> middleware);
PipelineDelegate Build();
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NetOffice;
namespace NetOffice.DeveloperToolbox
{
class CommandBarsWrapper : IEnumerable
{
COMObject _commandBars;
public CommandBarsWrapper(COMObject innerObject... |
// QuickCuts Copyright (c) 2017 C. Jared Cone jared.cone@gmail.com
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any ... |
using System;
namespace LatihanArray
{
class Program
{
static void Main(string[] args)
{
// deklarasi
int[] a = new int[3];
a[0] = 1;
a[1] = 2;
a[2] = 3;
Console.WriteLine(a[0]);
a[0] = 13;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace testService
{
[ServiceContract]
interface IMyService
{
[OperationContract]
string GetData();
... |
namespace BattleEngine.Output
{
public class DamageApplyEvent : OutputEvent
{
public double x;
public double y;
public double z;
public int targetId;
public int units;
public int damageId;
public DamageApplyEvent()
{
}
}
}
|
using System;
using DataAccessLayer.EfStructures.Context;
using DataAccessLayer.EfStructures.Entities;
using DataAccessLayer.EfStructures.Extensions;
using Microsoft.EntityFrameworkCore;
using Xunit;
namespace DataAccessLayerTests.C_PersistChanges.D_ServerGenerated
{
public class ServerGeneratedTests : IDisposabl... |
using System;
using System.Configuration;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using Microsoft.ServiceBus;
using Microsoft.ServiceBus.Messaging;
using Nito.AsyncEx;
namespace AzureServiceBusForms
{
public partial class TopicSubscriptionsWithRules : Form
{
... |
namespace P10InfernoInfinity.Models.Gems.GemTypes
{
using System;
using Enums;
public class AmethystGemType : GemType
{
private const GemEnumerationType GemType = GemEnumerationType.Amethyst;
private const int DefaultStrength = 2;
private const int DefaultAgility = 8;
p... |
using Cs_IssPrefeitura.Dominio.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_IssPrefeitura.Aplicacao.Interfaces
{
public interface IAppServicoConfiguracoes: IAppServicoBase<Config>
{
}
}
|
// <summary> All task demonstration. </summary>
// <copyright file="AllTaskDemonstration.cs" company="MyCompany.com">
// Contains the solutions to the tasks of the 'Encapsulation. Inheritance. Polymorphism' module.
// </copyright>
// <author>Daryn Akhmetov</author>
namespace Encapsulation._Inheritance._Polymorphism
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace _3_hetedik_feladat
{
class Program
{
struct Tanulo
{
public string nev;
public double atlag;
publi... |
using System;
using System.Collections;
using UnityEngine;
public class SlowMotion : MonoBehaviour
{
public static SlowMotion Instance { get; private set; }
void Awake()
{
Instance = this;
}
public void StartSlowMotion(float duration)
{
StartCoroutine(SlowMotionTimer(duration... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using IRAPORM;
using IRAPShared;
namespace BatchSystemMNGNT_Asimco
{
public class TBLStockDetails
{
private static List<Entities.TTableStockDetail> GetDataRecord(
string ... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using WebAPI.Core.DomainModels.Base;
using WebAPI.Core.DomainModels.Transactions;
namespace WebAPI.Core.DomainModels.Customers
{
public class Customer: EntityBase<int>
{
public string Name { get; set; }
... |
using UnityEngine;
using System.Collections;
public class nk : MonoBehaviour {
public float thrust;
public Rigidbody rb;
void Start() {
rb = GetComponent<Rigidbody>();
rb.AddForce (200f, 300f, 0);
}
// Update is called once per frame
void Update () {
}
}
|
using System;
using System.Collections.Generic;
namespace CodeX
{
public static class ModuleDef
{
//C#的业务模块
public const string LaunchModule = "LaunchModule";
//Lua的业务模块
public const string LuaGameModule = "GameModule";
}
}
|
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
namespace Etherama.Common
{
public class CustomWebClient : System.Net.WebClient
{
public int Timeout { get; set; }
public CustomWebClient() : base()
{
Timeout = 60 * 1000;
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Kingdee.CAPP.Model
{
/// <summary>
/// 类型说明:工艺文件版本实体类
/// 作 者:jason.tang
/// 完成时间:2013-08-23
/// </summary>
public class ProcessVersion
{
public string VerId { get; set; }
p... |
using System.Net.Mail;
using System.Web.Services;
using com.Sconit.Service;
namespace com.Sconit.WebService
{
[WebService(Namespace = "http://com.Sconit.WebService.SMSService/")]
public class SMSService : BaseWebService
{
[WebMethod]
public void AsyncSend(string mobilePhones, string msg)
... |
namespace Aria.Engine.Objects
{
public abstract class Object
{
// Private static reference to counter for generating IDs.
// TODO: Move this to thread-safe class if multi-threading.
private static int _counter;
// Unique instance ID for this object.
internal int Instanc... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class Boundary
{
public float yMin, yMax;
}
public class playerRazonar : MonoBehaviour {
public float speed;
public Boundary boundary;
public GameObject bullets;
public GameObject shot;
... |
using gView.Framework.Data;
using gView.Framework.Geometry;
using gView.Framework.Network.Algorthm;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace gView.Framework.Network.Tracers
{
class Helper
{
public static List<int> NodeIds(Dijkstra.Nodes nodes)
{
... |
using System;
using System.Windows.Forms;
using UserNamespace;
using GameCore;
using System.Collections.Generic;
namespace UNO__ {
public partial class mainForm : Form {
public static User user = new User();
public mainForm() {
InitializeComponent();
}
private void mai... |
namespace Cs_Gerencial.Infra.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class ParticipantesUpdate : DbMigration
{
public override void Up()
{
AddColumn("dbo.Participantes", "Distribuicao", c => c.String(nullable: false, maxLength:... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HotelManagement.DataObject;
using System.Data;
using System.Windows.Forms;
namespace HotelManagement.Controller
{
public class BaoCaoDoanhThuPhongControl
{
BaoCaoDoanhThuPhongData data = new BaoCaoD... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using RealEstate.Models;
using System.IO;
namespace RealEstate.Controllers
{
[CHAA]
public class GalleriesController : Controller
{
... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleImage
{
class Program
{
static void Main(string[] args)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using System.Collections;
using System.Security.Cryptography;
namespace ShengUI.Helper.payCls
{
/**
*
* 作用:微信支付公用参数,微信支付版本V3.3.7
* 作者:shihai
* 编写日期:2015-4-1
* 备注:请正确填写相关参数
*
* *... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Alabo.Extensions;
using Alabo.Framework.Basic.PostRoles.Domain.Entities;
using Alabo.Framework.Basic.PostRoles.Domain.Services;
using Alabo.Framework.Basic.PostRoles.Dtos;
using Alabo.Framework.Core.WebApis.Controlle... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace Snow
{
class XML
{
public XML{
}
}
private void createNode(string url,DateTime Date, XmlTextWriter write... |
using Automatonymous;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SampleDistributedSystem.Coordination {
public class ExecuteTransactionState : SagaStateMachineInstance {
public MassTransit.IServiceBus Bus {
get;... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
[CreateAssetMenu(menuName = "Create Text Sequence")]
public class TextSequence : ScriptableObject
{
public float TotalTime;
[Serializable]
public class Dialog
{
public float TimeCon... |
using HROADS_WebApi.Domains;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HROADS_WebApi.Interfaces
{
interface ITiposDeHabilidadesRepository
{
/// <summary>
/// Lista todos os TipoDeHabilidade
/// </summary>
/// <re... |
using gView.Framework.Carto;
using gView.Framework.Data;
using gView.Framework.system;
using gView.GraphicsEngine.Abstraction;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace gView.Framework.UI.Controls
{
[gView.Framework.sys... |
using System;
using Utilities;
namespace EddiEvents
{
[PublicAPI]
public class FighterRebuiltEvent : Event
{
public const string NAME = "Fighter rebuilt";
public const string DESCRIPTION = "Triggered when a ship's fighter is rebuilt in the hangar";
public const string SAMPLE = "{\"... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using CreateUser.Attributes;
namespace CreateUser.Models
{
public class Tag
{
public Tag()
{
this.Albums = new HashSet<Album>();
}
public int Id { get; set; }
[Required, Tag]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercicio4
{
class RaizesEq2
{
static void Main(string[] args)
{
{
Console.Write("Digite o coef. de x^2 ");
double A = Conv... |
using Microsoft.SqlServer.Management.Smo;
using SqlServerWebAdmin.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace SqlServerWebAdmin
{
public partial class CreateTable : System.Web.UI.Page
{
pub... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using WebAppAdvocacia.Models;
using PagedList;
using Rotativa;
namespace Areas.Administracao.Controllers
{
public class ProcessoController : Cont... |
using PersonInfo.Model;
using System.Threading.Tasks;
namespace PersonInfo.Services.Interface
{
public interface IProcessPersonInfoService
{
Task<PersonInfoModel> GetPersonInfoFromApi(string personInfo);
}
}
|
using System;
using Musical_WebStore_BlazorApp.Server.Data.Models;
namespace Admin.Models
{
public class Review: Entity
{
public string UserId {get;set;}
public virtual User User {get;set;}
public int CompanyId {get;set;}
public virtual Company Company {get;set;}
public... |
using UnityEngine;
using UnityEditor;
using Ardunity;
[CustomEditor(typeof(BitFlagInput))]
public class BitFlagInputEditor : ArdunityObjectEditor
{
bool foldout = false;
SerializedProperty script;
SerializedProperty bitCombine;
void OnEnable()
{
script = serializedObject.FindProperty("m_Script");
... |
using System;
using System.Collections.Generic;
using Flunt.Notifications;
namespace Projeto.Models
{
public class DataResult
{
public DataResult() { }
public DataResult(bool success, string message, IReadOnlyCollection<Notification> notifications, Object objeto)
{
Success ... |
using Lucene.Net.Documents;
using System;
using System.Collections.Generic;
namespace Masuit.LuceneEFCore.SearchEngine.Interfaces
{
/// <summary>
/// 搜索引擎
/// </summary>
public interface ILuceneIndexSearcher
{
/// <summary>
/// 分词
/// </summary>
/// <param name="key... |
using UnityEngine;
using System.Collections;
namespace VolumetricFogAndMist {
[AddComponentMenu("")]
public class FogAreaCullingManager : MonoBehaviour {
public VolumetricFog fog;
void OnEnable() {
if (fog == null) {
fog = GetComponent<VolumetricFog>();
if (fog == null) {
fog = gameObject.Add... |
using System;
using System.Collections.Generic;
using System.Linq;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
using StardewValley.Menus;
namespace ThreeHeartDancePartner
{
public class Mod : StardewModdingAPI.Mod
{
/// <summary>The mod entry point, called after the m... |
using System.Threading.Tasks;
namespace FeriaVirtual.App.Desktop.Services.SignIn
{
public interface ISigninService
{
Task SigninAsync(string username, string password);
}
} |
namespace AudioText.Models.DataModels
{
public class CustomerOrderDetails
{
public CustomerOrderDetails(string address2, string address1, string countryCode, string firstName, string city, string lastName, string state, string zip)
{
Address2 = address2;
Address1 = addre... |
using CQRSWebAPI.DTOs;
using MediatR;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace CQRSWebAPI.Caching
{
public class CachingBehaviour<TRequest, TResp... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Linq;
using System.Threading;
using PlanMGMT.Model;
using System.Windows;
using PlanMGMT.Utility;
using System.Diagnostics;
namespace PlanMGMT.BLL
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class BaseQuestBoolRequirement
{
public int boolID;
public string boolDescription;
public bool objectiveFulfilled;
}
|
using System;
using System.Collections.Generic;
namespace POSServices.Models
{
public partial class DiscountRetail
{
public int Id { get; set; }
public int DiscountCategory { get; set; }
public string DiscountCode { get; set; }
public string DiscountName { get; set; }
p... |
namespace DChild.Gameplay.Systems.Serialization
{
[System.Serializable]
public struct PlayerProgress
{
public bool hasVisitedSS;
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using DelftTools.Shell.Core;
using DelftTools.Shell.Core.Workflow;
using DelftTools.Tests.Core.Mocks;
using DelftTools.TestUtils;
using DelftTools.Utils;
using DelftTools.Utils.Collections.Generic;
using DelftTools.Utils.Workflow;
using log4net.Config;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CRL.Account
{
public sealed class IAccountDetail : AccountDetail
{
}
/// <summary>
/// 帐户信息 不可继承
/// </summary>
[Attribute.Table(TableName = "AccountInfo")]
public class AccountDetail : IMod... |
using Nailhang.Display.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Nailhang.Display.Controllers
{
public class IndexController
{
private readonly IndexBase.Storage.IModulesStorage modulesStorage;
public IndexController(IndexBase.Stor... |
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityStandardAssets.Characters.FirstPerson;
using zm.Common;
using zm.Questioning;
using zm.Users;
using zm.Util;
namespace zm.Levels
{
public class LevelsUI : MonoBehaviour
{
#region Fields and Properties
[Serialize... |
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;// Json转换
using System.Data;
using BizService.Common;
using IWorkFlow.Host;
using System;
using IWorkFlow.ORM;//
namespace BizService.Services.FX_RYLXInfoSvc
{
// created by zho... |
// Copyright © 2020 Void-Intelligence All Rights Reserved.
using System;
using Vortex.Cost.Utility;
using Nomad.Core;
namespace Vortex.Cost.Kernels.Legacy
{
/// <summary>
/// "Hellinger Distance": needs to have positive values, and ideally values between 0 and 1. The same is true for the following divergence... |
using UnityEngine;
using UnityEditor;
using UnityEngine.Playables;
using UnityEngine.Timeline;
[System.Serializable]
public class LabelClip : PlayableAsset
{
public LabelBehaviour Behaviour = new LabelBehaviour();
public string Label = string.Empty;
public float Min = 0.0f;
public float Max = 0.5f;
... |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using Administration.Properties;
using Administration.ViewModel;
using DataAccess;
using DataAccess.Model;
using DataAccess.Repository;
namespace Administration.Editors
{
public partial class ShowtimeEditorWindow
{
... |
/*
* @lc app=leetcode id=559 lang=csharp
*
* [559] Maximum Depth of N-ary Tree
*
* https://leetcode.com/problems/maximum-depth-of-n-ary-tree/description/
*
* algorithms
* Easy (64.62%)
* Total Accepted: 35.5K
* Total Submissions: 54.9K
* Testcase Example: '{"$id":"1","children":[{"$id":"2","children":[{"... |
using Common;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.Extensions.Configuration;
using System;
namespace Data.Extensions
{
public static class DbContextOptionsBuilderExtensions
{
public static DbContextOptionsBuilder Build(this DbContextOptionsBuilder b... |
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 TableroComando.GUIWrapper;
using Dominio;
using Repositorios;
using TableroComando.Dominio;
namespace TableroComand... |
using System.Collections.Generic;
using System.Linq;
namespace TestDataGenerator.Core
{
public class NamedPatterns
{
public List<NamedPattern> Patterns { get; set; }
public NamedPatterns()
{
Patterns = new List<NamedPattern>();
}
public NamedPattern GetPa... |
using System;
using FacadePattern.Equipments;
using FacadePattern.Facades;
namespace FacadePattern
{
class Program
{
static void Main(string[] args)
{
var facade = new HomeTheaterFacade(new Amplifier(), new DvdPlayer(), new Projector(), new TheaterLights(), new Screen(), new Popcor... |
// ReSharper disable All
using System;
namespace iSukces.Code.Tests.EqualityGenerator
{
partial struct TestStructWithSpecialHashCodeField : iSukces.Code.AutoCode.IAutoEquatable<TestStructWithSpecialHashCodeField>
{
public override bool Equals(object other)
{
if (other is null) retur... |
using System;
using Pe.Stracon.SGC.Infraestructura.CommandModel.Base;
namespace Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual
{
/// <summary>
/// Clase que representa la entidad Contrato Parrafo Variable
/// </summary>
/// <remarks>
/// Creación : GMD 20150511 <br />
/// Modificació... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Mongooz.Scheduler
{
class SchedulingService
{
}
}
|
using UnityEngine;
using System.Collections;
public class BeiGongJiInfoCtrl : MonoBehaviour {
AudioSource AudioBeiGongJi;
UISprite BeiGongJiSprite;
public static BeiGongJiInfoCtrl _Instance;
public static BeiGongJiInfoCtrl GetInstance()
{
return _Instance;
}
// Use this for initialization
void Start()
... |
using Alabo.Datas.Ef.Map;
namespace Alabo.Datas.Ef.SqlServer {
/// <summary>
/// 实体映射配置
/// </summary>
/// <typeparam name="TEntity">实体类型</typeparam>
public abstract class MsSqlEntityMap<TEntity> : MapBase<TEntity>, IMsSqlMap where TEntity : class {
}
} |
using System.Collections.Generic;
using System.Linq;
using Data;
using Data.Infrastructure;
using Model.Models;
using Model.ViewModels;
using Core.Common;
using System;
using Model;
using System.Threading.Tasks;
using Data.Models;
using Model.ViewModel;
namespace Service
{
public interface IRolesMenuService : IDi... |
using System;
using System.Globalization;
using System.Threading.Tasks;
using DurianCode.PlacesSearchBar;
using Plugin.LocalNotifications;
using Plugin.Notifications;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace ParPorApp.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial cla... |
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.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System;
namespace SFA.DAS.ProviderCommitments.Interfaces
{
public interface ICacheModel
{
Guid CacheKey { get; }
}
}
|
using System;
using System.Collections.Generic;
namespace TrainEngine
{
public class TrackDescription
{
public int NumberOfTrackParts { get; set; }
}
} |
using Cottle.Functions;
using EddiSpeechResponder.Service;
using JetBrains.Annotations;
using System;
using System.Linq;
namespace EddiSpeechResponder.CustomFunctions
{
[UsedImplicitly]
public class StartsWithVowel : ICustomFunction
{
public string name => "StartsWithVowel";
public Functio... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Data.Models;
using Services.Controllers;
using Services.Representers;
using Services.Test.DataAccess;
using Services.Test.Factories;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using System.Web.Http.Resul... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.