text stringlengths 13 6.01M |
|---|
namespace MyEnums
{
public enum Minutes
{
oneDay = 1440,
twoDay = 2880
}
} |
using System;
namespace Task_2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter a count of rows and columns of the array");
if (!int.TryParse(Console.ReadLine(), out int N) || N == 0)
{
Console.WriteLine("Incorrec... |
using Cinema.DAO;
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 Cinema
{
public partial class fFilm : Form
{
string videoloc... |
using System.Collections.Generic;
using Alabo.Industry.Offline.Merchants.ViewModels;
using Alabo.Industry.Offline.Product.Domain.Entities;
namespace Alabo.Industry.Offline.Product.ViewModels
{
/// <summary>
/// MerchantProductViewModel
/// </summary>
public class MerchantProductViewModel
{
... |
namespace MySurveys.Services
{
using System;
using System.Linq;
using Contracts;
using Data.Repository;
using Models;
public class UserService : IUserService
{
private IRepository<User> users;
public UserService(IRepository<User> users)
{
this.users = u... |
namespace ServiceDesk.Ticketing.Domain.UserAggregate
{
public interface IRefreshUsers
{
void RefreshUsersFromAD(IUserRepository userRepository);
}
}
|
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 DonLEonFilms.Models;
using Microsoft.AspNetCore.Authorization;
using DonLEonFilms.Models.DataTable;
using DonLEonFilms.Dat... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace FuelRadar.UI
{
/// <summary>
/// The main page of the app with the navigation drawer
/// </summary>
public class RootPage : MasterDetailPage
{
private List<DetailPageItem> DetailPageItems;
public RootP... |
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using DrugManufacturing.Models;
using DrugManufacturing.Entities;
using DrugManufacturing.Data;
using DrugManufacturing.Services;
using System;
namespace DrugManufacturing.Controllers
{
public class UserController : Controller
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
public class SoundEffect : MonoBehaviour {
AudioSource audioSource;
// Use this for initialization
void Start () {
audioSource = GetComponent<AudioSource>();
audioSource.volume =... |
using CarManageSystem.helper;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;
namespace CarManageSystem.handler
{
/// <summary>
/// GetCarNumbers 的摘要说明
/// </summary>
public class GetCarNumbers : IHttpHandle... |
using UBaseline.Shared.Property;
namespace Uintra.Core.UbaselineModels
{
public class FolderModel : UBaseline.Shared.Media.FolderModel
{
public PropertyModel<string> FolderType { get; set; }
public PropertyModel<string> AllowedMediaExtensions { get; set; }
}
} |
using System;
namespace Infrastructure.ExtensionMethods
{
public static class TimeSpanExtensions
{
public static TimeSpan Milliseconds(this int value)
{
return TimeSpan.FromMilliseconds(value);
}
public static TimeSpan Seconds(this int value)
{
... |
using System.Collections.Generic;
namespace Alabo.UI.Design.AutoReports {
/// <summary>
/// 前台报表展示格式
/// 三种展示方式
/// 1. 只有数据表
/// 2. 只有图表
/// 3. 图表和数据表
/// </summary>
public class AutoReport {
/// <summary>
/// 日期格式
/// 格式:2019-6-26
... |
using FeriaVirtual.App.Desktop.Forms.Employees;
using FeriaVirtual.App.Desktop.SeedWork.FormControls;
using FeriaVirtual.App.Desktop.SeedWork.FormControls.MsgBox;
using MetroFramework;
using MetroFramework.Forms;
using System;
using System.Drawing;
using System.Windows.Forms;
namespace FeriaVirtual.App.Desktop.Forms.... |
using System;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core.Interops
{
public sealed partial class VlcManager
{
public string GetCompiler()
{
return Utf8InteropStringConverter.Utf8InteropToString(myLibraryLoader.GetInteropDelegate<GetCompiler>().Invoke());
... |
using UnityEngine;
public class ObjectCollision : MonoBehaviour
{
// Start is called before the first frame update
private void OnCollisionEnter(Collision collisionInfo)
{
Debug.Log(collisionInfo.collider.tag);
}
}
|
using LoowooTech.Stock.ArcGISTool;
using LoowooTech.Stock.Common;
using LoowooTech.Stock.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LoowooTech.Stock.Rules
{
public class JSYDGZQ020Rule:ArcGISBaseTool,Models.IRule
{
public override string Rul... |
using UnityEngine;
using UnityEngine.TestTools;
using NUnit.Framework;
using System.Collections;
using UnityEngine.UI;
public class TestScript
{
[UnityTest]
public IEnumerator TestScriptWithEnumeratorPasses()
{
var player = GameObject.Find("/Player");
var knight = GameObject.Find("/knight"... |
using System.Collections.Generic;
using Fingo.Auth.DbAccess.Models.Policies.Enums;
namespace Fingo.Auth.Domain.Policies.Factories.Actions.Interfaces
{
public interface IGetPoliciesUnassignedToProject
{
List<Policy> Invoke(int projectId);
}
} |
using System;
using System.Net;
using System.Net.Http;
using System.Text;
namespace AbiokaScrum.Api.Exceptions.Adapters
{
public class AggregateExceptionAdapter : IExceptionAdapter
{
private AggregateException exception;
public AggregateExceptionAdapter(AggregateException exception) {
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class MainMenuManager : MonoBehaviour {
/// <summary>
/// Player Options.
/// </summary>
public PlayerOptions po;
public Slider durationSlider;
public Text gameDura... |
using Microsoft.AspNetCore.Razor.TagHelpers;
using System.Threading.Tasks;
namespace Wee.UI.Core.TagHelpers
{
[HtmlTargetElement("bootstrap-listgroup-item")]
public class ListgroupItemTagHelper : TagHelper
{
[HtmlAttributeName("class")]
public string ListGroupItemClass { get; set; }
[HtmlAttributeN... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DevanshAssociate_API.Models
{
public class StepsData
{
}
}
|
// Sign Up Process For User that has a funeral home attach to them
public partial class FHSignUp : System.Web.UI.UserControl
{
private string strUserEmailTemplate = "FHSignUpThankYou";//holds the email template that the user is going to use
private string strUserEmailSubject = "Validating Your Registration ... |
namespace DPI.Interfaces
{
/* Specify the subcategory that every DPI is made for.
The concrete model could be tied to a fixed set of subcategories
in the database */
internal interface ISubcategory : IEntity
{
string Name { get; set; }
string Description { get; set; }
bool A... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace AnyTest.DbAccess.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "People",
... |
using System;
using System.Collections.Generic;
using Hl7.Fhir.Support;
using System.Xml.Linq;
/*
Copyright (c) 2011-2012, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Re... |
using System;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.SYS
{
[Serializable]
public partial class AccessLog
{
#region O/R Mapping Properties
public Int32 Id { get; set; }
public string UserCode { get; set; }
public string UserName { get; set; ... |
using System;
using System.Collections.Generic;
namespace DemoApp.Entities
{
public partial class ApplicationSettings
{
public Guid Id { get; set; }
public byte? MinimumNoOfRecogYears { get; set; }
public byte? MaximumNoOfPinsToGenerate { get; set; }
public byte? MinimumSchoolS... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class SlowTimeBar : MonoBehaviour
{
public TextMeshProUGUI slowTimeDisplay;
public Slider slider;
public GameObject reloadingBar;
public SlowTime slowTime;
private float current... |
using System;
using System.Collections.Generic;
namespace IrsMonkeyApi.Models.DB
{
public partial class TicketType
{
public TicketType()
{
Ticket = new HashSet<Ticket>();
}
public int TicketTypeId { get; set; }
public string TicketTypeName { get; set; }
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.SceneManagement;
using Object = UnityEngine.Object;
namespace DodGame
{
public class ResourceBehaviour : BBehaviourSingleton<ResourceBehaviour>
{
}
public class ResourcesImp... |
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
using System.Text;
using Terminal.Gui;
namespace Terminal.Gui.TopLevelTests {
public class MessageBoxTests {
readonly ITestOutputHelper output;
public MessageBoxTests (ITestOutputHelper output)
{
this.output = output;
}
[Fact, AutoI... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MRDL;
using UnityEngine;
public class Tutorial : MonoBehaviour
{
[SerializeField]
private GameObject holdUpPalmText = null;
[Serialize... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ManageDomain.Models
{
public class CusService
{
public int CusServiceId { get; set; }
public int CusId { get; set; }
public string Title { get; set; }
/// <summary>
/// 服务类型... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using KartLib;
using KartLib.Views;
using KartObjects;
using System.IO;
using System.Threading;
using FastReport;
using DevExpress.Xtra... |
using Pe.Stracon.SGC.Cross.Core.Base;
using Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual;
using Pe.Stracon.SGC.Infraestructura.Core.CommandContract.Contractual;
using Pe.Stracon.SGC.Infraestructura.Core.Context;
using Pe.Stracon.SGC.Infraestructura.Repository.Base;
using System;
using System.Collections.Gen... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace Inventory.Data
{
/// <summary>
/// Адрес клиента
/// </summary>
public class Address : BaseEntity
{
public Guid RowGuid { get; set; }
public ... |
using System;
namespace EntityFrameworkCoreDemo.Models
{
public class BaseObject
{
public string Id { get; private set; } = Guid.NewGuid().ToString();
public override string ToString()
{
return $"Id -> {Id}";
}
}
}
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Linq;
using Teste.Models;
using Microsoft.EntityFrameworkCore;
using System;
namespace UnidadeTeste
{
[TestClass]
public class UnitTest1
{
ProdutoContexto Context;
[TestInitialize]
pu... |
using Leaf.xNet;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Auth.GGpanel.Helper
{
class Info
{
public string CountUsers(string AuthKey)
{
try
{
... |
using FluentValidation;
using SFA.DAS.ProviderCommitments.Web.Models.Apprentice;
namespace SFA.DAS.ProviderCommitments.Web.Validators.Apprentice
{
public class SelectEmployerRequestValidator : AbstractValidator<SelectEmployerRequest>
{
public SelectEmployerRequestValidator()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public class Electric : Element {
const float SIZE = 0.5F;
[SerializeField]
private bool attacked = false;
[SerializeField]
private float attackCooldown = 0.05f;
[SerializeField]
private float ... |
using UnityEngine;
using System;
using System.Collections;
[RequireComponent(typeof(Animator))]
public class Expression : MonoBehaviour
{
protected Animator animator;
protected int smileId;
protected int idleId;
protected int angryId;
protected int stayColliderNum=0;
protected GameObject righ... |
using Newtonsoft.Json;
using System;
namespace BinanceChain
{
[Serializable]
public sealed class TransactionTx
{
[JsonProperty]
private string type;
[JsonProperty]
private TransactionInformation value;
public string Type { get => type; }
public Transactio... |
using Alabo.Reflections;
using AspectCore.DynamicProxy;
using AspectCore.DynamicProxy.Parameters;
using AspectCore.Extensions.AspectScope;
using AspectCore.Extensions.Autofac;
using Autofac;
namespace Alabo.Dependency {
/// <summary>
/// AspectCore扩展
/// </summary>
public static partial class Ext... |
using System.IO;
namespace Microwave.Entities
{
public class Plate
{
public int Timer { get; private set; }
public int Power { get; private set; }
public string Food { get; set; }
public char FoodId { get; private set; }
public Plate(string food, int timer, int power, ... |
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 成绩管理系统
{
public partial class Form3 : Form
{
public W1 w1;
public W2 w... |
namespace PhonebookHost
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class Phonebook
{
private const string CurrentCountryPhoneCode = "+359";
private static readonly IPhonebookRepository phonebookContactsData = new PhonebookHo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IRAPShared;
namespace IRAP.Entities.MES.Tables
{
[IRAPDB(TableName = "IRAPMES..AuxFact_PWOIssuing")]
public class AuxFact_PWOIssuing
{
[IRAPKey()]
public long FactID { get; set; }
... |
using System.IO;
namespace AxiEndPoint.EndPointClient
{
public class ResponseData : IData
{
public Stream StreamData { get; set; }
public byte[] Data { get; set; }
}
} |
using System;
using System.Linq;
using System.Threading.Tasks;
using M220N.Models.Responses;
using M220N.Repositories;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using Newtonsoft.Json;
n... |
namespace FakeItEasyConcrete
{
public interface TestInterface
{
void MeuMétodo();
}
} |
using System;
using System.Collections.Generic;
using System.IO;
namespace GameWithWords
{
class Program
{
private static readonly Random rnd = new Random();
static void Main()
{
string[] words = File.ReadAllLines(@"russian_nouns.txt");
var enteredChars = GetRan... |
using Microsoft.SharePoint;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using YFVIC.DMS.Model.Models.Common;
using YFVIC.DMS.Model.Models.Settings;
namespace YFVIC.DMS.Model.Models.SOA
{
public class Number... |
using System;
namespace ConsoleApp1
{
class Triangle : Shape, IDraw
{
private string name;
private double triangleSide;
private double triangleBase;
public double Side
{
get { return triangleSide; }
set
{
//set side of... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Unity.EditorCoroutines.Editor;
using UnityEditor;
using UnityEditor.AssetImporters;
using UnityEngine;
using UnityEngine.Rendering;
using Object = UnityEngine.Object;
namespace ... |
using UnityEngine;
using System.Collections;
public interface ISlutState {
void UpdateState();
void ToGreenState();
void ToYellowState();
void ToRedState();
}
|
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 System.Net.Http;
using System.Net.Http.Formatting;
using ClientAdminFastFood.Models;
namespace Cli... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Form_Chess {
class Game {
private Panel[,] Cell;
private List<PictureBox> Chess;
private TableLayoutPanel Grid;
... |
using Common.Log;
using Contracts.Promotions;
using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.Threading.Tasks;
namespace Clients.Promotions
{
/// <summary>
/// Proxy class for asynchronous update operations.
/// </summary>
public class... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace correcao
{
class Program
{
static void Main(string[] args)
{
exec4();
Console.ReadKey();
void exec1()
{
... |
namespace Sentry.Extensibility;
/// <summary>
/// Process a <see cref="Transaction"/> during the prepare phase.
/// </summary>
public interface ISentryTransactionProcessor
{
/// <summary>
/// Process the <see cref="Transaction"/>
/// </summary>
/// <param name="transaction">The Transaction to process</... |
// 文 件 名:BackGround.cs
// 功能描述:自动运行实体
// 修改描述:
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PlanMGMT.Entity
{
public class BackGround
{
public BackGround(int idx,string ... |
using System.Collections.Generic;
using ShoppingListApi.Models.ResponseModels;
namespace ShoppingListApi.Data
{
public class InMemoryDataStore
{
private static List<ShoppingListItem> _instance;
private InMemoryDataStore()
{
}
public static List<ShoppingListItem> GetIn... |
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 SimpleJSON;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
/**
* Outfit manager.
*
* Apply outfits to clothing pieces.
*
* Authors: VamDazzler
* License: Creative Commons with Attribution (CC BY 3.0)
*/
namespace VamDazzler
{
public class Wardrobe : MVRScript
... |
using Microsoft.JSInterop;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GoogleMapsComponents.Maps
{
/// <summary>
/// A rectangle overlay.
/// </summary>
public class Rectangle : JsObjectRef
{
private MapComponent _map;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentMigrator;
namespace Profiling2.Migrations.Migrations
{
[Migration(201305071640)]
public class InitAuditTrail : Migration
{
public override void Down()
{
}
public ... |
namespace Exercises.Commands
{
using System.Data.Entity;
using Interfaces;
public class ExerciseCommand<T> : IExerciseExecutable<T>
where T : DbContext
{
private readonly T context;
public ExerciseCommand(T context)
{
this.context = context;
}
... |
namespace DistCWebSite.Core.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
public partial class M_Comment
{
[Key]
public int CommentID { get; set; }
public int? ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlutoRover.Domain.Commands
{
public class MoveBackCommand : ICommand
{
public string CommandName
{
get
{
throw new... |
using LiveSplit.TimeFormatters;
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Xml;
namespace LiveSplit.UI.Components
{
public partial class OddsSettings : UserControl
{
public Color BackgroundColor { get; set; }
public Color BackgroundColor2 { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
namespace com.Sconit.Utility
{
public class EncryptHelper
{
public static string Md5(string str)
{
MD5CryptoServiceProvider x = new MD5CryptoServiceProvider();... |
using System;
namespace DeMo.Models
{
public class TinhDiem
{
public double Tinh(int? i1, int? i2, int? i3, int? i4, int? i5, int? i6)
{
int? t = i1 + i2 + i3 + i4 + (i5 * 2) + (i6 * 3);
double y = Convert.ToDouble(t) / 9;
double z = Math.Round(y, 1);
... |
using UnityEngine;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Reflection;
using System;
public class BasicFunctions : MonoBehaviour
{
/*
#region FindObject
public static GameObject FindObject ( string _string )
{
GameObject oReturn = null;
GameObject[] oFou... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class BaseEquipment
{
[ReadOnly] public string name;
[ReadOnly] public int ID;
public Equipment equipment;
}
|
/* CustomizeBrontowurst.xaml.cs
* Author: Agustin Rodriguez
*/
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.Inpu... |
using System.Collections.Generic;
namespace EFTeste.Entidades.Entidades
{
public class ProfessorEspecial : Pessoa
{
public ProfessorEspecial()
{
Turmas = new List<Turma>();
Idade = 0;
Sexo = Sexo.Masculino;
}
public int Id { get; set; }
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RXCO.AzureDevOps.REST.Base;
namespace RXCO.AzureDevOps.REST.UnitTest
{
[TestClass]
public class BaseUnitTest
{
[TestMethod]
public void APISemanticVersionWrapperCompareEqual()
{
APISemanticVersionWrapper versionA ... |
using System;
using System.Reflection;
using BeetleX.FastHttpApi;
using Bumblebee.Events;
using Bumblebee.Servers;
namespace Bumblebee.BaseSample
{
class Program
{
private static Gateway g;
static void Main(string[] args)
{
g = new Gateway();
g.HttpOptions(h =>
... |
using Unity.Collections;
using Unity.Entities;
using Unity.Jobs;
using Unity.Mathematics;
using Unity.Transforms;
public class WeaponMovementSystem : JobComponentSystem
{
private EntityQuery _playerQuery;
protected override void OnCreate()
{
_playerQuery = GetEntityQuery
(
ComponentType.ReadOnly<PlayerCompo... |
using System.Collections.Generic;
using System.Data.Common;
using System.Data.SqlClient;
using System.Linq;
using Fbtc.Domain.Entities;
using Fbtc.Domain.Interfaces.Repositories;
using Fbtc.Infra.Helpers;
using prmToolkit.AccessMultipleDatabaseWithAdoNet;
using prmToolkit.AccessMultipleDatabaseWithAdoNet.Enumerators;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using AGCompressedAir.Domain.Domains.Base;
using Microsoft.EntityFrameworkCore;
namespace AGCompressedAir.Domain.Services
{
public class DomainService<TContext> ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Alps.Domain.AccountingMgr
{
public enum TradeAccountType
{
[Display(Name="供应商")]
Supplier,
[Display(Name = "客户")]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RevStack.Pattern;
namespace RevStack.IO
{
public interface IEntityStreamService : IService<EntityStream,string>
{
Byte[] Get(string id);
Task<Byte[]> GetAsync(s... |
using System;
using System.Windows;
namespace Crystal.Plot2D.Common
{
public class PlotterChangedEventArgs : RoutedEventArgs
{
public PlotterChangedEventArgs(PlotterBase prevPlotter, PlotterBase currPlotter, RoutedEvent routedEvent) : base(routedEvent)
{
if (prevPlotter == null && currPlotter == nul... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RomashkaBase.Model
{
/// <summary>
/// Для связи многие ко многим
/// </summary>
public class CompanyUser
{
public int UserId { get; set; }
public User User { get; set; }
public int CompanyId { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Properties.Core.Objects;
using Properties.Infrastructure.Gumtree.Objects;
using Constants = Properties.Infrastructure.Gumtree.Objects.Constants;
namespace Properties.Infrastructure.Gumtree.Factories
{
public class RmV3BlmF... |
using UnityEngine;
namespace DChild.Gameplay
{
public abstract class SpawnArea : MonoBehaviour
{
public abstract Vector2 GetRandomPosition();
protected float RandomNormal() => Random.Range(-1f, 1f);
private void OnValidate()
{
gameObject.name = GetType().Name;
... |
namespace PatternsCore.State
{
public interface IGumballState
{
void InsertQuarter();
void EjectQuarter();
void TurnCrank();
void Dispense();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Configu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class People : Obstacles
{
private Animation m_animation;
private Animation M_Animation
{
get
{
if (m_animation == null)
{
m_animation = GetComponentInChildren<Anim... |
using Quizlet_Server.Data;
using Microsoft.EntityFrameworkCore;
using Quizlet_Server.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Quizlet_Server.Services
{
public class LopHocHocSinhService
{
private AppDbContext appDbContext { get; set; }
... |
using System;
using Alabo.Industry.Shop.Orders.Domain.Enums;
namespace Alabo.Industry.Shop.AfterSales
{
/// <summary>
/// 订单操作方式
/// 更加状态自动判断订单是否可以操作
/// </summary>
[AttributeUsage(AttributeTargets.Field)]
public class RefundTypeAttribute : Attribute
{
/// <summary>
... |
using HospitalDatabase.Models;
namespace HospitalDatabase
{
using System;
using System.Data.Entity;
using System.Linq;
public class HospitalContext : DbContext
{
public HospitalContext()
: base("name=HospitalContext")
{
//Database.SetInitializer(new DropCrea... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Couchbase.Core;
using Couchbase.IO;
using NUnit.Framework;
namespace Couchbase.IntegrationTests
{
[TestFixture]
public class CouchbaseBucketKeyValueTests
{
private ICluster _cluster;
private IBucket _b... |
namespace ChatServer.Messaging.Commands
{
using System;
using System.Threading.Tasks;
using ChatProtos.Networking;
using ChatProtos.Networking.Messages;
using Google.Protobuf;
using HServer;
using HServer.Networking;
using JetBrains.Annotations;
/// <inheritdoc />
/// <summ... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using UnityEngine;
public static class DebugLogger
{
[Conditional("ENABLE_LOGS")]
public static void Log(object message)
{
UnityEngine.Debug.unityLogger.Log(LogType.Log, message);
}
[Co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.