text stringlengths 13 6.01M |
|---|
#if DEBUG
using AsyncClasses;
using Contracts.Callback;
using Entity;
using System.IO;
using System.ServiceModel;
using System.Threading.Tasks;
namespace Contracts.Report
{
[ServiceContract(SessionMode = SessionMode.Required, CallbackContract = typeof(IAsyncServiceCallback),
Namespace = "http://www.noof.com/", Nam... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HarvestableTree : MonoBehaviour {
public int woodPerHit = 5;
public int treeHealth = 10;
public void ChopWood(int choppingPower)
{
treeHealth -= choppingPower;
}
public int GetTreeHealth()
... |
using gView.Framework.system;
using gView.Framework.UI;
using gView.Plugins.MapTools.Dialogs;
using System;
using System.Threading.Tasks;
namespace gView.Plugins.MapTools
{
[RegisterPlugInAttribute("F1B1602A-DD53-40a2-A504-61DC47A7B261")]
public class PerformanceMonitor : ITool, IToolWindow
{
priv... |
using UnityEngine;
namespace Assets.Scripts.Controllers
{
public class WaterVolumeController : MonoBehaviour
{
void OnTriggerEnter(Collider otherCollider)
{
var player = otherCollider.GetComponent<PlayerController>();
if (player != null)
{
/... |
using Datalayer.Domain;
using Repository_UnitOfWork.Contracts;
using System;
using System.Collections.Generic;
using System.Text;
namespace Datalayer.Contracts
{
public interface IStudentRepository: IRepository<Student>
{
IEnumerable<Student> GetStundetsWithCourses();
}
}
|
using System;
using System.Linq;
using System.Windows.Forms;
using System.Collections.Generic;
using com.Sconit.SmartDevice.SmartDeviceRef;
using System.Web.Services.Protocols;
using System.Drawing;
using com.Sconit.SmartDevice.CodeMaster;
namespace com.Sconit.SmartDevice
{
public partial class UCQuickReturn : Us... |
using NewRimLiqourProject.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace RimLiqourProject.Models
{
public class OrderDetails
{
[Key]
public int OrderDetailId { get; set; }
[Display(Nam... |
using System;
using System.Threading;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Text.Json;
namespace WerkWerk
{
using Data;
public class WorkContext<T>
{
private CancellationToken _jobCancel;
private ILogger _logger;
private IServiceProvider... |
using SnowBLL.Validators.Users;
using Xunit;
using FluentValidation.TestHelper;
using SnowBLL.Models.Auth;
using SnowBLL.Models.Users;
using SnowBLL.Validators.Routes;
using SnowBLL.Models.Geo;
namespace SnowTests.Unit.Validators
{
public class ModelValidatorTests
{
[Fact]
public void ConfirmA... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _05.GenericListT
{
public class UseGenericList<T>
{
const int fixedCapacity = 10;
private static T[] elements;
private static int count = 0;
/... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
namespace NHibernate.DataAnnotations
{
public interface ISessionValidator
{
/// <summary>
/// Runs validation on all modified entities in the session.
/// Commits the t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace Kickit.Models
{
public class EmailFormModel
{
[Required, Display(Name = "Who are you?")]
public string FromName { get; set; }
[Required, Dis... |
using BenchmarkDotNet.Attributes;
using Sentry.Extensibility;
namespace Sentry.Benchmarks;
public class ScopeManagementBenchmarks
{
[IterationSetup]
public void IterationSetup()
{
SentrySdk.Init();
SentrySdk.BindClient(DisabledHub.Instance);
}
[IterationCleanup]
public void It... |
using University.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using University.Data;
using University.Repository.Interface;
namespace University.Repository
{
public class UseradminRepository : IUseradminRepository
{
public I... |
namespace WinAppDriver.Handlers
{
using System.Collections.Generic;
using Newtonsoft.Json;
using WinAppDriver.Desktop;
using WinAppDriver.Modern;
using WinAppDriver.UAC;
[Route("POST", "/session")]
internal class NewSessionHandler : IHandler
{
private static ILogger l... |
using System;
using System.Collections.Generic;
using Profiling2.Domain;
namespace Profiling2.Web.Mvc.Areas.Sources.Controllers.ViewModels
{
public class SourceResultDataTableLuceneView
{
public string Id { get; set; }
public string SourceName { get; set; }
public string SourcePath { g... |
using Repository.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ExpenseTracking.Models
{
public class ExpenseModel : BaseModel
{
public string expense_id { set; get; }
public bool unpaid { set; get; }
public bool not_get_receipt {... |
public class Solution {
public IList<IList<int>> FourSum(int[] nums, int target) {
var res = new List<IList<int>>();
if (nums.Length < 4) return res;
Array.Sort(nums);
for (int i = 0; i < nums.Length - 3; i ++) {
if (i > 0 && nums[i] == nums[i-1]) continue; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ManojTesting
{
public class Employee
{
void Manoj()
{
Console.WriteLine("Employee");
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZY.OA.Model;
namespace ZY.OA.IBLL
{
public partial interface IActionInfoService : IBaseService<ActionInfo>
{
}
public partial interface IMenuInfoService:IBaseService<Me... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace AttendanceWebApp.Models
{
public class Employees
{
[Key]
[StringLength(10)]
public string EmpUnqId { get; set; }
[StringLength(2)]
pu... |
using gView.Framework.Data;
using gView.Framework.Symbology;
using gView.Framework.Symbology.UI;
using gView.Framework.system;
using gView.Framework.UI;
using gView.Win.Carto.Rendering.UI.Framework.Carto.Rendering.Extensions;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Draw... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BasicTree
{
class Node
{
public Node left { set; get; }
public Node right { set; get; }
public int Value { set; get; }
public Node(int v)
{
Value = v;
}... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using CefSharp;
namespace Browser.Core.CefHandler
{
//https://stackoverflow.com/questions/38096349/modifying-remote-javascripts-as-they-load-with-cefsharp
public class FindReplaceResponseFilter : IResponseFi... |
using UnityEngine;
using System.Collections;
public class HeartEmit : MonoBehaviour {
public Stats slutStats;
public GameObject heartPrefab;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetKeyDown(KeyCode.Space))
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace calculator
{
// credits to eric lippert, see: http://blogs.msdn.com/b/ericlippert/archive/2007/12/04/immutability-in-c-part-two-a-simple-immutable-stack.aspx
public interface IState<T> : IEnumerable<T>
{
IState<T>... |
namespace WispFramework.Patterns.Containers
{
public abstract class ContainerSingleton<T> : Container
where T : new()
{
public static T Instance { get; } = new T();
}
}
|
// Copyright (C) 2008 Jesse Jones
//
// 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, modify, merge, publish,
/... |
using DFC.ServiceTaxonomy.ContentApproval.Models.Enums;
using DFC.ServiceTaxonomy.ContentApproval.Permissions;
using OrchardCore.Security.Permissions;
namespace DFC.ServiceTaxonomy.ContentApproval.Extensions
{
public static class ReviewTypeExtensions
{
public static Permission? GetRelatedPermission(th... |
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Threading.Tasks;
using AnyTest.ClientAuthentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.Entit... |
using System;
using ProtoBuf;
namespace HiLoSocket.Model
{
/// <summary>
/// Data Model for socket transmition.
/// </summary>
[Serializable]
[ProtoContract]
public class SocketCommandModel
{
/// <summary>
/// Gets or sets the name of the command.
/// </summary>
... |
using System;
using System.Linq;
using Net01_1.Inerface;
namespace Net01_1.Model
{
public class TrainigLesson:BaseEntity, ICloneable, IVersionable
{
public byte[] Version { get; set; }
private BaseTrainingMaterial[] _trainingMaterial;
private int _nextFreePosiction;
private re... |
using System.Linq;
using System.Threading.Tasks;
using ApiTemplate.Common.Markers.DependencyRegistrar;
using ApiTemplate.Core.Entities.Users;
using ApiTemplate.Model.Commons;
using ApiTemplate.Model.Jwt;
using ApiTemplate.Model.Users;
using ApiTemplate.Service.Jwt;
using ApiTemplate.Service.Users;
namespace ApiTempl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.Sconit.Entity.INV;
namespace com.Sconit.Service
{
public interface IKanBanCardMgr
{
void CreateKanBanCard(KanBanCard kanBanCard, int? qty);
void UpdateKanBanCard(KanBanCard kanBanCard, int? qty);
... |
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Poc1;
namespace My.Functions
{
public static c... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using Project.Forms.Layouts;
using Project.Helpers;
using Project.Models;
using Project.Services;
namespace Project.Forms {
public class MovieList : BaseLayout {
// Frontend
private ListView contain... |
using System;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.WMS
{
[Serializable]
public partial class RepackTask : EntityBase
{
#region O/R Mapping Properties
public string UUID { get; set; }
public Int32 Id { get; set; }
[Display(Name = "Repack... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _04_Find_Evens_or_Odds
{
public class _04_Find_Evens_or_Odds
{
public static void Main()
{
var borders = Console.ReadLine().Split().Select(int.Parse).ToArray();
var command ... |
using System;
using System.Globalization;
using AIMLbot.AIMLTagHandlers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AIMLbot.UnitTest.TagTests
{
[TestClass]
public class DateTagTests
{
private Date _dateTagHandler;
[TestInitialize]
public void Setup()
{
... |
using SFA.DAS.CommitmentsV2.Shared.Interfaces;
using SFA.DAS.ProviderCommitments.Web.Models;
using System.Threading.Tasks;
using SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Requests.OverlappingTrainingDateRequest;
using SFA.DAS.ProviderCommitments.Interfaces;
using SFA.DAS.ProviderCommitments.Web.Services.Cach... |
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities.Core;
using MongoDB.Driver;
using MongoDB.Driver.Linq;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
namespace Alabo.Datas.Stores.Add.Mongo {
public class GetListAsyn... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PauseDialog : BaseDialog {
}
|
using ND.FluentTaskScheduling.Model;
using ND.FluentTaskScheduling.Model.enums;
using ND.FluentTaskScheduling.Model.request;
using ND.FluentTaskScheduling.Model.response;
using ND.FluentTaskScheduling.TaskInterface;
using ND.FluentTaskScheduling.Web.App_Start;
using Newtonsoft.Json;
using System;
using System.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data;
using System.Net;
public partial class TaskRank : System.Web.UI.Page
{
private enum GridColumns
{
Title = 0,
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.SceneManagement;
[RequireComponent(typeof(InputManager))]
public class GameManager : Singleton<GameManager> {
private ContextManager ContextManager;
public LevelManager LevelManager {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace StrategyGame
{
public class DataCollector
{
public FileStream F = new FileStream("io.txt", FileMode.Append, FileAccess.Write);
//public List<Entry> Ent... |
// kcp client logic abstracted into a class.
// for use in Mirror, DOTSNET, testing, etc.
using System;
using System.Net;
using System.Net.Sockets;
namespace kcp2k
{
public class KcpClient
{
// kcp
// public so that bandwidth statistics can be accessed from the outside
public KcpPeer pe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using StardewValley;
using Harmony;
namespace DialogueFramework
{
[HarmonyPatch]
class Patch1
{
internal static MethodInfo TargetMethod()
{
... |
using UserService.DTO;
using UserService.Model.Memento;
namespace UserService.Mapper
{
public static class PatientRegistrationMapper
{
public static PatientAccountMemento ToPatientAccountMemento(this PatientRegistrationDTO dto)
{
return new PatientAccountMemento()
{
... |
using System.Collections.Generic;
using WMTPresentation.Entities;
using WMTPresentation.Services.Dto;
namespace WMTPresentation.Services.Intarfaces
{
public interface ISlideService
{
//CRUD
void Create(Slide entity);
List<SlideDto> Read();
Slide Read(int id);
List<Slide... |
using System.Collections.Generic;
namespace HEnCasa.App.Dominio{
public class Medico{
public int Id {get; set;}
public string Nombre {get; set;}
public string Apellidos {get; set;}
public string Telefono {get; set;}
public string Genero {get; set;}
public s... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using XH.APIs.WebAPI.Models.Shared;
namespace XH.APIs.WebAPI.Models.Categories
{
[DataContract]
public class CreateOrUpdateCategoryRequest
{... |
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using TaskManager.DataAccess;
namespace TaskManager.UnitTests.DataAccess
{
[TestFixture]
public class TaskRepositoryTests
{
[Test]
public void ... |
using Caliburn.Micro;
using Caliburn.Micro.Xamarin.Forms;
using System;
using Xamarin.Forms;
namespace RRExpress.AppCommon {
public class MasterDetailLocator {
public static readonly BindableProperty MasterProperty =
BindableProperty.Create("Master",
typeof(Screen),
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lab.MIS.IDAL;
using Lab.MIS.Model;
namespace Lab.MIS.EFDAL
{
public class UserInfoDal : BaseDal<UserInfo>, IUserInfoDal
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AIfulltrigger : MonoBehaviour
{
public GameObject FULLtrigAI;
public GameObject HALFTRIGAI;
public static int lapAI = 0;
private void OnTriggerEnter(Collider other)
{
if(other.tag=="AI")
{
lapAI++;
FULLtrigA... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChangeCharacter : MonoBehaviour {
[SerializeField]
private GameObject character1, character2, character3;
[SerializeField]
private Character char1, char2, char3;
public float moveSpeed;
public float ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Fiddler;
namespace FiddlerCoreDemo
{
/// <summary>
/// 下载fiddlercore包
/// https://www.nuget.org/packages/FiddlerCore/
///
/// 简单使用参考这个博客
/// htt... |
using AlgorithmProblems.Arrays.ArraysHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Dynamic_Programming
{
/// <summary>
/// Given an array, partition it into 2 sets(could be of different size)
/// such... |
using SkiaSharp;
using SkiaSharp.Views.Forms;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
using TimeLogger.Helpers;
using TimeLogger.Web.Models;
namespace TimeLogger.ViewModels
{
public class DailyLogsPageViewMod... |
namespace RestaurantDiscount
{
using System;
public class StartUp
{
public static void Main()
{
decimal groupSize = decimal.Parse(Console.ReadLine());
string package = Console.ReadLine().ToLower();
string room = "";
decimal priceRoom = 0.00M... |
using React_AD_B2C_WebApi.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace React_AD_B2C_WebApi.Services
{
public interface IItemsService
{
IEnumerable<Item> GetAll();
Item Exists(Guid id);
Item Edit(Item item, ItemEditRequest request);
Item C... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class leahShower : MonoBehaviour
{
[SerializeField] Animator leah;
[SerializeField] Transform head;
// Start is called before the first frame update
void Start()
{
if(PlayerPrefs.GetInt("leahStory", 0) ==... |
namespace IdeasLibrary
{
public class Idea
{
public string Category { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public bool IsPublic { get; set; }
}
}
|
using System;
namespace Clever_Lily
{
class Program
{
static void Main(string[] args)
{
int ageOfLilly = int.Parse(Console.ReadLine());
double priceOfWashingMachine = double.Parse(Console.ReadLine());
int priceOfToys = int.Parse(Console.ReadLine());
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ASPNETCOREJSON.Models;
using Microsoft.EntityFrameworkCore;
namespace ASPNETCOREJSON.Contexts
{
public class MercuriesContext : DbContext
{
public MercuriesContext(DbContextOptions<MercuriesContext> ... |
using Microsoft.EntityFrameworkCore;
namespace AGCompressedAir.Domain.Domains.Base
{
public class DomainContext : DbContext
{
public DbSet<ServiceDomain> Services { get; set; }
public DbSet<ClientDomain> Clients { get; set; }
public DbSet<PartDomain> Parts { get; set; }
prot... |
using Core.Entities.Abstract;
using System;
namespace Entities.Concrete
{
public class Rental:IEntity
{
// Rentals-->Id, CarId, CustomerId, RentDate(Kiralama Tarihi), ReturnDate(Teslim Tarihi)
public int Id { get; set; }
public int CarId { get; set; }
public int CustomerId { ge... |
using DevExpress.XtraReports.UI;
namespace Phenix.Windows.Helper
{
/// <summary>
/// XtraReport扩展
/// </summary>
public static class XtraReportExtentions
{
/// <summary>
/// 显示报表预览
/// canDesign = true
/// </summary>
/// <param name="report">报表</param>
public static void ShowPreviewD... |
using LuckyMasale.DAL.DataProviders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LuckyMasale.BAL.Managers
{
public interface IProductReviewManager
{ }
public class ProductReviewManager:IProductReviewManager
... |
using System;
using Utilities;
namespace EddiEvents
{
[ PublicAPI ]
public class ShipShutdownRebootEvent : Event
{
public const string NAME = "Ship shutdown reboot";
public const string DESCRIPTION = "Triggered when your ship's system reboots after a forced shutdown";
public static... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IdomOffice.Interface.BackOffice.MasterData
{
public class GeoMasterDateInfo
{
public UnitOffer UnitOffer { get; set; }
public TouristUnit TouristUnit { get; set; }
... |
using System;
using System.IO;
using System.Security;
using System.Security.Cryptography;
using System.Runtime.InteropServices;
using System.Text;
namespace CvcEncr {
class Encryption {
#region key generation and retrieval
private static readonly byte[] SALT = new byte[] { 0x26, 0xdc, 0xff, 0x0... |
using System;
class TheBiggestOfThreeNumbers
{
private static void Main()
{
while (true)
{
double a = 0, b = 0, c = 0, ldMaxNumber = 0;
Console.Write("Enter first real number : ");
var tmpA = Console.ReadLine();
Console.Write("Enter second real n... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Yarn;
using Yarn.Unity;
using TMPro;
public class Notebook : MonoBehaviour
{
public static Notebook instance;
public List<string> lines;
public GameObject notebookOverlay;
public int leaveNoteboo... |
using System;
namespace Facade.Estrutural
{
public class SubSistemaTres
{
public void MetodoTres()
{
Console.WriteLine("Método do Subsistema Tres");
}
}
}
|
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Server.IIS;
using MSMBackend.Data.Entity;
using MSMBackend.Data.Tokens;
using MSMBackend.Dtos.LoginReturnDto;
using MSMBackend.Dtos.UserDto;
using MSMBackend.Models;
using System;
u... |
using UnityEngine;
using UnityEditor;
namespace BanSupport
{
[CustomPropertyDrawer(typeof(BoolConditionAttribute))]
public class BoolConditionPropertyDrawer : PropertyDrawer
{
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
BoolConditionAttribute condHAtt = (BoolCo... |
using Microsoft.EntityFrameworkCore;
using Supermarket.API.Domain.Models;
using Supermarket.API.Domain.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Supermarket.API.Persistance.Repositories
{
public class CategoryRepository : BaseRepositor... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MonoDroid.Common.Listener
{
public static class ListenerFactory
{
public static T Create<T>()
{
return default(T);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Construction_Project
{
public partial class tr_reports : System.Web.UI.Page
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace zad1 {
class Car : IAccelerate {
private int accelerate;
private static int counter;
private int index;
private string name;
public Ca... |
using Web.Interfaces;
using System.Collections.Generic;
namespace Web.Models
{
public class User : IModel
{
#region Properties
public int Id { get; set; }
public string Name { get; set; }
public string Username { get; set; }
public string Password { get; set; }
... |
using System;
using System.Windows;
namespace Crystal.Plot2D.DataSources
{
public interface IPointEnumerator : IDisposable
{
/// <summary>
/// Move to next point in sequence.
/// </summary>
/// <returns>
/// True if successfully moved to next point or false if end of sequence is reached.
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using SimpleTaskListSPA.Data;
namespace SimpleTaskListSPA.Models.Database
{
//класс для первоночального наполнения бд
public static class SeedData
{
public static s... |
namespace Parliament.ProcedureEditor.Web.Models
{
public class House
{
public int Id { get; set; }
public string TripleStoreId { get; set; }
public string HouseName { get; set; }
}
} |
using Euchre.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Euchre
{
public class Dealer
{
private const int DECK_SIZE = 52;
private const int NUMBER_OF_SUITS = 4;
public static List<Card> Deck = new List<Card>();
privat... |
using System;
namespace Fingo.Auth.AuthServer.Client.Exceptions
{
public class ServerNotValidAnswerException : Exception
{
public new const string Message =
"The authentication server returned invalid answer. Try again in a few seconds.";
}
} |
using System;
using System.Collections.Generic;
namespace OrgMan.DomainObjects.Session
{
public class SessionDomainModel
{
public Guid SessionUID { get; set; }
public Guid LoginUID { get; set; }
public List<Guid> MandatorUIDs { get; set; }
public DateTimeOffset ExpireDate { ... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using CloudElettricisti.Models;
using Lib;
using Newtonsoft.Json;
namespace CloudElettricisti.Controllers
{
pu... |
using System;
namespace VetClinicPublic.Web.Models
{
public class AppointmentScheduledEvent
{
public AppointmentScheduledEvent(AppointmentDTO appointment) : this()
{
AppointmentScheduled = appointment;
}
public AppointmentScheduledEvent()
{
DateT... |
using System.Collections.Generic;
using CandyCoded.Forms;
using Newtonsoft.Json;
using UnityEngine;
public enum Type
{
Admin = 0,
User = 1
}
public class Profile
{
public string firstName;
public string lastName;
public string age;
public bool active;
public Type type;
}
public c... |
using Crystal.Plot2D;
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Security;
using System.Windows;
using System.Windows.Markup;
// General Information about an assembly is controlled through the following set of attributes.
// Change these attribute values t... |
using System;
namespace Tech_Module_1_More_Excercises
{
class Program
{
static void Main(string[] args)
{
double n1 = double.Parse(Console.ReadLine());
double n2 = double.Parse(Console.ReadLine());
double n3 = double.Parse(Console.ReadLine());
do... |
using System;
namespace Adapter
{
class Program
{
static void Main(string[] args)
{
var cart1 = new Cart("Soap", "Address1");
cart1.Buy(new InHouseDeliveryService());
var cart2 = new Cart("Food", "Address2");
cart2.Buy(new FedexDeliv... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UserPayMembership : MonoBehaviour
{
public InputField usernameField;
public InputField priceField;
public GameObject SuccessPanel;
public GameObject PayPanel;
public void ExitSuccess... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ChatAPI.Models.ChannelsModel
{
public interface IChannelRepository
{
public IEnumerable<ChannelsModel> GetUserChannels(int userId);
public IEnumerable<ChannelsModel> GetChannels();
... |
namespace Pentagon.Extensions.Localization {
using System;
using JetBrains.Annotations;
public interface ILocalizationFormattedValueDefinition {
[NotNull]
string Key { get; }
[NotNull]
Type[] FormatTypes { get; }
}
} |
namespace Ach.Fulfillment.Tests.Persistence
{
using System;
using Ach.Fulfillment.Data;
using FluentNHibernate.Testing;
using NUnit.Framework;
using QuickGenerate.Primitives;
[TestFixture]
public class SpecificationTests : PersistenseTestBase
{
#region Public... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.