text stringlengths 13 6.01M |
|---|
using Contracts;
using Entities;
using Entities.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Repository
{
public class AccountRepository : RepositoryBase<Account>, IAccountRepository
{... |
/*
******************************************************************************
* @file : Program.cs
* @Copyright: ViewTool
* @Revision : ver 1.0
* @Date : 2015/02/10 17:43
* @brief : Program demo
******************************************************************************
* @attentio... |
//using OpenGL;
using Pencil.Gaming;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using System.IO;
using System.Threading;
using Pencil.Gaming.Graphics;
using System.Diagn... |
using AutoMapper;
using Sfa.Poc.ResultsAndCertification.Dfe.Domain.Models;
using Sfa.Poc.ResultsAndCertification.Dfe.Models;
namespace Sfa.Poc.ResultsAndCertification.Dfe.Application.Mappers
{
public class TqAwardingOrganisationMapper : Profile
{
public TqAwardingOrganisationMapper()
{
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class StatusInstance {
public StatusEffect effect { get; private set; }
public BattleUnit unit { get; private set; }
private int turnsActive;
public StatusInstance(StatusEffect effect, BattleUnit unit) {
t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Data
{
public interface ProductCategory
{
string Name { get; }
string ID { get; }
IEnumerable<ShoppingItem> GetItems();
ProductCategory Parent { get; s... |
using UnityEngine;
using System.Collections;
public class PlatformController : MonoBehaviour {
public float speed = 8;
public GameController controller;
// Use this for initialization
void Start () {
GetComponent<Rigidbody2D>().MovePosition(new Vector2(0, -Camera.main.orthographicSize + GetCompone... |
using System;
using System.Linq;
using System.Collections.Generic;
using Aquamonix.Mobile.Lib.Domain;
using Aquamonix.Mobile.Lib.Utilities;
namespace Aquamonix.Mobile.Lib.ViewModels
{
public enum DeviceFeatureRowDisplayType
{
Normal,
Sensors,
Special,
Slider,
Devices,
None,
PivotPrograms... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Transitions : MonoBehaviour
{
private Animator transition;
// Start is called before the first frame update
void Start()
{
transition = GetComponent<Animator>();
}... |
using System;
using System.Collections.Generic;
using Grasshopper.Kernel;
using PterodactylCharts;
using Rhino.Geometry;
namespace Pterodactyl
{
public class GraphDataGH : GH_Component
{
public GraphDataGH()
: base("Graph Data", "Graph Data",
"Create data for graph",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EntVenta
{
public class Ticket
{
public int Id { get; set; }
public string Identificador_Fiscal { get; set; }
public string Direccion { get; set; }
publi... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace CYT.Entities
{
public enum VoteValue
{
One = 1, Two = 2, Three = 3, Four = 4, Five = 5
}
public class... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
[SerializeField]
Text killsText;
[SerializeField]
Text crystalsText;
[SerializeField]
SnakeController snake;
[... |
/*
Because of compile order among scripts of different kinds
(javascript, c# and boo)
they each need an individual attribute. But it cannot
be identical, since that causes multiple definitions
of the same class in the completed dll.
*/
using System;
[AttributeUsage(AttributeTargets.Field)]
public class GroupAtt... |
using Funding.Common.Constants;
using System.ComponentModel.DataAnnotations;
namespace Funding.Web.Models.AccountViewModels
{
public class ExternalLoginViewModel
{
[Required]
[EmailAddress]
public string Email { get; set; }
[Required]
[Display(Name = UserCon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace UNO.Model
{
class Lobby
{
public Spielfeld Tisch;
public Spieler Tischführer;
public Lobby(Spielfeld tisch, Spieler führer)
{
... |
using AppointmentManagement.Business.Abstract.Procedure;
using AppointmentManagement.DataAccess.UnitOfWork;
using AppointmentManagement.Entities.Concrete.Procedure;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using NLog.Web.LayoutRenderers;
using System;
using System.Collections.Generic;
using... |
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using ProgFrog.WpfApp.ViewModel;
using AurelienRibon.Ui.SyntaxHighlightBox;
using ProgFrog.Interface.Model;
namespace ProgFrog.WpfApp
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public p... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using SMN.Data.Entities;
namespace SMN.Data
{
public class ApplicationDbContext : IdentityDbContext
{
public DbSet<Lenda> Lenda { get; set; }... |
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.Generic;
using System.Linq;
namespace Nailhang.Display.Models
{
public class DisplaySettings
{
public bool ShowDependencies { get; set; } = true;
public bool ShowBinds { get; set; } = true;
public bool ShowObjects { get; set; } = true;
pub... |
using System;
using System.Collections.Generic;
using Blackjack21.Game.Model;
namespace Blackjack21.Game.Logic
{
/// <summary>
/// An object that stores the players hand cards
/// </summary>
public class PlayerHand
{
private readonly List<Card> _cards;
private int _handValue;
... |
#region LICENSE
// Funkshun.Core 1.0.0.0
//
// Copyright 2011, see AUTHORS.txt
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/lice... |
using System.Diagnostics;
namespace Sentry.Samples.GraphQL.Server;
public static class Telemetry
{
public const string ServiceName = "Sentry.Samples.GraphQL";
public static ActivitySource ActivitySource { get; } = new(ServiceName);
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.Globalization;
using System.Net;
using System.Net.Http;
using System.ComponentModel;
using System.Reflection;
using System.Net... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DragonFire : MonoBehaviour {
void OnTriggerStay(Collider other) {
if (other.transform.CompareTag("Player") && DragonController.breathFire) {
PlayerController.health -= Time.deltaTime * 5f;
... |
using System.Net;
using System.Threading.Tasks;
using Airelax.Application.Account;
using Airelax.Application.Houses.Dtos.Request;
using Airelax.Domain.Houses;
using Airelax.Domain.Houses.Price;
using Airelax.Domain.Members;
using Airelax.Domain.RepositoryInterface;
using Lazcat.Infrastructure.DependencyInjection;
usin... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using TMPro;
using UnityEngine;
using static HighscoreManager;
public class HighscoreListUIScript : MonoBehaviour {
public TMP_InputField PlayerQueryInput;
public TMP_InputField RemixQueryInput;
public HighscoreEntryUIScript FirstList... |
using Alabo.Web.Mvc.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.Framework.Core.Enums.Enum {
[ClassProperty(Name = "商家服务类型")]
public enum CommentIndustry {
/// <summary>
/// 通用
/// </summary>
[LabelCssClass(BadgeColorCalss.Success)]
[Di... |
using InvoicingApp.Domain.Contracts.Base;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace InvoicingApp.DataAccess.Contracts.Base
{
public interface IBaseRepository<TEntity>
... |
namespace StudyMateLibrary.Enities
{
public class TestCategory : Entity
{
public string Category { get; set; }
public string Desctription { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using CS_2_HomeWork.Physics;
namespace CS_2_HomeWork.Object
{
abstract class BaseObject : ICollision
{
protected Point Pos;
protected Point D... |
namespace LikDemo.Enums
{
public enum DebtorType
{
Private,
Company
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SnowBLL.Models.Users
{
public class UserInfoResult
{
public int Id { get; set; }
public string Email { get; set; }
public bool IsConfirmed { get; set; }
}
}
|
using UnityEngine;
using System.Collections;
using Frederick.ProjectAircraft;
public class GameTimeCtrl : MonoBehaviour {
public UISprite TimeMiaoSprite_0;
public UISprite TimeMiaoSprite_1;
public UISprite TimeMiaoSprite_2;
public UISprite TimeHMiaoSprite_1;
public UISprite TimeHMiaoSprite_2;
public TweenTrans... |
namespace Exercises.Models.Queries
{
using System;
using System.Linq;
using CodeFirstFromDatabase;
/// <summary>
/// Problem15 - Find Latest 10 Projects
/// </summary>
public class FindLatest10Projects : Query<SoftuniContext>
{
public override string QueryResult(SoftuniContext ... |
using System.Collections.Generic;
using GTA;
using GTA.Math;
using GTA.Native;
namespace CodenameMaffia.Families
{
public class Cartel : Family, FamilyStructure
{
public Cartel()
{
name = "Mexican Cartel";
type = Type.Cartel;
location = new Vector3(848.31f, ... |
using System;
using System.Collections;
using DelftTools.Utils.Collections;
using log4net;
using PostSharp.Laos;
namespace DelftTools.Utils.Aop.NotifyCollectionChange
{
/// <summary>
/// Implementation of the <see cref="INotifyCollectionChange"/> interface.
/// </summary>
[Serializable]
public cla... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DigitalFormsSteamLeak.Entity.IModels
{
public interface ILeakType
{
Guid LeakTypeId { get; set; }
string LeakTypeName { get; set; }
}
} |
using Sentry.Internal;
namespace Sentry;
/// <summary>
/// Span.
/// </summary>
public interface ISpan : ISpanData
{
/// <summary>
/// Span description.
/// </summary>
// 'new' because it adds a setter.
new string? Description { get; set; }
/// <summary>
/// Span operation.
/// </summ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApiSGCOlimpiada.Models
{
public class Planilha
{
public Produto Produto { get; set; }
public List<ProdutoPedidoOrcamento> ProdutoPedidoOrcamentosList { get; set; }
}
}
|
using System.Collections.Generic;
using UnityEngine;
namespace Assets.src.data
{
public class ScriptableObjectDataExporter : IDataExporter
{
private string GetDataPath(string filename)
{
return string.Format("data/{0}", filename);
}
public Dictionary<int, BuildingDa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using GooglePlayGames;
using System.Text;
using UnityEngine.UI;
public class GoogleService : MonoBehaviour
{
public static GoogleService Instance;
private void Awake()
{
if (Instance == null)
... |
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 System.Threading;
using IRAP.Global;
using IRAP.Client.User;
using IRAP.Client.Global.GUI.Dialogs;
using IRAP... |
namespace MatchingGameAssignment
{
class Player
{
int score;
int attempts;
public int Score
{
get { return score; }
}
public int Attempts
{
get { return attempts; }
}
public void IncrementStats(bool shouldIncreme... |
using UnityEngine;
public class SpannerEnemyAI : MonoBehaviour, IPlayerRespawnListener
{
private EnemyController2D _controller;
private Transform _transform;
private MissileAfterImageEffect _missileAfterImageEffect;
private float _hp;
public float attackInterval;
public float missileSpeed;
... |
namespace Itida2axitrade.model
{
public class WhProcess : TransferProcess
{
public override string SqlQueryString
{
get { return "select code,name from sprskl"; }
}
public override string FbQueryString
{
get
{
return
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ManagerSoftware.CoreEngine
{
public class Engine
{
//atributo funcionario;
private Employee employee;
public Queue<Archive> InsertQueue(string name, string email, string contact, List<Archive> list)
{... |
using UnityEngine;
using UnityEditor;
namespace MileCode.MileTest {
class MileEditor {
[MenuItem("MileEditor/TestController")]
private static void OpenScene() {
MileUtilities.NewScene();
}
}
}
|
using Cs_Notas.Dominio.Entities;
using Cs_Notas.Dominio.Interfaces.Repositorios;
using Cs_Notas.Dominio.Interfaces.Servicos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Notas.Dominio.Servicos
{
public class ServicoRegimes: Servic... |
using UnityEngine;
using System.Collections;
public static class ViconVRPN
{
public static Vector3 vrpnTrackerPos(string address, int channel)
{
Vector3 pos = VRPN.vrpnTrackerPos(address, channel);
return new Vector3(pos.x, pos.z, pos.y);
}
public static Quaternion vrpnTrackerQuat(st... |
using UnityEngine;
public class FinishCell : Cell
{
protected override void ActivateCell(GameObject other)
{
if (!Activated && other.TryGetComponent(out Player player))
{
Activated = true;
OnActivateCell?.Invoke(this);
_letter.gameObject.SetActive(true);
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CollisionStabbing : MonoBehaviour {
void OnCollisionEntered () {
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GodaddyWrapper.Requests
{
public class CartAffiliate
{
public string type { get; set; }
public string firstTouch { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebShopClient.MywebShopservice;
using System.Windows.Forms;
namespace WebShopClient
{
class callbackclient:IWebshopCallback
{
Label lab;
public callbackclient(Label l)
... |
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
using System;
using System.Collections.Generic;
using System.Linq;
using ApartmentApps.Client.Models;
using Microsoft.Rest;
using Newtonsoft.Json.Linq;
namespace Apa... |
using System.Net;
using HiLoSocket.CommandFormatter;
using HiLoSocket.Compressor;
using HiLoSocket.Logger;
using HiLoSocket.Model.InternalOnly;
using HiLoSocket.SocketApp;
namespace HiLoSocket.Builder.Server
{
/// <summary>
/// ServerBuilder.
/// </summary>
/// <typeparam name="T"></typeparam>
///... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CDcounter : MonoBehaviour {
public Sprite[] SpritesCount;
float timer = 0.0f;
public int cd = 6;
public GameObject light1;
lightEffect lighteffect;
// Use this for initialization
void Start () {
... |
using KinectSandbox.Common.Colors;
using Microsoft.Practices.Prism.PubSubEvents;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KinectSandbox.Common.Events
{
public class LayerValueChangedEvent : PubSubEvent<LayerValueInformation>
... |
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using CoreMedia;
using UIKit;
using AVFoundation;
using CoreFoundation;
using Foundation;
using CoreLocation;
using CoreGraphics;
using Photos;
using CoreVideo;
using CoreAnimation;
using ImageIO;
namespace AVMetadataRecordPlay.Player... |
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Mvc;
using MVCPlayground.Customizations;
using MVCPlayground.Models.Autocomplete;
using MVCPlayground.Models.ViewModels.HtmlHelpers;
namespace MVCPlayground.Controllers
{
public class HtmlHelperController : Controller
{
... |
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using BLL;
using DAL;
using DAL.Contracts;
using DAL.Repositories;
using Ninject;
using Ninject.Web.Common;
using BLL.Contracts;
using BLL.Services;
namespace Web.Infrastructure
{
public class NinjectDependencyResolver : IDependencyResolver
... |
using Rover.Enums;
using Rover.Models;
namespace Rover
{
/// <summary>
/// Responsible for initializing a robot, taking a valid instruction string, parsing that instruction to a robot command
/// and executing the robot command, returning an execution response
/// </summary>
public class RobotCon... |
using ChatBot.Entities;
using System.Collections.Generic;
namespace ChatBot.Domain.Services.OpenData
{
public static class OpenDataInfoCache
{
private static List<StudyCenterModel> centersModel;
public static List<StudyCenterModel> GetCentersModel()
{
return centersModel... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.App.ViewModels;
using Welic.App.ViewModels.Base;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Welic.App.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial... |
using System.Collections.Generic;
namespace Assets.Scripts.Models.Constructions.Brick
{
public class BrickWall : Construction
{
public BrickWall()
{
ConstructionType = ConstructionType.Wall;
LocalizationName = "brick_wall";
Description = "brick_wall_descr";... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BitirmeParsing.DBConnection;
/*
Important!!!
Color can be ->
Color
HD Black and White
color and bla... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Console;
using Microsoft.Extensions.Logging.Debug;
using ASTV.Services;
using ASTV.Models.Generic;
namespace ASTV.Web... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using LinqKit;
using Microsoft.Practices.ServiceLocation;
using ReactMusicStore.Core.Data.Context;
using ReactMusicStore.Core.Data.Context.Interfaces;
using ReactMus... |
using CPClient.Domain.Entities;
using CPClient.Data.Interfaces;
using CPClient.Infra.Data.Context;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CPClient.Service.Interfaces;
namespace CPClient.Service.Services
{
public class Servic... |
using Alabo.Data.People.Users.Domain.Repositories;
using Alabo.Domains.Repositories.EFCore;
using Alabo.Extensions;
using Alabo.Helpers;
using Alabo.UI;
using Alabo.UI.Design.AutoReports;
using Alabo.UI.Design.AutoReports.Enums;
using System.Collections.Generic;
namespace Alabo.Data.People.Users.UI
{
public class... |
using Aranda.Users.BackEnd.Dtos;
using Aranda.Users.BackEnd.Services.Definition;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Aranda.Users.BackEnd.Controllers
{
[Authorize]
public class AuthController : BaseController
{
private readonly IAuthService _authServ... |
using System;
using Phenix.Core.Dictionary;
using Phenix.Core.Windows;
using Phenix.Security.Business;
namespace Phenix.Security.Windows.RoleManage
{
public partial class RoleManageForm : Phenix.Core.Windows.BaseForm
{
public RoleManageForm()
{
InitializeComponent();
}
#region 属性
priva... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Welic.Dominio.Utilitarios.Enums
{
public static class Extensions
{
public static str... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.INP
{
[Serializable]
public partial class InspectResultExt : EntityBase, IAuditable
{
//[Display(Name = "InspectResultExt_Id", ResourceType... |
using UnityEngine;
using System.Collections;
using GameFrame;
using System;
public enum HeroInputSignal
{
None,
Move,
Attack,
Attack1,
Attack2,
Skill1,
Skill2,
Skill3
}
public class HeroInputSystem : GameBehaviour
{
public static HeroInputSystem m_instance = null;
public HeroI... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace snake3D
{
public class RedeploymentFood : MonoBehaviour
{
void Start()
{
gameObject.transform.position = new Vector3(Random.Range(-4, 5), Random.Range(-4, 5), Random.Range(-5, 4));
}
... |
using System;
using System.Collections.Generic;
using System.Threading;
namespace SnakeNLadder
{
class Program
{
public static int Main(String[] args)
{
// UC1 for single player
UC2_SnakeNLadder player = new UC2_SnakeNLadder();
UC3_SnakeNLadder board = new U... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Entities.Asimco
{
public class WaitPackageSO
{
/// <summary>
/// 序号
/// </summary>
public int Ordinal { get; set; }
/// <summary>
/// 制造订单号
... |
using System;
using System.Collections.Generic;
using Unity.Burst;
using Unity.Collections;
using Unity.Entities;
using Unity.Jobs;
using Unity.Mathematics;
using Unity.Rendering;
using Unity.Rendering.Hybrid;
using Unity.Transforms;
using UnityEngine;
using UnityEngine.Rendering;
[Serializable]
public struct SpawnPar... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Security;
using System.Security.Cryptography;
using System.IO;
using System.Runtime.InteropServices;
using System.Management;
using System.Configuration;
using System.Text.RegularExpressions;
namespace Abhs.Common
{
pub... |
namespace ParrisConnection.DataLayer.Dtos
{
public interface IEmailType
{
int Id { get; set; }
string Type { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace Qwack.Serialization
{
[AttributeUsage(AttributeTargets.Field)]
public sealed class SkipSerializationAttribute:Attribute
{
}
}
|
using ProtoBuf;
using System;
namespace RRExpress.Service.Entity {
[ProtoContract(AsReferenceDefault = true, ImplicitFields = ImplicitFields.AllFields, EnumPassthru = true)]
public class OrderEvent {
public long ID { get; set; }
public string OrderNO { get; set; }
public OrderStatu... |
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace BearSubPlayer.SubTitle
{
public class AssReader : ISubReader
{
private int _tStartInd;
private int _tEndInd;
private int _co... |
using System.Collections.Generic;
namespace Algorithms.LeetCode
{
/*
https://leetcode.com/problems/number-of-submatrices-that-sum-to-target/discuss/303750/JavaC%2B%2BPython-Find-the-Subarray-with-Target-Sum
*/
public class NumberOfSubmatricesThatSumToTargetTask2
{
public int NumSubmatrixSum... |
using NerdStore.Core.DomainObjects;
using System.Collections.Generic;
namespace NerdStore.Catalog.Domain
{
public class Category : Entity, IAggregateRoot
{
public string Name { get; private set; }
public int Code { get; private set; }
// EF Relation
public ICollecti... |
using System.Data.Entity;
using System.ServiceProcess;
namespace FtpProxyService
{
static class Program
{
/// <summary>
/// Главная точка входа для приложения.
/// </summary>
static void Main()
{
var servicesToRun = new ServiceBase[]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LoadAndUnloadArea : MonoBehaviour
{
[SerializeField]
bool loadIfTrue = true;
[SerializeField]
GameObject objectToLoad;
[SerializeField]
GameObject objectToUnload;
[SerializeFie... |
using System.Threading;
public sealed class LockKeyItem
{
public string LockId { get; }
public bool InUse { get; set; }
public SemaphoreSlim Semaphore { get; }
public LockKeyItem(bool inUse, string lockId, SemaphoreSlim semaphore)
{
InUse = inUse;
LockId = lockId;
Semapho... |
/**
* BSD 3-Clause License
*
* Copyright(c) 2018, John Pennycook
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright no... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Server.AdminManagement;
using Microsoft.WindowsAzure.Server.Management;
using Microsoft.WindowsAzure.Management.Models;
using System.Net;
using System.Net.Security;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Reflection;
namespace CRL.ShoppingCart
{
/// <summary>
/// 购物车维护
/// </summary>
public class CartBusiness<TType, TModel> : BaseProvider<TModel> where TType : class where TModel:CartIte... |
using System.ComponentModel.DataAnnotations;
namespace IntegrationAdapters.Dtos
{
public class DrugProcurementDTO
{
public int PharmacySystemId { get; set; }
public int PharmacyId { get; set; }
public int DrugId { get; set; }
public string DrugName { get; set; }
public ... |
using System;
using System.Globalization;
using System.Runtime.Caching;
using System.Threading.Tasks;
namespace Uintra.Infrastructure.Caching
{
public class MemoryCacheService : ICacheService
{
public Task<T> GetOrSetAsync<T>(
Func<Task<T>> getItemCallback,
string cacheKey,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ParPorApp.Models;
using ParPorApp.ViewModels;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace ParPorApp.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial cl... |
using SQLite;
namespace PhoneApp1.Dal
{
public class Author
{
[PrimaryKey]
public int Id { get; set; }
public string Name { get; set; }
}
}
|
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace Caserraria.Items.Weapons
{
public class Airstrike : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Airstrike");
}
public override voi... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using testMonogame.Commands;
namespace testMonogame
{
public class KeyboardController : IController
{
Dictionary<Keys, ICo... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
//using UnityEngine.EventSystems;
public class BallCreator : MonoBehaviour
{
public GameObject swordObj;
public GameObject heroObj;
public GameObject fireSwordObj;
public GameObje... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.