text stringlengths 13 6.01M |
|---|
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Polly;
namespace PollyDemo.Infrastructure.DelegatingHandlers
{
public class RetryHandler : DelegatingHandler
{
private readonly ILogger<RetryHandler> _logger;
pr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GSVM.Components.Processors.CPU_2;
using GSVM.Components.Coprocessors;
using GSVM.Constructs.DataTypes;
namespace GSVM.Constructs.FastDataTypes
{
public class Register_t : Integral<u... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
namespace DodGame
{
public class AssetVersionMgr : BSingleton<AssetVersionMgr>
{
AssetVerInfo m_verInfo;
/// <summary>
/// 本地已有的资源信息
/// </summary>
public Dict... |
using Cs_Gerencial.Dominio.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Gerencial.Aplicacao.Interfaces
{
public interface IAppServicoContas: IAppServicoBase<Contas>
{
IEnumerable<Contas> ConsultaPorPeriodo(Da... |
/***********************************************************************
* Module: TypeOfConsumable.cs
* Author: Jelena Budisa
* Purpose: Definition of the Class TypeOfConsumable
***********************************************************************/
using System;
namespace Model.Manager
{
public enum Type... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Reflection;
using DevTools.WinForms.Metro.Framework.Themes;
namespace DevTools.WinForms.Metro.Design.Converters
{
public class PaletteColorConverter : StringConverter
{
pu... |
namespace StarEnigma
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
public class StartUp
{
public static void Main()
{
var n = int.Parse(Console.ReadLine());
var attackedPlanets = new List<strin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PostingRobot.lib.Common
{
public class ConstUI
{
public static string UI_WEB
{
get { return "网站"; }
}
public static string UI_GENERAL
... |
using System;
using Strategy.Interfaces;
namespace Strategy.Classes
{
public class Squeak : IQuackBehavior
{
public void quack()
{
Console.WriteLine("Squeak");
}
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace WebAppMedOffices.Models
{
[Table("PacienteEnfermedades")]
public class PacienteEnfermedad
{
[Key]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using SMARTplanner.Logic.Contracts;
using Microsoft.AspNet.Identity;
using SMARTplanner.Entities.Helpers;
using SMARTplanner.Models;
using AutoMapper;
namespace SMARTplanner.Controllers
{
[Authorize]
public class ProjectC... |
using System.Collections;
using System.Collections.Generic;
using System.Xml.Linq;
using UnityEngine;
using UnityEngine.UI;
using Vectrosity;
public class DreamCatcher : MonoBehaviour
{
public float increment = 1;
public float speed = 0.5f;
public float distance = 1f;
public int height = 5;
public int width = 10... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SbdProjekto.Models
{
public class ApplicationDbContext : DbContext
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(option... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CurrentQuestUIPanel : MonoBehaviour
{
public Text questName;
public Text questDescription;
public void OnEnable()
{
UpdateCurrentQuestPanelUI();
}
public void UpdateCurrentQuestPanelUI()
{
i... |
namespace ExtractEmails
{
using System;
using System.Text.RegularExpressions;
public class StartUp
{
public static void Main()
{
var text = Console.ReadLine();
var pattern = @"(^|(?<=\s))([a-z0-9]+(\.|-|_)?[a-z0-9]+)@(([a-z]+[-]?[a-z]+?[.-]?[a-z]+?)\.([a-z]+)\.?... |
using System;
using Shapes.Interface;
using Shapes.Models;
namespace Shapes
{
class TestShapes
{
static void Main()
{
IShape[] newFigure = new IShape[]
{
new Circle(12),
new Circle(15),
new Rectangle(12,13),
... |
using UnityEngine;
using System.Collections;
public class SelecteCartoon : MonoBehaviour {
//public static bool IsStopCartoon;
UISprite selecteSprite;
public UISprite SelecteSprite;
int count = 0;
bool IsCanSelect;
public static SelecteCartoon _Instance;
public static SelecteCartoon GetInstance()
{
ret... |
using Google.Protobuf;
namespace Sentry.AspNetCore.Grpc;
/// <summary>
/// Default request payload extractor that will read the request as an <see cref="IMessage"/>
/// </summary>
public class DefaultProtobufRequestPayloadExtractor : IProtobufRequestPayloadExtractor
{
/// <summary>
/// Extracts the request bo... |
//-----------------------------------------------------------------------
// <copyright file="BaseModel.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
[assembly: System.CLSComp... |
using BDTest.Extensions;
using BDTest.Helpers;
using BDTest.Maps;
using BDTest.Output;
namespace BDTest.Test.Steps;
public abstract class StepBuilder : BuildableTest
{
internal readonly List<Step> ExistingSteps;
protected abstract StepType StepType { get; }
static StepBuilder()
{
Console.Set... |
using System;
using System.Drawing;
using System.Linq;
using GTA;
using Font = GTA.Font;
namespace CodenameMaffia
{
public class Button
{
private Rectangle normalImage;
private Rectangle overImage;
private Point position;
private Point OriginalPos;
private Size size;
... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using System;
using System.Collections.Generic;
namespace FiiiChain.Entities
{
/// <summary>
/// 区块表,里面是区块的信息
/// </sum... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Builders;
using MongoDB.Driver.GridFS;
using MongoDB.Driver.Linq;
using System.Collections;
using Excel = Microsoft.Office.Interop.Excel;
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using C9Native;
using JetBrains.Annotations;
using MongoDB.Bson.Serialization.Serializers;
namespace FindHashDuplicates
{
/// <sum... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Wee.Common
{
public class MenuAttribute : Attribute
{
private string _category;
private int? _categoryOrder;
private string _parent;
private string _title;
private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CacheSqlXmlService.SqlManager
{
public interface ISeed
{
}
}
|
using System;
namespace SOLIDPrinciples.CouplingProblem.Example02.Worst
{
public class DespachadorDeNotasFiscais
{
private NFDao dao;
private CalculadorDeImposto impostos;
private LeiDeEntrega lei;
private Correios correios;
public DespachadorDeNotasFiscais(
NF... |
using Allyn.Domain.Models.Front;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Allyn.Infrastructure.EfRepositories.ModelConfigurations
{
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class DijkstraAlgorithm{
public static Stack<GameObject> Dijkstra(GameObject[] Graph, GameObject source, GameObject target)
{
Dictionary<GameObject, float> dist = new Dictionary<GameObject, float>();
... |
using System.Linq;
using Pathoschild.Stardew.Common;
using Pathoschild.Stardew.NoclipMode.Framework;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
namespace Pathoschild.Stardew.NoclipMode
{
/// <summary>The mod entry point.</summary>
public class ModEntry : Mod
{
/**... |
namespace Sentry.PlatformAbstractions;
/// <summary>
/// A .NET Framework installation
/// </summary>
/// <seealso href="https://en.wikipedia.org/wiki/.NET_Framework_version_history"/>
/// <seealso href="https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed"/>
... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace XamarinFormsNativeDemo.Views
{
public partial class NativePage : ContentPage
{
public NativePage()
{
InitializeComponent();
}
}
}
|
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Rendering;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Threading.Tasks;
namespace OTAKURAO_wasm.Shared
{
public partial class NavBar
{
public NavBar()
{
}
}
}
|
namespace EmptyFlow.ConsolePresentation.Elements {
///<summary>
/// Element contains formatted text.
///</summary>
public class TextBlock : IElement {
private int m_ActualWidth = 0;
private int m_ActualHeight = 0;
public int Width {
get;
set;
... |
using AutoMapper;
using DGS.Email;
using DGS.Helpers;
using Generic.Data.Context;
using Generic.Data.Models;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Identity;
using Mic... |
using WitsmlExplorer.Api.Jobs.Common;
namespace WitsmlExplorer.Api.Jobs
{
public class DeleteWellboreJob
{
public WellboreReference WellboreReference { get; set; }
}
}
|
using System;
using System.IO;
namespace FourthCode
{
public class Controller3
{
private readonly IDatabase database;
public void DoStuff(int id)
{
string content;
if (database.Exists(id))
{
content = database.Read(id);
}
else
{
content = "Default Content";
database.Create(id, c... |
/*
Generated by KBEngine!
Please do not modify this file!
Please inherit this module, such as: (class Chess : ChessBase)
tools = kbcmd
*/
namespace KBEngine
{
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
// defined in */scripts/entity_defs/Chess.def
// Please ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
using Project2ObjectWCF.Interfaces;
namespace Project2ObjectWCF
{
[ServiceContract]
interface IFileMetadataTag : FileInterface, IMetadataInterface, TagInterface
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GoodProgrammer.Api.PuppeteerSharp.Models;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using PuppeteerSharp;
using PuppeteerSharp.Media;
using RazorLight;
namespace GoodProgrammer.Api.Puppetee... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Battle_city
{
public class EventArgs_On_Shoot : EventArgs
{
Bullet bullet;
public Bullet Bullet { get { return bullet; } }
Tank tank;
public Tank Tank { get { return tank; } ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NSTOX.DAL.Model;
using NSTOX.DAL.Helper;
namespace NSTOX.DAL.DAL
{
public class TransactionDAL : BaseDAL
{
private DataErrorDAL DataErrDAL;
public TransactionDAL(DataErrorDAL dataErrorDAL)
{
... |
using KitchenProject.Model;
using KitchenProject.View;
using System;
using System.Drawing;
using System.Linq;
using System.Threading;
using System.Windows.Forms;
namespace KitchenProject.Controller
{
class KitchenController
{
private KitchenModel kitchenModel;
private KitchenView kitchenView;
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using DtCms.Common;
namespace DtCms.ActionLabel
{
public class Contents
{
public static string ViewTxtList(int top, int txtNum, string strWhere, string orderby, string txtUrl)
{
DtCms.BLL.Contents... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
using Saato.Extensions;
namespace Saato.Models
{
[Table("Car")]
public class Car
{
[Key]
[DatabaseGeneratedA... |
using System.Drawing.Imaging;
using Kliiko.Ui.Tests.Environment;
using Kliiko.Ui.Tests.Selenium;
using Kliiko.Ui.Tests.Utils;
using OpenQA.Selenium;
using TechTalk.SpecFlow;
namespace Kliiko.Ui.Tests.Steps
{
[Binding]
public sealed class Hooks
{
[BeforeFeature]
private static void... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ISE.UILibrary;
using ISE.ClassLibrary;
using ISE.SM.Common.DTO;
namespace ISE.SM.Client.UCEntry
{
public partial class UCOpe... |
using System;
namespace Sind.Model
{
public class Movimentacao
{
public virtual int Id { get; set; }
public virtual Filial Filial { get; set; }
public virtual Usuario Usuario { get; set; }
public virtual Indicador Indicador { get; set; }
public virtual StatusMovimentacao... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Cuidar.Models
{
public class Especialista
{
public int personaId { get; set; }
public int tipoDocumentoId { get; set; }
public int ciudadId { get; set; }
public int especialistaId { g... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace AimaTeam.WebFormLightAPI.httpCore.Binder
{
/// <summary>
/// 定义一个接口,此接口提供用户自定义绑定义务方法需要的参数类型
/// </summary>
public interface IBinder
{
/// <summary>
/// 定义一个接口方法,实现此方法来控... |
using Compiler.TreeStructure.Visitors;
namespace Compiler.TreeStructure.Expressions
{
public class IntegerLiteral : IPrimaryExpression
{
public ICommonTreeInterface Parent { get; set; }
public int Value { get; set; }
public string Type { get; set; } = "Integer";
public Intege... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MVP
{
public class Presenter : IPresenter
{
private IView _view;
private IModel _model;
public Presenter(IView view, IModel model)
... |
using System.Xml.Serialization;
namespace CodeFiscaleGenerator.Entities.Stub
{
[XmlRoot(ElementName = "ConfigurableResponse", Namespace = "")]
public class CodeFiscaleData
{
public CodeFiscaleData()
{
AccountCodeMigrationResponseCode = -1;
IdentificationDocumentUpda... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace hatodik_feladat
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hány terméket akar felvinni?");
int termekDa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ProjectileFirstBoss : Projectile
{
protected GameObject parent;
protected virtual void Start() {
base.Start();
rb.AddTorque(100f);
}
public void SetParent(GameObject newParent) ... |
using PopulationFitness.Models;
using PopulationFitness.Models.Genes.Cache;
using PopulationFitness.Output;
using System;
using System.Collections.Generic;
namespace PopulationFitness.Simulation
{
public class Simulations
{
/**
* Launches child runs for the number of runs defined in the tunin... |
using System;
using System.Linq;
using System.Text;
namespace copy_svn_path
{
class Program
{
static void Main(string[] args)
{
switch (args.Count())
{
case 0:
RemoveFromRegistry();
AddToRegistry();
... |
using ScriptableObjectFramework.Conditions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ScriptableObjectFramework.Variables
{
/// <summary>
/// The base type for creating variables that support innate conditions.
/// </summa... |
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace CODE.Framework.Wpf.Controls
{
/// <summary>
/// This class adds features to the PasswordBox control (in particular a bindable value property)
/// </summary>
/// <remarks>
/// Note: This object can onl... |
using Data.Contracts;
using Data.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Data.Implementations
{
public class DepartmentRepository : GenericRepository<Department>, IDepartmentRepositor... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PointLightControl : MonoBehaviour
{
private void Off()
{
this.GetComponentInChildren<Light>().enabled = false;
this.GetComponent<SphereCollider>().enabled = false;
}
private void On()
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Landing : Room
{
protected int stairwayBreadth = 2;
public Landing()
{
widthRange = new IntRange(10, 10);
heightRange = new IntRange(10, 10);
}
public Direction disabledDoorDirection;
public Vect... |
using Application.Core.Models;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.Linq;
namespace Application.Business
{
public interface IPriceCalculator
{
int FindPreDefinedDay(Equipments model);
int CalculateLoyaltyPoint(List<UserEquipments> model);
... |
namespace Parachute
{
using System;
using System.Collections.Generic;
public class Startup
{
public static void Main(string[] args)
{
Execute();
}
private static void Execute()
{
var list = new List<string>();
var m = 0;
... |
using SFA.DAS.ProviderCommitments.Web.Models.Cohort;
using SFA.DAS.ProviderCommitments.Web.Validators;
using System;
using System.Linq.Expressions;
using System.Text;
using FluentValidation.TestHelper;
using NUnit.Framework;
using Moq;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Http;
using System.I... |
using System;
namespace SecondCode
{
public class Utility3
{
public int Average(int total, int quantity) =>
quantity < 1 ? throw new ArgumentOutOfRangeException(nameof(quantity)) : total / quantity;
}
}
|
using FeriaVirtual.Domain.Models.Users.Interfaces;
using FeriaVirtual.Domain.SeedWork.Query;
using System.Threading.Tasks;
namespace FeriaVirtual.Application.Services.Users.Queries.SearchBycriteria
{
public class SearchUserByCriteriaQueryHandler
: IQueryHandler<SearchUserByCriteriaQuery, SearchUsersByCrit... |
using System;
using System.Collections.Generic;
using System.Text;
namespace TestShop.Application.CustomExtensions
{
public static class Extensions
{
public static string ToStringLower(this bool value)
{
return value.ToString().ToLower();
}
}
} |
namespace Log.Api.Components
{
public interface IConfigurationWrapper
{
string DatabaseConnetionString { get; }
}
}
|
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace Com.Google.Gson.Internal {
// Metadata.xml XPath class reference: path="/api/package[@name='com.google.gson.internal']/class[@name='Excluder']"
[global::Android.Runtime.Register ("com/google/gson/internal/Excluder", DoNotGenerateAcw=tr... |
using Cinema_Security.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WebApi.Models;
namespace Cinema_Security.Controllers
{
public class HomeController : Controller
{
public ActionResult In... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IPCrawler
{
class CsvIPDataModel
{
public string Ip { get; set; }
public string Geolocation { get; set; }
public string ISP { get; set; }
public int Num... |
namespace Funding.Common.Constants
{
public class Guard
{
public const string Title = "long text-long text-long text-long text-long text-long text-long text-long text-long text-long text-long text-long text-long text-long text-long text";
}
} |
namespace Serilog.Tests.Events;
public class DictionaryValueTests
{
[Fact]
public void ADictionaryValueRendersAsMappingOfKeysToValues()
{
var dict = new DictionaryValue(new[] {
new KeyValuePair<ScalarValue, LogEventPropertyValue>(
new ScalarValue(1), new ScalarValue("hel... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SceneChange : MonoBehaviour {
public AudioSource audio;
public AudioClip button;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () ... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SFA.DAS.CommitmentsV2.Api.Client;
using SFA.DAS.CommitmentsV2.Shared.Interfaces;
using SFA.DAS.ProviderCommitments.Web.Models;
namespace SFA.DAS.ProviderCommitments.Web.Mappers
{
public class ViewStandardOptionsViewModelMapper... |
/// <summary>
/// Summary description for BomController
/// </summary>
namespace com.Sconit.Web.Controllers.PRD
{
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.Security;
using com.Sconit.Entity.PRD;
using com.Sconit.Ent... |
using System.Collections.Generic;
namespace Apache.Shiro.Subject
{
public interface IMutablePrincipalCollection : IPrincipalCollection
{
#region Methods
void Add(object principal, string realmName);
void AddAll(ICollection<object> principals, string realmName);
vo... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DTO
{
public class MealCategoriesDto
{
public int MealCategoriesCode { get; set; }
public string MealCategoriesName { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace TRPO_labe_6_console
{
class Program
{
static void Main(string[] args)
{
var context = new ShopsContext();
Console.ReadKey();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Entidades.Vistas
{
public class vFM_BASESLIQ01
{
public long NIT_AR { get; set; }
public short DV_AR { get; set; }
public string CDEC { get; set; }
public string IMPTO { get; set; }
... |
using System;
using System.Text;
using System.Threading.Tasks;
using System.ServiceModel;
using System.ServiceModel.Security;
using System.IdentityModel.Protocols.WSTrust;
using System.IdentityModel.Tokens;
namespace WAPWrapper
{
public class WAPADFSAuth
{
public static string GetADFSToken... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Validation;
using Ecom.DataModel;
using System.Transactions;
using ECom.DataModel;
using ECom.Dto;
namespace ECom.Abstraction.Repository
{
public class EComUnitOfWork : IDisposable
{
private EcomContext... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using CloudSalesDAL;
using CloudSalesEntity;
using System.Data;
using CloudSalesEnum;
namespace CloudSalesBusiness
{
public class ActivityBusiness
{
/... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Windows;
namespace Crystal.Plot2D.DataSources
{
public class EnumerableDataSource<T> : EnumerableDataSourceBase<T>
{
public EnumerableDataSource(IEnumerable<T> data) : base(data) { }
public EnumerableDataSource(IEnumera... |
using System.ComponentModel.DataAnnotations;
namespace TryHardForum.ViewModels.Account
{
public class LoginModel
{
[Required(ErrorMessage = "Не указан адрес электронной почты")]
public string Email { get; set; }
[Required(ErrorMessage = "Не указан пароль")]
[DataType(DataType.P... |
using System;
namespace TronRacers
{
class Program
{
static void Main(string[] args)
{
var size = int.Parse(Console.ReadLine());
var matrix = new char[size, size];
var player1Row = -1;
var player1Col = -1;
var player2Row = -1;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
public class PanicRoomTileset : TileSet
{
public Furniture potatoSack;
public Furniture flourSack;
public Furniture crate;
public Furniture horizontalBed;
public Furniture verticalBed;
}
|
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.Data.SqlClient;
namespace CRUD_PracticaImpronta
{
public partial class Mod... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Data;
namespace IRAP.Server.Global
{
public class DBUtils
{
public static Hashtable DBParamsToHashtable(IList<IDataParameter> paramList)
{
Hasht... |
using EmberKernel.Services.Command.Models;
using EmberKernel.Services.Command.Parsers;
using System.Collections.Generic;
namespace ExamplePlugin.Commands
{
public class CustomParser : IParser
{
public IEnumerable<object> ParseCommandArgument(CommandArgument args)
{
if (int.TryParse... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
using System.Globalization;
using Xamarin.Forms;
namespace Microsoft.MobileBlazorBindings.Elements
{
public static partial class AttributeHelper
{
private const string FileImageSourcePrefix = "file";
priv... |
using System;
namespace InstrumentationSample.Infrastructure
{
public interface ITrace : IDisposable
{
string Name { get; }
string MachineName { get; }
TimeSpan Elapsed { get; }
//If you want to implement something like Google Dapper then we would want Annotations.
/... |
using System;
using OpenQA.Selenium.Remote;
using System.Collections.Generic;
using System.Linq;
namespace cardscrape
{
public class TranslateUtils
{
static public readonly TimeSpan LongWait = TimeSpan.FromSeconds(20);
static public readonly TimeSpan ShortWait = TimeSpan.FromMilliseconds(500);
// The trans... |
using System;
static class UniInputMode
{
public enum InputMode
{
KeyBoard = 0, /*键盘*/
DDR_IODevice = 1, //IO设备
SteerWheel = 2, /*方向盘*/
JoyStick = 3, /*手柄*/
TouchScreen=4 //触摸屏幕
}
public static InputMode InputM... |
using Cs_Gerencial.Dominio.Entities;
using Cs_Gerencial.Dominio.Interfaces.Repositorios;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Gerencial.Infra.Data.Repositorios
{
public class RepositorioPessoas: RepositorioBase<Pessoas>, I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.UI.WebControls;
using Sind.BLL;
using Sind.Model;
using Sind.Web.Publico.Helpers;
namespace Sind.Web.Cadastros
{
public partial class VisaoLista : System.Web.UI.Page
{
#region [ PROPRIEDADES ]
private IList<Vi... |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace LighterApi.Migrations
{
public partial class v101 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Media;
namespace InRuleLabs.AuthoringExtensions.FieldsInUse.Views
{
public class ListViewSortManager
{
... |
using System.Collections;
using Assets.Scripts.Controllers;
using Assets.Scripts.Models;
using UnityEngine;
using Assets.Scripts.Controllers.Fauna;
using Assets.Scripts.Tutorial;
using Assets.Scripts.UI.Interactive;
using CodeStage.AntiCheat.ObscuredTypes;
using UnityEngine.SceneManagement;
namespace Assets.Scripts
{... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.