text stringlengths 13 6.01M |
|---|
using System.Collections.Generic;
using System.Linq;
using Umbraco.Core.Models.PublishedContent;
namespace Uintra.Features.CentralFeed.Providers
{
public abstract class ContentProviderBase
{
//protected virtual IPublishedContent GetContent(IEnumerable<string> xPath) =>
// _umbracoHelper.Conten... |
using UnityEngine;
using System.Collections;
using System.Collections.ObjectModel;
using System.Collections.Generic;
using System.Threading;
using MainCharacter;
using InControl;
public class MainCharacterDriver : CharacterDriver {
GameObject[] colorPieces;
float currentCooldown = 0;
int rainbowCooldown = 2;
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Memory
{
class GameClass
{
Square[] all = new Square[17];
List<Square> listSelected;
List<Square> listGuessed;
public GameClass()
{
}
Random random = new R... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Zombies3
{
class Camera
{
Player player;
Vector2 position;
Rectangle screen;
Game game;
Matrix transfor... |
#version 450
layout (local_size_x = 32, local_size_y = 32) in;
layout (binding = 0, rgba32f) readonly uniform image2D img_input;
layout (binding = 1) writeonly uniform image2D img_output;
//const float weights[] = float[](0.0024499299678342, 0.0043538453346397, 0.0073599963704157, 0.0118349786570722, 0.01810266997077... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using DigitalFormsSteamLeak.Entity.IModels;
namespace DigitalFormsSteamLeak.Entity.Models
{
[Table("T... |
using Microsoft.Extensions.Options;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using PlatformStatusTracker.Core.Configuration;
using PlatformStatusTracker.Core.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threadi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ejercicio_29
{
public class Equipo
{
private short cantidadDeJugadores;
private List<Jugador> jugadores;
private string nombre;
private Equipo()
... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
namespace ISE.SM.Utility
{
public static class ImageCombiner
{
private static readonly EncoderParameters encoderParameters = new EncoderParameters(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.UI;
using CAPCO.Infrastructure.Domain;
using CAPCO.Infrastructure.Data;
using CAPCO.Models;
using CAPCO.Infrastructure.Services;
using CAPCO.Infrastructure.Mailers;
using System.Web.Sec... |
using System;
namespace DEV_7
{
public class CommonTriangle : Triangle
{
private double a, b, c;
public CommonTriangle (double aSide, double bSide, double cSide)
{
a = aSide;
b = bSide;
c = cSide;
}
public override string GetType()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UNO.Model.Karten
{
class FarbwechselKarte:IKarte
{
public KartenTyp Typ => KartenTyp.Farbwechsel;
public KartenFarbe Farbe { get; set; }
public int KartenZiehen... |
using System.Collections.Generic;
using Lanches.Web.Models;
using Lanches.Web.ViewModels;
using Microsoft.AspNetCore.Mvc;
namespace Lanches.Web.Components {
public class CarrinhoCompraResumo : ViewComponent {
private readonly CarrinhoCompra _carrinhoCompra;
public CarrinhoCompraResumo (CarrinhoCom... |
using System;
using System.Windows.Forms;
namespace BlackJack
{
public partial class Form_black_jack : Form
{
public Form_black_jack()
{
InitializeComponent();
}
#region Button
private void btn_Single_Player_Click(object sender, EventArgs e)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WcfServiceHost.ITS_Service
{
public class MethodResult
{
public Status Status { get; set; }
public string Result { get; set; }
}
public enum Status
{
... |
using Newtonsoft.Json;
namespace BigEgg.PDFOrganizer.Models
{
[JsonObject("block")]
public class SplitBlockModel
{
[JsonProperty("name", Required = Required.Always)]
public string Name { get; set; }
[JsonProperty("start", Required = Required.Always)]
public int StartPage {... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameGuide : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void OnSkipClick()
{
GameSceneManager.LoadScene("HomeScreen");
}
}
|
/*********************************************************
* Hyukin Kwon
* Save The Date
*
* PlatformMovement
* Created: 27 November 2019
* Last Modified: 17 Jan 2020
*
* Inherits from Monobehaviour
*
*
* - Moving Platform through waypoints
* - Player moves with platform only when colliding
* - Adding start delay ti... |
using LeadChina.CCDMonitor.Web.Helper;
using LeadChina.CCDMonitor.Web.Models;
namespace LeadChina.CCDMonitor.Web.Services
{
/// <summary>
/// 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码、svc 和配置文件中的类名“MonitorWcfService”。
/// 注意: 为了启动 WCF 测试客户端以测试此服务,请在解决方案资源管理器中选择 MonitorWcfService.svc 或 MonitorWcfService.svc.cs,然后开始调试... |
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 Автошкола
{
public partial class AddEditCarrierForm : Form
{
public AddEditCar... |
using Crainiate.Diagramming;
using Crainiate.Diagramming.Flowcharting;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FlowchartConverter.Nodes
{
abstract class DecisionNode :BaseNode
... |
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;
using MonoDroid.Common.Data.Sqlite;
namespace MonoDroid.Common.Model.Contacts
{
public class PhoneInfo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace University.Data
{
public partial class CategoryUserMapping
{
public bool? CategoryDeleteorNot { get; set; }
public string AdminFirstName { get; set; }
public s... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TestShop.Application.Models.Product;
using TestShop.Application.ServiceInterfaces;
using TestShop.Domain;
using TestShop.Domain.Models;
using AutoMapper;
namespace TestShop.A... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Kingdee.CAPP.UI.ProcessDataManagement
{
/// <summary>
/// 类型说明:焊接符号界面
/// 作 者:jason.tang
/// 完成时间:2013-03... |
namespace Jypeli
{
/// <summary>
/// Hiiren napit.
/// </summary>
public enum MouseButton
{
/// <summary>
/// Ei mikään nappi hiiressä.
/// </summary>
None,
/// <summary>
/// Vasen nappi hiiressä.
/// </summary>
Left,
/// <su... |
using System.Collections;
using UnityEngine;
namespace QuestSystem
{
public class QuestIdentifier : IQuestIdentfier
{
private int questID;
private int sourceID; //Where the quest came from
private int chainQuestID; //
public QuestIdentifier(int _questID)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class JoinScreenController : MonoBehaviour
{
public Text player1;
public Text player2;
public Text player3;
public Text player4;
public Image crab1;
public Image crab2;
public Image... |
using System.Net;
using Microsoft.Azure.Functions.Worker;
using Microsoft.Azure.Functions.Worker.Http;
using Microsoft.Extensions.Logging;
namespace Sentry.Samples.AzureFunctions.Worker;
public class SampleHttpTrigger
{
[Function(nameof(SampleHttpTrigger))]
public async Task<HttpResponseData> RunAsync([HttpT... |
using Command.Classes.Technic;
using Command.Interfaces;
namespace Command.Classes.Commands
{
public class GarageDoorOpenCommand : ICommand
{
private readonly Garage _garage;
public GarageDoorOpenCommand(Garage garage) => _garage = garage;
public void Execute()
{
_... |
using AsiaLabv1.Models;
using AsiaLabv1.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AsiaLabv1.Services
{
public class ReferDoctorsService
{
Repository<Refer> _ReferRepository = new Repository<Refer>();
public void Add(Refer Refe... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace Anywhere2Go.DataAccess.AccountEntity
{
public class eAccountProfile
{
public Guid acc_id { get; set; }
public string first_name { get; set;... |
namespace AreaDotnet
{
/// <summary>An interface that determines whether a class has <c>Area</c> property.</summary>
public interface IHasArea
{
/// <value>The area of a figure.</value>
double Area { get; }
}
}
|
using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
namespace BO
{
public class Organizer : Personne
{
[XmlIgnore]
public virtual List<Race> Races { get; set; }
public Organizer()
{
this.Races = new List<Race>();
}
... |
using System.Collections.Generic;
namespace ChessGame.Model
{
/// <summary>
/// Clase base para definir las diferentes piezas de ajedrez
/// </summary>
abstract class Pieza
{
/// <summary>
/// Inicializa una nueva instancia de <see cref="Pieza"/>
/// </summary>
//... |
using UnityEngine;
using System.Collections;
public class KillEnemy : MonoBehaviour {
public void OnTriggerEnter2D(Collider2D col)
{
var enemyAI = col.GetComponent<EnemyAI>();
if (enemyAI == null)
{
return;
}
enemyAI.KillSelf();
}
}
|
using Microsoft.EntityFrameworkCore;
using Payment.Application;
using Payment.Domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Payment.Infrastructure.Contexts
{
internal class PaymentDbContext : DbC... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using CoherentSolutions.Extensions.Configuration.AnyWhere.Abstractions;
using Microsoft.Extensions.Configuration;
namespace CoherentSolutions.Extensions.Configuration.AnyWhere
{
public class AnyWhereConfiguration
{
p... |
using System;
using System.Linq;
namespace _02._Archery_Tournament
{
class Program
{
static void Main(string[] args)
{
int[] targets = Console.ReadLine()
.Split("|", StringSplitOptions.RemoveEmptyEntries)
.Select(int.Parse)
... |
using System.Collections;
using System.Collections.Generic;
using DChild.Gameplay.Combat;
using Sirenix.OdinInspector;
using UnityEngine;
namespace DChild.Gameplay.Objects.Characters.Enemies
{
public class PoisonToadBrain : MinionAIBrain<PoisonToad>, IAITargetingBrain
{
[SerializeField]
[MinVa... |
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 System.IO;
namespace JenzaBank
{
public partial class Modificar : Form
{
public Mo... |
using Assets.src.battle;
namespace ru.pragmatix.orbix.world.units {
public interface IUnitPursuingState : IUnitMoveState {
}
} |
using AutomationFramework.KendoWrapper;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TradeProTests.Pages
{
public class ClaimsDashboardPage
{
#region WebEl... |
using System;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Timers;
namespace SoliditySHA3Miner.Miner
{
public class OpenCL : IMiner
{
#region P/Invoke interface
public static class Solver
{
public const string SOLVER_NAME = "Open... |
using System;
namespace _10._Top_Number
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
for (int i = 1; i <= n; i++)
{
if (IsTop(i))
{
Console.WriteLine(i);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using com.Sconit.Entity.MD;
namespace com.Sconit.Web.Controllers
{
public class ReportBaseController : WebAppBaseController
{
/// <summary>
/// 根据工厂,区域或者库位获取需要的库位数据
/// </summary>... |
namespace Ach.Fulfillment.Nacha.Attribute
{
using System;
using Ach.Fulfillment.Shared.Reflection;
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
public sealed class RecordAttribute : Attribute, IReflectAttribute
{
public boo... |
// //-----------------------------------------------------------------------------
// // <copyright file="BasicStrategyMode.cs" company="DCOM Engineering, LLC">
// // Copyright (c) DCOM Engineering, LLC. All rights reserved.
// // </copyright>
// //-----------------------------------------------------------------... |
using System;
using SFA.DAS.Authorization.ModelBinding;
using SFA.DAS.CommitmentsV2.Shared.Models;
using SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Types;
namespace SFA.DAS.ProviderCommitments.Web.Models.Apprentice
{
public class ConfirmViewModel : IAuthorizationContextModel
{
public long Pro... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CreativityEdu.Data;
using CreativityEdu.Models;
using CreativityEdu.VM;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace CreativityEdu.Controllers
{... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
public class Grid
{
#region Properties
public GridPoint GridOrigen { get; set; }
public GridPoint GridLim... |
using System.Collections.Generic;
namespace DevExpress.Web.Demos {
public static class MicrosoftAnnualRevenueProvider {
public static List<RevenueEntry> GetMicrosoftAnnualRevenue() {
return new List<RevenueEntry>() {
new RevenueEntry("2000", 22.96, 22.96),
new R... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using KartObjects;
namespace KartSystem
{
public class TradeReportSection : TradeReportSpecRecord
{
[DBIgnoreReadParam]
[DBIgnoreAutoGenerateParam]
public override string ... |
using System;
using System.Collections.Generic;
using Windows.ApplicationModel.Background;
using Windows.Storage;
using Windows.Storage.Pickers;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace WorkTimeApp
{
public sealed partial class MainPage : Page
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FollowPlayer : MonoBehaviour {
public GameObject player;
public float speed;
public float radius;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update ()
... |
namespace TheMapToScrum.Back.DTO
{
public class TeamDTO : BaseEntityDTO
{
public string Label { get; set; }
}
}
|
using ManhaleAspNetCore.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace ManhaleAspNetCore.ModelView.Manahel
{
public class ManahelVM
{
pub... |
namespace TestDataGenerator.Core.Generators
{
internal class ContentOptions
{
public bool IsNegated { get; set; }
public bool ContainsAlternation { get; set; }
public string Content { get; set; }
public int Repeat { get; set; }
public bool IsAnagram { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace wsApiEPayment.Models.Affipay
{
public class RespuestaCancelacion
{
public string Estado { get; set; }
public string Id { get; set; }
public string Fecha { get; set; }
public string Ho... |
// Utility.cs
//
using System;
using System.Collections;
using System.Html;
using System.Runtime.CompilerServices;
using jQueryApi;
namespace SportsLinkScript.Shared
{
public class SessionContext
{
public static SessionContext Instance = new SessionContext();
public long FamilyId;
pub... |
// File Prologue
// Name: Darren Moody
// CS 1400 Section 005
// Project: CS1400_Lab_09
// Date: 9/26/2013
// Description: THE FARMER JOHN PROBLEM - Simple Console application to calculate the area the shaded region
// of Farmer John's property, with his new circular irrigation system.
//
// I declare that the foll... |
using Clients.MPD;
using Common;
using Common.Log;
using Common.Presentation;
using SessionSettings;
using System;
using System.Data;
using System.Drawing;
using System.ServiceModel;
using System.Threading;
using System.Windows.Forms;
namespace MPD.Modals
{
public partial class ChannelCodes : SkinnableModalBase
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class WatchWeaponStamina : MonoBehaviour {
Slider slider;
public WeaponSlot weaponSlot;
public float maxStamina = 100;
public float lastStamina;
void Start(){
slider = GetComponent... |
using jaytwo.Common.Http;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace jaytwo.Common.Test
{
public static class TestUtility
{
public static Uri GetUriFromString(string url)
... |
using AsyncClasses;
using Contracts.Callback;
using Entity;
using System.Collections.Generic;
using System.IO;
using System.ServiceModel;
using System.Threading.Tasks;
namespace Contracts.MLA
{
[ServiceContract(SessionMode = SessionMode.Required, CallbackContract = typeof(IAsyncUpdateCallback),
Namespace = "http://... |
using NfePlusAlpha.Application.ViewModels.Apoio;
using NfePlusAlpha.Domain.Entities;
using NfePlusAlpha.Infra.Data.Classes;
using NfePlusAlpha.Infra.Data.Retorno;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Text;
using Sy... |
using System.Collections.Generic;
using System.Linq;
using System.Data;
using Giusti.Chat.Model;
using Giusti.Chat.Data.Library;
namespace Giusti.Chat.Data
{
public class AreaData : DataBase
{
public Area RetornaArea_Id(int id, int? empresaId)
{
IQueryable<Area> query = Context.Are... |
using System;
namespace Petanque.Model.Competitions
{
public class CannotAddTeamInLockedCompetition : Exception
{
}
} |
//
// ProviderRepository.cs
//
// Author:
// nofanto ibrahim <nofanto.ibrahim@gmail.com>
//
// Copyright (c) 2011 sejalan
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Softw... |
using StarBastardCore.Website.Code.Game.Gameplay;
using StarBastardCore.Website.Code.Game.Gameworld.Units;
namespace StarBastardCore.Website.Code.Game.Gameworld.Geography.Buildings
{
public abstract class BuildingBase : UnitBase, IBuilding
{
public Resources Produce()
{
return Playe... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Task_03
{
class StaticTempConverters
{
public static double FromCelsToKelv(double temperatureC)
{
return temperatureC + 273;
}
public static double FromKelvToCels(double temperatureK)
... |
using System;
using DelftTools.Units;
using DelftTools.Units.Generics;
using NUnit.Framework;
namespace DelftTools.Tests.Units
{
[TestFixture]
public class ParameterTest
{
[Test]
public void DefaultValueIsPreDefinedAndAssignableForGenericType()
{
var parameterInt = new P... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Console;
namespace First
{
internal class MyClass
{
public int Num;
public MyClass(int n)
{
Num = n;
}
public void Show()
... |
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Etherama.DAL.Models.Base {
public abstract class DbBaseEntity {
[Key, Column("id")]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set;... |
namespace Thuisbegymmen
{
public class BetalingStatus
{
public int orderId { get; set; }
public string Iban { get; set; }
public string status { get; set; }
}
} |
namespace TwitCreds
{
public class Settings
{
public static readonly string CONSUMER_KEY = SettingsProvider.Default.GetValue(nameof(CONSUMER_KEY));
public static readonly string CONSUMER_SECRET = SettingsProvider.Default.GetValue(nameof(CONSUMER_SECRET));
public static readonly string A... |
using System;
using System.IO;
using System.Linq;
using System.Reflection.Emit;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microwave.Entities;
using Microwave.Exceptions;
using Microwave.IO;
namespace MicrowaveTest
{
[TestClass]
public class VerifiersTest
{
[TestMethod]
[... |
using System;
namespace ManojTesting
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.WriteLine("Manoj");
Console.WriteLine("Manoj : The Star of GII when Anil is not around");
}
}
}
|
using System;
using AHAO.TPLMS.Contract;
using AHAO.TPLMS.Core;
using AHAO.TPLMS.Entitys;
using AHAO.TPLMS.Repository;
using System.Collections.Generic;
using System.Text;
using AHAO.TPLMS.Service;
using System.Runtime.InteropServices.WindowsRuntime;
namespace AHAO.TPLMS.Service
{
/// <summary>
/// 登录服务
/... |
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using System.Web.Hosting;
using System.Web.Http;
using PluginDevelopment.DAL;
using PluginDevelopment.Helper;
using PluginDevelopment.Model;
namespace PluginDevelopme... |
using DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Configuration;
using System.Text;
using System.Threading.Tasks;
using System.Web.Helpers;
using System.Net.Mail;
namespace DAL
{
public class ContactDB
{
public static Contact SendContactEmail(int I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Security.Principal;
namespace EasyDev.SQMS
{
public class UserIdentity : GenericIdentity
{
public UserIdentity(string name)
: base(name)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeetCode
{
class Program
{
//static void Main(string[] args)
//{
//int[] nums = { 1, 1, 2 };
//RemoveElement(nums,1);
//for (int i ... |
using System;
using System.Linq;
using System.Xml.Schema;
using System.Xml.Linq;
using System.Collections.Generic;
using SaritasaShortestPath.ShortestPathSolver;
using SaritasaShortestPath.Dijkstra;
using System.Xml;
using System.IO;
namespace SaritasaShortestPath
{
public class Program
{
... |
namespace RockPaperScissors.Enums
{
/// <summary>
/// The playing modes.
/// </summary>
public enum Mode
{
/// <summary>
/// Two human players.
/// </summary>
TwoHuman = 1,
/// <summary>
/// A human agains a computer.
/// </summary>
A... |
using Newtonsoft.Json;
namespace gView.Interoperability.GeoServices.Rest.Json.Renderers.SimpleRenderers
{
public class SimpleLineSymbol
{
public SimpleLineSymbol()
{
this.Type = "esriSLS";
}
[JsonProperty("type")]
public string Type { get; set; }
[... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MVCClient.Models
{
public class DepartmentVM
{
public int Deptid { get; set; }
public string Dname { get; set; }
public string Location { get; set; }
}
} |
using System;
using System.Collections;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EnglishDictonary1
{
class Program
{
static void Main(string[] args)
{
ArrayList word = new ArrayList()
{
"Boat",
"house"... |
using Serilog;
using System;
using System.Threading;
using System.Threading.Tasks;
using Telegram.Bot;
using Telegram.Bot.Polling;
using Telegram.Bot.Types;
using TelegramFootballBot.Core.Data;
using TelegramFootballBot.Core.Exceptions;
using TelegramFootballBot.Core.Helpers;
using TelegramFootballBot.Core.Models;
usi... |
using System.ComponentModel;
namespace proj12.Model
{
public interface ISimulatorModel : INotifyPropertyChanged
{
string Time { set; get; }
void StartServer();
double Indicated_heading_deg { set; get; }
double Gps_indicated_vertical_speed { set; get; }
d... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MessageChannel : MonoBehaviour
{
public GameObject messageArea;
public GameObject messageTemplate;
public GameObject lastMessage;
public float padY=10;
public delegate void MessageEvent(Message[] message... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp6
{
public abstract class ColdDrink : IItem
{
public abstract string nombre();
public IPacking packing() {
return new Bottle();
}
... |
using Microsoft.AspNetCore.Razor.TagHelpers;
using System.Threading.Tasks;
namespace Wee.UI.Core.TagHelpers
{
[HtmlTargetElement("div", Attributes = "bootstrap-popover")]
[HtmlTargetElement("img", Attributes = "bootstrap-popover")]
[HtmlTargetElement("span", Attributes = "bootstrap-popover")]
[HtmlTargetEleme... |
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace ReducedGrinding.Items
{
public class Angler_Potion : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Angler Potion");
Tooltip.SetDefault("One botle of this ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PauseMenu : MonoBehaviour
{
public GameObject pauseMenuUI;
// Update is called once per frame
void Update()
{
Debug.Log(Time.timeScale);
}
public void Pause()
{
pauseMenuUI.Set... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
public class GameController : MonoBehaviour
{
public GameObject note;
public Transform noteSpawn;
public Text coordinates;
// Start is called before the first frame update
void Start()
{
... |
// 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.Diagnostics;
using System.Linq;
using Microsoft.ML.Data;
namespace Microsoft.ML.AutoML
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ControlLibrary
{
public partial class ControlTreeView : UserControl
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.Linq.Expressions;
using InventoryManager.Data.Models;
namespace InventoryManager.Service.ViewModels
{
public class RegisterClothesViewModel
... |
using FBS.Domain.Booking;
using FBS.Domain.Booking.Aggregates;
using FBS.Domain.Booking.Queries;
using FBS.Domain.Core;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace FBS.Booking.Read.API
{
public class FlightQueryHandler : IQueryHandler<GetFlightByIdQuery, Fligh... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.