text stringlengths 13 6.01M |
|---|
using System.ComponentModel.DataAnnotations;
using iCopy.Model.Attributes;
namespace iCopy.Model.Request
{
public class ChangePassword
{
[Required(AllowEmptyStrings = false, ErrorMessage = "ErrNoCurrentPassword")]
[MaxLength(100, ErrorMessage = "ErrMaxLength")]
public string CurrentPas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Infra;
namespace Console2.G_Code
{
/*
Find deepest nodes in a binary tree.
Q: binary search tree? A: no
Q: all of the deepest nodes, or just one? A: find the right-most deepest node
*/
/// ... |
using System;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using RoleTopMVC.Enums;
using RoleTopMVC.Models;
using RoleTopMVC.Repositories;
using RoleTopMVC.ViewModels;
namespace RoleTopMVC.Controllers
{
public class ReservarController : AbstractController
{
AgendamentoRepository age... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoursIngesup.Class2
{
class Arguments_nommés_et_facultatifs
{
string s;
public int Test (int a, string coucou = "coucou", int b = 1)
{
int c = a *... |
using apiInovaPP.Models.Repository.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using apiInovaPP.Models.Entrega;
using apiInovaPP.AcessoDados;
using System.Text;
using System.Data;
namespace apiInovaPP.Models.Repository
{
public class EntregaRepository : IEntrega... |
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 MacroWeb.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Http;... |
using System;
using System.Runtime.Serialization;
namespace MKService.Messages
{
public class MageKnightCoordinatesChanged :MessageBase
{
[DataMember]
public Guid UserId { get; set; }
[DataMember]
public Guid InstantiatedMageId { get; set; }
[DataMember]
public ... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.IO;
using System.Data;
using System.Drawing;
using System.Drawing.Printing;
using ThoughtWorks.QRCode.Codec;
namespace SKT.WMS.Printer.BLL
{
using System = global::System;
public class ZP... |
using Android.App;
using Android.Widget;
using Android.OS;
namespace S04_MoreBasicsUI_5_Task_OfficialSolution
{
[Activity(Label = "S04_MoreBasicsUI_5_Task_OfficialSolution", MainLauncher = true)]
public class MainActivity : Activity
{
Spinner spinner;
RadioGroup radioGroup;
protec... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Preferences : MonoBehaviour
{
public static Preferences instance;
public string PlayerName = "";
public string[] RandomNames = {"Comi", "Zika", "Shomy", "Eric M. Lang", "Batman", "Daum"};
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Obout.Interface;
public partial class Pages_screentest2 : System.Web.UI.Page
{
protected void Page_PreRender(object sender, EventArgs e)
{
if (Session["wx"... |
using Newtonsoft.Json;
using System.Collections.Generic;
using System.IO;
namespace DT071G_project
{
class DataSerializer
{
string favoritesFilePath = @"favorits.json";
//serilize favorite music
public void JsonSerializeFavorits(List<FavoriteMusic> favoriteMusicList)
{
... |
public static class Leap
{
public static bool IsLeapYear(int year)
{
if ((IsDivisbleByFour(year)
&& !IsDivisbleByOneHundred(year))
|| IsDivisbleByFourHundred(year))
{
return true;
}
return false;
}
private static bool IsDivisbleByFou... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Okra.Core
{
public class DelegateCommand : DelegateCommand<object>
{
// *** Constructors ***
public DelegateCommand(Action execute, Func<bool> canExecute)
... |
using System;
using System.Collections.Generic;
#nullable disable
namespace Quinelita.Entities.DTOs
{
public partial class TblTournament
{
public TblTournament()
{
TblGroupBets = new HashSet<TblGroupBet>();
TblMatches = new HashSet<TblMatch>();
}
publi... |
using System;
using Xunit;
using System.Threading.Tasks;
using System.Net.Http;
using Newtonsoft.Json;
using System.Linq;
namespace WebApiTestsCore
{
[CollectionDefinition("WebApiInit")]
public class IisCollection : ICollectionFixture<Fonlow.Testing.IisExpressFixture>
{
// This class has no code, and is never cr... |
using System;
using System.Collections.Generic;
namespace TemplateMethodExample
{
internal abstract class UiElement
{
public ICollection<UiElement> Children { get; } = new List<UiElement>();
// Template Method
public void Zeichnen()
{
// 1.
ZeichneRahme... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Xml;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Medi... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class InviteFriendPrefab : MonoBehaviour {
public Text m_AvatarText;
public Image m_CheckImage;
bool m_IsSelected = false;
// Use this for initialization
void Start () {
}
// Update is called once per frame
... |
using Logs.Authentication.Contracts;
using Logs.Models;
using Logs.Providers.Contracts;
using Logs.Services.Contracts;
using Logs.Web.Controllers;
using Logs.Web.Infrastructure.Factories;
using Logs.Web.Models.Nutrition;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Lin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PnrAnalysis.Model
{
/// <summary>
/// 从混乱的字符串内容中分离出正确的数据内容
/// </summary>
///
[Serializable]
public class SplitPnrCon
{
/// <summary>
/// 所有内容
/// </summary>
pub... |
using System;
using System.Net.Http;
using Acr.UserDialogs;
using MvvmCross.Platform;
using MvvmCross.Platform.IoC;
using MvvmCross.Platform.Platform;
using Refit;
namespace VictimApplication.Core
{
public class App : MvvmCross.Core.ViewModels.MvxApplication
{
public override void Initializ... |
// <copyright file="Result.cs" company="Visualbean">
// Copyright (c) Visualbean. All rights reserved.
// </copyright>
namespace Visualbean.Pokemon
{
using System;
/// <summary>
/// A Result.
/// </summary>
public class Result
{
/// <summary>
/// Initializes a new instance of ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace ClassLearning
{
class Program
{
static void Main(string[] args)
{
Book book = new Book();
Book book1 = new... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FeelingGoodApp.Models
{
//public record FoodViewModel(string FoodName);
public class FoodViewModel
{
public string FoodName { get; set; }
//public FoodViewModel(string foodName)
... |
using System.IO.Compression;
namespace Frontend.Core.Common.Proxies
{
public class ZipFileProxy : IZipFileProxy
{
public void ExtractToDirectory(string sourceArchiveFileName, string destinationDirectoryName)
{
ZipFile.ExtractToDirectory(sourceArchiveFileName, destinationDir... |
namespace CloneDeploy_Entities.DTOs.FormData
{
public class ImageIdDTO
{
public string imageId { get; set; }
}
} |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_Skybox : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
Skybox o = new Skybox();
LuaObject.pushValue(l, true);
LuaObject.pushValue(l, o);... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
public class TakeABreakTimer : MonoBehaviour
{
public GameObject TakeABreak;
private bool done = false;
void Update()
{
Debug.Log("checking");
if (Time.time >= 20 && !done)
{
... |
namespace SGDE.DataEFCoreSQL.Repositories
{
#region Using
using System.Collections.Generic;
using System.Linq;
using Domain.Entities;
using Domain.Repositories;
using System;
#endregion
public class HourTypeRepository : IHourTypeRepository, IDisposable
{
private readonly ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class GameController : MonoBehaviour {
public GameObject loadingScreen;
public Slider slider;
public GameObject pauseScreen;
private bool isPaused;
privat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Infra;
namespace Console2.G_Code
{
public class G_021_Print2BST
{
/*
* 2个BST,按大小顺序打印两棵树的所有节点。
* http://www.mitbbs.com/article_t/JobHunting/32266793.html
* this question may not be a g... |
using Extension;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
using Zenject;
namespace Lonely.Editor
{
/// <summary>
/// Editor에서는 GameObject 생성으로 Inject하는 것이 안됨. 그래서 Inject없이 강제 생성
/// </summary>
public class SceneContextFactory : IFactory<SceneContext>
{
#regi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MessingWithInterfaces
{
public interface IFlammable
{
bool IsOnFire { get; }
void Burn();
}
public class Paper : IFlammable
{
private bool _isOnFir... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Tff.Panzer.Models.Army;
using System.Xml.Linq;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.OleDb;
using System.IO;
namespace Fithome
{
public partial class Form1 : Form
{
public Form1()
{
... |
//-----------------------------------------------------------------------
// <copyright file="GlobalAssemblyInfo.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
// <author>Mark Junker</author>
//------------------------------------------------... |
using System;
using System.Timers;
namespace CompressionStocking
{
public class AirCompression : ICompressionCtrl
{
private Pump _air_pump = new Pump();
private Timer _compression_timer = new Timer();
private Timer _decompression_timer = new Timer();
public AirCompression()
... |
using GigHub.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace GigHub.ViewModels
{
public class GigFormViewModel
{
[Required]
public string Venue { get; set; }
[Required]
[FutureDate]
public string Date { get... |
namespace AlienEngine.Core.Physics.Paths
{
/// <summary>
/// Wrapper around a 3d position curve that specifies a specific velocity at which to travel.
/// </summary>
public class ConstantLinearSpeedCurve : ConstantSpeedCurve<Vector3f>
{
/// <summary>
/// Constructs a new constant ... |
using System;
using System.Collections.Generic;
using System.Linq;
public class ArrayStack<T>
{
private const int defaultCpacity = 16;
private T[] elements;
public int Count { get; private set; }
public ArrayStack(int capacity = defaultCpacity)
{
... |
using UnityEngine;
using System.Collections;
using Pathfinding;
using System.Collections.Generic;
public class EnemyMovement : MonoBehaviour {
public bool changedStates = false;
public bool newPatrolPath = false;
public int decimalRounding = 2;
public int framesAllowedStationary = 10;
public flo... |
using CareerCup150.Chapter19_Medium;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace CareerCupTest
{
/// <summary>
///This is a test class for _19_05_MasterMindTest and is intended
///to contain all _19_05_MasterMindTest Unit Tests
///</summary>
[TestClass()]
... |
namespace Voronov.Nsudotnet.BuildingCompanyIS.DBClasses
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("bcis.VehicleAttributes")]
public partial class... |
using Learn.IRepository;
using Learn.IService;
using Learn.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Learn.Service
{
public class CommentService:BaseService<CommentInfo>,ICommentService
{
private readonly IComme... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tes4._3_Tier.DTO;
using Tes4._3_Tier.DAL;
namespace Tes4._3_Tier.BUS
{
class billItem_BUS
{
private billItem_DAL bill_ItemDAL;
public billItem_BUS()
{
b... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents.Items
{
public sealed class ImmutableDictionary<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<Ke... |
using System;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;
using System.Collections;
using System.Windows.Forms;
namespace TankBot
{
public enum Status { IN_HANGAR, QUEUING, COUNT_DOWN, PLAYING, DIE, SHOW_BAT... |
// ObjectBase.cs - Base class for Object types
//
// Authors: Mike Kestner <mkestner@novell.com>
//
// Copyright (c) 2005 Novell, Inc.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of version 2 of the GNU General Public
// License as published by the Free Software Fou... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
namespace SMSEntities.SMSDBEntities
{
public class Vehicles
{
//`identificationunit``platenumber``containernumber``description`
//`trailernumber``contractor``lengt... |
#region License
// Copyright (c) 2007, James M. Curran
//
// 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/licenses/LICENSE-2.0
//
// Unless req... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
using System.Collections.Generic;
using DotNetNuke.Framework;
using DotNetNuke.Common.Lists;
using DotNetNuke.Entities.Profile;
using System... |
using EsMo.iOS.WeiBo.Entity;
using EsMo.Sina.SDK.Model;
using Foundation;
using MvvmCross.Binding.BindingContext;
using MvvmCross.iOS.Views;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace EsMo.iOS.WeiBo.Entity
{
public class BaseView<T> : ... |
using System;
using System.Web.Mvc;
namespace ZiZhuJY.Web.UI.Utility
{
public class MvcUtility
{
public static void ProcessInvalidModelState(ModelStateDictionary modelState)
{
foreach (ModelState ms in modelState.Values)
{
foreach (ModelError err in ms.E... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("BackButton")]
public class BackButton : PegUIElement
{
public BackButton(IntPtr address) : this(address, "BackButton")
{
}
public BackButton(IntPtr address, string className) : base(address, cl... |
namespace KRF.Core.Entities.AccessControl
{
public class Role
{
/// <summary>
/// Hold the unique Identifier of a particular role
/// </summary>
public int RoleId { get; set; }
/// <summary>
/// Holds the name of a role.
/// </summary>
public st... |
using System.Threading;
using System.Threading.Tasks;
using Grimoire.Game;
using Grimoire.Game.Data;
namespace Grimoire.Botting.Commands.Combat
{
public class CmdKill : IBotCommand
{
public string Monster { get; set; }
public async Task Execute(IBotEngine instance)
{
await... |
namespace VH.Core.Middleware.UnitTests.TestEntities
{
public class LoggingTestChildEntity
{
public string AdminUri { get; set; }
public string JudgeUri { get; set; }
public string ParticipantUri { get; set; }
public string PexipNode { get; set; }
public string TelephoneC... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace eLearning.Domain
{
public class Professor : BaseClass
{
public Professor()
{
Subjects = new List<Subject>();
}
public string FirstName {... |
using System;
class Massiiv5{
static void Tryki(int[] mas){
for(int i=0; i<mas.Length; i++){
Console.WriteLine(mas[i]);
}
Console.WriteLine();
}
public static void Main(string[] arg){
int[] m=new int[3]{40, 48, 33};
int[] m2=m; //Viide samale massiivile
T... |
using System;
using System.Collections.Generic;
using TP_Groupe.Models;
namespace TP_Groupe.Repository
{
public interface ISecteurRepository
{
void Insert(Secteur secteur);
void Update(Secteur secteur);
void Remove(Secteur secteur);
IEnumerable<Secteur> GetAllSecteurs();
... |
/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2010 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THI... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
namespace DAL
{
public class DAL_BAN
{
Thaotac_CSDL thaotac = new Thaotac_CSDL();
//khai báo 2 mảng để truyền tên tham số và giá trị tham số vào Stored Procedu... |
using MKService.Messages;
using MKService.ModelUpdaters;
using MKService.Queries;
using MKService.Updates;
namespace MKService.MessageHandlers
{
internal class UserCollectionAddedHandler : ServerMessageHandlerBase<UserCollectionAdd, UserCollectionQuery, IUpdatableUserCollection>
{
public UserCollecti... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AirCaddy.Data.Repositories
{
public interface IUserRepository
{
string GetUserIdFromUsername(string username);
string GetUsernameFromUserId(s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows;
using System.Windows.Controls;
namespace cMud2
{
public class FullmeTextProcessor
{
public string Message
{ get; set; }
public bool IsNeedGe... |
using LuaInterface;
using System;
namespace SLua
{
public abstract class LuaVar : IDisposable
{
protected LuaState state;
protected int valueref;
public IntPtr L
{
get
{
return this.state.L;
}
}
public int Ref
{
get
{
return this.valueref;
}
}
public LuaVar()
{
th... |
namespace ns20
{
using System;
internal class Class162
{
protected internal object object_0;
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Washing_Machine
{
class GUI
{
//attributes
private string turnedOn, hatchSecured; //for translation from bool too S... |
namespace CCCP.DAL.Entities
{
public class CoffeeCups
{
public int Id { get; set; }
public int TotalSaved { get; set; }
}
} |
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
namespace TLP.UI
{
[RequireComponent(typeof(CanvasGroup))]
public class Window : AnimatedPanel
{
#pragma warning disable 0649
[SerializeField] private string windowID;
[SerializeField] private Selectable firstControl;
... |
using System;
using System.Collections;
using System.Collections.Generic;
using Assets.Scripts.Configs;
using Assets.Scripts.Core.Scenarios;
using Assets.Scripts.Units;
using UnityEngine;
namespace Assets.Scripts.Buildings
{
public class FountainController : MonoBehaviour, IInteractableObject
{
[Seria... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CT.Data
{
public class ConstructionData
{
public readonly int ID;
public GameTime time;
public readonly GameTime startTime;
public readonly BuildingInstanceData isUpgradeOf;
public ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Polymorphism
{
public abstract class Shape
{
public int Width { get; set; }
public int Height { get; set; }
public int X { get; set; }
public int Y { get; set; }
public virtual void Draw()
... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class PlayMovie : MonoBehaviour {
Renderer r;
MovieTexture movie;
void Start(){
r = GetComponent<Renderer>();
movie = (MovieTexture)r.material.mainTexture;
//movie.Stop ();
movie.Play();
movie.loop = true;
}
void Upd... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System.Configuration;
namespace DotNetNuke.Web.ConfigSection
{
public class AuthServicesConfiguration : ConfigurationSection
{
publ... |
namespace Bridge.RealWorld
{
/// <summary>
/// The advanced remote control.
/// </summary>
/// <seealso cref="Bridge.RealWorld.RemoteControl" />
class AdvancedRemoteControl : RemoteControl
{
/// <summary>
/// Initializes a new instance of the <see cref="AdvancedRemoteControl"/> class.
/// </summary>
/// ... |
using NUnit.Framework;
namespace Logs.Models.Tests.SubscriptionTests
{
[TestFixture]
public class ConstructorTests
{
[TestCase(1, "d547a40d-c45f-4c43-99de-0bfe9199ff95")]
[TestCase(423, "99ae8dd3-1067-4141-9675-62e94bb6caaa")]
public void TestConstructor_ShouldSetTrainingLogIdCorre... |
using System;
namespace SLua
{
public enum LuaSvrFlag
{
LSF_BASIC,
LSF_DEBUG,
LSF_EXTLIB,
LSF_3RDDLL = 4
}
}
|
namespace Kit.WPF.Reportes
{
public enum FormatoReporte { PDF, EXCEL }
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Webcorp.unite
{
public partial class Currency : IUnit<Currency>
{
public void SetChange(double value)
{
this.value = value;
}
public static... |
using System;
using Newtonsoft.Json;
namespace MonoGame.Extended.Gui.Serialization
{
public class AlignmentConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
{
}
public override object ReadJson(JsonReader reade... |
using NuGet.Versioning;
using Xunit;
namespace NuGet.DependencyResolver.Tests
{
public class RemoteDependencyWalkerTests
{
[Fact]
public void IsGreaterThanEqualTo_ReturnsTrue_IfLeftVersionIsUnbound()
{
// Arrange
var leftVersion = VersionRange.All;
v... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace BPiaoBao.Common.Enums
{
/// <summary>
/// web消息推送指令
/// </summary>
public enum EnumMessageCommand:int
{
/// <summary>
/// 支付等待出票
/// </summary>
... |
using UnityEngine;
using System.Collections;
namespace ProjectV.ItemSystem{
[System.Serializable]
public enum EQRange {
Short,
Mid,
Long,
Special
}
}
|
using System;
using System.Collections.Generic;
using ReadyGamerOne.Common;
using SecondGame.Const;
namespace SecondGame.Scripts
{
public class BagData : MonoSingleton<BagData>
{
public List<string> itemNames = new List<string>();
protected override void Awake()
{
base.Awak... |
namespace GameInputSystem
{
public enum XboxControllerButtons
{
None,
A,
B,
X,
Y,
LeftStick,
RightStick,
View,
Menu,
LeftBumper,
RightBumper
}
} |
using bitirme.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
namespace bitirme.Controllers
{
public class HotelController : Controller
{
OurDbContext db = new OurDbC... |
//=======================================================================
// ClassName : ScrollRectExEvent
// 概要 : スクロールレクトイベント
//
//
// LiplisLive2D
// Create 2018/03/11
//
// Copyright(c) 2017-2018 sachin. All Rights Reserved.
//===============================================================... |
using System;
using System.Collections.Generic;
using System.Text;
using Utils;
using System.Linq;
using ChaseHelper.ReportDataObjects;
namespace ChaseHelper
{
public class ChaseProcessor
{
// todo sql load
// todo transactions under/over forty
// list highest hits over the last 30 days
// total spen... |
using System;
namespace FreeUI.Anima {
public class Zoom {
// Atributos internos de controle
private static int controlX;
private static int controlY;
private static int controlDestinoX;
private static int controlDestinoT;
private static bool maximizado = false;
... |
using AlienEngine.ASL;
using AlienEngine.Core.Graphics.OpenGL;
using System;
namespace AlienEngine.Core.Graphics.Shaders.Samples
{
[Version(330)]
internal class GrassVertexShader : VertexShader
{
#region VAO Objects
[Layout(Location = GL.VERTEX_POSITION_LOCATION)] [In] vec3 in_position;
... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
namespace DotNetNuke.Services.Connections
{
public class ConnectorArgumentException : ApplicationException
{
public Connect... |
namespace Newtonsoft.Json.Converters
{
using Newtonsoft.Json;
using ns20;
using System;
using System.Globalization;
public class JavaScriptDateTimeConverter : DateTimeConverterBase
{
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerialize... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using DBStore.DataAccess.Data.Repository.IRepository;
using DBStore.Models.VModels;
using DBStore.Paging;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace ... |
using System;
using System.Collections.Generic;
using Mathml.Operations;
namespace Mathml
{
/// <summary>
/// Parse, execute, and print out operations.
///
/// Load a list of valid operations from XML. Calculate the results of those operations.
/// Print out the information and equation for eac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassLibrary4._5
{
interface Interface1
{
int Prop1 { get; set; }
int Prop2 { get; set; }
void Func1();
}
}
|
using Prj.Respositories.Interfaces;
using Prj.Respositories.UnitOfWork;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Prj.Respositories.Implementations
{
public class PermissionRepository : IPermissionRepository
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TardiRecords.Services.Helpers;
namespace TardiRecords.Services.DataViewModels
{
public class EnumDropdownListVM
{
public int Id { get; set; }
public string Name { get; set;... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
namespace TDigest {
public abstract class Digest {
protected ScaleFunction Scale = new ScaleFunction.K2();
protected double Min = double.PositiveInfinity;
protected double Max = double.Neg... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.