text stringlengths 13 6.01M |
|---|
using System;
using System.Web.Mvc;
using DevExpress.Web.Mvc;
namespace DevExpress.Web.Demos {
public partial class TreeListController : DemoController {
public ActionResult InlineEditing() {
return DemoView("InlineEditing", NewsGroupsProvider.GetEditablePosts());
}
[ValidateIn... |
using System;
using System.Windows.Forms;
namespace gView.Plugins.Editor.Dialogs
{
public partial class FormDirection : Form
{
public FormDirection()
{
InitializeComponent();
}
public double Direction
{
get
{
return (d... |
using System.Linq;
using Tools;
namespace _095
{
class Program
{
const int LIMIT = 1000000;
private static int[] _divisorSums;
class AmicableCycle : Cycle<int>
{
public AmicableCycle(int initialState) : base(initialState)
{
}
... |
using gView.Framework.LinAlg;
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
namespace gView.Framework.Symbology.UI.Controls
{
public partial class ShadeAngleSetter : UserControl
{
private Color _light = Color.White;
private Color _shaddow = Colo... |
using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class uisoMainMenu : MonoBehaviour
{
public UIGrid _gridMain;
public UICenterOnChild centerOnChildMain;
public int maxCnt;
public int prevCursor;
public int nowCursor;
public bool... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace ImprovementOpportunityApp.Models.Data
{
[Table("UserVote")]
public class UserVote
{
[Key]
[Databas... |
using MonoDevelop.Projects;
using System;
using System.IO;
namespace MonoDevelop.NUnit
{
public class WorkspaceTestGroup : UnitTestGroup
{
private Workspace workspace;
public WorkspaceTestGroup(Workspace ws) : base(ws.get_Name(), ws)
{
string storeId = ws.get_Name();
string resultsPath = System.IO.Path.Co... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TravelApp.Model;
using Xamarin.Forms;
namespace TravelApp
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
... |
using Presenter.Core.ConfigurationManager;
using Presenter.Core.DataManager;
using Presenter.Core.Interfaces;
using Presenter.Core.ScreeenManager;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceP... |
/*
* @lc app=leetcode.cn id=3 lang=csharp
*
* [3] 无重复字符的最长子串
*/
using System.Collections.Generic;
// @lc code=start
public class Solution {
public int LengthOfLongestSubstring(string s) {
if(string.IsNullOrEmpty(s)) return 0;
var m = s.ToCharArray();
var dic = new Dictionary<c... |
using System;
//using System.Numerics;
class MyClass {
static void Main(string[] args) {
/*
* Read input from stdin and provide input before running
var line1 = System.Console.ReadLine().Trim();
var N = Int32.Parse(line1);
for (var i = 0; i < N; i++) {
... |
using NUnit.Framework;
using SpecflowTests.Context;
using System;
using System.Linq;
using TechTalk.SpecFlow;
namespace SpecflowTests.Steps.AuctionControllerSteps
{
[Binding]
public class AuctionControllerThenSteps
{
private readonly AuctionControllerContext _context;
public AuctionContro... |
using System;
namespace CurrencyLibs.US
{
public abstract class USCoin : Coin
{
public USCoinMintMark MintMark { get; set; }
public USCoin()
{
this.MintMark = USCoinMintMark.D;
this.Year = DateTime.Now.Year;
}
public USCoin(string _name, USCoin... |
using System;
using System.Runtime.InteropServices;
namespace Vanara.PInvoke
{
public static partial class AdvApi32
{
/// <summary>The OpenProcessToken function opens the access token associated with a process.</summary>
/// <param name="ProcessHandle">
/// A handle to the process whose access token is opened... |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
using System.Linq;
using HarmonyLib;
using UnityEngine;
using RimWorld;
using RimWorld.Planet;
using Verse;
using OpCodes = System.Reflection.Emit.OpCodes;
namespace D9Framework
{
internal static class CMFHarmon... |
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Effects;
using System;
namespace JinHu.Visualization.Plotter2D
{
/// <summary>
/// Legend - shows list of annotation... |
using Sentry.Extensibility;
using Sentry.Infrastructure;
using Sentry.Internal;
namespace Sentry;
/// <summary>
/// Sentry SDK entrypoint.
/// </summary>
/// <remarks>
/// This is a facade to the SDK instance.
/// It allows safe static access to a client and scope management.
/// When the SDK is uninitialized, calls ... |
using System;
using Membership.Contract;
using Membership.Data;
namespace Membership.Service
{
public class SupplierEmployeeAssembler
{
public SupplierEmployeeDto Assemble(SupplierEmployee entity)
{
if (entity == null) { return null; }
var userAssembler = new UserAssembl... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityEngine.UIElements;
using UnityAtoms.Editor;
using UnityEngine;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// Event property drawer of type `Collision2DPair`. Inherits from `AtomEventEditor<Collision2DPair, Collision2DPairEvent>`. Only av... |
using UnityEditor;
using UnityEngine;
using System.IO;
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using UnityEditor.SceneManagement;
namespace VolumetricFogAndMist {
[CustomEditor(typeof(VolumetricFog))]
public class VolumetricFogInspector : Editor {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace pjank.BossaAPI.DTO
{
/// <summary>
/// Obiekt transportowy do przekazywania (między modułami biblioteki) aktualizacji stanu notowań rynkowych.
/// Używany jako "podobiekt" w MarketData - informuje o realizacji ... |
using System;
namespace Admin.Helpers
{
public class Criterion
{
public int Id {get;set;}
public string Name {get;set;}
public bool IsMax {get;set;}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TopTrumpsHCML.Mappings
{
public interface IEnityViewModelMappers<E, V> where E : class
where V : class
{
V MapEntityToViewMode... |
namespace SnowDAL.Repositories.Concrete
{
internal interface IUserEtity
{
}
} |
using System.Configuration;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.ServiceRuntime;
namespace Docller.Core.Common
{
public static class Config
{
public static T GetValue<T>(string key)
{
string value = GetValue(key);
if (!string.IsNullOrE... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Alabo.Framework.Core.WebApis.Controller;
using Alabo.Framework.Core.WebApis.Filter;
using Alabo.Industry.Shop.Products.Domain.Entities;
using Alabo.Industry.Shop.Products.Domain.Services;
using Microsoft.AspNetCore.Mvc;
using ZKCloud.O... |
namespace SGCFT.Dados.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class _04_Alternativa_Video_Acesso : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Acesso",
c => new
{
... |
using Newtonsoft.Json.Linq;
using RoleManagement.Model;
using RoleManagement.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web;
using System.Web.Mvc;
using RouteAttribute = System.Web.Http.RouteAttribute;
using H... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public class BendingBehaviour : MonoBehaviour
{
protected Create _create;
protected PlayerController _player;
protected AimAssist _aimAssist;
protected Health _health;
protect... |
using System;
namespace Elrond.Dotnet.Sdk.Domain.Exceptions
{
public class WrongBinaryValueCodecException : Exception
{
public WrongBinaryValueCodecException()
: base("Wrong binary argument")
{
}
}
} |
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 Cyber_FerCesar_Sistema
{
public partial class Frm_GestaoUsuarios : Form
{
stri... |
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class Deck
{
[SerializeField]
private List<CardData> cardDatas = new List<CardData>();
public void Create()
{
List<CardData> cardDatasInOrder = new List<CardData>();
foreach (var cardData in GameControl... |
using System;
using System.Collections.Generic;
using GTA;
namespace CodenameMaffia
{
public class Dialogue
{
private Dictionary<string, string> maffiaDialogue;
private Dictionary<string, string> gangDialogue;
private Dictionary<string, string> cartelDialogue;
private Dictionar... |
using System;
using Android.App;
namespace Groceries
{
[Application()]
public class MyApp : Application
{
public User User;
public static MyApp Instance{ get; private set; }
public override void OnCreate ()
{
base.OnCreate ();
Instance = this;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using Framework.Core.Common;
using OpenQA.Selenium.Support.UI;
using Tests.Pages.ActionID;
using Tests.Pages.Oberon.Contact;
using Tests.Pages.Oberon.FinancialBatchManager;
using Tests.Pages.Oberon.GivingRecipi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace StudentPortal
{
public partial class TeacherDesign : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
}... |
using Fingo.Auth.Domain.CustomData.Factories.Actions.Interfaces;
using Fingo.Auth.Domain.Infrastructure.Interfaces;
namespace Fingo.Auth.Domain.CustomData.Factories.Interfaces
{
public interface ISaveUserCustomDataFactory : IActionFactory
{
ISaveUserCustomData Create();
}
} |
using UnityEngine;
using System.Collections;
public class DetectVelocity : MonoBehaviour {
//オブジェクトが衝突したとき
void OnTriggerStay2D(Collider2D col) {
if (col.gameObject.tag == "HitPosition"){
Debug.Log("速度:"+this.GetComponent<Rigidbody2D>().velocity + " 位置:" + this.transform.position);
}
}
}
|
using System;
using System.ComponentModel.DataAnnotations;
using com.Sconit.Entity.SYS;
namespace com.Sconit.Entity.SI.SAP
{
[Serializable]
public partial class SAPMMMES0002 : EntityBase
{
#region O/R Mapping Properties
public Int32 Id { get; set; }
[Display(Name = "SAPMMMES_ZMESPO", R... |
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace MinecraftToolsBoxSDK
{
/// <summary>
/// JsonSelectorEditor.xaml 的交互逻辑
/// </summary>
public pa... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class BanFPS : MonoBehaviour {
/// <summary>
/// 每次刷新计算的时间 帧/秒
/// </summary>
public float updateInterval = 0.5f;
/// <summary>
/// 最后间隔结束时间
/// </summary>
private double lastInterval;
private int frames = 0;
private float currFP... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTO
{
public class ClassDTO
{
public int Class_Code { get; set; }
public string Class1 { get; set; }
}
}
|
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Atc.CodeAnalysis.CSharp.SyntaxFactories
{
public static class SyntaxVariableDeclarationFactory
{
public static VariableDeclarationSyntax Create(
string identifierTypeNam... |
using System;
using System.Windows.Forms;
namespace Taggart
{
public partial class CuePointControl : UserControl
{
int? seconds;
public CuePointControl()
{
InitializeComponent();
}
public string Caption
{
get
{
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using TestWcfService.Models;
namespace TestWcfService
{
public sealed class DataImpl
{
private static readonly DataImpl instance = new DataImpl();
public static readonly DataTable _usersDataTable = new DataTa... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using Shimakaze.Struct.Csf;
using Shimakaze.Struct.Csf.Helper;
using Shimakaze.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace 面向对象
{
public class person
{
public string _name;
public int _age;
public string _gender;
public void Action()
{
Console.WriteLine("chi he wan le {0} ,{1} ,{2}",this._name... |
using System;
using Grasshopper.Kernel;
using Pterodactyl;
using Xunit;
namespace UnitTestsGH
{
public class TestBarChartGhHelper
{
public static BarChartGH TestObject
{
get
{
BarChartGH testObject = new BarChartGH();
return testObject;
... |
using System.Security.Claims;
namespace HotelBooking.ControllerHelpers.RoomControllerHelpers.Abstract {
public interface IBookingHandler {
bool TryMakeBooking(ClaimsPrincipal claimsPrincipal, int roomId, string checkInDate, string checkOutDate);
}
}
|
using FactionCombinationAnalysis.FactionCombine.Combiner;
using System;
using System.Collections.Generic;
using System.Text;
namespace FactionCombinationAnalysis.FactionCombine
{
public class CombinationProviderSetting
{
public Dictionary<CombinerBase, double> Combiners = new Dictionary<CombinerBase, ... |
using System;
namespace GatewayEDI.Logging
{
/// <summary> Simple <see cref="ILog" /> implementation that decorates an existing log implementation and allows to transform and/or filter logged messages. </summary>
public class DecoratorLog : LogBase
{
/// <summary> Creates a named logger with a dec... |
namespace ex_1
{
public class Exercise
{
public string Name {get; set;}
public string GitHubURL {get; set;}
public string Language {get; set;}
public Exercise(string name, string url, string language)
{
Name = name;
GitHubURL = url;
Language = language;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Bindings
{
// get send from servedr to client
// client has to listen to serverpackets
public enum ServerPackets
{
SConnectionOk =1,
}
// get send from client to server
// server has to listen to clie... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Voluntariat.Data.Migrations
{
public partial class Rename_ONG_References_To_NGO : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "O... |
using System.ComponentModel.DataAnnotations;
using Alabo.Extensions;
using Alabo.Framework.Core.WebApis.Controller;
using Alabo.Framework.Core.WebApis.Filter;
using Alabo.Industry.Shop.Carts.Domain.Entities;
using Alabo.Industry.Shop.Carts.Domain.Services;
using Alabo.Industry.Shop.Orders.Dtos;
using Microsoft.AspNetCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using MainWebApplication.Data;
using MainWebApplication.Models;
namespace MainWebApplication.Controllers
{
... |
using Sapi.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IMS.Domain.Services.IService
{
interface IOuSupplierService:IBusinessService
{
//bool AddOuSupplier
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using KartSystem.Common;
namespace KartSystem
{
/// <summary>
/// Класс главная касса
/// </summary>
public class CashDocument:SimpleDbEntity
{
[DBIgnoreAutoGenerateParam]
[DBIg... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//! 마우스 버튼
public enum EMouseButton
{
LEFT,
RIGHT,
MIDDLE,
NONE
}
//! 게임 단계
public enum EGamePhase
{
SELECT,
MOVE,
INFECT,
TURNCHANGE,
GAMEOVER,
NONE
}
//! 세균 색깔
public enum EGermColor
{
BLUE,
RED,
NONE
}
//! 전역 상수
public s... |
using System;
using System.Collections.Generic;
using System.Linq;
using DFC.ServiceTaxonomy.GraphSync.Exceptions;
using DFC.ServiceTaxonomy.GraphSync.Interfaces;
using DFC.ServiceTaxonomy.GraphSync.Models;
namespace DFC.ServiceTaxonomy.GraphSync.CosmosDb.Commands
{
public abstract class CosmosDbNodeWithOutgoingR... |
namespace TripLog.Droid.Modules
{
using Ninject.Modules;
using Services;
using TripLog.Services;
public class TripLogPlatformModule : NinjectModule
{
public override void Load()
{
Bind<GeoLocationService>().
To<AndroidLocationService>().
... |
namespace TDCPluginImportExport10
{
#region
using ACSG;
using AutoDeskFBXSDK;
using stdole;
using System;
using System.Linq;
using System.Threading.Tasks;
using TDCPlugin;
using Windows.Storage;
using System.IO;
using System.Numerics;
using System.Runtime.InteropServ... |
using Azure.Cosmos;
using Azure.Cosmos.Serialization;
using AzureAI.CallCenterTalksAnalysis.Core.Model;
using AzureAI.CallCenterTalksAnalysis.Core.Services.Interfaces;
using AzureAI.CallCenterTalksAnalysis.Infrastructure.Configuration.Interfaces;
using AzureAI.CallCenterTalksAnalysis.Infrastructure.Services.Data;
usin... |
using System;
namespace useSOLIDin
{
class ConsoleLevelReader : ILevelReader
{
public String[] GetInputData()
{
Console.WriteLine("Enter level name:");
string name = Console.ReadLine();
Console.WriteLine("Enter level data:");
string data = Consol... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Collections;
namespace BaseDeDatosClinicaPatologica.Web
{
/// <summary>
/// Summary description for clinicaPatologiaWebService
/// </summary>
[WebService(Namespace = "http://tem... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mime;
// ReSharper disable once CheckNamespace
namespace Microsoft.OpenApi.Models
{
public static class OpenApiMediaTypeExtensions
{
public static OpenApiSchema? GetSchema(this IDictionary<string, OpenApiMediaType> cont... |
using LoowooTech.Stock.Common;
using System;
using System.Collections.Generic;
using System.Data.OleDb;
using System.Linq;
using System.Text;
namespace LoowooTech.Stock.Tool
{
public class ValueMathTool2:ValueBaseTool2,IVTool
{
public string Name
{
get
{
... |
using Umbraco.Core;
using Umbraco.Core.Composing;
namespace Vendr.Contrib.EmailPreview.Startup
{
public class EmailPreviewComposer : IUserComposer
{
public void Compose(Composition composition)
{
composition.Components().Append<EmailPreviewMenuComponent>();
}
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace FBS.Domain.Booking.Aggregates
{
public class Seat
{
public string Number { get; set; }
public int Row { get; set; }
public string Column { get; set; }
public bool IsOccupied { get; set; }
}
} |
namespace _02._SoftUniParty
{
using System;
using System.Collections.Generic;
public class Startup
{
public static void Main()
{
string input = Console.ReadLine();
SortedSet<string> allGuests = new SortedSet<string>();
while (input != "PARTY")
... |
using UnityEngine;
using System.Collections.Generic;
using FLOAT32 = System.Single;
namespace Ardunity
{
[AddComponentMenu("ARDUnity/Controller/Basic/AnalogOutput")]
[HelpURL("https://sites.google.com/site/ardunitydoc/references/controller/analogoutput")]
public class AnalogOutput : ArdunityController, IWir... |
using System;
class MoneyReward
{
static void Main()
{
int parts = int.Parse(Console.ReadLine());
double moneyPerPoint = double.Parse(Console.ReadLine());
double prize = 0;
for (int i = 1; i <= parts; i++)
{
int points = int.Parse(Console.ReadLine());
... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using WpfSuduko.MVC.View;
namespace WPFSudukoApp
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace BaseLib.Threading
{
public abstract class WorkerThread : IDisposable
{
public ManualResetEvent stopevent = new ManualResetEven... |
using System;
using System.Collections.Generic;
using System.Threading;
namespace SnakeNLadder
{
class Program
{
public static int Main(String[] args)
{
UC2_SnakeNLadder player = new UC2_SnakeNLadder();
UC3_SnakeNLadder board = new UC3_SnakeNLadder();
Consol... |
using UnityEngine;
namespace Navinha
{
internal class NaveControlledVanish : ControlledVanishObject
{
private OWRigidbody naveBody;
private NaveFlightConsole naveConsole;
public void Awake()
{
DestroyComponentsOnGrow = false;
Patches.OnConditionsForPlaye... |
using System;
using System.Web.UI;
namespace SignInCheckIn.Models.DTO
{
public class ContactDto
{
public int ContactId { get; set; }
public int ParticipantId { get; set; }
public int HouseholdId { get; set; }
public int HouseholdPositionId { get; set; }
public int Ge... |
using System;
using System.Net;
namespace RRExpress.Common.Exceptions {
/// <summary>
/// 发送方法请求时发生的异常
/// </summary>
public class MethodRequestException : Exception {
/// <summary>
/// 返回的状态码
/// </summary>
public HttpStatusCode StateCode {
get; set;
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
namespace Bumblebee.Plugins
{
public class PluginCenter
{
public PluginCenter(Gateway gateway)
{
Gateway = gateway;
GetServerHandlers = new PluginGroup<IGetServerHandler>(gateway... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EBS.Domain.ValueObject
{
public enum AccountStatus
{
[Description("激活")]
/// <summary>
/// 激活
/// </summary>
... |
namespace OnlineShop.Models.Products.Computers
{
public class Laptop:Computer
{
public Laptop(int id, string manufacturer, string model,
decimal price) : base(id, manufacturer, model, price,10)
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace StateCorrelations
{
public static partial class Create
{
public static IO<TInput> IO<TInput>(TInput input) => new IO<TInput>(input);
public static IO<TInput, TOutput> IO<TInpu... |
using System.Reflection;
using DaDo.Command.CommandConfiguration;
using DaDo.Command.Common;
using Microsoft.Extensions.CommandLineUtils;
using Microsoft.Extensions.PlatformAbstractions;
namespace DaDo.Command.Configuration
{
public static class RootCommandConfiguration
{
private static string GetVersi... |
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace HomeBuh.Models
{
public class Entry
{
public int ID { get; set; }
/// <summary>
/// Дата операции из чека
/// </summary>
public DateTime DateOperation { get; set; }
public int BuhAccount... |
using RestSharp;
using ShopMVC.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace ShopMVC.Servces
{
public interface ITovarApiService
{
IEnumerable<TovarModels> TovarApiServiceGetAll();
TovarModels TovarApiServiceGetById(in... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using M220N.Models;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Conventions;
using MongoDB.Driver;
using NUnit.Framework;
namespace M220NLessons
{
/// <summary>
///
/// In this lesson, we'll look at ... |
using System.Net;
using System.Threading.Tasks;
using Atc.Rest.Middleware;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.AspNetCore.Http;
using Xunit;
namespace Atc.Rest.Tests.Middleware
{
public class ExceptionTelemetryMiddlewareTests
{
[Fact]
... |
public class CharacterNextTurnResultsVO
{
public int uid;
public EffectVO effect;
public int effectValue;
public bool lastTurnOfRound;
}
|
using System;
using System.Collections.Generic;
using System.Linq;
namespace DelftTools.Utils.Collections
{
public static class CollectionExtensions
{
public static void RemoveAllWhere<T>(this ICollection<T> source, Func<T, bool> condition)
{
var list = source.Where(condition).ToLi... |
using NBatch.Main.Readers.FileReader.Services;
namespace NBatch.Main.Readers.FileReader
{
public sealed class FlatFileItemBuilder<TItem>
{
private readonly string _resourceUrl;
private readonly IFieldSetMapper<TItem> _fieldMapper;
private string[] _headers;
private int _linesToS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XRpgLibrary.TileEngine
{
public class MapLayer
{
#region Fields
Tile[,] map; // The map of this layer
#endregion
#region Properties
public int Width
{
ge... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Inventory.Data.Migrations
{
public partial class migrate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "RowGuid",
... |
using AutoMapper;
using FamilyAccounting.AutoMapper;
using FamilyAccounting.BL.DTO;
using FamilyAccounting.BL.Interfaces;
using FamilyAccounting.BL.Services;
using FamilyAccounting.DAL.Connection;
using FamilyAccounting.DAL.Entities;
using FamilyAccounting.DAL.Interfaces;
using FamilyAccounting.DAL.Repositories;
using... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (IsPostBack)
{
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using LoLInfo.Models;
using LoLInfo.Services;
using Xamarin.Forms;
namespace LoLInfo.ViewModels
{
public class ItemsViewModel : BaseViewModel... |
namespace ClipModels
{
public class LocationTraf : TrafficList
{
//public int ID { get; set; }
public int CountryId { get; set; }
public int CityId { get; set; }
//public virtual TrafficClip TrafficClip { get; set; }
//public int TrafficClipId { get; set; }
}
}
|
using System;
using MyMovies.DAL.Data;
using MyMovies.Domain.Entities;
namespace MyMovies.DAL.SeedData
{
internal static class ApplicationUserSeed
{
internal static void SeedApplicationUsers(DataBaseContext dbContext)
{
}
}
} |
using Newtonsoft.Json;
using System;
namespace BinanceChain
{
[Serializable]
public sealed class TransactionInformationMessageValue
{
[JsonProperty]
private TransactionAddressAndCoins[] inputs;
[JsonProperty]
private TransactionAddressAndCoins[] outputs;
public Tr... |
using EPI.HashTables;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.HashTables
{
[TestClass]
public class FindAllSubstringsUnitTest
{
[TestMethod]
public void FindAllSubstringsDecomposition()
{
FindAllSubstrings.FindAllSubstringsMatchingWords("amanapla... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Substrate
{
/// <summary>
/// Provides named id values for known enchantment types.
/// </summary>
/// <remarks>See <see cref="BlockType"/> for additional information.</remarks>
public class EnchantmentType
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.