text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using System.Threading.Tasks;
namespace EntMob.Models.JsonConverters
{
class UnixDateTimeConverter: JsonConverter
{
private static readonly DateTime _epoch = new DateTime(1970, 1, ... |
using Otiport.API.Data.Entities.Users;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Otiport.API.Data.Entities.Patient
{
[Table("Patients")]
public class PatientEntity : BaseEntity<Guid>
{
public PatientEntity()
{
Id = Guid.NewGuid();
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FirePoint : MonoBehaviour
{
public Transform gunTransform;
public GameObject bulletPreFab;
public float shootSpeed = 1;
private float timer;
private bool hasShot;
void Start()
{
hasShot = false;
timer = shootSpeed;... |
namespace TopJSRepos.Config
{
public class Config
{
public static string BASE_URL = "https://api.github.com";
}
public class Locator
{
public const string PullRequestsPage = "PullRequestsPage";
}
}
|
using FamilyAccounting.BL.DTO;
using FamilyAccounting.DAL.Entities;
using Moq;
using Newtonsoft.Json;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace FamilyAccounting.Tests.Int... |
using System;
using DelftTools.Utils;
using DelftTools.Utils.Aop.NotifyPropertyChange;
namespace DelftTools.Tests.Controls.Swf.UndoRedoTestClasses
{
[NotifyPropertyChange]
public class Child : IEditableObject
{
public string Name { get; set; }
public override string ToString()
{
... |
using Motherload.Interfaces.Unity;
namespace Assets.Scripts.Services
{
/// <summary>
/// Implementação de <see cref="IPlayerPrefs"/>
/// </summary>
public class PlayerPrefs : IPlayerPrefs
{
/// <summary>
/// Implementação de <see cref="IPlayerPrefs.Save"/>
/// </summary>
... |
using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net.Http;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
namespace Wonderland.FirebaseAPI
{
static public class FirebasePage
{
static string projectName = "svamparisverige... |
using System.Collections.Generic;
using Core.Model;
using Core.Interface;
namespace Core.Controller
{
public class StaffHandle : IStaff
{
public bool Add(Staff staff)
{
DataHelper<Entities, Staff>.Add(staff);
return true;
}
public bool Edit(Staff staff)... |
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.Collections.Generic;
using System.Linq;
using Upgrader.Schema;
namespace Upgrader.Infrastructure
{
internal class DataDefinitionLanguage
{
private readonly Database database;
public DataDefinitionLanguage(Database database)
{
this.database = database;
... |
using System;
using Confluent.Kafka;
using MessageBroker.Config;
using MessageBroker.MessageData;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace MessageBroker.EventBusKafka
{
public class Producer<T>: IDisposable
{
private readonly IOptionsMonitor<KafkaConfig> _kafka... |
using System;
/// <summary>
/// LogBase: Secondary entry point
/// </summary>
public abstract class LogBase
{
/// <summary>
/// Start the logging service
/// </summary>
/// <param name="LogFilePath">Path to the log file</param>
public abstract void AddListener(string LogFilePath);
/// <summary>... |
using System.Windows.Controls;
using System.Windows.Input;
using tweetz.core.Commands;
namespace tweetz.core.Controls
{
public partial class TitleBarControl : UserControl
{
public TitleBarControl()
{
InitializeComponent();
}
private void ExecuteCloseCommand(object ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace chat.Sources.Validation
{
public abstract class Validation
{
public static bool SignInValidation(FormCollection Collection)
{
return true;
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AsteroidBehavior : MonoBehaviour {
//have asteroids travel down at randomized speed
//if collide with player, damage player
//have it blow up after 5 hits
private int _lives = 5;
private float _speed;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TT : MonoBehaviour {
public bool onclick;
public bool OnDown;
Animator trigger;
Button switchy ;
// Use this for initialization
void Start () {
trigger = GetComponent<Animator>();
switchy = GetC... |
using System;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using Restaurant.DTO;
namespace Restaurant.Web.Services
{
[ServiceContract(Namespace = "")]
[SilverlightFaultBehavior]
[AspNetCompatibilityRequirements(RequirementsMode = A... |
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Text;
using ExcelExporter;
using UnityEditor;
using UnityEngine;
namespace BattleEditor
{
/// <summary>
/// <para></para>
/// <para>Author: zhengnan </para>
/// <para>Create: DATE TIME</para>
/// </sum... |
using System.Threading.Tasks;
using CustomServiceRegistration.Controllers;
using CustomServiceRegistration.Models;
using CustomServiceRegistration.Services.Applications;
using Microsoft.AspNetCore.Mvc;
using Moq;
using Xunit;
namespace CustomServiceRegistration.Tests.UnitTests
{
public class ApplicationController... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraControl : MonoBehaviour {
//float panBorderThickness = 5f;
float panSpeed = 10f;
int size;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {... |
using Irony.Parsing;
namespace Bitbrains.AmmyParser
{
public class AstAmmyBindData : IBaseData, IAstAmmyPropertyValue
{
public AstAmmyBindData(SourceSpan span, string propertyName, IAstAmmyBindSourceSource source)
{
Span = span;
PropertyName = propertyName;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CA2_Azure.DAL
{
// added interface for unit test with Mock DB
public interface IDALAccess
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WatiN.Core;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using Helper;
using System.IO;
namespace WebAutomation
{
class CommonControlCalls
{
public static void... |
using Newtonsoft.Json;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace MVC5HW.Models
{
/// <summary>
/// 客戶資料ApiVM。
/// </summary>
public class 客戶資料ApiVM
{
public string 電話 { get; set; }
public string 傳真 { get; set; }
public string 地... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class Soul_Controller : MonoBehaviour
{
public Transform objetivo;
private NavMeshAgent agente;
Vector3 SpawnPosition = new Vector3(-15, 2, 18);
// Start is called before the first frame update
... |
using Alabo.Data.People.UserTypes;
using Alabo.Web.Mvc.Attributes;
using MongoDB.Bson.Serialization.Attributes;
using System.ComponentModel.DataAnnotations.Schema;
namespace Alabo.Data.People.ShareHolders.Domain.Entities
{
/// <summary>
/// 股东
/// </summary>
[ClassProperty(Name = "股东")]
[BsonIgnor... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace MaerskLineCMS.Models
{
public class BOOKING
{
[Key]
public int Booking_ID { get; set; }
public int TEU { get; set; }
public in... |
using System;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.CUST
{
[Serializable]
public partial class ItemProperty : EntityBase, IAuditable
{
public Int32 Id { get; set; }
[Required(AllowEmptyStrings = false, ErrorMessageResourceName = "Errors_Common_FieldRequir... |
namespace Mashup.Logic.Logic
{
using System.Collections.Generic;
using Mashup.Logic.Contracts;
using Mashup.Logic.Providers.Search;
public class SearchService : ISearchService
{
private const string ApiKey = "j1xHFkbLvgzR/WZXbC/dTp6kl7dv6FKOEa3B1ejH7Qo";
private SearchProvider pr... |
using hurb_sap.Models;
namespace hurb_sap.Domain.Services.Payments
{
public interface IPaymentsService
{
ResponseModel Add(PaymentsModel payment);
ResponseModel Read(int id);
}
}
|
using System;
using System.ComponentModel.DataAnnotations;
using Microsoft.Practices.ServiceLocation;
using Profiling2.Domain.Contracts.Tasks;
using Profiling2.Domain.Prf.Units;
using Profiling2.Web.Mvc.Areas.Profiling.Controllers.ViewModels;
namespace Profiling2.Web.Mvc.Validators
{
[AttributeUsage(AttributeTarg... |
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ServiceEventLogging;
using ServiceEventLoggerTests.Listeners;
using ServiceEventLoggerTests.ServiceEventExtensions;
namespace ServiceEventLoggerTests.Loggers
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerScienceFinal
{
public static class BubbleSort
{
public static void Sort()
{
// cho nhap 1 chuoi so
Console.Write("Nhap chuoi so: ");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SortAlgorithms
{
class BubbleSort : IAlgorithm
{
public void Run(int[] tab)
{
bool swapped = true;
while (swapped)
{
... |
using Microsoft.AspNetCore.Mvc;
using Pixemsoft_BookStore.Model;
using Pixemsoft_BookStore.Model.Repositroy;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Pixemsoft_BookStore.Contoller
{
public class BookController : Controller
{
private rea... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPatterns.Command.Example4
{
public class CommandHistory
{
Stack<BaseCommand> commands = new Stack<BaseCommand>();
public void Push(BaseCommand command)
{
commands.Push(command);
}
... |
// <copyright file="ActiveDirectoryResponseBase.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
namespace SmartLibrary.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Comp... |
using Game.Entity.Accounts;
using Game.Facade;
using Game.Web.AppPay;
using LitJson;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.Data.Common;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
nam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entities
{
public class Project:IEntity
{
public Project()
{
Employees = new HashSet<Employee>();
Requests = new HashSet<Request>();
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using MVCPatternAPP.Entity.Models;
namespace MVCPatternAPP.Data.DatabaseContext
{
public class MvcPatternDbContext:DbContext
{
public MvcPatternDbContext():base... |
namespace Sentry.Tests.Protocol;
public class SentryThreadTests
{
private readonly IDiagnosticLogger _testOutputLogger;
public SentryThreadTests(ITestOutputHelper output)
{
_testOutputLogger = new TestOutputDiagnosticLogger(output);
}
[Fact]
public void SerializeObject_AllPropertiesSe... |
namespace DelftTools.Utils.Serialization
{
/// <summary>
/// Interface which allows a class to specify that it can be recreated during deserialization using a default constructor
/// and then calling DeserializeOwnedData()
/// </summary>
public interface IOwnedDataSerializableAndRecreatable: IOwnedDataSerializabl... |
using System;
using Fbtc.Application.Interfaces;
using Fbtc.Domain.Entities;
using Fbtc.Domain.Interfaces.Services;
using Fbtc.Application.Helper;
namespace Fbtc.Application.Services
{
public class PagSeguroApplication : IPagSeguroApplication
{
private readonly IPagSeguroService _pagSeguroService;
... |
using EBS.Domain.ValueObject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EBS.Infrastructure.Extension;
namespace EBS.Query.DTO
{
public class TransferOrderListDto
{
public int Id { get; set; }
public string FromStoreN... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace LeaveApplication.Dal.Migrations
{
public partial class anes : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "JobTitle",
... |
using gView.Framework.Data;
using gView.Framework.Data.Cursors;
using gView.Framework.Data.Filters;
using gView.Framework.Db.Extensions;
using gView.Framework.Geometry;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SQLite;
using System.IO;
using System.Text;
using System.Threadin... |
using System;
using System.Collections;
using System.Collections.Generic;
using com.Sconit.Entity;
using System.ComponentModel.DataAnnotations;
//TODO: Add other using statements here
namespace com.Sconit.Entity.FMS
{
[Serializable]
public partial class MaintainPlan : EntityBase
{
#region O/R Mapp... |
using Microsoft.Azure.Devices;
using Microsoft.Azure.Devices.Common;
using Microsoft.Azure.Devices.Common.Security;
using Microsoft.ServiceBus.Messaging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;... |
using System;
using System.Diagnostics;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Funkshun.Core.Exceptions;
using Funkshun.Core.Extensions;
using Funkshun.Core.Helpers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Funkshun.Core.Test
{
public static class Custo... |
using Microsoft.Xna.Framework;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectBueno.Engine
{
class TextMoveButton : IButton
{
public TextMoveButton(IHandler moveTo, JObject data, bool bypass = false)
... |
using System.Linq;
using SFA.DAS.CommitmentsV2.Shared.Interfaces;
using SFA.DAS.ProviderCommitments.Infrastructure.OuterApi;
using SFA.DAS.ProviderCommitments.Web.Models;
using SFA.DAS.ProviderCommitments.Web.Models.Shared;
using System.Threading.Tasks;
using SFA.DAS.Authorization.Services;
using SFA.DAS.ProviderCommi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LAÇOS_DE_REPETICAO
{
class Program
{
static void Main(string[] args)
{
atividade11();
Console.ReadKey();
#region Exemplo
... |
using System;
using System.Windows.Input;
using Lecture08.BlogPosts.Admin.Models;
namespace Lecture08.BlogPosts.Admin.ViewModels
{
public class ApplicationContext : ViewModelBase
{
private readonly DefaultBlogPostRepository repository;
public ApplicationContext(DefaultBlogPostRepository repos... |
namespace TripDestination.Data.Models
{
public enum PageParagraphType
{
Normal = 1,
Double = 2,
FAQ = 3
}
} |
using System;
using System.Linq;
namespace DominantMember
{
class Program
{
static void Main(string [] args)
{
int [] A = {3,67,4,67,67,67,67,7,8};
var group = A.GroupBy(x => x);
var repeated = group.OrderByDescending(x => x.Count()).First();
if (repeated.Count()>A.Length/2)
{
Console.WriteLine(repeated.Key... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.XPath;
using System.Xml;
using System.IO... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Treorisoft.InputReader.Devices;
using Treorisoft.InputReader.Native;
namespace Treorisoft.InputReader
{
public class DeviceManager : IMessageFilter
{
pr... |
/// <summary>
/// Summary description for FinanceCalendarController
/// </summary>
namespace com.Sconit.Web.Controllers.MD
{
#region reference
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.Routing;
usi... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq.Expressions;
namespace Calculator
{
class Program
{
static void Main(string[] args)
{
string input = File.ReadAllLines("input.txt")[0];
string[] elements = (DeleteSpace(inpu... |
namespace Apache.Shiro.Authc
{
public interface IHostAuthenticationToken
{
string Host
{
get;
}
}
} |
using eMAM.Data.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace eMAM.UI.Models
{
public class ManagerViewModel
{
public string UserName { get; set; }
public string Email { get; set; }
public User curUser { get; set; }... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyWebDriver.Models
{
public enum TypeGetInfoResult
{
AccountFail,
AccountSuccess,
AccountCheckLatter
}
}
|
// <copyright file="ActiveDirectoryUserApiResponse.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
namespace SmartLibrary.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Thre... |
using EngineLibrary.Components;
namespace GameLibrary.Components
{
/// <summary>
/// Компонент видимости объекта
/// </summary>
public class VisibleComponent : ObjectComponent
{
/// <summary>
/// Состояние видимости
/// </summary>
public bool IsHidden { get => _isHi... |
using BitirmeParsing.DBConnection;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitirmeParsing.RunningTimesParser
{... |
namespace SOLIDPrinciples.ISP.Example1.Worst
{
public class Desconto
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using com.Sconit.Service;
using com.Sconit.Utility;
using Telerik.Web.Mvc;
using com.Sconit.Entity.CUST;
using com.Sconit.Web.Models;
using com.Sconit.Web.Models.SearchModels.CUST;
namespace com.Sconit.Web.Contr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Artefact.Animation;
using System.Windows.Controls;
using System.Windows;
namespace SurfaceApplicationMaurice.Utility
{
static public class TransformationUtil
{
static public void AppearControl(Contr... |
//-----------------------------------------------------------------------------
// Torque
// Copyright GarageGames, LLC 2011
//-----------------------------------------------------------------------------
// Load up all scripts. This function is called when
// a server is constructed.
exec("./camera.cs");
exec("./tri... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
/**
* A battle in progress. Responsible for all battle logic, state, and control flow. The actual
* battle visual representation is contained in the BattleController.
*
* Flow for battles works like this:
* - A B... |
using UnityEngine;
using System.Collections;
public class Move : MonoBehaviour {
Rigidbody rb;
void Start ()
{
rb = GetComponent<Rigidbody> ();
rb.AddForce (0, -5f, 10f);
}
// Update is called once per frame
void Update ()
{
if (rb.transform.position.y < 0)
{
rb.AddForce(0,5f,0);
}
if... |
using System;
using System.Linq;
using System.Collections.Generic;
namespace Fibo
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Cuantas veces desea repetir la sucesion? ");
int Num = Int32.Parse(Console.ReadLine());
int Fibo(int z)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PropositionalFormulaProver.Prover
{
public interface INode
{
string getString();
string getDebugString();
INode deepCopy();
}
}
|
using Robust.Shared.ViewVariables;
namespace Content.Server.GameObjects.Components.Destructible
{
public struct MinMax
{
[ViewVariables]
public int Min;
[ViewVariables]
public int Max;
}
}
|
using System;
using System.Drawing;
using System.Threading;
using System.Windows.Forms;
using System.Diagnostics;
namespace RectangleGame
{
partial class Form1 : Form
{
/******** Variables ********/
private bool showDebugInfo;
private int fps;
private int requestedFps;
private int time;
private int cu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Don_SampleTrackingApp
{
public class EnumClasses
{
}
// Selectie afisare date
public enum DateProbaDeAfisat
{
Toate,
ProbaIntrodusa,
ProbaPreluata,
ProbaR... |
namespace Krafteq.ElsterModel
{
using System;
using System.Runtime.CompilerServices;
using Krafteq.ElsterModel.ValidationCore;
using LanguageExt;
/// <summary>
/// Represents valid money value rounded to 0.01
/// Value must be maximum 11 digits before decimal point
/// Can be negative
... |
using System;
using System.Threading;
namespace PJEI.Libraries {
// Adapted from code in Reactive Extensions (Rx): https://rx.codeplex.com/
public interface ICancelable : IDisposable {
/// <summary>
/// Gets a value that indicates whether the object is disposed.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace lsc.Model
{
/// <summary>
/// 邮件发送任务
/// </summary>
[Serializable]
public class SendEmailTask
{
[Key]
public int Id { get; set; }
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TinhLuongDAL;
namespace TinhLuongBLL
{
public class LoaiTruCongNoBLL
{
LoaiTruCongNoDAL dal = new LoaiTruCongNoDAL();
public DataTable GetLoaiTruCongNo(s... |
using Pegagus.UI.Agent.PWA.Maintenance;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pegagus.UI.Agent.PWA.Profiles
{
public class PersonProfilesModel
{
public int Id { get; set; }
public string Fullname { get; set... |
using Elrond.Dotnet.Sdk.Domain;
using Elrond.Dotnet.Sdk.Domain.Values;
using NUnit.Framework;
namespace Elrond_sdk.dotnet.tests.Domain
{
public class SmartContractTests
{
[Test]
public void Should_ComputeAddress_Based_On_Account_And_Nonce()
{
// Arrange
var acco... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Inheritage
{
internal class Exc10
{
protected int[] ArrNum;
public Exc10(int k)
{
ArrNum = new int[k];
for(int i = 0; i<ArrNum.Length; i... |
using System;
using System.Collections;
using System.Collections.Generic;
//TODO: Add other using statements here
namespace com.Sconit.Entity.MRP.TRANS
{
public partial class RccpCapacity
{
#region O/R Mapping Properties
/// <summary>
/// 生产线
/// </summary>
public strin... |
using System;
using SPZ_Lab1;
namespace SPZ_Lab1_Interface
{
class MobileBalance_TestInterface
{
public static int action = 0; //идентификатор выбранного действия
public static MobileBalance testBalance; //ссылка для хранения мобильного баланса
public static voi... |
using UnityEngine;
using System.Collections;
public class Game : MonoBehaviour {
public static float MAX_ME_X = 7.5f;
private GameObject ballPrefab;
private GameObject ball;
// Use this for initialization
void Start () {
ballPrefab = (GameObject) Resources.Load ("Pong/Ball");
startGame ();
}
// Update i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebAPI.MoneyXChange.Models;
namespace WebAPI.MoneyXChange.Services.Contracts
{
public interface ICurrencyService
{
IEnumerable<Currency> GetCurrencies();
Task<Currency> GetLocalCurrency();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArkSavegameToolkitNet.Exceptions
{
public class UnreadablePropertyException : Exception
{
public UnreadablePropertyException() : base()
{
}
public Unre... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Results.AllowSync;
using DFC.ServiceTaxonomy.GraphSync.Services;
using Microsoft.AspNetCore.Html;
using OrchardCore.ContentManagement;
using OrchardCore.DisplayManagement.Notify;
n... |
namespace Tutorial
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
public static class TraceExtensions
{
public static T WriteLine<T>(this T value)
{
Trace.WriteLine(value);
return value;
}
public static T Write<T... |
using System;
using System.Collections.Generic;
using SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Types;
namespace SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Responses
{
public class GetDraftApprenticeshipsResult
{
public List<DraftApprenticeship> DraftApprenticeships { get; set; } = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace capacited_facility_location_problem.model
{
class Customer
{
public readonly int DemandInKg;
public readonly int CustomerNumber;
public readonly Coordinate Coor... |
using ODL.DomainModel.Common;
namespace ODL.ApplicationServices.DTOModel.Load
{
public abstract class InputDTO : ValidatableDTO
{
public virtual string SystemId { get; set;}
public string UppdateradDatum { get; set; }
public string UppdateradAv { get; set; }
public string Sk... |
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 CTCI.Models;
namespace CTCI.Controllers
{
[Authorize]
public class CarDeviceController : Controller
{
private CtciMachineE... |
using LightBoxRectSubForm.app;
using LightBoxRectSubForm.comm;
using System;
using System.Collections.Generic;
using System.IO.Ports;
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... |
using Commerce.Plugin.Asset.Pipelines;
using Commerce.Plugin.Asset.Pipelines.Arguments;
using Sitecore.Commerce.Core;
using Sitecore.Commerce.Core.Commands;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Commerce.Plugin.Asset.Commands
{
public class CreateAssetCommand : CommerceCommand
... |
using System.Collections.Generic;
namespace Bot.Models
{
public class BotResponse
{
public string Watermark { get; set; }
public List<Activity> Activities { get; set; }
}
}
|
using System.Windows;
using System.Windows.Controls;
namespace Crystal.Plot2D.Charts
{
public abstract class LabelProvider<T> : LabelProviderBase<T>
{
public override UIElement[] CreateLabels(ITicksInfo<T> ticksInfo)
{
var ticks = ticksInfo.Ticks;
UIElement[] res = new UIElement[ticks.Length]... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Configuration;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Iris.Infrastructure.Contracts;
using Iris.Infrastructure.Contracts.Services;
using Iri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.