text stringlengths 13 6.01M |
|---|
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 SciVacancies.Domain.Enums;
using SciVacancies.Domain.Events;
using SciVacancies.ReadModel.Core;
using System;
using MediatR;
using NPoco;
using AutoMapper;
namespace SciVacancies.ReadModel.EventHandlers
{
public class OrganizationEventsHandler :
INotificationHandler<OrganizationCreated>,
I... |
using Models.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace Models.Repositories
{
public class TasksRepository : ITasksRepository
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Win32;
namespace Domain
{
public class ProjectService
{
private readonly ProjectRepository _repository;
public ProjectService(ProjectRepository repo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Xml.XPath;
using System.Diagnostics;
using System.Xml;
namespace RandomGenerator
{
/// <summary>
/// Provides features and styles that should be included for a given run.
... |
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 Sistema_de_Vendas
{
public partial class Frm_CadProdutos : Form
{
public Frm_C... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SpreedlyWebApp.Spreedly.SpreedlyModels
{
[JsonObject("transaction")]
public class SpreedlyTransactionRequest
{
[JsonProperty("payment_method_token")]
public string PaymentM... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SQMS.Services.Domain.QualityControl
{
public class TimeItem
{
private string timeItemId;
public string TimeItemId
{
get { return timeItemId; }
set { ti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using System.Xml;
using System.Windows.Forms;
using System.Data;
using DevExpress.XtraEditors;
using IRAP.Global;
using IRAP.WCF.Client.Method;
namespace IRAP.C... |
using UnityEngine;
using UnityEngine.UI;
using UnityEditor;
using UnityEditorInternal;
using System;
[CustomEditor(typeof(BookPro))]
public class BookProEditor : Editor
{
ReorderableList list;
Texture tex;
private void OnEnable()
{
tex = AssetDatabase.LoadAssetAtPath("Assets\\Book... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
//**********************************************************************
//
// 文件名称(File Name):AuthUtil.CS
// 功能描述(Description):
// 作者(Author):Aministrator
// 日期(Create Date): 2017-05-15 13:48:46 ... |
using EasyBuy.Models;
using EasyBuyCR.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace EasyBuy.Controllers
{
public class ClienteController : Controller
{
OracleConection con = OracleConection.obtenerInstancia();
// GE... |
using System.Linq;
using Newtonsoft.Json;
namespace Newbe.Claptrap.DataSerializer.Json
{
public class JsonEventDataStringSerializer : IEventDataStringSerializer
{
private readonly IClaptrapDesignStore _claptrapDesignStore;
public JsonEventDataStringSerializer(
IClaptrapDe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MintaZH1
{
class Film
{
string film_cím;
int ár;
List<int> értékelés = new List<int>();
public string Film_cím { get => film_cím; }
public int Á... |
using System.Windows.Controls;
namespace InRuleLabs.AuthoringExtensions.RuleAppMetrics.Controls
{
public class IrSeparator :
Separator
{
public IrSeparator()
{
DefaultStyleKey = ToolBar.SeparatorStyleKey;
}
}
}
|
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Payment.Api.RequestDto;
using Payment.Application.PaymentProcess.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Payment.Api.Controllers.v1
{
public class PaymentController ... |
namespace Mashup.Data.Model
{
public class Weather
{
public int ID { get; set; }
public int ID_user { get; set; }
public string City { get; set; }
public int Quantity { get; set; }
}
} |
namespace DChild.Gameplay.Player
{
public interface IAmbrosia
{
void AddValue(int value);
void ReduceValue(int value);
}
} |
using UnityEngine;
using System.Collections.Generic;
using DChild.Gameplay.Player.Inventories;
using System.Data;
using DChild.Databases.Content;
using Sirenix.OdinInspector;
using DChild.Gameplay.Combat;
namespace DChild.Databases
{
[System.Serializable]
public struct WeaponData : IInventoryData
{
... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class GetLightmap : MonoBehaviour
{
public GameObject GO;
public RenderTexture RT;
public Texture2D Lightmap;
public Shader GetSingleLightmap;
// Use this for initialization
void Start () {
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CarritoCompras.Modelo
{
public class Categoria
{
public string idcategoria { get; set; }
public string imagen { get; set; }
public string nombre { get; set; }
public Dictionary<string, Producto> produc... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Astar : MonoBehaviour
{
List<Vector3> PointsList;
int pointIndex;
public int jumpIndex;
Vector3 vec;
RaycastHit hit;
public List<Vector3> Search(GameObject start, GameObject target, float distance)
... |
using UnityEngine;
using System.Collections;
public class BallBoundary : MonoBehaviour {
public GameObject ballSpawnLocation;
public GameObject ballPrefab;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnTriggerEnter( Collider other)
... |
using NRaas.CommonSpace.Booters;
using NRaas.CommonSpace.Helpers;
using Sims3.Gameplay;
using Sims3.Gameplay.Abstracts;
using Sims3.Gameplay.Actors;
using Sims3.Gameplay.Autonomy;
using Sims3.Gameplay.Core;
using Sims3.Gameplay.Interactions;
using Sims3.Gameplay.Interfaces;
using Sims3.Gameplay.Objects;
using Sims3.Ga... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MainMenu : MonoBehaviour {
public Texture backgroundTexture;
void OnGUI(){
//Display our Background Texture
GUI.DrawTexture(new Rect(0, 0, Screen.width, Screen.height),backgroundTexture);
Time.timeScale = 0;
//b... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
[CreateAssetMenu(fileName = "QTE_Template_xxx_n", menuName = "Qte Template")]
public class Qte_Template : ScriptableObject
{
public string qteDescription = "Descripcion del QTE";
public int speed = 5;
pub... |
namespace Olive.Desktop.WPF.Behavior
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
public class ValidationBehavior
{
//public static int GetMyProperty(DependencyObject obj)
//{
// return (int)obj.G... |
using System.Configuration;
namespace Pe.Stracon.Politicas.Infraestructura.Core.Context
{
/// <summary>
/// Clase de datos constantes de la Base datos
/// </summary>
/// <remarks>
/// Creación: GMD 20140310 <br />
/// Modificación: <br />
/// </remarks>
public sealed clas... |
using UnityEngine;
using System.Collections;
public class Lamp : MonoBehaviour
{
public GameObject lamp;
public GameObject knew;
void start()
{
knew.SetActive (false);
}
void OnTriggerEnter ( Collider other )
{
if (other.gameObject.CompareTag ("Man"))
{
Destroy(lamp);
knew.SetActive (true);
... |
using UnityEngine;
namespace Submarines.Utilities.Extension
{
/**
* Extension methods for the GameObject class.
*/
public static class GameObjectExtensions
{
public static T GetOrAddComponent<T>(this GameObject gameObject) where T : Component
{
T component = gameObjec... |
using MassTransit;
using Ntech.Saga.Contracts;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Ntech.Saga.Service.Handling.Consumers
{
public class BookingFailedConsumer : IConsumer<IBookingFailedEvent>
{
public async Task Consume(ConsumeConte... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Weapon : MonoBehaviour
{
[Range(0, 3)] public float fireRate = 0.1f;
[Range(0, 100)] public float angle = 10.0f;
public int ammoMax = 100;
public GameObject projectile;
public Transform emitTransform;
... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using School.Domain.Models;
namespace School.Domain
{
public partial class SchoolContext : DbContext
{
public SchoolContext()
{
}
// public SchoolContext(DbContextOption... |
using EFTeste.Entidades.Entidades;
using System.Data.Entity.ModelConfiguration;
namespace EFTeste.DataModel.Map
{
public class ProfessorEspecialMap : EntityTypeConfiguration<ProfessorEspecial>
{
public ProfessorEspecialMap()
{
ToTable("ProfessorEspecial");
HasKey(p => p... |
/* Program Name: Movies Library System
*
* Author: Kazembe Rodrick
*
* Author Description: Freelancer software/web developer & Technical writter. Has over 7 years experience developing software
* in Languages such as VB 6.0, C#.Net,Java, PHP and JavaScript & HTML. Services offered include cu... |
using System;
using System.IO;
using System.ServiceProcess;
using System.Text;
namespace ServiceHost
{
static class Program
{
/// <summary>
/// Handles exceptions not caught by the rest of the application.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
static... |
using System;
namespace _01._Disneyland_Journey
{
class Program
{
static void Main(string[] args)
{
double journeyPrice = double.Parse(Console.ReadLine());
int months = int.Parse(Console.ReadLine());
double sumSaved = 0;
for (int i = 1; i <= mont... |
using ScheduleService.DTO;
using ScheduleService.Model;
using System.Collections.Generic;
namespace ScheduleService.Services
{
public interface IExaminationService
{
Examination Get(int id);
IEnumerable<Examination> GetFinishedByPatient(string jmbg);
IEnumerable<Examination> GetCancele... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
using Microsoft.AspNetCore.Authorization;
using service.Models;
namespace service.Controllers
{
[Produces("application/json")]
[Route("ap... |
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
namespace CronScheduler.Extensions.StartupInitializer;
/// <summary>
/// Allows to run async jobs on Program.cs.
/// </summary>
public interface IStartupJob
{
/// <summary>
/// Starts async job for <see cref="IHost"/>.... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PersonnelRecord
{
public partial class Position : Form
{
... |
using System.Net.Http;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace ServerApi.Services.Base
{
public abstract class SkautIsService
{
internal SkautIsHttpClient Client { get; }
protected SkautIsService()
{
Client = new SkautIsHttpClient();
}
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PatronAbstract_Factory
{
public class FabricaAlcohol : IFabricante
{
public IBebida crearBebida()
{
Alcohol Bebida = new Alcohol();
return Bebida;
}
}
}
|
using System;
using System.Data.SqlClient;
using System.IO;
using Microsoft.SqlServer.Management.Common;
using Microsoft.SqlServer.Management.Smo;
using SqlServerRunnerNet.ViewModel;
namespace SqlServerRunnerNet.Business
{
public static class SqlScriptRunner
{
public static bool RunSqlScriptOnConnection(string co... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.TagHelpers.Internal;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.DependencyInjection;
namespace Pobs.Web.Helpers
{
public static class HttpContextExtensions
{
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using YouOpine2.DataAccess;
namespace YouOpine2
{
public partial class IronManOp : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
... |
using NLog;
using SQLServerBackupTool.Web.Models;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Web.Mvc;
using System.Web.Routing;
namespace SQLServerBackupTool.Web.Lib.Mvc
{
[Authorize]
public abstract partial class ApplicationController : Controller, IFlashMessageProvider
{... |
using System.Data.Entity.ModelConfiguration;
using AppStore.Domain.Orders;
namespace AppStore.Infra.Data.Persistence.EF.Configurations
{
public class CreditCardTransationConfiguration : EntityTypeConfiguration<CreditCardTransation>
{
public CreditCardTransationConfiguration()
{
bas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace J4F.Models
{
public class LoginViewModal
{
public bool Success { get; set; }
public string ReturnUrl { get; set; }
public string ErrorMessage { get; set; }
}
public class... |
using BlazorWA.Shared.Entidades;
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using static BlazorWA.Client.Shared.MainLayout;
namespace BlazorWA.Client.Pages
{
public class CounterBase:ComponentBa... |
using Owin;
using RRExpress.Common.Extends;
using RRExpress.Moq.Auth;
using System.Web.Http;
namespace RRExpress.Service {
public class Startup {
public void Configuration(IAppBuilder app) {
var config = new HttpConfiguration();
//支持直接路由
config.MapHttpAttributeRoutes... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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.Windows.Navigati... |
using AutoTests.Framework.Web.Attributes;
using AutoTests.Framework.Web.Common.Handlers;
namespace AutoTests.Framework.Tests.Web.Elements
{
public class Input : DemoElement
{
[FromLocator]
public string Locator { get; private set; }
public Input(Application application) : base(applica... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace SSISTeam9.Models
{
public class Inventory: IComparable<Inventory>
{
public long ItemId { get; set; }
[Display(Name = "Item Code")]
[Required]
... |
using Client.Bussness;
using Client.Helpers;
using Client.Helpers.Manager;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using Page.Note.Comment.Message;
using Sardf.Helpers;
using System;
using System.ComponentModel;
using System.IO;
using WPF.NewClientl.UI;
using WPF.NewClientl.UI.OfficeNote... |
using System;
using System.Collections.Generic;
using System.Linq;
/*
* tags: counting sort, radix sort
* Time(n), Space(n)
*/
namespace alg.tree
{
public class BinarySearchTree
{
public IList<int> InorderTraversal(TreeNode root)
{
var ret = new List<int>();
InorderT... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _10._Predicate_Party_
{
class Program
{
static void Main(string[] args)
{
var people = Console.ReadLine().Split(' ',StringSplitOptions.RemoveEmptyEntries).ToList();
var command = Console.ReadLi... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZM.TiledScreenDesigner
{
public class ImageJsonConverter : JsonConverter
{
public ov... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WebApplication1.Models;
namespace WebApplication1.Controllers
{
public class ItemsController : ApiController
{
public const string select = @"Select
Record... |
namespace SubC.Attachments {
using UnityEngine;
using System.Collections.Generic;
using ClingyPhysics;
[CreateAssetMenu(fileName = "New Physics One-to-One Strategy",
menuName = "Clingy/Attach Strategies/Physics One-to-One Strategy")]
public class PhysicsOneToOneStrategy : OneToOneAttachStrateg... |
using WitsmlExplorer.Api.Jobs.Common;
using System.Collections.Generic;
namespace WitsmlExplorer.Api.Jobs
{
public class DeleteLogObjectsJob
{
public IEnumerable<LogReference> LogReferences { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
using Caserraria.Items;
namespace Caserraria.Items.Healing
{
public class StalwartPotion : ModItem
{
public override void SetStaticDefault... |
using Alabo.Cloud.Cms.Votes.Domain.Entities;
using Alabo.Domains.Repositories;
using MongoDB.Bson;
namespace Alabo.Cloud.Cms.Votes.Domain.Repositories
{
public interface IVoteRepository : IRepository<Vote, ObjectId>
{
}
} |
using Masuit.LuceneEFCore.SearchEngine.Interfaces;
using System.Collections.Generic;
namespace Masuit.LuceneEFCore.SearchEngine
{
/// <summary>
/// 搜索结果集
/// </summary>
/// <typeparam name="T"></typeparam>
public class SearchResultCollection<T> : ISearchResultCollection<T>
{
/// <summa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EmirateHMBot.Models
{
public class CompanyStatut
{
public string CompanyName { get; set; }
public string CompanyCode { get; set; }
public string CompanyStatus {... |
using System;
namespace com.Sconit.Entity.SYS
{
[Serializable]
public partial class Menu : EntityBase
{
#region O/R Mapping Properties
public string Code { get; set; }
public string Name { get; set; }
public string ParentMenuCode { get; set; }
public Int32 Sequence { ge... |
/* The MIT License (MIT)
*
* Copyright (c) 2018 Marc Clifton
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Security.Principal;
using System.Text;
using System.Web;
using System.Web.Http.Filters;
using Integer.Domain.Acesso;
using Integer.Domain.Paroquia;
using Integer.Infrastructure.Criptografia;
using Integer.Infrastructure.I... |
using System.Collections;
using UnityEngine;
public class Road : MonoBehaviour
{
public bool isMoveByAnim = false;
public int numberOfMove = 0;
public float deltaMoveTime = 0.4f;
public float timeAdded = 10;
public float speed = 10;
private float timeToMove = 0;
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Net.Http;
using Newtonsoft.Json.Linq;
using CEMAPI.DAL;
using CEMAPI.Models;
namespace CEMAPI.BAL
{
public class TECustomisationOrderBAL
{
RecordExceptions excepton = new RecordExceptions();
HttpRe... |
namespace P08MilitaryElite.Factories
{
using System;
using System.Collections.Generic;
using System.Linq;
using Interfaces;
using Interfaces.Factories;
public class FactoryMethod<T> : IFactoryMethod<T> where T : ISoldier
{
private ICollection<IPrivate> currentPrivates;
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CIS016_2.Week3.Enums
{
public enum ClockHandEnum
{
HourHand,
MinuteHand,
SecondHand
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace MoqTest.Model
{
class Employee : IEmployee
{
private string _fistName;
private string _lastName;
public Employee(string firstName, string lastName)
{
_fistName = firstName;
_la... |
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 OcTur.Control;
using OcTur.DTO;
namespace OcTur.View
{
public partial class FrmCompraPassagen... |
using System;
using System.Threading.Tasks;
namespace FeriaVirtual.Domain.SeedWork.Commands
{
public abstract class CommandHandlerWrapper
{
public abstract Task Handle
(Command command, IServiceProvider provider);
}
public class CommandHandlerWrapper<TCommand>
: Command... |
using System;
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
class EntpTests41
{
[Test]
public void SearchByNameAndPositionEmptyCollection()
{
IEnterprise enterprise = new Enterprise();
Employee employee = new Employee("a", "123", 62342, Position.Hr, DateTime.Now);
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace LoLInfo.Custom
{
public partial class CustomImageCell : ViewCell
{
public CustomImageCell()
{
InitializeComponent();
}
}
}
|
public class Solution {
public int LongestValidParentheses(string s) {
int res = 0;
int[] dp = new int[s.Length];
for (int i = 1; i < s.Length; i++) {
if (s[i] == '(') {
dp[i] = 0;
} else {
if (s[i-1] == '(') {
dp[i]... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Data
{
public enum CardType
{
Visa,
MasterCard,
Amex
}
[Serializable()]
public class CreditCard
{
public CardType CardType { get; set; }... |
//using System.Collections;
//using System.Collections.Generic;
//using UnityEngine;
//[CreateAssetMenu]
//public class StatConstraintEvent : RandomEncounterEvent
//{
// [SerializeField]
// private StatConstraint[] statConstraints;
// [Tooltip("[0] = 1 option 0은 case 1개를 사용")]
// [SerializeField]
// ... |
using Microsoft.EntityFrameworkCore;
using Sentry.Internal.DiagnosticSource;
using Sentry.PlatformAbstractions;
namespace Sentry.DiagnosticSource.Tests.Integration.SQLite;
public class SentryDiagnosticListenerTests
{
private class Fixture
{
private readonly Database _database;
public IHub Hub... |
using Beeffective.Data;
using Beeffective.Data.Entities;
using Beeffective.Models;
using NUnit.Framework;
namespace Beeffective.Tests.Models.HoneycombModelTests
{
class TestFixture
{
[SetUp]
public virtual void SetUp()
{
Repository = new CellRepository();
Reposit... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace iSukces.Code.Interfaces
{
public interface ITypeNameResolver
{
string GetTypeName(Type type);
}
public static class TypeToNameResolverExtensions
{
public static string GetEnumFlagsValueCode<T>(this ITypeNa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FactoryProject
{
class Employee
{
private string firstName;
public string FirstName
{
get { return firstName; }
set { firstName = value; }
}
private string lastName;
... |
using TodoApp.DataContracts;
namespace TodoApp.Data
{
public class UnitOfWork: IUnitOfWork
{
private readonly AppDbContext _dbContext;
public UnitOfWork(AppDbContext dbContext)
{
_dbContext = dbContext;
}
public void Commit()
{
_dbContex... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OrbitCode : MonoBehaviour {
GameObject flyingObject;
public Transform orbitpt;
enemyScript flying;
Rigidbody2D rb;
Animator anim;
// Use this for initialization
void Start () {
flyingObject ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LightBoxRectSubForm.data {
public class LBMsg : ICloneable {
public event EventHandler EventIdChanged;
public bool runAble;
private int id;
/// <summary>... |
using System;
namespace gView.GraphicsEngine.Abstraction
{
public interface IPen : IDisposable
{
ArgbColor Color { get; set; }
float Width { get; set; }
LineDashStyle DashStyle { get; set; }
LineCap StartCap { get; set; }
LineCap EndCap { get; set; }
LineJoin ... |
using System.Web.Mvc;
namespace DevExpress.Web.Demos {
public partial class GridViewController : DemoController {
public ActionResult Paging() {
return DemoView("Paging", NorthwindDataProvider.GetCustomers());
}
public ActionResult PagingPartial() {
return PartialVie... |
using System;
using System.Collections.Generic;
using System.Text;
namespace TestHouse.DTOs.DTOs
{
public class SuitDto
{
public long Id { get; set; }
public IEnumerable<SuitDto> Suits { get; set; }
public IEnumerable<TestCaseDto> TestCases { get; set; }
public string Name { ... |
using System;
/**
* 请求服务地址 配置
*
*/
namespace CRL.Business.OnlinePay.Company.Lianlian
{
public class ServerURLConfig
{
public static string PAY_URL = "https://yintong.com.cn/payment/bankgateway.htm"; // 连连支付WEB收银台支付服务地址
public static string QUERY_USER_BANKCARD_URL = "https://yintong.com.cn/traderapi/userbankcar... |
using Microsoft.EntityFrameworkCore;
using MyNiceBlog.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MyNiceBlog.DataLayer
{
public class PostdbContext : DbContext
{
public PostdbContext(DbContextOptions
<PostdbContext> options) : ... |
namespace Processing.Activities.Retrieve
{
using System;
public interface ReservationLog
{
Guid ReservationId { get; }
Guid RequestId { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GodaddyWrapper.Responses
{
public class CloudServerActionResponse
{
public string Status { get; set; }
public string ServerActionId { get; set; }
public bool CreatedAt { get; set;... |
using NASTYADANYA;
using NUnit.Framework;
namespace NASTYADANYATest
{
[TestFixture]
public class AbsTests
{
[TestCase(-6, 6)]
[TestCase(98, 98)]
[TestCase(-144, 144)]
public void CalculateTest(double firstValue, double expected)
{
var calculator = new Ab... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MarioKart
{
public class Corredor
{
public Corredor(string nome, Habilidade habilidade)
{
this.Nome = nome;
this.NivelHabilidade = habilidade;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ApartmentApps.Client.Models;
using ResidentAppCross.Extensions;
namespace ResidentAppCross.ViewModels.Screens
{
public class MaintenanceCheckinDetailsViewModel : ViewModelBase
{
p... |
#region copyright
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIE... |
//**********************************************************************************
//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd.
//**********************************************************************************
#region Apache License
//
// Licensed under the Apache License, Version 2.0 (the "License");
// yo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using AspNetAngular.Model;
namespace AspNetAngular.Controllers
{
[Route("api/controllers")]
[ApiController]
public class RepCompletion : Con... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.