text stringlengths 13 6.01M |
|---|
using MinecraftToolsBoxSDK;
using System.Collections.ObjectModel;
using System.Windows;
using System.Windows.Controls;
namespace MinecraftToolsBox.Commands
{
/// <summary>
/// MobSpawner.xaml 的交互逻辑
/// </summary>
public partial class MobSpawner : Grid, ICommandGenerator
{
public CommandsGe... |
using AdminAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AdminAPI.ServiceContract
{
interface ICurrency_Repository: IDisposable
{
Task<List<CurrencyMaster>> GetAll();
Task<CurrencyMaster> GetById(int Id);
Task<Lis... |
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using Autofac;
using Autofac.Integration.Web;
using Autofac.Integration.Mef;
using Foundry.Services;
using Foundry.Messaging.Infrastructure;
using System.ComponentModel.Composition.Hosting;
using Foundry.SourceControl;
usin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameSessionManagerScript : MonoBehaviour {
public int MaxLaps = 3;
private bool gameOver = false;
private void EndGame(){
gameOver = true;
}
public void NotifyLap(SteeringScript car) {
if (!gameOver && car.Lap... |
using Uintra.Infrastructure.TypeProviders;
namespace Uintra.Features.Notification
{
public interface INotifierTypeProvider : IEnumTypeProvider
{
}
}
|
WriterT (Identity (
(),
Seq (Assign "arg" (Const (I 10))) (
Seq (Assign "scratch" (Var "arg")) (
Seq (Assign "total" (Const (I 1))) (
Seq (While (Gt (Var "scratch") (Const (I 1))) (
Seq (Assign "total" (Mul (Var "total") (Var "scratch"))) (
Seq (Assign "scratch" (Sub (Var "scratch") (Const (I 1)))... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using UnityEngine.EventSystems;
using UnityEngine.Analytics;
using System.Collections;
using System.Collections.Generic;
using System;
using System.Linq;
using Hakaima;
using GoogleMobileAds.Api;
public class GameManager : MonoBehaviour
... |
using Trace = Sentry.Protocol.Trace;
namespace Sentry.Tests.Protocol.Context;
public class TraceTests
{
private readonly IDiagnosticLogger _testOutputLogger;
public TraceTests(ITestOutputHelper output)
{
_testOutputLogger = new TestOutputDiagnosticLogger(output);
}
[Fact]
public void... |
using System;
namespace Ibit.Core.Data
{
[Serializable]
public class Pacient
{
public static Pacient Loaded;
public int Id;
public string Name;
public Sex Sex;
public DateTime Birthday;
public Capacities Capacities;
public string Observations;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BallMovement : MonoBehaviour
{
public float speed = 200f;
public Rigidbody2D rb;
public Vector3 startPosition;
// Start is called before the first frame update
void Start()
{
startPosition = th... |
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 Word = Microsoft.Office.Interop.Word;
using System.Diagnostics;
namespace WorldTemplate
{
publ... |
namespace Airelax.Infrastructure.ThirdPartyPayment.ECPay.Request
{
public class TransactRequestData
{
public string PlatformId { get; set; }
public string MerchantId { get; set; }
public string PayToken { get; set; }
public string MerchantTradeNo { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using UIKit;
using Foundation;
using Aquamonix.Mobile.Lib.Database;
using Aquamonix.Mobile.IOS.Views;
using Aquamonix.Mobile.Lib.Domain;
using Aquamonix.Mobile.Lib.ViewModels;
using Aquamonix.Mobile.Lib.Utilities;
using Aquamonix.Mobile.Lib.Domain.Res... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EvrakArşiv.Models
{
public class MyDbInitializer : DropCreateDatabaseAlways<DBContext>
{
protected override void Seed(DBContext dc)
{
... |
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 SimpleLogin.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleLogin.Application.Interfaces
{
public interface IUserProfileAppService : IAppServiceBase<UserProfile>
{
}
}
|
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.DependencyInjection;
using aspnetHosting = Microsoft.AspNetCore.Hosting;
namespace ChatR.Server
{
public class Startup
... |
using MiEscuela.COMMON.Entidades;
using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Text;
namespace MiEscuela.COMMON.Interfaces
{
public interface ICompanieroManager : IGenericManager<Companiero>
{
List<Companiero> CompanieroDeUsuario(ObjectId idUsuario);
}
}
|
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Condition of type `Vector2`. Inherits from `AtomCondition<Vector2>`.
/// </summary>
[EditorIcon("atom-icon-teal")]
public abstract class Vector2Condition : AtomCondition<Vector2> { }
} |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
namespace EmberCore.KernelServices.UI.View
{
public interface ICoreWpfPlugin
{
void BuildApplication(Application application);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BinPacking
{
class Program
{
static void Main(string[] args)
{
int capacity = 10;
int[] w = { 3, 6, 2, 1, 5, 7, 2, 4, 1, 9 };
Bins ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DSM.ImportData.Resolvers;
using DSM.ImportRegions;
using XH.Infrastructure.Domain.Models;
using XH.Infrastructure.Domain.Repositories;
namespace DSM.ImportData.Tasks
{
public abstract class Im... |
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace PersonnelRecord.Integration
{
public class Output
{
private IntegrationModel integrationModelCreate()
{
_D_... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc; // dodato da bi se koristilo SelectList
namespace Knjizara.Models
{
public class StavkaNarudzbenicaZaposleni
{
// izabrana vrednost u metodi IzaberiArtikal
public static int IdArtikla { g... |
using UnityEngine;
using System.Collections;
/// <summary>
/// リザルト画面に出てくる爆弾
/// </summary>
public class ResultBomb : MonoBehaviour
{
//爆発のパーティクル、子オブジェクト
private ParticleSystem boomParticle;
//collision
Collider[] bombColl;
//rigidbody
Rigidbody rb;
void Start()
{
//パーティクル
... |
using System;
using System.Linq;
using System.Web.Mvc;
using DataAccess;
using DataAccess.Repositories;
using FirstMvcApp.Elastic;
using FirstMvcApp.Models;
using FirstMvcApp.Utils;
namespace FirstMvcApp.Controllers
{
public class ProductController : Controller
{
private readonly IProductRepository m_... |
using EduHome.DataContext;
using EduHome.Models.Entity;
using EduHome.ViewModels;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EduHome.Controllers
{
public class EventController : Con... |
using System.Collections;
using UnityEngine;
namespace Assets.Scripts.Service
{
public class CameraZoomService : MonoBehaviour
{
public delegate void ZoomedOut();
public ZoomedOut onZoomedOut;
[SerializeField] private GameObject _blocksParent;
[SerializeField] private ... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Enemy : MonoBehaviour
{
public ParticleSystem explosion;
public Image healthImage;
public float Health;
public float MaxHealth;
public float Damage;
public float Speed;
public int Score;
public Animatio... |
using ArquiteturaLimpaMVC.Aplicacao.Produtos.Commands;
using ArquiteturaLimpaMVC.Dominio.Entidades;
using ArquiteturaLimpaMVC.Dominio.Interfaces;
using MediatR;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace ArquiteturaLimpaMVC.Aplicacao.Produtos.Handlers
{
public class RemoverProdu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovemet : MonoBehaviour
{
public GameObject playerCreatPoint;
public PlayerJumpMechanism pjm;
public SpinMechanisum sm;
Vector3 positionAtStart;
Quaternion rotationAtstart;
Rigidbody selfRigitbod... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
using Xamarin.Forms;
using KSF_Surf.ViewModels;
using KSF_Surf.Models;
using System.Collections.ObjectModel;
namespace KSF_Surf.Views
{
[DesignTimeVisible(false)]
public partial class RecordsTopCountri... |
using System;
using System.Collections;
// L-System rule class
public class rules
{
public rules(char index, string rule) {
this.Index = index;
this.Rule = rule;
}
// The character corresponding to the associated rule.
private char _Index;
public char Index {
set... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class NPCSimplePatrol : MonoBehaviour
{
//Dictates whether the agent waits on each node.
[SerializeField]
bool patrolWaiting;
//The total time we wait at each node.
[SerializeField]
flo... |
using System.ComponentModel.DataAnnotations;
namespace Alabo.Cloud.School.BookingSignup.Domain.Enums
{
/// <summary>
/// 活动状态
/// </summary>
public enum BookingSignupState
{
/// <summary>
/// 预定
/// </summary>
[Display(Name = "预定中")] Book = 1,
/// <... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Timeclock.Core.Domain;
using TimeClock.Data.Models;
namespace TimeClock.Data
{
public class TimeReportDaily : ITimeReportDaily
{
public DateTime Date { get; set; }
public I... |
using EmberKernel.Plugins;
using EmberKernel.Plugins.Models;
using EmberKernel.Services.UI.Mvvm.ViewComponent.Window;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Windows.Input;
namespac... |
using UnityEngine;
using System.Collections;
using UnityEngine.Networking;
class MBCRequestLogin : MessageBase {
public string networkmsg = "";
}
public class GameClient : MonoBehaviour {
public NetworkClient Client;
public string msg = "test";
public bool connected = false;
private string stringport = "";
pr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace TCPServer
{
class Server
{
static List<ClientHandler> serverCH = new List<ClientHandler>();
static void... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace UnitTests.Utils
{
internal static class EnumerableExtensions
{
public static void ForEach<T>(this IEnumerable<T> source, Action<T, int> action)
{
// ReSharper disable ReturnValueOfPureMethodIsNotUsed
... |
using System.Data.Entity.ModelConfiguration;
using Properties.Core.Objects;
namespace Properties.Infrastructure.Data.Mapping
{
public class CertificateMap : EntityTypeConfiguration<Certificate>
{
public CertificateMap()
{
Property(x => x.CertificateReference)
.HasMa... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapaDatos
{
public class DOrdenCompra
{
SqlConnection cn;
public DataTable SelectOrdenesCompra()
{
... |
using System.Drawing;
namespace SpreadsheetGUI
{
public class Client
{
public Color Color;
public string SelectedCell;
}
} |
using System;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using Vanara.InteropServices;
using static Vanara.PInvoke.Ole32;
using FILETIME = System.Runtime.InteropServices.ComTypes.FILETIME;
namespace Vanara.PInvoke
{
/// <summary>Platform invokable enumerated types, constants and func... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OgrenciTakip.Models.Kullanicilar
{
public class LoggedInUser
{
public static string KullaniciAdi { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VJBatangas.LomiHouse.Data;
using VJBatangas.LomiHouse.Entity;
using VJBatangas.LomiHouse.Common;
using Microsoft.Practices.EnterpriseLibrary.Data;
namespace VJBatangas.LomiHouse.Business
{
public class BSUser
{
... |
using System.Collections.Generic;
namespace Mio.TileMaster {
/// <summary>
/// Model class, used to store all data belongs to a game session
/// </summary>
public class GameStateModel {
}
} |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace eMAM.Data.Migrations
{
public partial class init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TouchRotate : MonoBehaviour {
Vector2 currentPosition = Vector2.zero;
Vector2 lastPosition = Vector2.zero;
Vector2 deltaPosition = Vector2.zero;
public float rotateSpeed = 0.5f;
public int axis = 1;
//... |
using UnityEngine;
using UnityEngine.Networking;
using System.Collections;
using DFrame;
using DAV;
namespace DPYM
{
/// <summary>
/// 游戏元素(引擎功能部分定义)
/// </summary>
public partial class GameElement
{
/* 功能实现 */
// 引擎功能函数
protected virtual void Awake()
{
... |
using AkkaOverview.Providers.Models;
using System;
using System.Collections.Generic;
namespace AkkaOverview.Providers.Contracts
{
public interface IStreamProvider
{
void GetData(string instrument, Action<IEnumerable<Candle>> callback);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using HtmlAgilityPack;
namespace Comics.Core.Parsers
{
public static class DilbertParser
{
public static ComicParseResult Parse(string html)
{
if (html == null) throw new ArgumentNullException(nameof(ht... |
using ApiTests.Helpers;
using ApiTests.Models;
using System.Net;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ApiTests.Test
{
[TestClass]
public class LoginTests
{
[TestMethod]
public void LogInSuccessfully()
{
var loginData = new UserModel() { username... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... |
namespace DependencyInjectionTest.NoInjection
{
/// <summary>
/// Class with high coupling, high dependence and highly cohesive.
/// </summary>
public class Company
{
public Company(Address pAddress)
{
_address = pAddress;
}
private int _cod;
pu... |
using MySql.Data.MySqlClient;
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... |
using System;
namespace Phenix.Security.Business
{
/// <summary>
/// 用户可授权角色
/// </summary>
[Serializable]
[Phenix.Core.Mapping.ReadOnly]
public class UserGrantRoleReadOnly : UserGrantRole<UserGrantRoleReadOnly>
{
}
/// <summary>
/// 用户可授权角色清单
/// </summary>
[Serializable]
public class User... |
namespace TwitCreds
{
public class SettingsConstants
{
public const string CONSUMER_KEY = nameof(CONSUMER_KEY);
public const string CONSUMER_SECRET = nameof(CONSUMER_SECRET);
public const string ACCESS_TOKEN = nameof(ACCESS_TOKEN);
public const string ACCESS_TOKEN_SECRET = nameo... |
using System;
using System.Collections.Generic;
using System.Text;
namespace gView.Drawing.Pro
{
static class Extensions
{
}
}
|
using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Double;
namespace CORE.Многомерные
{
public class HookeJeevesPs : OptimisationMethod
{
private readonly double _rho;
public HookeJeevesPs(double rho = 0.5): base("Хук-Дживс [Pattern Search]", 1e-5, null, null)
... |
using EngineLibrary.Collisions;
using EngineLibrary.Components;
using EngineLibrary.Graphics;
using System.Collections.Generic;
namespace GameLibrary.Components
{
/// <summary>
/// Компонент коллайдера
/// </summary>
public class ColliderComponent : ObjectComponent
{
private static List<Ob... |
using System;
namespace Delegates
{
public class ResizeEffect : IEffect
{
public void Apply(IPicture pic)
{
Console.WriteLine("Applies resize");
}
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace Domain.Interfaces
{
public interface IGenericRepository<T> where T : class
{
void Add(T entity);
}
}
|
using System.Collections.Generic;
namespace AzureAI.CognitiveSearch.CustomSkills.Infrastructure.Model
{
public class WebApiSkillRequest
{
public List<WebApiRequestRecord> Values { get; set; } = new List<WebApiRequestRecord>();
}
}
|
using System.Net;
namespace WebApi.Responses
{
public class WebApiNotFoundResponse : WebApiResponse
{
public WebApiNotFoundResponse(string message = null)
: base(HttpStatusCode.NotFound, message)
{
}
}
}
|
namespace TripDestination.Common.Infrastructure.Constants
{
public class AssembliesConstants
{
public const string Services = "TripDestination.Services";
}
}
|
using System.Threading;
using System.Web.Query.Dynamic;
using Framework.Core.Common;
using Framework.Core.Config;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
namespace Tests.Pages.Oberon.Dashboard
{
public class Dashboard : DashboardBasePage
{
#region Page Objects
... |
using Xunit;
namespace Anagram
{
public class AnagramTest
{
[Fact]
public void AnagramTest_StringsMatchTrue()
{
var testAnagram = new Anagram();
Assert.Equal(true, testAnagram.IsAnagram("n", "n"));
}
[Fact]
public void AnagramTest_StringsMatchFalse()
{
var testAnagram =... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CurrentValueScript : MonoBehaviour {
private Text text;
private IEnumerator changingValueDisplayedCoroutine;
private SliderScript sliderScript;
void Awake() {
text = GetComponent<... |
using AsyncClasses;
using Contracts.Callback;
using Contracts.ContentOps;
using System.Collections.Generic;
using System.IO;
using System.ServiceModel;
using System.Threading;
using System.Threading.Tasks;
namespace Services.ContentOps
{
[ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple, InstanceContextMod... |
using Microsoft.Extensions.Logging;
using Yalla_Notlob_Akl.DB;
using Yalla_Notlob_Akl.Models;
namespace Yalla_Notlob_Akl.Controllers
{
public class ItemsController : BaseController<Item,ItemDao>
{
private readonly ILogger<ItemsController> _logger;
public ItemsController(ILogger<ItemsC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Utilities;
namespace PersonalSafetyOptions
{
public partial class PistolMain : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Clinica_Odontologica.Dados;
using Clinica_Odontologica.Models;
using Microsoft.AspNetCore.Mvc;
namespace Clinica_Odontologica.Controllers
{
public class PacienteController : Controller
{
... |
namespace Sitecore.AntiPackageWizard.Util
{
using Sitecore.Data;
using Sitecore.Data.Managers;
using Sitecore.Diagnostics;
using Sitecore.Install;
using Sitecore.Install.Files;
using Sitecore.Install.Framework;
using Sitecore.Install.Items;
using Sitecore.Install.Zip;
using Sitecore... |
//
// --------------------------------------------------------------------------
// Gurux Ltd
//
//
//
// Filename: $HeadURL: svn://utopia/projects/GXDeviceEditor/Development/AddIns/DLMS/UIPropertyEditor.cs $
//
// Version: $Revision: 870 $,
// $Date: 2009-09-29 17:21:48 +0300... |
using FeedbackAndSurveyService.SurveyService.Model;
namespace FeedbackAndSurveyService.SurveyService.Service
{
public interface ISurveyReportService
{
SurveyReport GetDoctorSurveyReport(string jmbg);
SurveyReport GetHospitalSurveyReport();
SurveyReport GetMedicalStaffSurveyReport();
... |
namespace NHibernate.DependencyInjection.Tests.Model
{
public class CatBehavior
{
public string Meow()
{
return "meow";
}
public string Purr()
{
return "purrrrr.......purrrrr......";
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using AnyTest.ClientAuthentication;
using Microsoft.AspNetCore.Identity;
using AnyTest.IDataRepository;
using AnyTest.Model;
using Microsoft.AspNetCore.Http;
using System.Web;
usin... |
//using gView.DataSources.Fdb.MSAccess;
//using gView.DataSources.Fdb.MSSql;
//using gView.Framework.Data;
//using gView.Framework.FDB;
//using gView.Framework.system;
//using System;
//using System.Collections.Generic;
//using System.Data;
//using System.IO;
//using System.Threading.Tasks;
//namespace gView.DataSourc... |
using UnityEngine;
namespace PJEI.Lanes {
[RequireComponent(typeof(InputControl))]
public class LaneCreator : MonoBehaviour {
/// <summary>
/// Position used as reference to create the others from.
/// </summary>
public Transform originLane;
/// <summary>
/// ... |
using System.Collections.Generic;
using Fingo.Auth.Domain.Models.UserModels;
namespace Fingo.Auth.Domain.Users.Interfaces
{
public interface IGetAllFromProjectUser
{
IEnumerable<UserModel> Invoke(int projectId);
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
public const string _httpServerAdrees = "https://localhost:44338/";
public string HttpServerAdrees
{
get
{
return _httpServerAdrees;
}
... |
using DPI.Model;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace XUnitTestBusinnesLayer
{
public class DPITestUnit
{
[Fact]
void TestFactory()
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.IO.IsolatedStorage;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lottery.Entities;
using Lottery.Interfaces.Analyzer;
namespace Lottery.Service.Analyzer
{
public class SequenceOrderAnalyzer : IAnalyzer
{
public ... |
using System;
namespace EcoCombustivel.Modelo
{
public class Controle
{
public double CalcularEtanol(Combustivel combustivel)
{
//etanol
return combustivel.Etanol(combustivel.CustoEtanol, combustivel.KmEtanol);
}
public Double CalcularGasolina(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CellsSimulation.Abstact
{
abstract class KeyControl
{
public virtual bool React(ref int x, ref int y, PressEvent press) => false;
public virtual bool StartEvent(PressEv... |
using System;
using System.Linq;
using MultiplayerEmotes.Framework.Patches;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
namespace MultiplayerEmotes.Framework.Network {
public class MultiplayerModMessage {
private readonly IModHelper helper;
public MultiplayerModMessage(IModHe... |
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NLog.Web;
namespace BingusBot
{
internal static class Program
{
private static async Task Main(string[] args)
{
var services = new ServiceCollection();
... |
using System;
using System.Windows.Forms;
using Microsoft.Win32;
namespace SetLockScreenForAllUser
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void setLockScreen(string imgPath)
{
RegistryKey key = Reg... |
using System;
using AutoMapper;
using Microsoft.Practices.Unity;
using OrgMan.Data.UnitOfWork;
using OrgMan.Domain.Handler.HandlerBase;
using OrgMan.DomainContracts.Session;
namespace OrgMan.Domain.Handler.Session
{
public class CreateSessionQueryHandler : QueryHandlerBase
{
private readonly CreateSes... |
namespace Template
{
using System;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
public class Template : IDisposable
{
private const string CodeExpressionOpenBracket = "[%";
private const string CodeExpressionCloseBracket = "%]";
private con... |
using System.Collections.Generic;
namespace NetDDD.Core.Contracts
{
/// <summary>
/// Represents a domain entity.
/// </summary>
/// <typeparam name="TId">Unique identifier of the entity.</typeparam>
public interface IEntity<TId>
{
/// <summary>
/// Gets the identity of the ent... |
using System.Net.Http;
using System.Web.Http;
using ExpenseBucket.Core;
using ExpenseBucket.Core.Entities;
namespace ExpenseBucket.WebApi.Controllers
{
[RoutePrefix("expensebucketapi/category")]
public class CategoryController : ApiController
{
private readonly IUnitOfWork _unitOfWork;
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Unidade8.ExercicioSlides
{
class _4forWhile
{
static void Main11(string[] args)
{
Console.Write("Informe um valor a ser divido pelo maior valor inteiro do v... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using appglobal.models;
using Newtonsoft.Json;
using M... |
using System.Runtime.Serialization;
namespace EpisodeRenaming {
[DataContract]
public class TraktTvShow {
[DataMember( Name = "title" )]
public string Title { get; set; }
[DataMember( Name = "overview" )]
public string Overview { get; set; }
[DataMember( Name = "year... |
using AbiokaScrum.Api.Data;
using AbiokaScrum.Api.Entities;
using AbiokaScrum.Api.Exceptions;
using AbiokaScrum.Api.Helper;
using System;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace AbiokaScrum.Api.Contollers
{
[RoutePrefix("api/Board")]
public class BoardController : BaseRepo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DbConnector.Core.Extensions
{
public static class TypeExtensions
{
public static bool IsNumeric(this Type tType)
{
return (tType.IsPrimitive && !(
tType == typeof(bool... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Threading.Tasks;
using AltinnIntegrator.Functions.Config;
using AltinnIntegrator.Functions.Models;
using Azure.Storage.Queues;
using Microsoft.Extensions.Options;
namespace AltinnIntegrator.Functions.Services.Implementation
{
///... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlTypes;
namespace SNORM
{
/// <summary>Represnts a column in a SQL table.</summary>
public class SqlColumnInfo
{
#region Properties
/// <summary>Gets or sets the name.</summary>
public string Na... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.