text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Data.Linq;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataAccessLayer.basis;
namespace Uxnet.Com.DataAccessLayer.Models
{
public class ModelSource<T, TEntity> : GenericManager<T, TEntity>
where T : DataContext, new... |
using LogicBuilder.RulesDirector;
namespace Enrollment.Spa.Flow
{
public interface IFlowActivityFactory
{
IFlowActivity Create(IFlowManager flowManager);
}
}
|
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationModel.Store;
using Windows.UI.Popups;
using Windows.UI.Xaml.Controls;
using Microsoft.Xaml.Interactions.Core;
usin... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game.Mono;
[Attribute38("CardSoundData")]
public class CardSoundData : MonoClass
{
public CardSoundData(IntPtr address) : this(address, "CardSoundData")
{
}
public CardSoundData(IntPtr addre... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace jumpHelper
{
public class FormationsGridViewAdapter : BaseAdapter
{
private List... |
using UnityEngine;
using System;
using System.Collections.Generic;
[Serializable]
public class CurveClipData
{
[Serializable]
public enum PropertyType
{
LocalPosition,
Rotation_x,
Scale,
}
[Serializable]
public class CurveData
{
public AnimationCurve[] m_ani... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JobCommon;
namespace SchedulerService
{
public static class ConfigFactory
{
public static ServiceConfig SchedulerConfig = null;//ConfigHelper.LoadConfig<ServiceConfig>(ConfigFileTy... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Random = UnityEngine.Random; // need specify, because Random is contained in both System and UnityEngine
public class BoardManager : MonoBehaviour
{
[Serializable]
public class Count
{
public int mi... |
using System;
using System.Collections.Generic;
using UnityEngine;
public class BluetoothDeviceScript : MonoBehaviour
{
public List<string> DiscoveredDeviceList;
public Action InitializedAction;
public Action DeinitializedAction;
public Action<string> ErrorAction;
public Action<string> ServiceAddedAction;
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using System.Windows.Interactivity;
using System.Windows.Media;
namespace Grisaia.SpriteViewer {
/// <summary>
/// https://stackoverflow.com/a/4642750... |
using UnityEngine;
using System.Collections;
public class CombatProperty : MonoBehaviour {
public int HPMax = 100;
public int HP = 100;
public int Attack = 5;
public Transform m_headUI;
public UISlider m_xue;
public bool isPlayer;
private Object m_goDamage;
private Animation m_anim... |
using System.ComponentModel.DataAnnotations.Schema;
namespace GitlabManager.Services.Database.Model
{
/// <summary>
/// Database model for ef-core for the Projects-Table
/// </summary>
[Table("Projects")]
public class DbProject
{
/// <summary>
/// Internal project id
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace ArteVida.GestorWeb.ViewModels
{
public class TabelaAuxiliarViewModel
{
[Key]
public int Id { get; set; }
[Required(ErrorMessage = "O campo NOME de... |
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 Calorie_CalculatorCS
{
public partial class CaloriesCalculator : Form
{
public... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.Text.RegularExpressions;
public class TextFieldRestrict : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Replace() {
string text = GetComponent<Text>().text;
... |
using AdventOfCode2019;
using NUnit.Framework;
using System.Collections.Generic;
namespace AdventOfCode2019Tests
{
public class Day04Tests
{
[SetUp]
public void Setup()
{
}
[Test]
public void Part1()
{
var range = Day04.GeneratePasswords("1-1... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
namespace GODRenderPipeline
{
public class ContextDrawingSettings : MonoBehaviour, IRenderTreeItem
{
public void Render(ref ScriptableRenderContext context, GODRPParameters p)
{
... |
using ApartmentManager.DAO;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ApartmentManager
{
public partial class frmBlock : frmCommon
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MoveToScene : MonoBehaviour
{
[SerializeField]
private string sceneToCall;
// Start is called before the first frame update
void Start()
{
SceneManager.LoadScene(s... |
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 DiabeticsHelper;
namespace DiabeticsHelper.Controllers
{
public class Log_BookController : Controller
{
private Diabetes_Helpe... |
using System.Xml.Serialization;
namespace GrandCloud.CS.Model
{
/// <summary>
/// The DeleteObjectRequest contains the parameters used for the DeleteObject operation.
/// <br />Required Parameters: BucketName, Key
/// <br />The MfaCodes property is required if the bucket containing this object... |
using System;
using System.Collections.Generic;
namespace NgTs.Entities
{
#region entity factory
public class NgTsUser{
long _userid;
public long UserId
{
get {return this._userid;}
set { this._userid = value;}
}
string _username;
public string UserName
{
get {return this._username;}
set { this._u... |
using Logic.Resource;
using System;
namespace Logic.Buildings {
[Serializable]
public class HabitatBuilder : Builder {
public HabitatBuilder(string habitatName) :
base(24, new ReadOnlyResources(10E9, 100E9, 100E6), new Habitat(habitatName)) {
}
}
}
|
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using Common;
using Common.Utils;
using OpenTK;
using OpenTK.Graphics.OpenGL4;
namespace Glass.Graphics
{
class SkyBoxRenderer
{
public int SkyBoxTextureId { get; set; }
priv... |
using ReadyGamerOne.View;
using PurificationPioneer.Const;
namespace PurificationPioneer.View
{
public partial class AndroidBattlePanel : AbstractPanel
{
partial void OnLoad();
protected override void Load()
{
Create(PanelName.AndroidBattlePanel);
OnLoad();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SEGU_ENTI;
using SEGU_ENTI.Interfaz;
using CAPA_NEGO;
using System.Data;
using System.Data.SqlClient;
using SEGU_ENTI.Entidades;
using System.Web.Mvc;
namespace SEGU_JC.Models
{
public class M_PERSONA : IEN_USUARIO
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using FileProcessor.Entities;
using NLog;
using System.Configuration;
using System.Data.SqlClient;
using System.Data;
using System.Linq;
namespace FileProcessor.Repository
{
public class ClubRepo
{
private static readonly Logger logger... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.ComponentModel;
using System.Windows.Forms;
namespace QuestStudio
{
[TypeConverter(typeof(QuestDataConverter))]
public class QUEST_DATA_CONDITION
{
public ushort VarNo { get;... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("StoreButton")]
public class StoreButton : PegUIElement
{
public StoreButton(IntPtr address) : this(address, "StoreButton")
{
}
public StoreButton(IntPtr address, string className) : base(addres... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace database
{
public partial class Players
{
public static bool Login(string username, string password)
{
try{
tarotContainer t = new tarotCo... |
using UnityEngine;
using UnityEditor;
using UnityEditor.Callbacks;
using System;
using System.Collections.Generic;
using System.Xml;
using System.Linq;
using System.IO;
using System.Diagnostics;
public class VunglePostBuilder : MonoBehaviour
{
private static string _postBuildDirectoryKey { get { return "VunglePostBu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Sklep.Products
{
public class Updater : ICommand
{
private Action commandTask;
private Action<Product> taskParameter;
public Update... |
using BPiaoBao.DomesticTicket.Platform.Plugin;
using JoveZhao.Framework;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web;
namespace BPiaoBao.DomesticTicket.Platfor... |
using System.Threading;
using System.Threading.Tasks;
using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities;
using OmniSharp.Extensions.LanguageServer.Protocol.Document;
using OmniSharp.Extensions.LanguageServer.Protocol.Models;
namespace SampleServer
{
internal class FoldingRangeHandler : IFoldi... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SalemOptimizer
{
class Skill
{
public int Id { get; set; }
public string Name { get; set; }
public Skill(string name,int[] proficiencies)
... |
using System;
namespace Whimsy.Precondition.Annotation.Attributes
{
[AttributeUsage(AttributeTargets.Parameter)]
public sealed class CanBeNullAttribute : Attribute {}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab5
{
class Program
{
static void Main(string[] args)
{
int userInput;
string yes;
do
{
Console.WriteLi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class StartGame : MonoBehaviour
{
[SerializeField] int LevelNumber;
public void StartFirstLevel()
{
SceneManager.LoadScene(1);
}
public void ReloadLevel()
... |
// Copyright 2020 Google Inc. All Rights Reserved.
//
// 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 required by applica... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Minesweeper
{
public class Coordinate
{
public int x { get; set; }
public int y { get; set; }
public Coordinate(int x, int y)
{
this.x = x;... |
#region Copyright Syncfusion Inc. 2001 - 2015
// Copyright Syncfusion Inc. 2001 - 2015. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
/... |
using Newtonsoft.Json;
namespace StarWarsApi.DataAccess.Entities
{
public class FilmPlanetMapping
{
[JsonProperty("id")]
public int FilmPlanetMappingId { get; set; }
public int FilmId { get; set; }
public Film Film { get; set; }
public int PlanetId { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class UIManager : MonoBehaviour
{
public Text scoreUI;
public Text highScoreUI;
public GameObject panelGameOver;
public Transform player;
private bool gam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using ArticleSubmitTool.Web.Models.InstantArticles;
using ArticleSubmitTool.Web.Models.InstantArticles.Items;
namespace ArticleSubmitTool.Code.Facebook.API
{
/// <summary>
/// ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sets
{
class Program
{
static void Main(string[] args)
{
var cities = new SortedSet<string>(StringComparer.InvariantCultureIgnoreCase)
{"NY", "M... |
using System.Collections.Generic;
namespace stottle_shop_api.Filters.Data
{
public class FilterSetsDTO
{
public IEnumerable<FilterSetDTO> FilterSets { get; set; }
}
public class FilterSetDTO
{
public string DisplayName { get; set; }
public string Code { get; set; }
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... |
using System;
using System.Collections.Generic;
using System.IO;
namespace BalacedBrackets
{
class MainClass
{
public static void createParenthesesStack(string toEvaluate, ref Stack<char> parentheses)
{
int characterNotFound = -1;
for (int i = toEvaluate.I... |
using Com.PDev.PCG.Actions;
using System.Collections;
using System.Collections.Generic;
using System;
namespace Com.PDev.PCG.Actions
{
public class Event
{
string name;
public Event(string name)
{
this.Name = name;
}
public string Name
{
... |
using System;
using UnityEngine;
public class TintColor : MonoBehaviour
{
private const string TINT_COLOR = "_TintColor";
public Color col;
private Renderer render;
private void Start()
{
this.render = base.GetComponent<Renderer>();
this.col = this.render.get_material().GetColor("_TintColor");
}
private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace console
{
public class _044_Subsets
{
/// <summary>
/// Given a set of distinct integers, S, return all possible subsets.
/// Note:
/// Elements in a subset must be in non-descending... |
using System.Linq;
using System.Reflection;
namespace Rabbit.DataUp
{
public static class DataUpExecution
{
/// <summary>
/// Initialize all data revisions from specified assemblies
/// </summary>
public static DataUpWorker Initialize(params Assembly[] assemblies)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YzkSoftWare.Data;
namespace YzkSoftWare.DataModel
{
/// <summary>
/// 数据模型接口
/// </summary>
public interface IDataModel : IExtendProperty, IInnerExtendProperty
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using eIVOGo.Module.Base;
using Model.DataEntity;
using Utility;
namespace eIVOGo.Module.SAM
{
public partial class UserProfileEntityManager : ... |
using System.Collections.Generic;
using WebAppCrudSP.Web.Models;
namespace WebAppCrudSP.Web.Service
{
public interface IStudentService
{
List<Student> GetStudents(string name);
void SaveOrUpdate(Student student);
void Delete(int id);
}
}
|
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Ph.Bouncer
{
public class TargetManager : MonoBehaviour
{
private const int GOAL_TARGET_HITS = 5;
private TargetHits targetHits;
void Start () {
var targets = (Target[])FindObjectsOfType(typeof(Target));
t... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SimpleMathsComparisonTest.cs" company="">
//
// </copyright>
// <summary>
// The simple maths comparison test.
// </summary>
// ----------------------------------------------... |
using System;
using Xamarin.Forms;
using App1.Interface;
namespace App1
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
}
private void Button_Clicked(object sender, EventArgs e)
{
//App.Not... |
using Xunit;
namespace RepeatedWordTDD
{
public class UnitTest1
{
/// <summary>
/// Test for the first repeated word.
/// </summary>
[Fact]
public void RepeatedWordTestOne()
{
string testOne = "Once upon a time, there was a brave princess who...";
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Xunit;
using Collections;
namespace MyXUnitTests
{
public class DecodingTest
{
[Fact]
public static void ApplyCommandsTest()
{
string[] user_input =
{
"pu... |
using UnityEngine;
public class LookAt : MonoBehaviour
{
public Transform prefab;
//var Vector3 = (prefab.position.x, prefab.position.y, prefab.position.z);
void Update()
{
// Point the object at the world origin
transform.LookAt(Vector3.zero);
//transform.LookAt(Vector3.back)... |
using senai_CZBooks.webapi.Domains;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace senai_CZBooks.webapi.Interfaces
{
interface ITipoUsuarioRepository
{
List<TipoUsuario> Listar();
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace Account
{
class Savings : Account
{
private int minBalance = 100;
public Savings() { }
public Savings(int accountID, string accountName, int balance)
: base(accountID, accountName, balance)
... |
using MyCoolWebServer.Infrastructure;
namespace MyCoolWebServer.GameStoreApplication.Controllers
{
public abstract class BaseController : Controller
{
protected override string ApplicationDirectory => "GameStoreApplication";
}
}
|
namespace WebApplication1.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Firebird.NAME_T")]
public partial class NameType
{
[Syste... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CastRod : MonoBehaviour
{
public GameObject bait;
public float hookSpeed;
public Transform hookPoint;
Vector2 direction;
public LineRenderer fishingLine;
GameObject fishTarget;
GameObject logTarget;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FerryTerminal
{
class GasVehicle : Vehicle, IGasUser
{
public int GasPercent { get; set; }
public GasVehicle(VehicleType vehicleType) : base(vehicleType)
... |
using Microsoft.Practices.Unity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VendingMachine.Events;
using VendingMachine.Interfaces;
namespace VendingMachine
{
class Program
{
static void Main(string[] args)
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace TheSharkGame.Monsters
{
class MagicalWhaleShark : Sharks
{
public MagicalWhaleShark()
{
base.Name = "Magical Whale Shark";
base.Hp = 8;
base.FirstAtk = "You say it is quite late in ... |
using System.Threading.Tasks;
using Meziantou.Analyzer.Rules;
using TestHelper;
using Xunit;
namespace Meziantou.Analyzer.Test.Rules;
public sealed class FileNameMustMatchTypeNameAnalyzerTests
{
private static ProjectBuilder CreateProjectBuilder()
{
return new ProjectBuilder()
.WithAnalyz... |
using System;
using System.Configuration;
using System.DirectoryServices;
using System.Reflection;
using System.Web.Mvc;
using log4net;
using NBTM.Repository.Models;
using NBTM.ViewModels;
using NBTM.Logic;
using NBTM.Repository;
namespace NBTM.Controllers
{
#if !DEBUG
[Authorize(Roles = "SalesAppA... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace PICSimulator.Model.Commands
{
public class BinaryFormatParser
{
private Dictionary<char, uint> Parameter;
private BinaryFormatParser(Dictionary<char, uint> pms)
{
Parameter = pms;
}
public uint? GetParam(char c)
{
if (P... |
using System.ComponentModel.DataAnnotations;
namespace Lotto.Models
{
//result = {
// "totSellamnt": 88465183000, //총판매금액
// "returnValue": "success",
// "drwNoDate": "2020-01-18",
// "firstWinamnt": 2377935959,
// "drwtNo6": 43,
// "drwtNo4": 40,
// "firstPrzwn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CAR_Web_Project.Entity;
namespace CAR_Web_Project.Page
{
public partial class CARDetails : System.Web.UI.Page
{
protected Bug bug = new Bug();
prote... |
using Newtonsoft.Json;
namespace Lykke.Service.SmsSender.Services.SmsSenders.Twilio
{
public class TwilioErrorResponse
{
public string Status { get; set; }
public string Code { get; set; }
public string Message { get; set; }
[JsonProperty("more_info")]
public string Mor... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Application.Data.Migrations
{
public partial class init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Address",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using Microsoft.AspNet.SignalR;
using ttmControlServer.Models;
using Newtonsoft.Json;
namespace ttmControlServer.SignalR
{
public class ttmHub : Hub
{
public enum interactiveState
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shop
{
public class ProductsList
{
public static List<ProductsList> prodList = new List<ProductsList>();
public int id { get; set; }
public string name { get; s... |
using System;
using ProjetBdd;
namespace ConsoleApp.ExistingDb
{
class Program
{
static void Main(string[] args)
{
using (var db = new AirAtlantiqueEntities())
{
Console.WriteLine(db.Warehouse);
db.Airport.Add(new Airport { id = 10, id_Ci... |
using AngleSharp.Parser.Html;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
using Telegram.Bot;
using Telegram.Bot.Types;
namespace ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace SMSEntities.SMSDBEntities
{
public class VisitorCheckInOut
{
//`nricid``name``address``fromcompany``tocompany``telno``persontovisit`... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YzkSoftWare
{
/// <summary>
/// 索引超出范围错误
/// </summary>
public class OutIndexException : Exception
{
public OutIndexException(int index)
:... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MinaOffline : MonoBehaviour {
public float poder;
public GameObject explocion;
//ONDA
public GameObject prefab;
public string tank;
public bool muerte;
// Use this for initialization
void Start () {
}
// Updat... |
using System;
using System.Collections.Generic;
using System.Threading;
using System.IO;
using foobalator;
namespace ClipIndexer
{
public static class Worker
{
// BrianSp: The main thread will block on this handle until this event is set. Normally get's set on service stop.
private static Man... |
using FluentValidation;
namespace Application.Product.Commands.UpdateDealoftheDayCommands {
public class UpdateDealoftheDayCommandValidator : AbstractValidator<UpdateDealoftheDayCommand> {
public UpdateDealoftheDayCommandValidator () {
RuleFor (e => e.IdProducts)
.NotEmpty ().Wi... |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tekla.Structures;
using Tekla.Structures.CustomPropertyPlugin;
using Tekla.Structures.Model;
namespace TeklaCustomProperties
{
[Export(typeof(ICustomPr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _14.SetOfIntegers
{
class SetOfIntegers
{
static void minOfSet(int[] setOfInts)
{
try
{
var min = setOfInts[0];
... |
using UnityEngine;
using UnityEngine.UI;
[SLua.CustomLuaClass]
public class SpriteSwapper : MonoBehaviour
{
public Sprite enabledSprite;
public Sprite disabledSprite;
private bool m_swapped = true;
private Image m_image;
public void Awake()
{
m_image = GetComponent<Image>();
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class TurnHandler : MonoBehaviour {
/// <summary>
/// Game state
/// </summary>
public enum State { Placement, Playing, PlayingForceWay };
/// <summary>
... |
using DevExpress.Mvvm.DataAnnotations;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.IO.Ports;
namespace SimpleDemo.Model
{
///// <summary>
///// 串口设置参... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ex7
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter the value of a: ");
int a = int.Parse(Console.ReadLine());
... |
using System.Collections.Generic;
namespace MultiCommentCollectorCLI
{
public class CommandItem
{
public string Command { get; set; }
public List<string> Argv { get; set; }
}
}
|
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
using System.Text;
using Karkas.Core.DataUtil;
using Karkas.Ornek.TypeLibrary;
using Karkas.Ornek.TypeLibrary.Ornekler;
namespace Karkas.Ornek.Dal.Ornekler
{
public partial class ButunVeriYapila... |
using System.Text.RegularExpressions;
namespace GitHubDependentsScraper
{
public static class UrlUtil
{
private static readonly Regex _urlReplacer = new Regex(@"[:/]|https://github.com|(\?.*)", RegexOptions.Compiled);
private static readonly Regex _dependentsAfterMatcher = new Regex(@"dependen... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Stack : MonoBehaviour
{
public ChangeColors changeColorsScript;
public TileMovement tileMovementScript;
public Material stackMaterial;
public GameManager gm;
private cons... |
public interface GrabItemIF
{
bool IsGrabable();
void BeGrab();
void BeRelease();
void Selected();
void Deselected();
void GrabableHighlight();
void GrabableDehighlight();
void ChangeGrabableState(bool _grabable);
void ChangeBeingGrabedState(bool _being_grabed);
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DeathKnight : Enemy
{
[SerializeField]
GameObject sword;
protected override void Init()
{
base.Init();
state = EnemyState.Move;
ChooseRandomDirection();
... |
using System;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Automation.Peers;
using System.Windows.Automation.Provider;
using System.Windows.Controls;
using System.Windows.Input;
namespace WPFNotificationSimulation
{
public partial class MainWindow : Window
{
private... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.