text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class PressKeyToStart : MonoBehaviour {
public float startDelay = 3f;
public GameObject instructionText;
public string firstLevelName = "Level 1";
private bool canStart;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Data;
namespace WindowsFormsApplication2
{
class Gestion
{
Conexion connBD = new Conexion();
//agregar clientes a la base de... |
using System;
namespace Generics_4
{
class MyList<T>
{
public T[] MyArray;
public int Size { get; private set; }
public MyList()
{
Size = 0;
MyArray = new T[] { };
}
public MyList(int size, params T[] list)
{
Size = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LevenshteinAlgorithm
{
class Program
{
static void Main(string[] args)
{
string nm1 = "notKley", nm2 = "Kleyton";
Console.WriteLine("Levenshtei... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Common.DataModel;
using System.Windows.Input;
using Common.Utils;
using Client_WinPhone.FeedService;
using Microsoft.Phone.Controls;
using System.Windows;
namespace Client_WinPhone.ViewModel
{
class FeedDetailsViewModel : ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace XH.Infrastructure.Web
{
public class SiteSetting
{
public string ApiDomain { get; set; }
public string MediaApiDomain { get; set; }
public bool UnobtrusiveJavaScriptEnabled { get; set; }
... |
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 EX_0908
{
public partial class frmLogin : Form
{
public frmLogin()
{
... |
#region
using System;
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
#endregion
namespace Audiotica.Core.UserControls
{
public sealed partial class RatingsControl : UserControl
{
/// <summary>
/// BackgroundColor Dependency Property
... |
namespace Ezphera.TimerScore
{
using UnityEngine;
public class ScoreManager : MonoBehaviour
{
public delegate void ScoreCallback(float oldScore, float newScore);
/// <summary>
/// This action is called when score has changed
/// </summary>
public event ScoreCallba... |
using System;
/*You are given an array of strings. Write a method that sorts the array by the length of its elements
(the number of characters composing them).*/
class Program
{
static void Print(string[] arr)
{
for (int i = 0; i < arr.Length; i++)
Console.Write(arr[i] + " ");
... |
using System.Net.Http;
using System.Threading.Tasks;
using Justa.Job.Backend.Api.Application.Services.DataValidation.Models;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
namespace Justa.Job.Backend.Api.Application.Services.DataValidation
{
public class PhoneNumberValidatorService
{
privat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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.Windows.Navigati... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LHRLA.DAL;
namespace LHRLA.Core.ViewModel
{
public class CaseVM : tbl_Case
{
public string SubType { get; set; }
public int SubTypeId { get; set; }
public string T... |
using BDTest.NUnit;
using BDTest.Test;
using BDTest.Tests.Helpers;
using NUnit.Framework;
namespace BDTest.Tests.Fixtures;
public class SetupTeardownInfo : NUnitBDTestBase<MyTestContext>
{
private Scenario _scenario;
[SetUp]
public void Setup()
{
TestResetHelper.ResetData();
Console.O... |
using Microsoft.Azure.Documents;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using UKPR.Hermes.Models;
namespace UKPR.Hermes.Asp.NetCoreDAL.Services
{
public interface IAvailibilityManagementRepository
{
Task<Document> InitialAvailibility(AvailabilityD... |
using System;
using UnityEngine;
public class Gate : MonoBehaviour
{
static public Action<int> GoalMe;
private void OnCollisionEnter(Collision collision)
{
// если это шайба
if (collision.gameObject.CompareTag("Puck"))
{
string name = gameObject.name; // узнаю свое им... |
using System.Collections.Generic;
using Tomelt.ContentManagement;
using Tomelt.Environment.Extensions;
using Tomelt.Localization;
using Tomelt.Users.Events;
using Tomelt.Users.Models;
using Tomelt.Workflows.Models;
using Tomelt.Workflows.Services;
namespace Tomelt.Users.Activities {
[TomeltFeature("Tomelt.Users.Wo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WpfApp1.Model
{
public interface IPowerEntity
{
long Id { get; set; }
string Name { get; set; }
double X { get; set; }
double Y { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using Ninject;
using SMARTplanner.Entities.Domain;
using SMARTplanner.Logic.Contracts;
using SMARTplanner.Logic.Exact;
namespace SMARTplanner.Infrastructure
{
public class NinjectDependencyResolver : IDependencyResolver
{
private re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OOPsReview
{
//the default access permissions is private
//if an outside user of this class wanted
// access to the class contents then
// the access permissions nee... |
////////////////////////////////////////////////////////////////////////////
// The binary clock demo is developed by Mark Muller using
// the RPi.SenseHat Windows IoT class library for the Raspberry Pi
////////////////////////////////////////////////////////////////////////////
using Emmellsoft.IoT.Rpi.SenseHat;
us... |
namespace Seterlund.CodeGuard
{
public static class ClassValidatorExtensions
{
public static ValidatorBase<T> IsNotNull<T>(this ValidatorBase<T> validator) where T : class
{
if (validator.Value == null)
{
validator.ArgumentNullMessage();
}
... |
using System;
using System.Collections.Generic;
using System.Fabric;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.ServiceBus.Messaging;
using Microsoft.ServiceFabric.Services.Communication.Runtime;
using Microsoft.ServiceFabric.Services.Runtime;
namespace ReceiveMessageStat... |
using Dapper.Contrib.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IconCreator.Core.Domain.Models
{
[Table("Sectie")]
public class Sectie
{
[Key]
public string Code { get; set; }
public stri... |
namespace _07._ValidUsernames
{
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
public class Startup
{
public static void Main()
{
string[] usernames = Console.ReadLine().Split(new []{' ', '\\', '/', '(', ')'}, StringSplitOptions.Re... |
using UnityEngine;
using System.Collections;
public class SpawnToArea : SpawnAtLocation
{
public int spawnCount = 1;
public int maxXPosition;
public int maxYPosition;
protected override void startSpawn(World w)
{
for (int i = 0; i < spawnCount; i++)
{
int x = UnityEngi... |
namespace OrangeApple.WPF.ViewModels
{
public class ComparisonWebItemViewModel : ComparisonItemViewModel
{
public ComparisonWebItemViewModel(string url)
{
Url = url;
}
public string Url { get; }
public override string ResultsViewText => Url;
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dominio.Validations;
namespace Dominio
{
public class Medicion : Modelo<Medicion>
{
public virtual DateTime Fecha { get; set; }
public virtual decimal Valor { get; set; }
public virt... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// Singleton Pattern
public class GameControl : MonoBehaviour {
public static GameControl control;
// init
void Awake () {
if (control == null) {
DontDestroyOnLoad(gameObject);
control = this;
} else if (control != this) {
... |
using System.Collections.Generic;
using UnityEngine;
public class DirectionAbilityIndicator : MonoBehaviour
{
[Header("References")]
[SerializeField] private Transform arrow;
private LineRenderer lineRenderer;
private void Awake()
{
lineRenderer = GetComponent<LineRenderer>();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace SudokuSolver
{
public class Solver
{
public static int[][] LoadTable()
{
// Load up a table
int[][] table = new int[9][];
Console.WriteLine("H... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace capacited_facility_location_problem.model
{
class Facility
{
public readonly double SetupCostInDollars;
public readonly int CapacityInKg;
public readonly Coordi... |
using Source.Code.Cam;
using Source.Code.Units;
using Source.Code.Utils;
using UnityEngine;
namespace Source.Code.PlayerInput
{
public class LookPivot : MonoBehaviour
{
private Vector2 maxDistFromUnit;
private SessionSettings sessionSettings;
private GlobalSettings settings;
p... |
using System;
namespace Emanate.Core.Configuration
{
public class ConfigurationAttribute : Attribute
{
public string Name { get; private set; }
public ConfigurationAttribute(string name)
{
Name = name;
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace 查号管理
{
public class AuthenticationConnecter : Connecter
{
public GridManage m_manage;
protected override void OnStart()
{
m_manage.OnAuthenticationConnect();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LifeGauge : MonoBehaviour
{
public int life;
public int damage;
public Slider lifebar;
public Text loose;
void Start() {
lifebar.value = life;
loose.enable... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace VyBestilling.Models
{
public class Bestilling
{
public String fraStasjon { get; set; }
public String tilStasjon { get; set; }
public Boolean enkel { get; set; }
public Boolean turRetu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
[SerializeField] private Transform pfBullet;
// Start is called before the first frame update
void Start()
{
}
//public float spd = 5f;
// Update is called onc... |
using System;
using System.Collections.Generic;
using System.Linq;
class ABC123A{
public static void Main(){
var a = int.Parse(Console.ReadLine());
Console.ReadLine();
Console.ReadLine();
Console.ReadLine();
var e = int.Parse(Console.ReadLine());
var k = int.Parse(Co... |
using UnityEngine;
using System.Collections;
public class GameBoard : MonoBehaviour {
private GameObject[,] board;
public int BOARD_WIDTH = 7;
public int BOARD_HEIGHT = 7;
public GameObject[] prefabs;
private Block selectedBlock;
// Use this for initialization
void Start () {
this.board = new GameObject[B... |
using Newtonsoft.Json;
namespace EddiDataDefinitions
{
public class ModuleInfoItem
{
[JsonProperty]
public string slot { get; set; }
[JsonProperty]
public string item { get; set; }
[JsonProperty]
public decimal power { get; set; }
[JsonProperty]
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Harbin.Common.Database
{
#region DataException
public class DataException : System.Exception
{
#region Members
public string SqlQuery { get; set; }
public object Parms { get; set; }
#endregion
... |
using System.Collections.Generic;
namespace NeuroLinker.Models
{
/// <summary>
/// User list information
/// </summary>
public class UserList
{
#region Constructor
/// <summary>
/// Default Constructor
/// </summary>
public UserList()
{
... |
using AutoMapper;
using Profiling2.Domain.Contracts.Tasks;
using Profiling2.Domain.Prf;
using Profiling2.Domain.Prf.Persons;
using Profiling2.Web.Mvc.Areas.Profiling.Controllers.ViewModels;
using Profiling2.Web.Mvc.Controllers;
using SharpArch.NHibernate.Web.Mvc;
using SharpArch.Web.Mvc.JsonNet;
using System.Collectio... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace BatteryMonitoring.Tests
{
[TestClass]
public class CurrentMeasurementTest
{
CurrentMeasurement currentMeasurement = new CurrentMeasurement();
List<int> CurrentReadings = new List<int>() { 3, 3, 5... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StudentMain
{
public class StudentChangedArgs : EventArgs
{
public StudentChangedArgs(string type, dynamic oldValue,dynamic newValue)
{
this.Type = type;
this.NewValue = newV... |
using System;
using UnityEngine;
//*************************************************************************
//@header MassState
//@abstract Create the state of Mass.
//@discussion Depend on MachineState.
//@author Felix Zhang
//@copyright Copyright (c) 2017 FFTAI Co.,Ltd.All rights reserved.
//@... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using JSLProject.Models;
namespace JSLProject.Controllers
{
public class ViagemsController : Controller
{
private BDJS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassesEx
{
class Student : Human
{
private int facNum;
public int FacNum
{
get
{
return this.facNum;
}
... |
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 MySql.Data.MySqlClient;
namespace Mercadinho
{
public partial class Clientes : Form
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
using UnityEngine.XR.ARSubsystems;
[RequireComponent(typeof(ARSessionOrigin))]
public class CalibrateMap : MonoBehaviour
{
public GameObject levelMap;
private Transform sessionTransform;
pri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Data;
using CapaEntidades;
using CapaNegocio;
// NOTA: puede usar el comando "Cambiar nombre" del menú "Refactorizar" para cambiar el nombre de clase "Serv... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IWorkFlow.Host;
using IWorkFlow.ORM;
using Newtonsoft.Json;
using System.Data;
using System.Web;
using IWorkFlow.BaseService;
namespace BizService.Services
{
public class B_OA_Wo... |
//
// ImageHandler.cs
//
// Author:
// Luís Reis <luiscubal@gmail.com>
// Eric Maupin <ermau@xamarin.com>
//
// Copyright (c) 2012 Luís Reis
// Copyright (c) 2012 Xamarin, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation... |
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.FSM.Editor
{
/// <summary>
/// A custom property drawer for References. Makes it possible to choose between a value, Variable, Constant or a Variable Instancer.
/// </summary>
[CustomPropertyDrawer(typeof(FSMTransitionDataBaseEventReferen... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace dictionarty
{
class Program
{
static void Main()
{
Dictionary<string, string> phonebook = new Dictionary<string, string>();
bool c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ForgalomIranyito
{
public class JaratKezelo
{
public class Jarat
{
public string jaratSzam;
public string repterHonnan;
public stri... |
public class MyStack {
private Queue<int> q1;
private Queue<int> q2;
public MyStack() {
q1 = new Queue<int>();
q2 = new Queue<int>();
}
public void Push(int x) {
q1.Enqueue(x);
if (q1.Count > 1) {
int curr = q1.Dequeue();
q2.Enqueue(... |
using System;
namespace Meshop.Framework.Widgets
{
public enum PagePosition
{
Left,
Right,
Bottom,
Top,
Header,
Footer,
Document
}
public enum PageTemplate
{
Index,
Product,
Catalog,
C... |
namespace TPMDocs.Models
{
using System;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
public partial class TPMDocContext : DbContext
{
public TPMDocContext()
: base("name=TPMDocContext")
{
}
public... |
using System.Collections.Generic;
namespace Isop.Gui.ViewModels
{
public class ControllerViewModel
{
public string Name { get; set; }
public IEnumerable<MethodViewModel> Methods { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using Aspose.Words;
using Aspose.Words.Properties;
using Aspose.Words.Saving;
namespace Profiling2.Infrastructure.Aspose.Loader
{
public class WordDocumentLoader : BaseAsposeLoader
{
protected Document Documen... |
namespace Sentry.Tests;
public class AppDomainProcessExitIntegrationTests
{
private class Fixture
{
public IHub Hub { get; } = Substitute.For<IHub, IDisposable>();
public IAppDomain AppDomain { get; } = Substitute.For<IAppDomain>();
public Fixture() => Hub.IsEnabled.Returns(true);
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using TMPro;
using UnityEngine;
public class CharacterWeapon : MonoBehaviour
{
public Character character { get; protected set; }
public WeaponData currentWeaponData { get; protected set; }
public GameObject curr... |
using MVC01.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MVC01.Controllers
{
public class AlunosController : Controller
{
// GET: Alunos
public ActionResult Index()
{
List<Aluno> alunos = new Li... |
using System.Windows.Controls;
using Torch;
using Torch.API.Plugins;
namespace DataValidateFix
{
public class DataValidateFixPlugin : TorchPluginBase, IWpfPlugin
{
public UserControl GetControl() => new UserControl()
{
Content = new TextBlock()
{
Inlines... |
namespace OldMacDonald.Domain.Interfaces
{
public interface IAnimal
{
AnimalTypeEnum Type { get; }
string GetGetAnimalNameAndSound();
}
} |
using System;
using System.Collections.Generic;
namespace Whathecode.System
{
/// <summary>
/// A helper class to do common <see cref="TimeSpan" /> operations.
/// </summary>
public static class TimeSpanHelper
{
public static readonly TimeSpan MinimumMonthLength = TimeSpan.FromDays( 28 );
public static read... |
using System;
namespace UIMAYE.classes
{
public class LocalLog
{
public int id { get; set; }
public string projeAdi { get; set; }
public string gorevAdi { get; set; }
public DateTime baslangicTarihi { get; set; }
public DateTime bitisTarihi { get; set; }
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using UnityEngine;
public abstract class GameEvaluator
{
protected ContuGame game;
private System.Func<ContuBoard, float> boardEvaluator;
protected Sto... |
using RiverPuzzle1.ValidationAttributes;
using System;
using System.Collections.Generic;
using System.Linq;
namespace RiverPuzzle1.Models
{
public class GameState
{
public int ID { get; set; }
public State State { get; set; }
public string Reason { get; set; }
public int GameI... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WindowsFormsApp1
{
class NetSpaceData
{
public string State { get; set; }
public string ChannelId { get; set; }
public string OrderId { get; set; }
}
}
|
using System;
namespace Foundry.Messaging
{
public class UserLoggedInMessage
{
public Guid UserId { get; set; }
public DateTime DateTime { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class DartBoard : MonoBehaviour {
public DartCell dartCell;
ArrayList al = new ArrayList(36);
float cellGap;
float boardBorderWidth;
int noOfCellRows;
float cellWidth;
int[] colou... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Breeze.AssetTypes.DataBoundTypes;
using Breeze.Helpers;
using Breeze.FontSystem;
using Breeze.Screens;
using Breeze.Services.InputService;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Breeze.AssetTypes
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharpShapes;
namespace TestSharpShapes
{
[TestClass]
public class UnitTestTrapezoid
{
[TestMethod]
public void TestTrapezoidConstructor()
{
Trapezoid trapezoid = new Trapezoid(40, 50, 10);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing;
namespace FXB.MyControl
{
class MyDataGridView : DataGridView
{
SolidBrush solidBrush;
public MyDataGridView()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace CMSWebsite
{
public partial class AddPage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
pro... |
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 Library.Models;
namespace Library.Forms
{
public partial class Books : Form
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WcfServiceHost.ITS_Service
{
using Entity;
using Repository.ITSRepo;
using DTO.ITSDTO;
using System.ServiceModel;
public class İşEmriService : ITS_ServiceBase<İşEmriRepo,... |
using System;
using System.Windows.Forms;
namespace Com.Colin.Win
{
public partial class Frm_Logon : Form
{
public Frm_Logon()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
if (textBox1.Text == "wolfkings" &... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace WebAppAdvocacia.Models
{
public class PessoaFisica : Pessoa
{
[Required(ErrorMessage = "Cpf é Obrigatório")]
[StringLength(14, ErrorMessage = "No ... |
using System;
using System.Data.SqlTypes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Upgrader.SqlServer;
namespace Upgrader.Test.SqlServer
{
[TestClass]
public class TypeMappingCollectionSqlServerTest : TypeMappingCollectionTest
{
public TypeMappingCollectionSqlServerTest() : base... |
namespace PaymentService.Infrastructure.Services
{
using System;
using System.Threading.Tasks;
using PaymentService.Application.Common.Models;
using PaymentService.Application.Common.Interfaces;
public class InPaymentRegistrationService : IInPaymentRegistration
{
private readonly IPol... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using MediatR;
using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Identity;
using ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum Roles
{
Sakura,
Herugaa,
Count
}
public enum TouchType
{
Normal,
Head,
Special
}
public class Config : MonoBehaviour
{
public GameObject[] roles;
public static readonly string UserDataPath = "Sa... |
using RocketLoopCoreApi.Models;
using RocketLoopCoreApi.Repositories;
using System.Threading.Tasks;
using Xunit;
namespace RocketLoopXUnit.Repositories
{
public class UserRepositoryTest
{
protected UserRepository _userRepository { get; }
protected User[] _users { get; }
publ... |
using WorkScheduleManagement.Data.Enums;
namespace WorkScheduleManagement.Data.Entities
{
public class VacationTypes
{
public VacationType Id { get; set; }
public string Name { get; set; }
}
} |
using System;
using Microsoft.Practices.Unity;
using Microsoft.Win32;
using System.Windows;
using BSky.Statistics.Common;
using BSky.Lifetime;
using BSky.Lifetime.Interfaces;
using System.IO;
using BlueSky.Windows;
using BlueSky.CommandBase;
using System.Windows.Input;
using BSky.RecentFileHandler;
using BSky.Interfac... |
using RocketLoopCoreApi.Models;
using RocketLoopCoreApi.Repositories.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RocketLoopCoreApi.Repositories
{
public class UserRepository : IUserRepository
{
private readonly IEnum... |
/* 作者: 盛世海
* 创建时间: 2012/7/27 10:22:21
*
*/
/* 作者: 盛世海
* 创建时间: 2012/7/21 10:28:04
*
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace MODEL.ViewPage
{
/// <summary>
/// 查看明细的具体视图
/// </summary>
... |
using System;
using com.Sconit.Entity.SYS;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
//TODO: Add other using statements here
namespace com.Sconit.Entity.SCM
{
public partial class FlowMaster
{
#region Non O/R Mapping Properties
[CodeDetailDescriptionAttrib... |
using Fingo.Auth.Domain.Infrastructure.Interfaces;
using Fingo.Auth.Domain.Users.Interfaces;
namespace Fingo.Auth.Domain.Users.Factories.Interfaces
{
public interface IGetProjectsFromUserFactory : IActionFactory
{
IGetProjectsFromUser Create();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web;
using System.Web.Http.Filters;
using XL.Model.Message;
namespace HPYL_API.App_Start.Attribute
{
public class ValidateModelAttribute: ActionFilterAttribute
{
public override void OnActionExecutin... |
/////////////////////////////////////////////////////////////////////////////////
//
// vp_PlayerEventHandler.cs
// © VisionPunk. All Rights Reserved.
// https://twitter.com/VisionPunk
// http://www.visionpunk.com
//
// description: this class declares events for communication between behaviours
// that make up a ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using IRAP.Global;
using IRAPShared;
namespace IRAP.Entity.MDM
{
/// <summary>
/// 一般树节点
/// </summary>
public class TreeViewNode
{
private byte[] iconImageStream;
... |
//@Author Justin Scott Bieshaar.
//For further questions please read comments or reach me via mail contact@justinbieshaar.com
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Rigidbody))]
public class CharacterMovement : Character
{
[SerializeField]
pri... |
using Orleans.Runtime;
using System;
using System.Threading.Tasks;
namespace Orleans.Persistence.Redis.TestGrainInterfaces
{
public interface ITestGrain2 : IGrainWithIntegerKey
{
Task Set(string stringValue, int intValue, DateTime dateTimeValue, Guid guidValue, ITestGrain grainValue);
Task<Tup... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace ParPorApp.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class GroupNavPage : TabbedPage
{
public ... |
// Copyright (c) 2020, mParticle, Inc
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.