text stringlengths 13 6.01M |
|---|
using DistCWebSite.Core.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DistCWebSite.Core.Interfaces
{
public interface IM_UserRespository
{
void Add(M_User user);
void Update(M_User user);
void De... |
/***********************************************
*
* Base class for All Weapon Animation
* functions should contain instructions that
* are always called in the same order
*
***********************************************/
namespace DChild.Gameplay.Player
{
public abstract class WeaponAnimation : PlayerAn... |
using System;
namespace FBS.Domain.FlightControl
{
public class Flight
{
public Guid Id { get; set; }
public DateTime Date { get; set; }
public TimeSpan Duration { get; set; }
public Airport From { get; set; }
public Airport To { get; set; }
public string G... |
using MvvmHelpers;
using AdminJonganggur.Models;
using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using AdminJonganggur.Services;
using System.ComponentModel;
using AdminJonganggur;
namespace AdminJonganggur.Vie... |
using System;
using System.Collections.Generic;
using System.Linq;
using log4net;
using Lucene.Net.Documents;
using Profiling2.Domain.Contracts.Search;
using Profiling2.Domain.Extensions;
using Profiling2.Domain.Prf.Units;
using Profiling2.Infrastructure.Search.IndexWriters;
namespace Profiling2.Infrastructure.Search... |
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;
using System.Data.OleDb;
namespace Management_Plus
{
public partial class Wellcome : Form
{
int a = 31;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Mirror;
public class RoomPlayerUIControler : NetworkBehaviour
{
private const string playerImagePrefix ="PlayerType";
private const int startingCharNumber = 1;
private const int maxCharTypes = 8;
... |
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace Server_CS.Controllers
{
[Route("api/[controller]")]
[ApiCont... |
using System.Data.Entity.ModelConfiguration;
using Efa.Domain.Entities;
namespace Efa.Infra.Data.EntityConfig
{
public class AlunoConfiguration : EntityTypeConfiguration<Aluno>
{
public AlunoConfiguration()
{
ToTable("Aluno");
HasKey(a => a.AlunoId).HasOptional(a => a.... |
using System.Collections;
using GeoAPI.Extensions.Feature;
using GeoAPI.Geometries;
using SharpMap.Layers;
using System.Collections.Generic;
namespace SharpMap.UI.Snapping
{
public class SnapRule : ISnapRule
{
public ILayer SourceLayer { get; set; }
public ILayer TargetLayer { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SubmarineEnemy : Enemy
{
[SerializeField]
public bool canFire;
[SerializeField]
protected Transform playerTransform;
[SerializeField]
protected Transform muzzleTransform;
[SerializeField]
prote... |
using System;
namespace BankAccountAPI.Models
{
public class Class1
{
}
}
|
using Caliburn.Micro;
using RRExpress.AppCommon;
using RRExpress.AppCommon.Attributes;
using System.Windows.Input;
using Xamarin.Forms;
namespace RRExpress.Seller.ViewModels {
[Regist(InstanceMode.Singleton)]
public class OrdersViewModel : BaseVM {
public override string Title {
get {
... |
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Anywhere2Go.DataAccess.Entity
{
public class TaskPriority
{
public string taskPriorityId { get; set; }
public string taskPr... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Test.API.Data;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace Tes... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace AweShur.Core
{
public enum DBDialectEnum
{
SQLServer,
PostgreSQL,
SQLite,
MySQL,
}
public class DBDialect
{
private static readonly Lazy<DBDia... |
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 WinformControlUse
{
public partial class Forml : Form
{
public Forml()
{
InitializeCompo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UEditor.Services
{
public interface IAlbumService
{
}
}
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace ContactProject.Repository
{
public class ContactRepository:IContactRepository
{
private MVCEntities context;
public ContactRepository(MVCEntities context)
{
this.context = conte... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Text.RegularExpressions;
using EnsureThat.Annotations;
using EnsureThat.Internals;
using JetBrains.Annotations;
using NotNullAttribute = System.Diagnostics.CodeAnalysis.NotNullAttribute;
namespace EnsureThat.Enforcers
{
[SuppressMessage("Performan... |
using System.Reflection;
[assembly: AssemblyTitle("FastAnimations")]
[assembly: AssemblyVersion("1.7.1")]
|
using System.Xml;
using AIMLbot.AIMLTagHandlers;
using AIMLbot.Utils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AIMLbot.UnitTest.TagTests
{
[TestClass]
public class InputTagTests
{
private User _user;
private Request _request;
private SubQuery _query;
pri... |
using System;
using System.Collections.Generic;
namespace Zesty.Core.Entities
{
public class Resource
{
public Guid Id { get; set; }
public Guid ParentId { get; set; }
public string Url { get; set; }
public string Title { get; set; }
public string Image { get; set; }
... |
using Alabo.App.Kpis.Kpis.Domain.Configs;
using Alabo.App.Kpis.Kpis.Domain.Entities;
using Alabo.App.Kpis.Kpis.Domain.Repositories;
using Alabo.App.Kpis.Kpis.Dtos;
using Alabo.Data.People.Teams.Domain.Services;
using Alabo.Data.People.Users.Domain.Services;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
namespace com.zhifez.seagj {
public class UI_TmKiosk : Base {
public static UI_TmKiosk instance;
public Transform container;
public Text title;
public Text values;
public Text... |
using Irony.Parsing;
namespace Bitbrains.AmmyParser
{
public class AstAmmyBindSourceAncestorData : IAstAmmyBindSourceSource, IBaseData
{
public AstAmmyBindSourceAncestorData(SourceSpan span, FullQualifiedNameData ancestorType, int? level)
{
Span = span;
AncestorT... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using Efa.Domain.Entities;
using Efa.Domain.Interfaces.Repository;
using Efa.Infra.Data.Context;
namespace Efa.Infra.Data.Repository
{
public class AlunoRepository : RepositoryBase<Aluno, EfaContext>, IAlunoRepository
... |
using OpenAccessRuntime.metadata;
using OpenAccessRuntime.Relational.metadata;
using OpenAccessRuntime.Relational.sql;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Web.Hosting;
... |
using UnityEngine;
using System.Collections;
public class PotionScript : MonoBehaviour {
void OnTriggerEnter2D(Collider2D coll)
{
GameObject.Find("Health").GetComponent<Health>().FullHealth();
Destroy(gameObject);
}
}
|
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.Data;
using System.IO;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.UI;
using System.Web.UI... |
using mvvm.Utils;
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.Wind... |
public enum Color
{
Red, Green, Grey, Blue, Magenta, White
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using System.Collections.ObjectModel;
namespace JoeCalc
{
public partial class MainPage : ContentPage
{
List<Operand>... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Diese Klasse befüllt das Whiteboard mit den Klassifikationsattributen des Protokolls.
/// </summary>
public class WhiteboardValueLoader : MonoBehaviour
{
private DataVisClassification classificat... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Regadera : MonoBehaviour, IHerramientaBase
{
public Tier tier;
public string nombre;
public string descripcion;
public TipoHerramienta tipoHerramientaU;
public int durabilidadAc;
public in... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using Microsoft.EntityFrameworkCore;
using ZavenDotNetInterview.Abstract;
using ZaventDotNetInterview.Models;
namespace ZavenDotNetInterview.Data.Repository
{
public class Repository<TEntity> : IRe... |
using PhanMemQuanLyKhachSan.Model;
using QuanLyNhaHang.Helper;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Win... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace EmberMemory.Components.Collector
{
public interface ICollectorContainer
{
public ValueTask Run(CancellationToken cancellationToken);
}
public interface ICollectorC... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UIHitEffect : MonoBehaviour {
public AnimationCurve scaleCurve;
public float time = 0.3f;
void Start () {
transform.localScale = Vector3.zero;
StartCoroutine(Animate());
}
private IEnumera... |
using System;
using System.Xml.Linq;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using System.Xml;
using System.Runtime.InteropServices;
using Microsoft.Win32;
using System.Runtime.CompilerServices;
namespace work_with_the_register
{
public partial class Form1 : Form
{
public F... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Yaringa.Models.Token;
namespace Yaringa.UnitTests.Models.Token {
public class FakeTokensClient : ITokensClient {
public async Task<TokenDTO> CreateAsync(TokenCreationDTO dto) {
return new TokenDTO() {
Acc... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Text;
namespace SPA.Models.DAO
{
public static class Animaux_enqueteDAO
{
/// <summary>
/// Recupere les animaux de l'enquete
/// </summary>
/// <param name="Id">id de l'enquete</param>
... |
namespace TripLog.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Models;
public interface ITripLogDataService
{
Task<IEnumerable<TripLogEntry>> ReadAllEntriesAsync();
Task AddEntryAsync(TripLogEntry entry);
Task DeleteEntryAsync(TripLogE... |
using System;
namespace Cache.Core.Events
{
public class CacheEventArgs<TKey> : EventArgs
{
protected TKey key;
public CacheEventArgs(TKey key)
{
if(key != null)
this.key = key;
else
throw new ArgumentException("Key must not be e... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rockpaperscissorslizardspock
{
class playerHuman : Player
{
public override void SetGestures()
{
Console.WriteLine("Enter your gesture: Roc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Reflection;
using System.Threading;
using IRAP.Global;
namespace IRAP.Client.Global.WarningLight
{
public class ZLan6042 : WarningLight
{
priva... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TurtleEgg : MonoBehaviour
{
public float speed;
private GameController gameController;
void Start () {
gameController = GameObject.Find("GameController").GetComponent<GameController>();
}
... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApiEmpresas.Models
{
public class EmpresaDbContext : DbContext
{
public EmpresaDbContext(DbContextOptions<EmpresaDbContext> options) : base(options)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EasyDev.BL;
using System.Data;
using EasyDev.Applications.SQMS;
namespace SQMS.Services
{
public class MonitorPointService : GenericService, IPortalPartService
{
public EnumerationSe... |
using SOP_IAA.Models;
using SOP_IAA_DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using System.Web.Mvc;
using System.Data;
using System.Net;
using System.Web.Script.Serialization;
using System.IO;
using System.Web.Services;
using Newtonsoft.Json;
us... |
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// A custom property drawer for Void BaseEventReferences. Makes it possible to choose between an Event, Event Instancer, Collection Cleared, List Cleared, Collection Instancer Cleared or List Instancer Cleared.
... |
using System;
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class Weapon : MonoBehaviour {
bool shooting;
bool waitToSwing;
bool[] reloading = new bool[4];
int[] CLIP_SIZES = {8, 1, 15};
int[] clip_sizes = new int[3];
int[] ammo_ammounts = new int[3]; // the amoun... |
using System;
namespace Inventory.Models
{
public class OrderDishGarnishModel : BaseModel
{
public int OrderDishId { get; set; }
public Guid DishGuid { get; set; }
public Guid GarnishGuid { get; set; }
public decimal Quantity { get; set; }
public decimal Price { get... |
using Microsoft.EntityFrameworkCore;
namespace tellick_admin.Repository {
public class TellickAdminContext : DbContext {
public TellickAdminContext(DbContextOptions<TellickAdminContext> options) : base(options) {
}
public DbSet<Customer> Customers { get; set; }
public DbSet<Project... |
using System;
namespace AlgorithmProblems.Dynamic_Programming
{
/// <summary>
/// Pivot floor: floor from which when the egg is dropped it will break.
/// We need to return the minimum number of trails in worst case to get this privot floor
/// We are given the number of floors and the number of eggs ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AbstractFactoryPattern.AbstractEntity
{
public interface IVehicle
{
IBike GetBike(string bike);
IScooter GetScooter(string scooter);
}
}
|
using System;
using System.Security.Cryptography.X509Certificates;
namespace Microsoft.Azure.Batch.SoftwareEntitlement
{
/// <summary>
/// Options for running as a standalone server
/// </summary>
/// <remarks>Built by a <see cref="ServerOptionBuilder"/> from an instance of
/// <see cref="ServerCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _036_BOOLEAN
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Введите координаты шахматной доски x1,y1,x2,y2 от 1 до 8");
... |
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 Proyecto
{
public partial class Form1 : Form
{
public Form1()
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Food_Enforcement.Models;
using static Food_Enforcement.Models.EF_Models;
//using static Food_Enforcement.APIHandlerManager... |
using System.Threading.Tasks;
public abstract class ITask
{
private Task mTask;
public string Name { get; set; }
public void Start()
{
mTask = new Task(Run);
mTask.Start();
}
public abstract void Run();
public bool IsCanceled()
{
return mTask.IsCanceled;
... |
using System;
using Tomelt.ContentManagement.Utilities;
namespace Tomelt.ContentManagement.Aspects {
public interface IPublishingControlAspect {
LazyField<DateTime?> ScheduledPublishUtc { get; }
}
} |
using System.Collections.Generic;
namespace gView.Framework.Symbology
{
public class AnnotationPolygonCollection : List<IAnnotationPolygonCollision>, IAnnotationPolygonCollision
{
#region IAnnotationPolygonCollision Member
public bool CheckCollision(IAnnotationPolygonCollision poly)
{... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MapHidingPlane : MonoBehaviour {
// Use this for initialization
void Start () {
GetComponent<MeshRenderer> ().enabled = false;
}
public void RevealMap() {
GetComponent<MeshRenderer> ().enabled = true;
}
// This is ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class facultyTab : MonoBehaviour
{
[SerializeField] public GameObject[] Tabs;
public void OpenTeachersTab()
{
Tabs[0].SetActive(true);
Tabs[1].SetActive(false);
Tabs[2].SetActive(false);
}
... |
using UnityEngine;
using UnityAtoms.BaseAtoms;
using UnityAtoms.MonoHooks;
namespace UnityAtoms.MonoHooks
{
/// <summary>
/// Set variable value Action of type `Collision2DGameObject`. Inherits from `SetVariableValue<Collision2DGameObject, Collision2DGameObjectPair, Collision2DGameObjectVariable, Collision2... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace CountdownLettersWPF.API
{
public interface IAnagramsEndpoint
{
Task<List<string>> GetAnagrams(string text);
}
} |
using RabbitMQ.Client;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace RabbitMQManager.Models
{
public class MessageBodyEvent : EventArgs
{
public MessageBodyEvent(string message, IBasicProperties basicProperties, IModel model)... |
namespace FootballApp_AutomaticMigrationEnabled_false.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class RenameNameToNameOfTeamInTeamsTable : DbMigration
{
public override void Up()
{
AddColumn("dbo.Teams", "NameOfTeam", c => c.String()... |
using System;
using System.ComponentModel.DataAnnotations;
namespace PatientsRegistry.Domain.Validation
{
public class BirthdateAttribute : ValidationAttribute
{
private static readonly BirthdateAttribute _instance = new BirthdateAttribute();
public static bool IsInvalid(object value)
... |
// Copyright (c) Bruno Brant. All rights reserved.
using System;
using Xunit;
namespace RestLittle.Tests
{
public class InputManagerTests
{
[Fact]
public void GetLastInputTime_ReturnsValidDateTime()
{
var sut = new InputManager();
var time = sut.GetLastInputTime();
// BUG: this may fail when running... |
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
namespace OcenaKlientow.Migrations
{
public partial class temp : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PrimE
{
class Program
{
static void Main(string[] args)
{
int prim = 0;
Console.WriteLine("Kérek egy számot!");
prim = int.Parse(Con... |
using MessagePack;
using System;
using System.IO.MemoryMappedFiles;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
//WriteMemory();
WriteMemorySerialize();
}
static void WriteMemory()
{
Console.WriteLine("Please enter a message, and then press Enter.")... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using DevExpress.XtraEditors;
using IRAP.Global;
using IRAP.Client.User;
using IRAP.Entity.Kanban;
using IRAP.Entit... |
using WinterIsComing.Contracts;
namespace WinterIsComing.Models.Spells
{
public class Cleave : ISpell
{
private const int CleaveEnergyCost = 15;
private int damage;
private int healt;
public Cleave(int damage, int healt)
{
this.Damage = damage;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour
{
[SerializeField]
List<GameObject> characterPrefabs = null;
public List<GameObject> CharacterPrefabs => characterPrefabs;
[SerializeField]
Dictionary<string, GameObject> charac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using ArtificialArt.Lyrics;
namespace WaveBuilder
{
/// <summary>
/// Manages selections of themes
/// </summary>
internal class ThemeSelectionManager
{
#region Fields
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MyObjectCollision : MonoBehaviour {
public GameObject cameraLeap;
private MoveLeap script;
// Use this for initialization
void Start () {
script = cameraLeap.GetComponentInChildren<MoveLeap>();
}
// Upd... |
using Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Web;
using System.Web.Mvc;
using MetadataDiscover;
using Guid.Web;
using BusinessLogicalLayer;
using System.IO;
namespace Guid.Controllers
{
public class HomeControll... |
using Knjizara.Models; // dodato da bi se koristilo Racun i RacunZaposleni
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Knjizara.Controllers
{
[Autorizacija(Roles = "Zaposleni")]
public class ZaposleniRacunController : Controller
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace testMonogame
{
class PushableBlock : IObject, ISprite, IBlock
{
Texture2D texture;
Rectangle destRect;
Rectangle orig;
String pus... |
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.Admin
{
public partial class FrmAdminPerson... |
namespace Models
{
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Interfaces;
public class Login : ILogin
{
public int Id { get; set; }
[Required, StringLength(4000, MinimumLength = 1), Index(IsUnique = true)]
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using DevExpress.XtraTreeList.Nodes;
using System.Threading;
namespace IRAP.UFMPS.Library
{
abstract class TCustomDocumentProcess
{
protected UserControls.UCMonitorLog showLog = null;
... |
using Data.Common.QueryBuilder;
using Microsoft.EntityFrameworkCore.Query;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Data.Contracts
{
public interface IRepository : IDisposable
{ }
public interface IRepository<T> : IRe... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using PeopleSearch.Models;
using Syst... |
using Common.Contracts;
using Common.Model;
using System;
using System.Collections.Generic;
using System.Data.Entity.Validation;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Common.DbTools
{
public class DbGroup : IDbGroup
{
public DbGroup()
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DiverManager : MonoBehaviour
{
public GameObject Diver;
[SerializeField]
List<GameObject> diverCount = new List<GameObject>();
public GameObject subMarine;
[SerializeField]
List<GameObject> subMarineLi... |
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 StockTracking.BLL;
using StockTracking.DAL.DTO;
namespace StockTracking
{
public partial class... |
using Abp.Domain.Entities.Auditing;
namespace Abp.Authorization.Users
{
/// <summary>
/// Represents role record of a user.
/// </summary>
public class UserRole : CreationAuditedEntity<long> //TODO: Add a unique index for UserId, RoleId
{
/// <summary>
/// User Id.
/// </su... |
#region MIT License
/*
* Copyright (c) 2013 University of Jyväskylä, Department of Mathematical
* Information Technology.
*
* 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 res... |
using System;
namespace ITCastOCSS.Model
{
/// <summary>
/// Elective:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class Elective
{
public Elective()
{}
#region Model
private int _eid;
private int? _sid;
private int? _cid;
private decimal? _score;
/// <summary>
///
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace com.Sconit.Web.Models.SearchModels.ORD
{
public class IpMasterSearchModel:SearchModelBase
{
public string IpNo { get; set; }
public int? Status { get; set; }
public string PartyFrom { get; se... |
using SmallWebApi.Adapters.Interface;
namespace SmallWebApi.Adapters
{
public class SomeAdapter : ISomePort
{
public void Save()
{
//TODO
}
}
}
|
using FluentAssertions;
using NUnit.Framework;
namespace Hatchet.Tests.ParserTests
{
[TestFixture]
public class EmptyFileTests
{
[Test]
public void Parse_EmptyFile_ReturnsNull()
{
// Arrange
var input = "";
var parser = new Parser();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
namespace TfsMobileServices.Controllers
{
public class TfsAccountController : ApiController
{
[Authorize]
public bool Get()
{
return true;
}
... |
using JT808.Protocol.Attributes;
using JT808.Protocol.Enums;
using JT808.Protocol.Formatters;
using JT808.Protocol.MessagePack;
namespace JT808.Protocol.MessageBody
{
/// <summary>
/// 平台通用应答
/// </summary>
public class JT808_0x8001 : JT808Bodies, IJT808MessagePackFormatter<JT808_0x8001>
{
... |
using Alabo.Cloud.People.UserRightss.Domain.Dtos;
using Alabo.Cloud.People.UserRightss.Domain.Entities;
using Alabo.Cloud.People.UserRightss.Domain.Services;
using Alabo.Data.People.Users.Domain.Services;
using Alabo.Extensions;
using Alabo.Framework.Basic.AutoConfigs.Domain.Services;
using Alabo.Framework.Basic.Grades... |
using System;
using ex2_DAL.Models;
using ex2_DAL.EF;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ex2_DAL.Repository
{
public class PersonRepository
{
private DalContext _context;
public PersonRepository()
{
_context = new ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.