text stringlengths 13 6.01M |
|---|
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 z88dk_compile_options_helper_beta
{
public partial class terminal_driver : Form
... |
using System.Collections.Generic;
using System.Linq;
using iSukces.Code.Interfaces;
namespace iSukces.Code.Typescript
{
public abstract class TsNamespaceMember : ITsCodeProvider, ITsIntroducedItem
{
public TsDecorator AddDecorator(string name)
{
var dec = new TsDecorator(name);
... |
using MediatR;
using Microsoft.Extensions.Logging;
using MikeGrayCodes.Ordering.Domain.Entities.Buyers;
using MikeGrayCodes.Ordering.Domain.Entities.Orders;
using MikeGrayCodes.Ordering.Domain.Entities.Orders.Events;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace MikeGrayCodes.Ordering.... |
using System.ComponentModel.DataAnnotations;
using Alabo.Validations;
namespace Alabo.Industry.Shop.Orders.ViewModels
{
public class ViewCartProduct
{
/// <summary>
/// 属性值ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 商品 Guid
... |
using AFPABNB.Dao;
using AFPABNB.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace AFPABNB
{
public partial class ListeHebergements : System.Web.UI.Page
{
private List<Hebergement> hebergements... |
namespace MultipleLanguageRegression.Models
{
public static class Flag
{
static bool _flag;
public static bool FlagValue
{
get
{
return _flag;
}
set
{
_flag = value;
}
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TextToHTML.ModelBuilders;
using TextToHTML.Models;
namespace TextToHTML
{
public class RawDocumentChunker
{
/// <summary>
/// Takes a raw user-created document (represente... |
using UnityEngine;
namespace Thesis {
public class DoublePeakRoof : Roof
{
private enum _Type { four, five }
private _Type _type;
private float _widthBig;
private float _widthSmall;
private float _heightBig;
private float _heightSmall;
public DoublePeakRoof (BuildingMesh parent)
: base(parent)
... |
using Abp.Authorization.Users;
namespace Abp.Zero.EntityFramework.Repositories
{
public class UserLoginRepository : AbpZeroEfRepositoryBase<UserLogin, long>, IUserLoginRepository
{
}
} |
using CarManageSystem.Extension;
using CarManageSystem.Model;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Web;
namespace CarManageSystem.helper
{
publi... |
using System;
using System.IO;
class LineNumbers
{
static void Main()
{
StreamReader reader = new StreamReader(@"..\..\..\text.txt");
StreamWriter writer = new StreamWriter(@"..\..\..\newtext.txt");
using (reader)
{
using (writer)
{
strin... |
using System;
using System.Data;
using System.Configuration;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using System.Threading;
using WiimoteApi;
using WiimoteApi.Internal;
public class Player : MonoBehaviour
{
// Variable déterminant à quel joueur on fait référence
public int whichPlayer;
// Variable Ri... |
using StateMachine;
using UnityEngine;
namespace PJEI.Invaders {
[RequireComponent(typeof(SpriteRenderer))]
public class Alien : MonoBehaviour {
public Sprite[] sprites;
private int currentSprite = 0;
private int pixelsPerMove = 0;
private SpriteRenderer spriteRenderer;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FastFood.Models;
namespace FastFood.Controllers
{
public class AdminNguyenLieuController : Controller
{
FastFooddb db = new FastFooddb();
// GET: AdminNguyenLieu
public Acti... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Configuration;
using XAPP.COMLIB;
namespace DeleteAct
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Xml.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Globalization;
using UserBase.BLL;
using UserBase.Interfaces.BLL;
namespace UserBase_... |
using UnityEngine;
using System.Collections;
public interface ISignal
{
}
|
using System;
using System.IO;
namespace PaddleOCR_hubserving_client
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
//var ss = PaddleOCR.hubserving.Client.Recognition(@"http://127.0.0.1:8868/predict/ocr_system", @"I:\programing\C... |
using System;
using System.Collections.Generic;
using System.Linq;
using alg;
/*
* tags: hash, stack
* Time(nlogn), Space(n)
*/
namespace leetcode
{
public class Lc726_Number_of_Atoms
{
public string CountOfAtoms(string formula)
{
var map = new SortedDictionary<string, int>();
... |
using DevExpress.XtraEditors;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Xml;
namespace IRAP.PLC.Collection
{
/// <summary>
/// 拧紧设备数据采集
/// </summary>
internal class DC_Tighten : CustomDataCollection
{
... |
using Abp.AutoMapper;
using dgPower.KMS.Sessions.Dto;
namespace dgPower.KMS.Web.Views.Shared.Components.TenantChange
{
[AutoMapFrom(typeof(GetCurrentLoginInformationsOutput))]
public class TenantChangeViewModel
{
public TenantLoginInfoDto Tenant { get; set; }
}
}
|
using System.Globalization;
using CRMSecurityProvider.Sources.Attribute;
namespace AlphaSolutions.SitecoreCms.ExtendedCRMProvider.Sources.Repository.V5.Attribute
{
internal class CrmLongAttributeAdapter : CrmValueTypeAttributeAdapter<long>, ICrmLongAttribute, ICrmAttribute<long>, ICrmAttribute
{
publi... |
using System;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace OpenMagic.ErrorTracker.WebApi.Infrastructure
{
public static class JObjectExtensions
{
public static bool HasProperties(this JObject value, params string[] propertyNames)
{
return propertyNames.All(propertyName ... |
using Anywhere2Go.DataAccess.Object;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace Claimdi.WCF.Public
{
// NOTE: You can use the "Rename" command on the "Refactor" menu t... |
using GodMorgon.GameSequencerSpace;
using GodMorgon.Models;
namespace GodMorgon.CardEffect
{
class SightEffect : CardEffect
{
/**
* Apply the sight effect by creating the sequence in the gameSequencer
*/
public override void ApplyEffect(CardEffectData effectData, GameContext co... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Calculadora
{
public partial class Form1 : Form
... |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
namespace Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution
{
[Serializable]
[GeneratedCode("wsdl", "2.0.50727.42")]
[DebuggerStepThrough]
[DesignerCategory("... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Inventory.Data.Migrations
{
public partial class DbVersion_328 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "DbVersion",
ke... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
//http://www.theappguruz.com/blog/how-to-use-coroutines-in-unity
public class FadeEffect : MonoBehaviour {
public Image image;
public float fadetime;
// Update is called once per frame
void Update()
... |
using AutoMapper;
using LocusNew.Core.AdminViewModels;
using System.Collections.Generic;
using System.Web.Mvc;
using LocusNew.Core.Models;
using LocusNew.Core;
namespace LocusNew.Areas.Admin.Controllers
{
[Authorize]
public class BuyersAndSellersController : Controller
{
private readonly IUnitOfWo... |
using Newtonsoft.Json;
using RiverPuzzle1.JsonConverters;
using System.Collections.Generic;
namespace RiverPuzzle1.Models
{
[JsonConverter(typeof(CharacterJsonConverter))]
public class Character
{
public int ID { get; set; }
public virtual string Name { get; set; }
public Location... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace Динам.Сnk
{
class Program
{
static int Cnk(int n, int k, int[,] mas)
{
if (k == 0)
{ return 1; }
if (n == k)
{ ... |
using Microsoft.AspNetCore.Http;
using RestApi.DataModels;
using RestApi.ErrorsList;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace RestApi.Services
{
public class InMemoryPersistanceService : PersistanceInterface
{
public I... |
using System;
using System.Collections.Generic;
using Pathoschild.Stardew.Common.Utilities;
namespace ContentPatcher.Framework.Tokens.ValueProviders
{
/// <summary>A value provider whose values don't change after it's initialised.</summary>
internal class ImmutableValueProvider : BaseValueProvider
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using Foolproof;
namespace Integer.Api.Models
{
public class UsuarioCriarSenhaModel
{
public string GrupoId { get; set; }
[Required(ErrorMessage = "Usuário não enc... |
using System;
using OrganizatorServer.Models;
using System.Collections.Generic;
namespace OrganizatorServer.Models {
public class User
{
public int Id { get; set; }
public string Email { get; set; }
public List<Todo> Todos { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using AddServiceASP_core21.Models;
using AddServiceASP_core21.Services.Transient;
using AddServiceASP_core21.Services.Singleton;
using AddServiceASP_core21.Services.Scoped;
namespace AddServ... |
using System.Linq;
using System.Threading.Tasks;
using Uintra.Core.Localization;
using Uintra.Core.Member.Abstractions;
using Uintra.Core.Member.Entities;
using Uintra.Core.Member.Services;
using Uintra.Core.User;
using Uintra.Features.Notification.Configuration;
using Uintra.Features.Notification.Entities.Base;
using... |
using UnityEngine;
using System.Collections;
public class OnEscapePressed : MonoBehaviour {
public string sceneToLoad;
void Update () {
if (Input.GetKeyDown("escape"))
{
if (sceneToLoad.Equals("Quit"))
{
Application.Quit();
}
... |
using System.Threading.Tasks;
using OrchardCore.ContentManagement;
namespace DFC.ServiceTaxonomy.GraphSync.Orchestrators.Interfaces
{
public interface ISyncOrchestrator
{
Task<bool> SaveDraft(ContentItem contentItem);
Task<bool> Publish(ContentItem contentItem);
Task<bool> Update(Conte... |
using iText.Kernel.Pdf;
using iText.Kernel.Pdf.Canvas.Parser;
using iText.Kernel.Pdf.Canvas.Parser.Listener;
using Parser_Console.Interfaces;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace Parser_Console.Classes
{
p... |
// <copyright file="PathSegment.cs" company="WaterTrans">
// © 2020 WaterTrans
// </copyright>
namespace WaterTrans.GlyphLoader.Geometry
{
/// <summary>
/// Represents a segment of a <see cref="PathFigure"/> object.
/// </summary>
public abstract class PathSegment
{
/// <summary>
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreLib.Models
{
public class Bonus
{
public int? ID { get; set; }
public string EmpCode { get; set; }
public string Type { get; set; }
public double... |
public static class JsonHelper
{
public static List<MyApplicationService> LoadServiceData(string filename = "MyApplicationServices.json")
{
string jsonData = File.ReadAllText(filename);
return JsonConvert.DeserializeObject<List<MyApplicationService>>(jsonData);
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.ServiceFabric.Data.Collections
{
public interface IReliableDictionary<TKey, TValue> : IReliableCollection<KeyValuePair<TKey, TValue>> where TKey : IComparable<TKey>, IEquatable<TKey>
{
Tas... |
using System.Web.Mvc;
using MongoNotes.App.DAL;
using MongoNotes.App.Models;
namespace MongoNotes.App.Controllers
{
public class HomeController : Controller
{
private readonly Dal _dal = new Dal();
public ActionResult Index()
{
return View(_dal.GetAllNotes());
}
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CrudMvc.Domain.Entity
{
public class NivelEnsino
{
public int NivelEnsinoId { get; set; }
public string Descricao { get; set; }
//virtual para Lazy Loading
public virtual ICollection<Estudante> Estudant... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.ML.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CueStick : MonoBehaviour {
//public SteamVR_TrackedObject frontController;
//public SteamVR_TrackedObject backController;
//Collider m_Collider;
//private Rigidbody cueRB;
//private Vector3 frontPos;
//private Vector3 ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
namespace IRAP.Client.GUI.MESPDC.Actions
{
public interface IUDFActionFactory
{
IUDFAction CreateAction(
XmlNode actionParams,
ExtendEventHandler extendAction,
... |
using KartObjects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace KartExchangeEngine
{
public class FEPriceList:FEEntity
{
[DBIgnoreAutoGenerateParam]
[DBIgnoreReadParam]
public override string FriendlyName
{
get { re... |
using System.Data;
using System.Drawing;
using System.Linq;
using System.Windows;
using System.Windows.Forms;
namespace IEnumerableVisualizerDotNetStandard
{
public partial class IEnumerableVisualizerForm : Form
{
public IEnumerableVisualizerForm(DataTable dataTable)
{
InitializeCo... |
//
// System.Web.HttpUtility/HttpEncoder
//
// Authors:
// Patrik Torstensson (Patrik.Torstensson@labs2.com)
// Wictor Wilén (decode/encode functions) (wictor@ibizkit.se)
// Tim Coleman (tim@timcoleman.com)
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
// Marek Habersack <mhabersack@novell.com>
//
// Copyri... |
using System;
using System.ComponentModel.DataAnnotations;
using com.Sconit.Entity.SYS;
namespace com.Sconit.Entity.SI.SAP
{
[Serializable]
public partial class SAPSDMES0002 : EntityBase
{
#region O/R Mapping Properties
public Int32 Id { get; set; }
[Export(ExportName = "SAPSDCancel", ... |
using DocumentFormat.OpenXml.Packaging;
using Lucene.Net.Documents;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Xml;
namespace Polaris.Models {
/// <summary>
/// .docx の Document を生成する
/// </summary>
public class DocConverterDOCX : IDocConverter {
/// <summ... |
using Dapper;
using Model.APIModels.Result;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Comp;
namespace DAL.SmartKitchen
{
/// <summary>
/// 智慧厨房数据接口
/// </summary>
public clas... |
// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
using System.Collections.Generic;
public class MinecartManiaTarget : TargetRules
{
public MinecartManiaTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
ExtraModuleNames.AddRange( new string[]... |
using System;
using System.Activities;
using System.ComponentModel;
using Phenix.Core.Data;
using Phenix.Core.Workflow;
namespace Phenix.Workflow.Activities
{
/// <summary>
/// 断点活动
/// </summary>
[Description("断点")]
public class JointActivity : NativeActivity, IJointActivity
{
#region 属性
/// <su... |
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Alabo.Dynamics;
namespace Alabo.Web.ViewFeatures {
public static class SelectListItems {
/// <summary>
/// 从查询对象返回选择项列表
/// 注意会逐项延迟返回,... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using SimpleTaskListSPA.Infrastructure;
namespace SimpleTaskListSPA.Data
{
//класс, определяющий создаваемую в приложении задачу
public class TaskItem : EntityBase
... |
using System;
namespace OdborkyApp.Model
{
public enum ConfirmationType
{
Task, Challenge
}
internal class ConfirmationRequest
{
public int UserId { get; set; }
public Guid TaskProgressId { get; set; }
public Guid ChallengeProgressId { get; set; }
public i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using HASRental.Models;
using Microsoft.AspNetCore.Identity;
using Newtonsoft.Json;
using Microsoft.AspNetCore.... |
using OxyPlot;
using System;
using System.Collections.Generic;
using FPGADeveloperTools.Common;
using FPGADeveloperTools.WaveformDesignerAndAnalyzer.Model;
using System.Windows.Input;
using FPGADeveloperTools.WaveformDesignerAndAnalyzer.View;
using System.Windows;
using System.ComponentModel;
namespace FPGADeveloperT... |
using System.Collections.Generic;
namespace Reactive.Flowable
{
public static partial class FlowableExtensions
{
//public static T Flowable<T> amb(Iterable<? extends Publisher<? extends T>> sources)
//{
//}
//public static T Flowable<T> ambArray(Publisher<? extends T>...source... |
using InoDrive.Domain.Contexts;
using InoDrive.Domain.Helpers;
using InoDrive.Domain.Models;
using InoDrive.Domain.Models.OutputModels;
using InoDrive.Domain.Repositories.Abstract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InoDrive.Do... |
using System.Collections;
using Newtonsoft.Json;
namespace ManaMist.Models
{
public class Cost
{
public int food { get; set; }
public int metal { get; set; }
public int mana { get; set; }
public void Increment(Cost cost)
{
food += cost.food;
me... |
/******************************************************************************
* File : pLab_KJPOC_ARNPCCanvas.cs
* Lisence : BSD 3-Clause License
* Copyright : Lapland University of Applied Sciences
* Authors : Arto Söderström
* BSD 3-Clause License
*
* Copyright (c) 2019, Lapland University of ... |
namespace Shipwreck.TypeScriptModels.Declarations
{
public sealed class GeneratorDeclaration
{
}
} |
using System.Collections.Generic;
namespace TasksApp.ViewModels
{
public class TaskDetailsViewModel
{
public string Id { get; set; }
public string Title { get; set; }
public string Content { get; set; }
public bool IsDone { get; set; }
public IEnumerable<TagViewMode... |
using UnityEngine;
using Normal.Realtime;
using TMPro;
namespace Normal.Realtime.Examples
{
public class CubePlayer : MonoBehaviour
{
public RealtimeView _realtimeView;
private RealtimeTransform _realtimeTransform;
/*
Writen by Windexglow 11-13-10. Use it, edit it, steal it ... |
namespace ChallengeTechAndSolve.Application.Unit.Tests.Stubs
{
using ChallengeTechAndSolve.DataAccess.Contracts.Entities;
using System;
using System.Collections.Generic;
public static class StubData
{
public static TraceabilityEntity traceability_one = new TraceabilityEntity()
{
... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using PterodactylCharts;
using Xunit;
namespace UnitTestEngine
{
public class TestPointGraphEngineHelper : TheoryData<bool, string, List<double>, List<double>, string, string, Color, string, string>
{
public TestPoin... |
namespace Assets.Scripts.Models.ResourceObjects.CraftingResources
{
public class Lead : ResourceObject
{
public Lead()
{
LocalizationName = "lead";
Description = "lead_descr";
IconName = "lead_icon";
}
}
}
|
using System;
using Framework.Core.Common;
using Tests.Pages.Van.Main.Common;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
namespace Tests.Pages.Van.Main.VirtualPhoneBankPages
{
public class VirtualPhoneBankRunPage : VanBasePage
{
#region Page Element Declarations
... |
using System.Runtime.Remoting.Messaging;
using System.Web;
namespace AbiokaScrum.Api.Authentication
{
public class ContextHolder
{
public static object GetData(string name) {
if (HttpContext.Current != null) {
return HttpContext.Current.Items[name];
} else {
... |
using System;
using System.Collections.Generic;
using System.Text;
using Laoziwubo.Model.Attribute;
namespace Laoziwubo.Model.Content
{
[DataTable("Passionate")]
public class PassionateM
{
[Identity(true)]
[Field]
public int Id { get; set; }
[Field]
public string T... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace PathologicalGames
{
/// <description>
/// 这个类是用来在unity编辑界面显示一个更复杂的用户输入界面,
/// 这样我们能收集预制间相互关联的更多选项,
/// 这个类实现对象池中主要的池功能,
/// 对象池通过这些方法和设置管理对象池。
/// </description>
/// <summary>
/// 二级对象池,管理具体的对象
... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using Assets.scripts;
public class PicController : MonoBehaviour {
// Use this for initialization
void Start () {
//GetComponent<Image>().sprite = Sprite.Create(GameSettings.user.profile_pic, new Rect(0, 0, 128, 128), new Vector2());
}
... |
using System;
using System.IO;
using Microsoft.Xna.Framework;
namespace VoxelSpace.SceneGraph {
public abstract class SceneObject : IO.IBinaryReadWritable {
public string Name;
public Transform Transform { get; private set; }
public Scene Scene { get; private set; }
public SceneO... |
using System;
using System.Collections.Generic;
using System.Threading;
using SuperSocket.SocketBase;
using SuperSocket.SocketBase.Protocol;
using SuperSocket.SocketEngine;
using CSBaseLib;
using SuperSocket.SocketBase.Config;
using SuperSocket.SocketBase.Logging;
namespace ChatServer
{
public class MainServer :... |
namespace IMtest
{
class ConnectivityBLL
{
private clsUser _credentials;
public ConnectivityBLL(clsUser value)
{
_credentials = value;
}
public int UserLogin()
{
if (_credentials.UserName.Length == 0 || _credentials.UserName.Length > 2... |
// Copyright © 2020 Void-Intelligence All Rights Reserved.
namespace Vortex.Pooler.Utility
{
public enum EPoolerType
{
Average,
Max,
Min,
Sum
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraZoom : MonoBehaviour
{
Camera cam;
public float speed = 0.5f;
private void Start()
{
cam = GetComponent<Camera>();
}
void Update()
{
if (Input.GetKeyDown(KeyCode.Z) && cam.orth... |
using System;
using System.Linq;
using Chick.Logika;
using Chick.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Chick.Tests
{
[TestClass]
public class UnitTest1
{
UzytkownikAkcje ua = new UzytkownikAkcje();
ChickDbContext db = new ChickDbContext();
Widoki w =... |
#region << 版本注释 - v1 >>
/*
* ========================================================================
* 版本:v1
* 时间:181204
* 作者:Lith
* Q Q:755944120
* 邮箱:litsoft@126.com
*
* ========================================================================
*/
#endregion
using System;
using System.Collections.Concur... |
using System;
using System.Collections.Generic;
using LegacyApp.Core.Models;
namespace LegacyApp.Core.Dao
{
public class TripDao : ITripDao
{
public List<Trip> FindTripsByUser(User user)
{
return FindTripsByUserStatic(user);
}
public static List<Trip> FindTripsByUs... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using Pobs.Domain.Utils;
namespace Pobs.Domain.Entities
{
public class Answer : IHasWatches
{
public Answer()
{
this.Comments = new Collect... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using KartObjects;
namespace KartLib
{
[Serializable]
public class AlcoDeclRecordF2 : Entity
{
[DBIgnoreAutoGenerateParam]
[DBIgnoreReadParam]
public override string F... |
using UnityEngine;
using UnityEngine.Events;
public class Conditioner : MonoBehaviour
{
public UnityEvent OnConditionChange;
public bool condition = false;
public bool Condition { get { return condition; }
set
{
condition = value;
if (OnConditionChange... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Add enemies on list you can attack with the Mage Character
/// </summary>
public class MagicAttack : MonoBehaviour
{
private PlayerController _playerMagicController;
void Awake()
{
_playerMagicCon... |
using System;
using FluentNHibernate.Mapping;
using Sind.Model;
namespace Sind.DAL.Mappings
{
public class MovimentacaoMap : ClassMap<Movimentacao>
{
public MovimentacaoMap()
{
Table("Movimentacao");
Id(x => x.Id, "Id_Movimentacao").GeneratedBy.Identity();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JKVideo.Core.Http
{
/// <summary>
/// 存储当前 会话Cookie 类
/// </summary>
public sealed class CookieStoreInstance
{
/// <summary>
/// 当前登录成功后的 会话Cookie
/... |
using System.Collections;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading;
namespace HTB.Database
{
public static class DatabasePool
{
public const int ConnectToHTB = 0;
public const int ConnectionToHTBRoads = 1;
public ... |
/*
* Author: Generated Code
* Date Created: 02.11.2011
* Description: Represents a row in the tblRoadInfo table
*/
using System;
namespace HTB.Database
{
public class tblRoadInfo : Record
{
#region Property Declaration
[MappingAttribute(FieldType = MappingAttribute.FIELD_TYPE_ID)]
public doubl... |
///
/// \brief contains 8 testing cases for the supporting class library
///
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Supporting;
using AllEmployees;
using System.Collections.Generic;
namespace UnitTest_EMS
{
[TestClass]
public class UnitTest_Supporting
{
FileIO fil... |
// Copyright (c) Simple Injector Contributors. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for license information.
namespace SimpleInjector
{
using System;
using System.ComponentModel;
/// <content>Deprecated methods.</content>>
public static partial ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ServiceModel;
using System.IO;
namespace MyDiskInfo
{
[ServiceContract]
public interface IMyDisk
{
[OperationContract]
string FreeSpace(string obj);
[Op... |
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace JhinBot.Migrations
{
public partial class First : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name... |
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using Microsoft.CSharp;
using StardewModdingAPI;
namespace ConsoleCode
{
public class Mod : StardewModdingAPI.Mod
{
public static Mod instance;
public override void Entry(I... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.