text stringlengths 13 6.01M |
|---|
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
namespace Caliburn.Light
{
/// <summary>
/// Represents a dynamic data collection that provides notifications when items get added, removed, or when the whole list is refreshed.
/// </summary>
/// <typ... |
using System;
using System.Buffers.Binary;
namespace Cogito.Kademlia.Core
{
/// <summary>
/// Provides extension methods against a <see cref="ReadOnlySpan{byte}"/>.
/// </summary>
internal static class ReadOnlySpanByteExtensions
{
/// <summary>
/// Gets the number of leading zero... |
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using MockTwitterAPI.Models;
u... |
using System;
namespace ReverseArray.Classes
{
public class ReverseTypes
{
public int[] ReverseInputArray(int[] input)
{
int i = 0;
int j = input.Length - 1;
while (i<j)
{
int temp = input[i];
input[i] = input[j];
... |
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Text;
namespace HINVenture.Shared.Models.Entities
{
public class ApplicationUser : IdentityUser
{
public string CryptocoinAddress { get; set; }
public string FullName { get; set; }
public ... |
using System.Collections.Generic;
namespace heitech.Mediator
{
public static class Extensions
{
///<summary>
/// In case you used more than one Outlet for an OperationResult with the same Key or type
///</summary>
public static IEnumerable<OperationResult> AsCollection(this Oper... |
using System;
namespace GradeBook
{
class Program
{
static void Main(string[] args)
{
IBook disckBook=new DiskBook("nofar interface grade book");
var book = new InMemoryBook("Nofar's garde book");
var bookNoMoreNull = new InMemoryBook("No More Null");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlienEngine
{
public class AudioClip
{
}
}
|
using DAL.Order.Model;
using Dapper;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL.Order
{
public class OrderDAL : BaseDAL
{
public IEnumerable<OrderModel> Query(OrderModel Condition = null... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
namespace GODRenderPipeline
{
public class TreeCommandList : MonoBehaviour, IRenderTreeItem
{
public void Render(ref ScriptableRenderContext context, GODRPParameters p)
{
if ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UrTLibrary.Server.Logging.Events
{
public class ClientUserInfoChangedEvent: LogEvent
{
public int Slot { get; set; }
public Dictionary<string, string> Vars { get; set; ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace DEMO_DDD.APPLICATION.ViewModels
{
public class ProdutoViewModel
{
[Key]
public int Id { get; set; }
[Required(ErrorMessage = "O campo {0} é obrigatório")]
... |
using System.Linq;
using System.Data;
using CriticalPath.Data;
using System.Threading.Tasks;
using System.Data.Entity;
using CriticalPath.Web.Controllers;
namespace CriticalPath.Web.Areas.Admin.Controllers
{
public partial class ProcessStepTemplatesController
{
protected override async Task SetProcessS... |
using System;
using Oak;
using NUnit.Framework;
using NSpec;
using System.Dynamic;
using System.Collections.Generic;
using System.Linq;
namespace DynamicTests.Extend
{
class Hello
{
public Hello(dynamic entity)
{
entity.SayHello = new DynamicFunction(() => "hello");
}
}... |
using System.Linq;
using UnityEngine;
using sugi.cc.data;
using SFB;
using System.IO;
public class LayoutSettingBuilder : MonoBehaviour
{
public LayoutSetting LayoutSetting => layoutSetting;
[SerializeField] private LayoutSetting layoutSetting;
[SerializeField] private LayoutSetting.LayoutData layoutData;... |
using System;
using System.Collections.Generic;
namespace DinoDiner.Menu
{
/// <summary>
/// Represents the DinoNuggets menu item
/// </summary>
public class DinoNuggets:Entree
{
//backing variable
private uint numOfNugs = 6;
private uint extraNugs = 0;
///... |
using System.IO;
using System.IO.Compression;
namespace ADAPT_Sample_App
{
public static class SampleData
{
/*
* There is sample data available at https://github.com/JohnDeere/SampleData
* This class assumes you have cloned that repository into C:\SampleData
* In a real appl... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Collections;
using FurnitureRentalSystem.Model;
usin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace COMP476Proj
{
class ScorePopup
{
private Vector2 position;
private int value;
private int age, lifespan;
... |
using Frontend.Core.Model.Preferences.Interfaces;
namespace Frontend.Core.Model.PreferenceEntries.Interfaces
{
public interface IStringPreferenceEntry : IPreferenceEntry<string, IStringPreference>
{
}
} |
using UnityEngine;
using System.Threading;
using System.Collections.Generic;
using System;
using System.Collections;
using Unity.Collections;
using UnityEngine.Networking;
using System.Text;
public class AzureFaceConnection : MonoBehaviour {
[Serializable]
public struct AzureDetectBoundingBox {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Web;
using Microsoft.AspNetCore.Cryptography.KeyDerivation;
namespace LETS.Helpers
{
public class PasswordHashAndSalt
{
public string getHashedPassword(string plainPassword)
{
... |
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json.Serialization;
using UnityEngine;
using UnityEngine.UI;
using Newtonsoft.Json;
public enum CardType
{
eNONE = 0,
eSPARROW = 1,
eDOG = 2,
eDRAGON = 3,
ePHOENIX = 4,
}
public enum CardColor
{
eNONE = 0,
eRED =... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GUIPanelHandler : MonoBehaviour {
// Use this for initialization
public GameObject inv;
public GameObject equip;
//bool isEnabled = false;
void Awake (){
}
void Start () {
this.gameObject.SetActive(true);
}
v... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class DragUpdate : MonoBehaviour, IDragHandler, IEndDragHandler
{
public GameObject item1, item2, item3, item4,item5, item6, dragObject, target1, target2, target3,target4,target5,target6;
Ve... |
using System.Threading.Tasks;
namespace newPrideMore.Services
{
public interface IEmailSender
{
Task SendEmailAsync(string email, string subject, string message, string name);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.DomesticTicket.Platform.Plugin
{
[AttributeUsage(AttributeTargets.Class)]
public class PlatformAttribute:Attribute
{
public string Code { get; set; }
public PlatformAttribute(string cod... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DiaxeirisiPoiotitas
{
[Serializable]
public class Kindynos
{
private int id;
private string name;
private string description;
private ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.IO;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace IssueCheque
{
public partial class ... |
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Markup;
namespace Swiddler.Converters
{
public class AssignableTypeConverter : MarkupExtension, IValueConverter
{
public Type Type { get; set; }
public object Convert(object value, Type targetType, objec... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Puzzle : MonoBehaviour
{
public Texture2D img;
public Texture2D[] images = new Texture2D[10];
public int blocksPerLine;
int shuffleAmt;
Block emptyBlock;
Block[,] blockMap;
bool puzzleSolved;
vo... |
//http://msmvps.com/blogs/coad/archive/2005/03/23/39466.aspx
using System.IO.Ports;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net;
namespace ElectricitySerialFeed {
class Runner {
// Create the serial port... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading.Tasks;
using Micro.Net.Abstractions;
using Micro.Net.Dispatch;
namespace Micro.Net.Transport.Http
{
public class HttpDispatcher : IDispatcher
{
private readonly ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerUI : MonoBehaviour
{
public Text highScoreText ;
public Text healthText;
public Text blockPointsText;
private float localHighScore;
private float localBlockPoints;
private ... |
namespace ReadyGamerOne.Common
{
/// <summary>
/// 此接口表示类具有ID
/// </summary>
public interface IHasStringId
{
string ID { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FantasyStore.Domain;
using FantasyStore.Infrastructure;
using NUnit.Framework;
namespace FantasyStore.Tests
{
public class OrderTests
{
public Product Product
{
... |
using System;
namespace RocketLauncher.Bluetooth.LE
{
public class BluetoothKnownItemManager
{
public BluetoothKnownItemManager ()
{
}
}
}
|
//Class Name: State.cs
//Author: Kristina Vanderboog
//Purpose: This is the State: State part of the state pattern
//it will define an interface for the encapsulating state behavior
//Date: Aug 14, 2020
namespace Project_3_Starter
{
public abstract class State
{
protected FormInput form;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using AdamsCronometro.Resources;
using System.Windows.Threading;
using AdamsCronometro.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
public class Ingredient : ACarriableItem
{
public int DatabaseModelId { get; set; }
public int TimeSpentInStock { get; set; }
private bool TrackedByDatabase = true;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HCL.Academy.Model
{
public class ExternalUserAuthResponse
{
public ExternalUser user { get; set; }
public bool result { get; set; }
public string errorMessage { ... |
using System;
namespace SKT.WMS.WMSBasicfile.Model
{
[Serializable]
public class WMSSerialNoInfo
{
private Int32 id;
private String source;
private Int16 type;
private Int16 applyType;
private Int16 applyTypeValue;
private String typeValue;
p... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BackHackaton.BDD.ClassesEfCore;
namespace BackHackaton.Controllers
{
[Route("[controller]")]
[ApiController]
public class FYTController :... |
using System;
namespace StackQueue
{
class Program
{
static void Main(string[] args)
{
Stack st = new Stack(5);
Console.WriteLine("-----------Stack operation---------");
st.push(3);
st.push(10);
st.push(7);
st... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Reception.Domain.Entities
{
/// <summary>
/// Запасная часть.
/// </summary>
public class SparePart
{
public SparePart()
{
OrderItems = new HashSet<PartOrderItem>();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AudioManager : MonoBehaviour
{
#region SINGLETON PATTERN
private static AudioManager instance;
public static AudioManager GetInstance()
{
return instance;
}
private void Awake()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameController : MonoBehaviour {
public UnityEngine.UI.Text scoreText;
public GameObject winnerTextObject;
// Use this for initialization
void Start () {
}
// Update is called once per fram... |
using Newtonsoft.Json;
namespace DtoGenerator.Dto.Description
{
public class DtoPropertyDescription
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("type")]
public string Type { get; set; }
[JsonProperty("format")]
public string Format ... |
using LuaInterface;
using RO;
using SLua;
using System;
using UnityEngine;
public class Lua_RO_UIScrollVCenterOnTarget : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int RestrictWithinBounds(IntPtr l)
{
int result;
try
{
UIScrollVCenterOnTarget uIScrollVCenterOnTarget = (UIScrollV... |
using Logs.Services.Contracts;
using Logs.Web.Controllers;
using Logs.Web.Infrastructure.Factories;
using Moq;
using NUnit.Framework;
using TestStack.FluentMVCTesting;
namespace Logs.Web.Tests.Controllers.SearchControllerTests
{
[TestFixture]
public class IndexTests
{
[Test]
public void Te... |
using System;
using System.Collections.Generic;
using System.Linq;
using GameLib;
using GameLib.Input;
using JumpAndRun.Actors;
using JumpAndRun.API;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace JumpAndRun.ClientBase.GameComponents
{
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace MoneySpace
{
class Money : IMoney
{
public decimal Amount { get; }
public string Currency { get; }
public Money(string c, decimal d)
{
Amount = d;
Currency = c;
}
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DriveMgr.IDAL;
using System.Data.SqlClient;
using System.Data;
namespace DriveMgr.SQLServerDAL
{
public class TravelDAL:ITravelDAL
{
/// <summary>
/// 增加一条数据
/// </summary>
public bool A... |
using MongoDB.Driver;
namespace ChatApp.Data
{
public class ChatAppDbContextFactory
{
private const string DatabaseHost = "mongodb://chatUser:telerik@ds033380.mongolab.com:33380/chatdb";
private const string DatabaseName = "chatdb";
public static MongoDatabase GetDatabase()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _3._3._19_homework
{
class Customer:IComparable<Customer>
{
public int Id { get; set; }
public string Name { get; set; }
public int BirthYear { get;... |
using Microsoft.TeamFoundation.WorkItemTracking.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AnyconnectVSO
{
class Program
{
static void Main(string[] args)
{
VsoConnector connecto... |
using UnityEngine;
using System.Collections;
public class CheckPoint : MonoBehaviour {
public Transform radialSphere;
public Transform stairway;
public GameObject colliderPlane;
public float radialDistance = 22f;
void Start()
{
Vector3 v1 = stairway.position;
v1.y = 0f;
Vector3 v2 = radialSphere.position... |
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using DDDStore.Domain.Entities;
using DDDStore.Infra.Data.EntityConfig;
namespace DDDStore.Infra.Data.Context
{
public class DDDStoreContext : DbContext
{
public DDDStoreContext()
: base("DDDStore")
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL.Interface.Repository;
using System.Data.Entity;
using DAL.Interface.DTO;
namespace DAL
{
public class UnitOfWork : IUnitOfWork
{
//public DbContext Context { get; private set; ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using System;
using UnityEngine.UI;
/// <summary>
/// @Authors: WoozyBytes
/// @Contributors: John Blau
/// Code based on WoozyByte's StackOverflow response, found at https://answers.unity.com/questions/238727/android-musi... |
using System.Collections.Generic;
using Psub.DTO.Entities;
namespace Psub.DataService.Abstract
{
public interface IPublicationMainSectionService
{
PublicationMainSectionDTO GetPublicationSectionDTOById(int id);
PublicationMainSectionDTO GetPublicationSectionDTOByName(string name);
IEnu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class backToMenu : MonoBehaviour
{
public GameObject menu;
public GameObject options;
private AdsManager adsManager;
public void Start()
{
this.gameObject.AddComponent<AdsManager>();
adsManager... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Dnn.PersonaBar.Themes.Components
{
public enum ThemeTy... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RepositoryAndUnitOfWorkPatterns.EntityFramework;
using RepositoryAndUnitOfWorkPatterns.Repositories;
namespace RepositoryAndUnitOfWorkPatterns
{
class Program
{
static void Main(st... |
using System;
using System.Collections.Generic;
namespace TableTool
{
public class Buff_alone : LocalBean
{
protected override bool ReadImpl()
{
this.BuffID = base.readInt();
this.Notes = base.readLocalString();
this.FxId = base.readInt();
this.O... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using PetSharing.API.Extensions;
using PetSharing.Contracts;
using PetSharing.Contracts.PetProfilesContract;
using ... |
using FatCat.Nes.OpCodes.AddressingModes;
namespace FatCat.Nes.OpCodes.ClearingFlags
{
public class ClearOverflowFlag : ClearFlagOpCode
{
public override string Name => "CLV";
protected override CpuFlag Flag => CpuFlag.Overflow;
public ClearOverflowFlag(ICpu cpu, IAddressMode addressMode) : base(cpu, address... |
using Microsoft.AspNetCore.Mvc;
using Promact.Oauth.Server.Models.IdentityServer4;
using Promact.Oauth.Server.Services;
using System.Threading.Tasks;
namespace Promact.Oauth.Server.Controllers
{
/// <summary>
/// This controller processes the consent UI
/// </summary>
[ServiceFilter(typeof(SecurityHea... |
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
using McMaster.Extensions.CommandLineUtils;
namespace VsmacHelper.Shared.Extensions {
public static class CommandArgumentExtensions {
public static bool HasValue(this CommandArgument argument) {
return argument.Value != null && !string.IsNullOrEmpty(argument.Value);
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using UnityEngine.Audio;
public class menuScript : MonoBehaviour {
public Canvas quitMenu;
public Canvas settingsMenu;
public Canvas gameMenu;
public Button startText;
pu... |
using System;
namespace InternetShop
{
public class Customer
{
public string Name { get; set; }
public static int CustomerIdCounter = 1;
internal int Id { get;}
internal string Phone { get; set; }
internal string Email { get; set; }
internal double MoneyBalance ... |
// 박싱 언박싱에 이해
using System;
class HelloClass
{
public static int Main(string[] args)
{
int val = 10;
object obj = val; // 박싱
int val2 = (int)val; // 언박싱
Console.WriteLine(val2);
return 0;
}
} |
using PDV.DAO.Custom;
using PDV.DAO.DB.Controller;
using PDV.DAO.Entidades;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PDV.CONTROLER.Funcoes
{
public class FuncoesRomaneio
{
public static bool SalvarR... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Vinarish.Models
{
public partial class Train
{
public Train()
{
Wagon = new HashSet<Wagon>();
}
[Display(Name =... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class PowerUpControls : MonoBehaviour
{
public KeyCode activatePowerUp = KeyCode.X;
public UnityEvent activateEvent = new UnityEvent();
// Start is called before the first frame update
vo... |
//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.nopCommerce.com/Lic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Excepciones;
namespace ClasesAbstractas
{
public abstract class Persona
{
public enum ENacionalidad { Argentino, Extranjero }
#region atributos
... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
#endregion
namespace DotNetNuke.Services.Scheduling
{
public class PurgeScheduleHistory : SchedulerClient
{
... |
namespace NatilleraApiAplication.Services
{
using NatilleraApiAplicationContract.IServices;
using NatilleraApiAplicationContract.Models;
using NatilleraApiBusinnes.Models;
using NatilleraApiDataAccess.AutoMapper;
using NatilleraApiDataAccessContract.IRepositories;
using NotificacionApiCrossClot... |
namespace Enrollment.Common.Configuration.ExpressionDescriptors
{
public class EqualsBinaryOperatorDescriptor : BinaryOperatorDescriptor
{
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using AgentStoryComponents.core;
using AgentStoryComponents;
namespace AgentStoryComponents.commands
{
public class cmdAddNewPage : ICommand
{
public MacroEnvelope execute(Macro macro)
{
// add new page t... |
using Microsoft.AspNetCore.Http;
using System.Text;
using System.Threading.Tasks;
namespace CSPProject
{
public class CspMiddleware
{
private readonly RequestDelegate _next;
private readonly CspOptions _options;
public CspMiddleware(RequestDelegate next, CspOptions options)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Benchmark.Benchmarks
{
using System.Collections.ObjectModel;
using System.Reflection;
using BenchmarkDotNet.Attributes;
/*
Method | InputSize | Me... |
using CryptoInvestor.Core.Domain;
using System;
using System.Threading.Tasks;
namespace CryptoInvestor.Core.Repositories
{
public interface IFavouritesRepository : IRepository
{
Task AddAsync(Favourites favourites);
Task<Favourites> GetAsync(Guid userId);
Task UpdateAsync(Favourites fa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PayRoll.BLL
{
public class SalesReceiptTransaction : Transaction
{
private readonly DateTime date;
private readonly double amount;
private readonly int empId;
public SalesReceiptTr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LevelControl : MonoBehaviour
{
// The receptacles in the level
public Recepticle[] recepticles;
public bool multiRecepticle;
private bool multiRecDone;
private float timer;
private bool... |
using HCL.Academy.Model;
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using System.Net.Http;
using System.Threading.Tasks;
using HCLAcademy.Util;
using Microsoft.ApplicationInsights;
using System.Diagnostics;
namespace HCLAcademy.Controllers
{
public class ProjectController : BaseControlle... |
using System;
using SKT.MES.User.BLL;
using SKT.MES.User.Model;
using SKT.MES.Web.AjaxServices.BasalData;
namespace SKT.MES.Web.User
{
public partial class DepartmentEdit : BasePage
{
protected void Page_Load(object sender, EventArgs e)
{
AjaxPro.Utility.RegisterTypeForAjax(typeof(... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using System.Runtime.Serialization;
using System.Security.Permissions;
using System.Web;
using System.Xml.Serialization;
us... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ReadExcels.Models
{
class ProductTable
{
public string numericalOrder { get; set; }
public string name { get; set; }
public string HSD { get; set; }
public string QC { get; set; }
p... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Utils
{
public static class ConfigurationReader
{
public static Configuration Read(string filePath)
{
var configValues = new Dictionary<str... |
using Model.Entities;
namespace Model.Services
{
public interface ITimesheetRepository : IRepository<Timesheet>
{
}
}
|
using MetroFramework;
using MetroFramework.Forms;
using PDV.CONTROLER.Funcoes;
using PDV.DAO.Custom;
using PDV.DAO.DB.Utils;
using PDV.DAO.Entidades;
using PDV.DAO.Entidades.Cep;
using PDV.DAO.Entidades.Estoque.Suprimentos;
using PDV.DAO.Enum;
using PDV.UTIL;
using PDV.VIEW.App_Context;
using System;
using System.Coll... |
using System;
using System.IO;
namespace WS
{
/// <summary>
/// Класс лог системы
/// </summary>
class LogSystem
{
/// <summary>
/// Файл куда будут писаться логи
/// </summary>
public static string logfile = "ws.log";
/// <summary>
/// Записать в l... |
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualBasic;
using System;
using System.IO;
using System.Windows.Forms;
namespace TNBase.Forms
{
public partial class FormBackupDialogue : Form
{
private string password;
public FormBackupDialogue()
{
Initiali... |
using System;
using System.Collections.Generic;
namespace JKMPCL.Model
{
/// <summary>
/// Class Name : GetMoveIDModel.
/// Author : Hiren Patel
/// Creation Date : 12 Dec 2017
/// Purpose :
/// Revision :
/// </summary>
public class GetMoveIDModel
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Cinemachine;
namespace Pitstop
{
public class TheBeastBehaviour : MonoBehaviour
{
public bool startBossFightDirectly = false;
[Header("My components")]
[SerializeField] Animator myAnim = default;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Benchmark.Benchmarks
{
using System.Collections.ObjectModel;
using BenchmarkDotNet.Attributes;
/*
*
Method | HasAny | Mean | Error | StdDev | Gen... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FrbaCommerce.Modelo
{
public class Rol
{
public Decimal idRol { get; set; }
public Decimal idEstado { get; set; }
public String descipcion { get; set; }
public Boolean habilitado { g... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.