text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FunctionalProgramming.Basics;
using FunctionalProgramming.Monad.Outlaws;
using FunctionalProgramming.Monad.Transformer;
using FunctionalProgramming.Tests.Util;
using Microsoft.VisualStudio.TestTool... |
namespace DeMo.Models.model
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("BinhLuan")]
public partial class BinhLuan
{
[Key]
publ... |
public class Expense
{
public string Category { get; set; }
public decimal Amount { get; set; }
public bool HasDocument {get; set; }
public System.DateTime day {get; set; }
} |
using System.Collections;
using System.Collections.Generic;
public interface Database_IDatabaseConnector
{
void TestDatabaseConnection();
IEnumerator LoginUser(string login, string password);
IEnumerator UpdateScore(int playerId, int worldId, int score);
IEnumerator RegisterUser(string login, string password, str... |
using System;
using System.Collections.Generic;
namespace PizzaBox.Client.Models
{
public partial class Pizzas
{
public int? Topping { get; set; }
public Guid? Orderid { get; set; }
public int Id { get; set; }
public virtual Orders Order { get; set; }
public virtual To... |
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public float speed = 6f;
Vector3 movement;
Animator anim;
Rigidbody playerRigidBody;
int floorMask;
float camRayLength = 100f;
Vector2 direct;
void Awake ()
{
floorMask = LayerMask.GetMask ("Floor");
anim... |
using System.Collections.Generic;
using Umbraco.Core.Models.PublishedContent;
namespace Uintra.Features.CentralFeed.Providers
{
public interface IFeedContentProvider
{
IPublishedContent GetOverviewPage();
IEnumerable<IPublishedContent> GetRelatedPages();
}
}
|
//using System.Collections;
//using System.Collections.Generic;
using UnityEngine;
public class TowerRight : MonoBehaviour
{
public GameManager gm;
public TowerLeft left;
public TowerMid mid;
public Color originRightColor;
private void OnMouseDown()
{
//아무것도 선택 안되어있을 때.
if (!gm... |
using UnityEngine;
using System.Collections;
public class MovesLeftSystem : MonoBehaviour
{
public TextMesh textMovesLeft;
public int movesLeft;
void Start()
{
PlayerPrefs.SetInt("movesLeftAK", movesLeft);
}
void Update()
{
textMovesLeft.text = "";
StringPusher.ad... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Web;
namespace CarManageSystem.helper
{
public class EmailHelper
{
static string address = System.Configuration.ConfigurationManager.ConnectionStrings["emailServer"].ConnectionString;
static ... |
// Copyright (c) 2020, mParticle, Inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... |
using System;
namespace Business.Services.Contracts
{
public interface IBusinessService : IDisposable
{
}
}
|
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 Oracle.ManagedDataAccess.Client;
namespace Oracle.Personel
{
public partial class FrmPersonelu... |
namespace CarDealer.ViewModels.Parts
{
public class PartViewModel
{
public string Name { get; set; }
public double? Price { get; set; }
}
} |
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 BlackjackViewPresenter;
namespace BlackjackGUI
{
public partial class BlackjackTableView : Use... |
using System;
using System.Linq;
using Fingo.Auth.DbAccess.Models;
using Fingo.Auth.DbAccess.Models.CustomData;
using Fingo.Auth.DbAccess.Models.CustomData.Enums;
using Fingo.Auth.DbAccess.Repository.Interfaces;
using Fingo.Auth.Domain.CustomData.ConfigurationClasses;
using Fingo.Auth.Domain.CustomData.ConfigurationCl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MiniShop
{
public class ShopBasket : Iitems
{
//public Merchandise merchandise { get; set; }
public string Id { get; set; }
public string Name { get; ... |
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 lab_015
{
public partial class Form1 : Form
{
public Form1()
{
... |
using System.ComponentModel;
using System;
namespace ControleEstacionamento.Web.ViewModels.Valores
{
public class ValoresViewModelList
{
public int ValorId { get; set; }
[DisplayName("Inicio de Vigencia")]
public DateTime InicioVigencia { get; set; }
[DisplayName("Fim de Vige... |
using System;
using System.Runtime.InteropServices;
namespace Vlc.DotNet.Core.Interops.Signatures
{
/// <summary>
/// Create a media for an already open file descriptor.
/// The file descriptor shall be open for reading (or reading and writing).
///
/// Regular file descriptors, pipe read descrip... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace BackToBasics
{
public class Shop
{
public string nom;
public int money;
public List<Pony> ponylist;
public Shop(string name, i... |
using System;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using System.Reflection;
using ReactMusicStore.Core.Data.Context.Config;
using ReactMusicStore.Core.Data.Context.Mapping;
using ReactMusicStore.Core.Data.Con... |
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 ProgramaOperaciones
{
public partial class FormPrincipal : Form
{
... |
using Spring.Messaging.Amqp.Rabbit.Connection;
using Spring.Messaging.Amqp.Rabbit.Test;
namespace Spring.Messaging.Amqp.Rabbit.Listener
{
/// <summary>
/// Message listener recovery single connection integration tests.
/// </summary>
/// <remarks></remarks>
public class MessageListenerRecoverySin... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AimaTeam.WebFormLightAPI.httpUtility
{
/// <summary>
/// 定义一个对字符串进行编码管理的工具类
/// </summary>
internal sealed class EncodingUtility
{
/// <summary>
/// 通过执行的Encoding获取字符串的bytes数组
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Anywhere2Go.DataAccess.MySqlEntity
{
public class MtRunning
{
public string RunningPrefix { get; set; }
public int RunningN... |
namespace BattleEngine.Output
{
public class BuildingChangeOwnerEvent : OutputEvent
{
public int objectId;
public int ownerId;
public int units;
}
}
|
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using XF40Demo.ViewModels;
namespace XF40Demo.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class PowerBenefitsPage : ContentPage
{
private readonly PowerDetailViewModel vm = new PowerDetailViewModel();
public PowerBenefitsPage()
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace 旋切边
{
public partial class Alarm : Form
{
string[] oldState = new string[16];
public Alarm()
... |
using UnityEngine;
using TouchScript.Gestures;
using System;
namespace Project.Game
{
[RequireComponent(typeof(FlickGesture))]
public class SwipeGesture : MonoBehaviour
{
FlickGesture baseGesture;
public event Action SwipeUp;
public event Action SwipeDown;
public event Act... |
using System;
using System.Collections.Generic;
using System.Text;
namespace lsc.Model
{
/// <summary>
/// 用户数量相关统计
/// </summary>
public class UserEnterReport
{
public int UserID { get; set; }
public int Total { get; set; }
}
public class EnterTotalReportForDay
{
... |
using UnityEngine;
using System.Collections;
[System.Serializable]
public class Product {
public string pName;
public string pDescription;
public int pPrice;
public int pDef;
public int pHp;
//usable item
public Product (string _name, string _desc, int _price)
{
pName = _name... |
using Computer_Wifi_Remote.Command;
using Computer_Wifi_Remote_Library;
using Computer_Wifi_Remote_Library.Command;
using System;
using WebSocketSharp;
namespace Computer_Wifi_Remote_Client
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Press any key to conn... |
using System;
using System.Collections.Generic;
using System.Linq;
using NStack;
using Terminal.Gui.Resources;
namespace Terminal.Gui {
/// <summary>
/// Provides navigation and a user interface (UI) to collect related data across multiple steps. Each step (<see cref="WizardStep"/>) can host
/// arbitrary <see c... |
using Phenix.Business.Rules;
namespace Phenix.Business.Core
{
#region Rules
/// <summary>
/// 申明业务规则注册中事件处理函数
/// </summary>
/// <param name="businessRules">业务规则库</param>
public delegate void BusinessRuleRegisteringEventHandler(Csla.Rules.BusinessRules businessRules);
/// <summary>
/// 申明授权规则注册中事件处理... |
using System;
using System.Collections.Generic;
namespace EPI.HashTables
{
/// <summary>
/// Test the Collatz conjecture for the first n positive integers.
/// Collatz conjecture: Take any natural number. If it's odd, triple it and add one.
/// If it's even, halve it. Repeat. No matter what number you choose, the... |
// Forgot User Password
public partial class DesktopModules_MemberForgotPassword_MemberForgotPassword : PortalModuleBase
{
protected void cmdSubmit_Click(object sender, EventArgs e)
{
try
{
DataTable dtUserDetails = DAL.getRow("", "Where = '" + DAL.safeSql(txtEmail.Text.Tr... |
using Prism.Interactivity.InteractionRequest;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HabMap.ProjectConfigurations.Models
{
public class SelectCINotification : Confirmation, ISelectCINotification
{
public IClientInte... |
using System.ComponentModel.DataAnnotations;
using Alabo.Validations;
namespace Alabo.Industry.Offline.Order.Domain.Dtos
{
/// <summary>
/// MerchantCartInput
/// </summary>
public class MerchantCartInput
{
/// <summary>
/// cart Id
/// </summary>
public str... |
using UnityEngine;
using System.Collections;
enum CUT
{
NONE,
CUT_DOWN,
CUT_UP,
CUT_RIGHT,
CUT_LEFT
}
public enum MAP_GIMMIC
{
NONE,
PLAYER,
BLOCK,
GOAL,
MAGNET_S,
MAGNET_N,
APPEAR,
DISAPPEAR
}
enum GIMMIC_CHECK
{
SandS,
SandN
}
public class MapAction : MonoBehaviour {
public static bool isStart;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;
using System.Net;
using System.ServiceModel.Channels;
using System.ServiceModel;
using Common.DataModel;
using System.ComponentModel;
using Common.Utils;
using System.Windows;
using System.Windows.Navigati... |
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using Framework.Core.Common;
using Framework.Core.Config;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
namespace Tests.Pages.Oberon.Tenant
{
public class TenantCreate : TenantBasePage
{
... |
using UnityEngine;
using System.Collections;
public class ZhuJiaoNv : MonoBehaviour {
float CenterPerPx = 0.3f;
int PosX_1;
int PosX_2;
public static bool FireRight;
public static bool FireLeft;
public static bool IsFire;
bool Fail;
bool Win_1;
bool Win_2;
Animator AnimatorCom;
bool IsFireOtherPort;
st... |
using Backend.Model.Pharmacies;
using System.Collections.Generic;
namespace IntegrationAdaptersActionBenefitService.Repository
{
public interface IPharmacyRepo
{
PharmacySystem GetPharmacyByExchangeName(string exchangeName);
IEnumerable<PharmacySystem> GetPharmaciesBySubscribed(bool subscribed... |
namespace Egret3DExportTools
{
using System.Collections.Generic;
using GLTF.Schema;
using UnityEngine;
using Newtonsoft.Json.Linq;
public enum MaterialType
{
Diffuse,
Lambert,
Phong,
Standard,
StandardSpecular,
StandardRoughness,
Particle,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ghostpunch.OnlyDown.Common.Commands
{
public class RelayCommand<T> : ICommand
{
private readonly Action<T> _execute;
private readonly Func<T, bool> _canExecute;
public RelayCommand(Action<T... |
using System;
namespace Interface_Ipayable
{
public interface Ipayable
{
decimal DapatkanJumlahPembayaran();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CRL.Business.OnlinePay.Company.ChinaPay.Charge
{
public class Response:ResponseBase
{
public override string ResponseName
{
get { return "C101RechargeCbRq"; }
}
/// <summ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CheckAvability.Common;
namespace CheckAvability.Model
{
public class IphoneAvalibilityInStore
{
public string storeName { get; set; } //
public string 大細機 { get; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace Anywhere2Go.Library
{
public class HashHelper
{
public string Hash { get; private set; }
public string Salt { get; private set; }
public string ConcatSt... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
namespace PowerPad.RouteHandlers
{
internal class StaticFileHandler : IRouteHandler
{
private readonly Func<byte[]> getSource;
private readonly byte[] cachedSource;
private readonly string contentType;
private r... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Robot : MonoBehaviour {
public GameObject bodyPart;
public GameObject bodyPivot;
public float time;
public float spawnDelay;
public float animDelay;
[SerializeField] private Texture [] textures;
[SerializeField] priv... |
using JIDBFramework;
using JIDBFramework.Windows;
using OgrenciTakip.Ekran.Tema;
using OgrenciTakip.Models.Kullanicilar;
using OgrenciTakip.Models.Personeller;
using OgrenciTakip.Utilities;
using OgrenciTakip.Utilities.Liste;
using OgrenciTakip.Yonetici;
using System;
using System.Collections.Generic;
using System.Com... |
using Cradiator.Model;
namespace Cradiator.Config.ChangeHandlers
{
public class PollIntervalChangeHandler : IConfigChangeHandler
{
readonly IPollTimer _pollTimer;
readonly ICountdownTimer _countdownTimer;
public PollIntervalChangeHandler(IPollTimer pollTimer, ICountdownTimer countTimer)
{
_pollTimer = po... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.IO;
using IBLLService;
using MODEL.ViewModel;
using Common;
using MODEL;
using ShengUI.Helper;
using System.Threading;
using System.Globalization;
using Common.EfSearchModel.Model;
using MODEL.ViewPa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HomeWork8_1
{
//Факториал числа через рекурсию
class Program
{
static int Factr(int a)
{
if (a <= 1)
return 1;
else
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UPArea : MonoBehaviour
{
public Image weapon;
public Image other;
public Image decorate;
public Image defense;
public GameObject charaRawImage;
public G... |
using DevanshAssociate_API.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DevanshAssociate_API.Services
{
interface ICommonService
{
List<LoanData> getAllLoanData();
List<BankData> getAllBankData();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace SpacecraftWar
{
class GameManager
{
private Timer _timer;
private BoardManager _board;
public const int INTERVAL = 1300;
publi... |
using Backend.Model.Users;
using Backend.Repository.SpecialtyRepository;
using System.Collections.Generic;
namespace Backend.Service.UsersAndWorkingTime
{
public class SpecialtyService : ISpecialtyService
{
private readonly ISpecialtyRepository _specialtyRepository;
public SpecialtyService(ISp... |
using CarRental.API.BL.Services.RentalLocations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CarRental.API.BL.Models.RentalLocations;
using CarRental.API.DAL.Entities;
namespace CarRental.API.Co... |
using System;
using System.Linq;
using System.Windows.Forms;
namespace Tic_Tac_Toe_WF
{
public partial class Playernames : Form
{
public static string player1Name = "";
public static string player2Name = "";
private Game loadGame = new Game();
public Playernames()
... |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace ScriptableObjectFramework.Conditions.Editor
{
[CustomPropertyDrawer(typeof(Condition), true)]
public class ConditionDrawer : PropertyDrawer
{
const float buffer = 5;
public override ... |
//#define DO_ANIMATE
#define DO_LIGHT_SAMPLING
#define DO_THREADED
using Unity.Mathematics;
using static Unity.Mathematics.math;
using Unity.Collections;
using Unity.Jobs;
using Unity.Burst;
using UnityEngine;
namespace Aras {
public static class MathUtil {
public const float Pi = (float)System.Math.PI;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercise9
{
class Program
{
static void Main(string[] args)
{
Front front = new Front();
front.PutSomeEmployeeInList();
fro... |
public abstract class AbstractDepositPoint : AbstractBehaviorContainer {
/// <summary>
/// Check if the deposit point is "open" and accepting items. If
/// the Deposit point is full or disabled, this should return
/// false.
public abstract bool isOpen();
}
|
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Hangfire.Dashboard.Management.Extension.Support;
using Hangfire.Dashboard.Management.Infrastructure;
using Hangfire.JobSDK;
using MediatR;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependen... |
using log4net;
using System;
using System.Collections.Generic;
//using System.Data.Entity.Validation;
using System.Globalization;
using System.Linq;
using Anywhere2Go.Library;
using System.IO;
using Anywhere2Go.Library.Image;
using Anywhere2Go.Library.Datatables;
using ClaimDi.DataAccess;
using ClaimDi.DataAccess.Obje... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using SimpleRESTChat.Entities;
using SimpleRESTChat.Services.BusinessObjects;
using SimpleRESTChat.Services.Enumerations;
namespace SimpleRESTChat.Services.Services.Interfaces
{
public interface IUserServi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace TYNMU.manger
{
public partial class Redister_User : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
... |
namespace TaskNF.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class createschema : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Autors",
c => new
{
... |
using System;
using System.Collections.Generic;
using SpringHeroBank.entity;
using SpringHeroBank.model;
using SpringHeroBank.utility;
using SpringHeroBank.view;
namespace SpringHeroBank
{
class Program
{
static void Main(string[] args)
{
MainView.GenerateMenu();
// Ha... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using VendingMachine.Domain.Business.Contracts.Repository;
using VendingMachine.Domain.Models;
namespace VendingMachine.Repository.Repositories
{
public class GeldRepository : BaseRepository<Geld>, IGel... |
using UnityAtoms.BaseAtoms;
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Set variable value Action of type `Vector3`. Inherits from `SetVariableValue<Vector3, Vector3Pair, Vector3Variable, Vector3Constant, Vector3Reference, Vector3Event, Vector3PairEvent, Vector3VariableInstancer>... |
using System;
namespace GatewayEDI.Logging
{
/// <summary> A very simple implementation of <see cref="ILog" /> that outputs all messages to the system console. </summary>
public class ConsoleLog : FormattableLogBase
{
/// <summary> Creates a named logger. </summary>
/// <param name="name">... |
namespace BettingSystem.Application.Games.Matches.Commands.Create
{
using Common;
using FluentValidation;
public class CreateMatchCommandValidator : AbstractValidator<CreateMatchCommand>
{
public CreateMatchCommandValidator()
=> this.Include(new MatchCommandValidator<CreateMatchCom... |
using System;
namespace practice
{
public class Node
{
Node link = null; //link to the next node in the link list
int value; // value of each individual node
public Node (int v)
{
value = v;
}
/*Returns the address of the next node in the list*/
public Node getLink()
{
return link;
}
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EasyConsoleNG
{
public static class Validators
{
public static Func<int, string> IsIntInRange(int min, int max)
{
return (value) =>
{
var checkMin = min != int.MinValue;
... |
using LiveDemo_MVC.App_Start;
using LiveDemo_MVC.Data;
using LiveDemo_MVC.Data.Models;
using LiveDemo_MVC.DataServices.Contracts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ninject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
names... |
using BikeDistributor.Data.Common;
namespace BikeDistributor.Data.Entities
{
public class Product: BaseEntity<int>
{
public virtual string Brand { get; set; }
public virtual string Model { get; set; }
public virtual string Make { get; set; }
public virtual string Sku { get; set... |
using EddiConfigService;
using EddiConfigService.Configurations;
using JetBrains.Annotations;
using Newtonsoft.Json;
using RestSharp;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
u... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static damdrempe_zadaca_2.Podaci.Enumeracije;
namespace damdrempe_zadaca_2.Podaci.Modeli
{
public enum Kategorija
{
Mali,
Srednji,
Veliki
}
class Korisnik
... |
using TheMartian.Enums;
using TheMartian.Interfaces;
namespace TheMartian.Conrete
{
public class VoucherBase : IVoucher
{
public VoucherBase(Position position)
{
Position = position;
}
public Position Position { get; set; }
public Position Move(string codes... |
using System;
namespace PL.Integritas.Domain.Entities
{
public abstract class EntityBase
{
#region Properties
public Int64 Id { get; set; }
public Boolean Active { get; set; }
public DateTime? DateRegistered { get; set; }
public DateTime? DateUpdated { get; set; }
... |
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
private Rigidbody rb;
void Start()
{
rb = GetComponent<Rigidbody>();
}
private void Update()
{
float horizontal = Input.GetAxisRaw("Horizontal");
float vertical = Input.GetAxisRaw("Vertical");
Ve... |
namespace Condor
{
public static class MediaTypes
{
public const string Atom = "application/atom+xml";
public const string Json = "application/json";
}
} |
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiEndpoints;
using AutoMapper;
using BlazorShared.Models.Doctor;
using ClinicManagement.Core.Aggregates;
using Microsoft.AspNetCore.Mvc;
using PluralsightDdd.SharedKernel.Interfaces;
using Swashbuckle.AspNetCore.Annotations;
namespace ClinicManageme... |
using Alabo.Domains.Enums;
using Alabo.Domains.Query.Dto;
using Alabo.Framework.Core.Enums.Enum;
using Alabo.Regexs;
using Alabo.Validations;
using Alabo.Web.Mvc.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.Framework.Basic.Address.Dtos {
/// <summary>
/// 地址输入
/// </summar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MedAllWebApplication.Models
{
public class RoleDTO
{
public RoleDTO()
{
this.Users = new HashSet<UserDTO>();
}
public int Id { get; set; }
public stri... |
using StackExchange.Redis;
using System.Threading.Tasks;
namespace Microsoft.UnifiedRedisPlatform.Core.Database
{
public partial class UnifiedRedisDatabase
{
public bool HyperLogLogAdd(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None) =>
Execute(() => _baseDatabase.Hy... |
using System;
using System.Linq;
using System.Xml.Linq;
using TeamCityChangeNotifier.Models;
namespace TeamCityChangeNotifier.XmlParsers
{
public class ChangeDataParser
{
public ChangeData ReadXml(string changeXml)
{
var changeDoc = XDocument.Parse(changeXml);
var root = changeDoc.Root;
var id = Read... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EmploeeSalary
{
class SalaryEmployee : EmployeeBase
{
public int MonthSalary;
public SalaryEmployee(string firstName, string lastName, string position, int monthsal... |
using System;
using System.Collections.Generic;
using System.Linq;
using DAL.Entity;
using System.Text;
using System.Threading.Tasks;
using System.Linq.Expressions;
namespace DAL.Repository
{
public class PersonRepository
{
public IEnumerable<Person> GetAll()
{
try
... |
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace Zovi_Fashion.Models
{
public class Product
{
[Key] ... |
using Common.Business;
using Common.Data;
using Common.Exceptions;
using Common.Extensions;
using LFP.Common.DataAccess;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Runtime.Serialization;
using System.Text;
namespace Entity
{
[DataContrac... |
using System;
using System.Collections.Generic;
using System.Text;
namespace GenericCountMethodDouble
{
public class Box<T>
where T : IComparable<T>
{
public Box(List<T> items)
{
this.Items = items;
}
public List<T> Items { get; set; }
public int C... |
using ChatBot.Domain.Core;
using ChatBot.Entities;
using HtmlAgilityPack;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
namespace ChatBot.Domain.Services
{
public class UnexFacilitiesService : IUnexFacilitiesService
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using AutoMapper;
using MediatR;
using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Razor;
using Microsoft.Framework.OptionsModel;
using... |
using TripLog.ViewModels;
using Xamarin.Forms;
namespace TripLog.Views
{
public class ViewFactory
{
public ContentPage BuildNewPage(NewEntryPageViewModel vm)
{
return new NewEntryPage(vm);
}
public ContentPage BuildDetailPage(DetailPageViewModel vm)
{
... |
/*
* Created by SharpDevelop.
* User: admin
* Date: 09.07.2012
* Time: 1:21
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Drawing;
using System.Windows.Forms;
namespace sudoku
{
/// <summary>
/// Description of butun.
/// </summary>
public ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.