text stringlengths 13 6.01M |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestApp
{
class Program
{
static void Main(string[] args)
{
Random random = new Random();
var number = random.Next(1, ... |
namespace _03.SubstringService
{
using System.Text.RegularExpressions;
public class SubstringService : ISubstringService
{
public int GetOccurrencesCount(string substring, string text)
{
return Regex.Matches(text, substring).Count;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Cont... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NuGet.Packaging.Core;
us... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class UIInteractionCanvas : MonoBehaviour
{
public static UIInteractionCanvas Instance;
public TextMeshProUGUI text;
public CanvasGroup canvasGroup;
public CanvasGroup aimCanvas;
... |
using ShogunOptimizer.ArtifactSources;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace ShogunOptimizer
{
public abstract class BuildTarget
{
public abstract bool UpgradeArtifactsToLvl20 { get; }
public abstract string EquippedT... |
using Logs.Models;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
namespace Logs.Authentication.Contracts
{
public interface IAuthenticationProvider
{
bool IsAuthenticated { get; }
string CurrentUserId { get; }
string CurrentUserUsername { get; }
Iden... |
/*
http://www.codeproject.com/Tips/125573/Registry-Export-File-reg-Parser
Registry Export File (.reg) Parser
Henryk Filipowicz, 18 Dec 2014
*/
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml.Serialization;
namespace CloneDe... |
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 RMS
{
public partial class train_filter : Form
{
... |
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Utilities;
using System.ComponentModel.Composition;
namespace Color.Comment
{
[
Export(typeof(IClassifierProvider)),
ContentType("C/C++")
]
internal sealed class ClassifierProvider
:
IClassifie... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.DDD;
using Microsoft.Data.Entity;
using Microsoft.Data.Entity.ChangeTracking;
using Models.DDD.TimeSheets.Entries;
using TimeKeep.TimeSheets;
using Common.Data;
namespace TimeKeep.Data
{
... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("UIBPopup")]
public class UIBPopup : MonoBehaviour
{
public UIBPopup(IntPtr address) : this(address, "UIBPopup")
{
}
public UIBPopup(IntPtr add... |
using System;
using System.Runtime.CompilerServices;
namespace NetFabric.Hyperlinq
{
public static partial class ArrayExtensions
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static bool Any<TSource>(this in ArraySegment<TSource> source)
=> source.Count is not 0;
... |
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 RMS
{
public partial class CancelTicket : Form
{
... |
namespace D_API.Types.DataKeeper
{
public class UploadRequest
{
public byte[]? Data { get; set; }
public bool Overwrite { get; set; }
}
}
|
using System;
using MediatR;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.JsonRpc.Generation;
using OmniSharp.Extensions.LanguageServer.Protocol.Client;
using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities;
using OmniSharp.Extensions.LanguageServer.Protocol.Generation;
using OmniShar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HeladacWeb.Models.Responses
{
public class EmailResponse
{
public string id { get; set; }
public string emailId { get; set; }
public string sender { get; set; } = null;
pu... |
using System;
using System.ComponentModel;
namespace Alarmy.Infrastructure
{
internal class SoundPlayer : Component, IDisposable
{
private readonly System.Media.SoundPlayer soundPlayer;
public bool IsPlaying { get; private set; }
public string Path { get; private set; }
publi... |
using AutoMapper;
using Enrollment.Forms.Configuration.Navigation;
using Enrollment.XPlatform.ViewModels;
namespace Enrollment.XPlatform.MappingProfiles
{
public class MeuItemProfile : Profile
{
public MeuItemProfile()
{
CreateMap<NavigationMenuItemDescriptor, FlyoutMenuItem>();
... |
namespace OLinqProvider
{
public interface IOQuery
{
string CollectionName { get; }
}
}
|
using UnityEngine;
using System.Collections;
namespace Minigame22
{
public class NoiseSensor : MonoBehaviour
{
#region variables
public NoiseLevel noiseLevel
{
get { return _noiseLevel; }
set { _noiseLevel = value; UpdateSprite(); }
}
public UI... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Trigger : MonoBehaviour
{
public string hintColor;
public GameObject linkedHint;
public GameObject manager;
SpriteRenderer hintRenderer;
private PlatformManager.Colors type;
private PlatformManager _... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InheritanceExample
{
//Inheritance is feature and behavior acquiring in derived class from base class.
//There are three type of inheritance
//Single only one class is inherited ... |
using System;
using Entity;
using System.Data.SqlClient;
using System.Data;
namespace DataAccess
{
public class KhoDA
{
public static ListKhoEntity SelectAll()
{
SqlCommand command = DUtils.GetCommand();
command.CommandType = System.Data.CommandType.StoredProcedure;
command.CommandText = "... |
using IoTWebApp.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using IoTWebApp.MessageStores;
namespace IoTWebApp.Controllers
{
public clas... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CyberPunkRPG
{
class StrongEnemy : Enemy
{
public StrongEnemy(Vector2 pos, Player player, MapManager map... |
using System;
using System.IO;
namespace ShootFile
{
class Program
{
static void Main(string[] args)
{
Console.CursorVisible = false;
int choix = menu();
String host = null, file = null;
Boolean stat = true;
ConsoleKeyInf... |
namespace JogadoresFutebol.Classes
{
public class Meiocampo : Jogador
{
public override int CalcularAposentadoria(){
int tempoFalta;
if (this.idade < 38)
{
tempoFalta = 38 - idade;
} else{
tempoFalta = 0;
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public abstract class Building : Unit
{
public AudioSource buildSound;
public BuildingPlacer placerPrefab;
public abstract int Cost { get; }
public override void Init(Player owner)
{
... |
using System;
using System.IO;
using System.Text;
using System.Collections;
using System.ComponentModel;
using System.Collections.Generic;
using TouchScript;
using UnityEngine;
public class ftlSpeedGraph : ftlManager
{
public float AxisDivisions = 20;
float axisSpacing;
private float scrollingOffset = 0;
Vector3... |
using UnityEngine;
using System.Collections;
public class Eyewall : MonoBehaviour {
public enum EyewallState {OPEN, CLOSED};
public EyewallState state;
public Animator EyeController;
Timer blinkTimer;
bool newState = false;
int startEye;
float freq;
int rot;
// Use this for initialization
void Start ()... |
using System.Collections.Generic;
namespace HCL.Academy.Model
{
public class TrainingPlanDocuments
{
// public List<WikiPolicies> ListOfWiki { get; set; }
public List<TrainingPlan> ListOfWikiDoc { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Xunit.Abstractions;
namespace aoc2019
{
public class Day12
{
private const int MaxIterations = 10000000;
public int Solve(string input, int i)
{
var moons = Parse(... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PhonemesAndStuff
{
public class VowelnWord
{
public int Position { set; get; }
public double Timing { set; get; }
public VowelnWord()
{
}
}
}
|
namespace Bridge.Renderers
{
public interface IRenderer
{
string Render(string key, string value);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataMunging
{
public class WeatherReader : Reader
{
public WeatherReader(string path, int startLine) : base(path, startLine) {
}
public int Find... |
using System.Collections.Generic;
using System.Threading.Tasks;
using HacktoberfestProject.Web.Models.DTOs;
using HacktoberfestProject.Web.Models.Helpers;
namespace HacktoberfestProject.Web.Services
{
public interface IProjectService
{
Task<ServiceResponse<IEnumerable<Project>>> GetAllProjectsAsync();
Task<Serv... |
using System.Windows.Controls;
namespace LogUrFace.Views
{
/// <summary>
/// Interaction logic for AddEditEmployee
/// </summary>
public partial class AddEditEmployee : UserControl
{
public AddEditEmployee()
{
InitializeComponent();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using IMDB.Api.Services.Interfaces;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using ResponseDto = IMDB.Api.Models.ResponseDto;
using ViewModel =... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace CombinatorialAlgorithms
{
class Permutations
{
private static int n = 5;
private static int countOfPerm = 0;
static void Main()
{
Console.Write("Permutations without repetitio... |
using System.Threading.Tasks;
using Micro.Net.Handling;
namespace Micro.Net.Abstractions
{
public interface IHandle<TMessage> where TMessage : IContract
{
Task Handle(TMessage message, IHandlerContext context);
}
public interface IHandle<TRequest, TResponse> where TRequest : IContract<TResponse... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game.Mono;
[Attribute38("NoGTAPPTransactionData")]
public class NoGTAPPTransactionData : MonoClass
{
public NoGTAPPTransactionData(IntPtr address) : this(address, "NoGTAPPTransactionData")
{
}
... |
//
// 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.IO;
using System.Web.Mvc;
namespace DotNetNuke.Web.Mvc.Framework.ActionResults
{
public interface IDnnViewResult
{
void Exec... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Threading;
using System.Drawing;
using NHibernate;
using Soko.Data;
using NHibernate.Context;
using Bilten.Dao;
using Soko.Domain;
using Soko... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DotNetSample.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... |
using System;
using Sunrise.CelestialObjects;
namespace Sunrise
{
public static class Settings
{
public static Body ReferenceOrigin {get;set;}
}
}
|
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using DotNetNuke.ComponentModel.Dat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Claims;
namespace Equinox.Domain.Interfaces
{
public interface IInternalUserElinPay
{
string Name { get; }
Models.AgentInternalUsers AgentGlobalAdminUsersRoles { get; }
b... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CharacterController : Controller {
private StateMachine<CharacterController> m_stateMachine;
private CharacterDefaultState m_characterDefaultState;
public override void OnStart()
{
m_characterDefaultState = new ... |
using GAP.Procesos.Model.Context;
using GAP.Seguros.Entities;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
namespace GAP.Procesos.Model.Dao
{
internal class PolizasDao
{
internal List<Poliza> ObtenerPolizasPorCliente(int clienteId)
{
using (Seguros... |
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Text;
using Dapper;
using EWF.Data;
using EWF.Data.Repository;
using EWF.IRepository.SysManage;
using EWF.Util.Options;
using EWF.Util;
using EWF.Entity;
using EWF.Util.Page;
namespace EWF.Repository
{
public class SY... |
using PDV.CONTROLER.Funcoes;
using PDV.DAO.Entidades.PDV;
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 PDV.VIEW.Forms.Vendas.NFe
{
publ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CutsceneController : MonoBehaviour
{
public GameObject mainCamera;
public GameObject timer;
public GameObject player;
public GameObject cutCam;
public void Transitions ()
{
mainCamera.SetActive... |
using ConsoleTasksbook.Entity;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleTasksbook.Repository
{
public class TaskHoursWorkedRepository
{
private readonly string filePath;
public TaskHou... |
using UnityEngine;
using System.Collections;
public class SolysAnimasjon : MonoBehaviour {
/* Denn Classen kontrollerer animasjonen av slyset under faseskiftene
* Sollyset er en Animasjon som er tatt opp og dette skriptet viser dermet til
* En animator controller og sender variabler til parametere i denne contro... |
using System.Collections.Generic;
using System.Threading.Tasks;
using PMA.Store_Domain.Masters.Entities;
namespace PMA.Store_Domain.Masters.Repositories.Interface
{
public interface IMasterQueryRepository
{
List<Master> GetAll();
Task<List<Master>> GetAllAsync();
}
} |
namespace SkillsGardenApi.Security
{
public enum SecurityDefinition {
WebJobsAuthLevel,
Bearer,
}
}
|
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Exemplo03.Model
{
[Table("cidades")]
public class Cidade
{
[Key]
public int Id { get; set; }
[ForeignKey("Estado")]
[Required]
public int IdEstado { get; set;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Vasily.Model;
namespace Vasily
{
public interface IAttributesLogicalData
{
string[] Keys { get; set; }
}
public interface IAttributesLogicalOperator
{
string[] ... |
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using TwinkleStar.Common.ObjectId;
using TwinkleStar.Data;
namespace MrHai.Core.Models
{
/// <summary>
/// 菜单
/// </summary>
[Description("菜单")]
public partial class Category
: EntityBase
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BuildAZoo
{
public abstract class Monkey : JungleAnimal
{
// Inherited Methods
public override bool HasFur
{
get { return true; }
}
public override string Movement()
{
... |
using System;
using System.ServiceModel;
using Microsoft.ComplexEventProcessing;
using Microsoft.ComplexEventProcessing.Linq;
using Microsoft.ComplexEventProcessing.ManagementService;
using SiDualMode;
using SiDualMode.Base;
using SiDualMode.InputAdapter.TestDataAdapter;
using SiDualMode.InputAdapter.YahooFinanceAdap... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using TruYum.DAO;
using TruYum.Models;
namespace TruYum.Controllers
{
[Route("api/[controller]")]
... |
using MvcProjeKampi.BusinessLayer.Concrete;
using MvcProjeKampi.DataAccessLayer.Concrete;
using MvcProjeKampi.DataAccessLayer.EntityFramework;
using MvcProjeKampi.EntityLayer.Concrete;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MvcProjeKampi.We... |
using System.Collections.Generic;
namespace CheckMySymptoms.Forms.View.Common
{
public class RequestDetailsView
{
public string ModelType { get; set; }
public string DataType { get; set; }
public string DataSourceUrl { get; set; }
public string GetUrl { get; set; }
public string AddUrl { 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;
using System.Data.SqlClient;
namespace Interfaz_Triton
{
public partial class Form1 : Form
{
p... |
using Caliburn.Micro;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Spreadsheet;
using ExcelDataHandler.Models;
using System;
using System.Collections.Generic;
using System.Data.OleDb;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace ExcelDataH... |
using ProBuilder2.Common;
using ProBuilder2.Math;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace ProBuilder2.MeshOperations
{
public static class pbUVOps
{
public static bool SewUVs(this pb_Object pb, int[] indices, float delta)
{
int[] array = new int[indices.... |
using System;
using System.Collections.Generic;
using System.Linq;
using Entitas;
using TypeReferences;
using UnityEngine;
using Zenject;
namespace Architecture.Entitas.Zenject
{
public class EntitasInstaller : MonoInstaller
{
[SerializeField] [Inherits(typeof(Systems), UseBuiltInNames = true, Include... |
public static void Effects(Player player) {
player.lifeRegen = 1;
player.statManaMax2+=20;
//player.potionDelayTime -= 900;
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SwordSoundPlayer : MonoBehaviour {
public SwordTip tip;
public float minSpeed = 40;
public AudioClip[] clips;
public float volume = 1;
public bool isActive = true;
void Update() {
if (tip.speed > minSpeed) {
if (!i... |
using UnityEngine;
using System.Collections;
public class MenusControl : MonoBehaviour {
public AudioClip popUpShare;
private int id;
bool isRight = false;
Transform otherPlayer;
Transform player;
CameraDivisionEffect cam;
Animator anim;
AudioSource myAudio;
bool previousActiveShare = false;
Animator ... |
using PDV.CONTROLER.Funcoes;
using PDV.DAO.DB.Utils;
using PDV.DAO.Entidades.Financeiro;
using PDV.DAO.Enum;
using PDV.VIEW.App_Context;
using System;
using System.Windows.Forms;
namespace PDV.VIEW.Forms.Cadastro.Financeiro
{
public partial class FCA_CentroCusto : DevExpress.XtraEditors.XtraForm
{
pri... |
namespace GildedRose.Console
{
class BackstagePassUpdateStrategy : IItemUpdateStrategy
{
public void Update(Item item)
{
item.IncreaseItemQualityByOne();
if (item.SellIn < 11)
{
item.IncreaseItemQualityByOne();
}
if (... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Diagnostics;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
public partial class Form1 :... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public struct UserInfo
{
public string socketIp;
public bool isLogin;
public UserInfo(string _socketIp, bool _isLogin)
{
this.socketIp = _socketIp;
this.isLogin = _isLogin;
}
}
public cla... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using EntityFramework.Extensions;
using SO.Urba.Models.ValueObjects;
using SO.Urba.DbContexts;
using SO.Utility.Models.ViewModels;
using SO.Utility;
using SO.Utility.Helpers;
usi... |
/********************************************************************
* 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;
namespace ABClient
{
public struct MessageConsts
{
public const string ConnectionSuccess = "Соединение установлено";
public const string ConnectionFail = "Не удалось подключиться... |
using System;
using System.Collections.Generic;
using Amesc.Dominio.Cursos.Turma;
using Amesc.Dominio.Pessoas;
using Amesc.Dominio._Base;
namespace Amesc.Dominio.Cursos
{
public enum TipoDeCursoAberto
{
Nenhum,
Publico,
Fechado
}
public class CursoAberto : Entidade
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using BarberShop.Core.Entities;
using BarberShop.Infraestructure.Interfaces;
using BarberShop.Infraestructure.DataAccess;
using BarberShop.Infraestructure.Persistence;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensi... |
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Mvc;
using NorthwindReglasNegocio;
using GeneralCodigoUsuario;
using Entidades;
namespace Demo01._1.Controllers
{
public class ProductoController : Controller
{
// GET: Producto
public ActionResult Lista()
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(PathFollowing))]
public class Patrol : MonoBehaviour {
private int currentPoint = 0;
private PathFollowing pathFollowing;
public List<Transform> patrolPoints;
void Start() {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Noughts_and_Crosses
{
/// <summary>
/// Contains a row and col value to be used for making moves.
/// </summary>
public class Move
{
public int row, col;
}
}
|
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace Shunxi.App.CellMachine.Converters
{
public class EmptyStringToVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo language)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//A dictionary is stored as a sequence of text lines containing words and their explanations.
//Write a program that enters a word and translates it by using the dictionary.
class Program
{
public static Dictionary<string, stri... |
using System.Web.Mvc;
namespace EnterpriseRequests.Web.Extensions
{
public static class HtmlHelperExtensions
{
public static MvcHtmlString SubmitLinkAndSpinner(this HtmlHelper htmlHelper, string text, string htmlId)
{
const string spinnerDiv = "<div id='spinner-div' class='spinner-... |
namespace PDV.VIEW.Integração_Migrados.Model
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("PessoaEmail")]
public partial class PessoaEmail
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SpaceGame
{
public class Menu
{
// Bool to let the game know you are stranded and put Game over to TRUE
public static bool stranded = false;
// Variables for c... |
using MerlinTest.Tools.Diagnostic.Logging;
using MT.APS100.Model;
using MT.TesterDriver;
using MT.TesterDriver.VNA;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KCT8526HW
{
public class ApplicationBaseMrk2 : ... |
using ScribblersSharp;
using UnityEngine;
using UnityTranslator.Objects;
/// <summary>
/// Scribble.rs Pad namespace
/// </summary>
namespace ScribblersPad
{
/// <summary>
/// AN interface that represents language selection data
/// </summary>
public interface ILanguageSelectionData
{
/// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using PullStudentData.Models;
using Newtonsoft.Json;
namespace PullStudentData.Models
{
class StudentDataRequest
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Xml;
using InvoiceClient.Helper;
using InvoiceClient.Properties;
using Model.Schema.EIVO;
using Model.Schema.TXN;
using Utility;
namespace InvoiceClient.Agent
{
public class... |
using System;
namespace BusinessRuleEngine
{
public abstract class PackingSlipRule : RuleEngine
{
public override void Pay()
{
Console.WriteLine("generating packing slip...");
}
public virtual void GenerateAgentCommision()
{
Console.WriteLine("g... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace console
{
public class _043_ReverseInteger
{
/// <summary>
/// Reverse digits of an integer.
/// Example1: x = 123, return 321
/// Example2: x = -123, return -321
/// Discus... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using Vinarish.Data;
using Vinarish.Models;
namespace Vinarish.Pages.St... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CraneMonitor
{
public class SensorBoard
{
public SerialClient com;
public string comPort;
public int potMax;
public int[] pot; //< potentiometer... |
using ColossalFramework;
using ColossalFramework.Math;
using Harmony;
using MoveIt;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace MITE
{
[HarmonyPatch(typeof(MoveItTool))]
[HarmonyPatch("RaycastHoverInstance")]
class MIT_RaycastHoverInstance
{
static bool _stepP... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QualificationExaming.Services
{
using Entity;
public interface IErrQuestionService
{
/// <summary>
/// 根据错题id删除错题
/// </summary>
/// <param name="e... |
using System;
using System.Collections.Generic;
namespace RailBot
{
public static class Commands
{
public static readonly string Start = "start";
public static readonly string Help = "help";
public static readonly string Station = "stazione";
public static readonly string Arrivals =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.