text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public enum Servicio
{
Comun,
SemiCama,
Ejecutivo,
}
public class PasajeMicro : Pasaje
{
public Servicio tipoServicio;
public Pas... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Shooting : MonoBehaviour {
public GameObject bullet;
public float timeLeftUntilSpawn = 0f;
public float startTime = 0f;
public float secondsBetweenSpawn = 0.5f;
// Use this for initialization
void Start () {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FershGreen.Models;
namespace FershGreen.Controllers
{
public class KnowleController : Controller
{
PrivateClinicEntities db = new PrivateClinicEntities();
// GET: Knowle
///... |
using System;
class Alamprogramm{
static int Korruta(int arv1, int arv2){
return arv1*arv2;
}
public static void Main(string[] arg){
int a=4;
int b=6;
Console.WriteLine("{0} korda {1} on {2}", a, b, Korruta(a, b));
Console.WriteLine(Korruta(3, 5));
}
}
|
using UnityEngine;
using System.Collections;
using System;
public class Capture_ScoreManager : Photon.MonoBehaviour, IGame {
[SerializeField]
int teamsInGame;
[SerializeField]
int endGameScore;
public void OnGameSetup()
{
if(PhotonNetwork.isMasterClient)
{
Initia... |
using UnityEngine;
using System.Collections;
public class EnemyHunterCanon : Weapon
{
public EnemyHunterCanon(GameObject owner) : base(owner)
{
Stats = new WeaponStats
{
Damage = 10f,
RateOfFire = 0.3f,
Lifetime = 2f,
Speed = 2f,
Pier... |
using ModelEF.Dao;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TestUngDung.Areas.Admin.Controllers
{
public class HomeController : BaseController
{
public ActionResult Index()
{
var categr = new CategoryDao();... |
using Data.Infrastructure;
using Entities.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Data.Mapping
{
public class UserMap : IdentityConfiguration<User>
{
public override void Configure(EntityTypeBuilder<User> builder)
{
... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("CardRewardCount")]
public class CardRewardCount : MonoBehaviour
{
public CardRewardCount(IntPtr address) : this(address, "CardRewardCount")
{
}
public CardRewardCount(IntPtr address, string cla... |
namespace _6.FilterStudentsByPhone
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main(string[] args)
{
var input = Console.ReadLine();
var students = new List<string>();
while (!in... |
using MISA.Core.Entities;
using MISA.Core.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MISA.Core.Services
{
public class CountryService : BaseService<Country>, ICountryService
{
IUnitOfWork _unitOfWork;
... |
#if VRC_SDK_VRCSDK3
using UnityEngine;
using UnityEditor;
using UnityEditorInternal;
using System.Collections.Generic;
using VRC.SDK3.Avatars.Components;
using System;
using System.Linq;
public partial class AvatarDescriptorEditor3 : Editor
{
static string _eyeLookFoldoutPrefsKey = "VRCSDK3_AvatarDescriptorEditor... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectEuler
{
public class LongestCollatzSequence : ISolution
{
public void Run()
{
var longestSequences = Enumerable.Range(1, 999999).AsParallel().Select(... |
namespace CriticalPath.Web.Models
{
public class ImageUploadViewModel
{
public ImageUploadViewModel()
{
UploadUrl = AppSettings.Urls.ImageUpload;
ThumbFolderUrl = AppSettings.Urls.ThumbImages;
ImageFolderUrl = AppSettings.Urls.ProductImages;
}
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CoinTable.Models
{
[JsonObject]
public class Coin
{
[JsonProperty("id")]
public int id { get; set; }
[JsonProperty("name")]
public string name { get; set; ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace JJTrailerStore.Areas.Admin.Models
{
public class Category
{
//general
public Guid ID { get; set; }
public string Name { get;... |
using System;
using Whale.Shared.Models.User;
namespace Whale.Shared.Models.Group.GroupUser
{
public class GroupUserDTO
{
public Guid Id { get; set; }
public Guid UserId { get; set; }
public UserDTO User { get; set; }
public Guid GroupId { get; set; }
... |
namespace EP.CrudModalDDD.Domain.Commands.Results
{
public class CidadeCommandResult : ICommandResult
{
public CidadeCommandResult()
{
}
}
} |
namespace kelvinho_airlines.Entities.CrewMembers
{
public class Officer : TechnicalCrewMember
{
public Officer(string name) : base(name)
{
IncompatibleCrewMemberTypes.Add(typeof(Prisoner));
IncompatibleCrewMemberTypes.Add(typeof(FlightServiceChief));
}
}
} |
using SQLite;
using System;
using uwpEvernote.Interfaces;
namespace uwpEvernote.Model {
public class Note: Notify {
private int _id;
[PrimaryKey, AutoIncrement]
public int Id {
get { return _id; }
set {
if (value != _id) {
_id... |
using Panoptes.Model.Serialization.Packets;
using QuantConnect;
using QuantConnect.Orders;
using QuantConnect.Statistics;
using System;
using System.Collections.Generic;
using BacktestResultParameters = QuantConnect.Packets.BacktestResultParameters;
using LiveResultParameters = QuantConnect.Packets.LiveResultParameter... |
using InterfaceClasseAbstr.Modelo.Contratos;
using InterfaceClasseAbstr.Modelo.Enums;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace InterfaceClasseAbstr.Modelo.Entidades
{
abstract class Forma : IForma
{
public Cor Cor { get; set; }
public ... |
namespace HangMan
{
public interface IWordGenerator
{
string GetWord();
}
}
|
using Nop.Core.Domain.Blogs;
using Nop.Core.Domain.Catalog;
using Nop.Core.Domain.Customers;
using Nop.Core.Domain.Forums;
using Nop.Core.Domain.Messages;
using Nop.Core.Domain.News;
using Nop.Core.Domain.Orders;
using Nop.Core.Domain.Shipping;
using Nop.Core.Domain.Stores;
using Nop.Core.Domain.Vendors;
namespace To... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AudioStateChangeEnabler : MonoBehaviour
{
[SerializeField] private AudioSource _AudioSource;
[SerializeField] private SOSwitchState _SwitchStateRef;
private void OnEnable()
{
... |
using MediatR;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.JsonRpc.Generation;
using OmniSharp.Extensions.LanguageServer.Protocol.Client;
using OmniSharp.Extensions.LanguageServer.Protocol.Models;
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization;
using OmniSharp.Extensions.LanguageSer... |
using UnityEngine;
public class BlockController : MonoBehaviour {
private const string PlayerTag = "Player";
[SerializeField]
private Color _defaultColor;
[SerializeField]
private Color _touchedColor;
[SerializeField]
private SpriteRenderer _renderer;
[SerializeField]
private Par... |
using System;
namespace GumballMachine
{
class Program
{
static void Main(string[] args)
{
Dispenser disp = new Dispenser(55);//creates dispenser with max amount
do
{
Console.Clear();
Console.WriteLine("[--------- Gumball Mach... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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 Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using SGDE.Domain.Entities;
namespace SGDE.DataEFCoreSQL.Configurations
{
public class CompanyDataConfiguration
{
public CompanyDataConfiguration(EntityTypeBuilder<CompanyData> entity)
{
ent... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OOP4
{
public class ProductionQueue
{
private Queue<IDetail> details;
private int maxDetailsCount;
public ProductionQueue(int maxDetailsCount)
{
... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Threading.Tasks;
namespace HelpdeskDAL
{
public class DepartmentDAO
{
readonly IRepository<Department> repository;
public DepartmentDAO()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.SignalR;
using System.Threading.Tasks;
using Tasks.Services.Domain;
using System.Web.Mvc;
using Tasks.Services.Domain.Models;
namespace Tasks.Web.SignalR
{
public class TasksHub : Hub
{
public a... |
using UnityEngine;
[RequireComponent(typeof(AudioController))]
public class AudioSettings : MonoBehaviour {
[SerializeField] float m_Music = 1f;
[SerializeField] float m_Sound = 1f;
float Music { get { return m_Music; } set { } }
float Sound { get { return m_Sound; } set { } }
void Start()
... |
// -----------------------------------------------------------------------
// <copyright file="StreamingTests.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root
// for license information.
// </copyrig... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace LuyenTriNho.Codes
{
publi... |
using FluentValidation;
namespace DDDSouthWest.Domain.Features.Account.Admin.ManageTalks.AddNewTalk
{
public class AddNewTalkValidator : AbstractValidator<AddNewTalk.Command>
{
public AddNewTalkValidator()
{
RuleFor(x => x.TalkTitle).NotEmpty();
RuleFor(x => x.TalkSumma... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game.Mono;
[Attribute38("UnopenedPackStack")]
public class UnopenedPackStack : MonoClass
{
public UnopenedPackStack(IntPtr address) : this(address, "UnopenedPackStack")
{
}
public UnopenedPa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Calculadora
{
class Operacion
{
//Declaramos res globalmente para que las operacion tenga una variable para el resultado
double res;
//Hacemos sus... |
namespace Codelet.AspNetCore.Mvc.Cqrs
{
using System;
using Codelet.Cqrs;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.Routing;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
/// <summary>
/// Helpers for generation URLs for querie... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SnakeLista
{
public class Punto
{
/// <summary>
/// Coordenadas del punto
/// </summary>
private int x, y;
/// <summary>
/// Letra a mos... |
using LuaInterface;
using RO;
using SLua;
using System;
using UnityEngine;
public class Lua_RO_GameObjPool : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
GameObjPool o = new GameObjPool();
LuaObject.pushValue(l, true);
LuaObject.... |
using SözTabani.Contexts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace SözTabani
{
public partial class KisiDetay : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
... |
using PDV.DAO.Atributos;
namespace PDV.DAO.Entidades.NFe
{
public class ProdutoNFe
{
[CampoTabela("IDPRODUTONFE")]
public decimal IDProdutoNFe { get; set; } = -1;
[CampoTabela("SEQUENCIA")]
public int Sequencia { get; set; }
[CampoTabela("FRETE")]
public decim... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using DotNetNuke.Common;
using PetaPoco;
namespace DotNetN... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using Q... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Validation
{
public partial class Index : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
CheckInterests(... |
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Firefox;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LoginTest
{
public class BaseTest
{
public IWebDriver Driver { get; set; }
public Ba... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class EnemySpawner : MonoBehaviour
{
public GameObject enemyPrefab;
public Sprite[] enemySprites;
public int currentEnemyIndex = -1;
public float width;
public float height;
public float moveSpeed;
public float spawnDelay = 0.5f;
priva... |
using Android.App;
using Android.Widget;
using Android.Graphics;
using Xamarin.Forms.Platform.Android;
using MCCForms;
using MCCForms.Droid;
[assembly: Xamarin.Forms.ExportRenderer (typeof(LabelBoldFont), typeof(LabelBoldFontCustomRenderer))]
namespace MCCForms.Droid
{
public class LabelBoldFontCustomRenderer : L... |
using Microsoft.EntityFrameworkCore;
using ServiceHost.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ServiceHost.Repository
{
public class AccountRepository : BaseRepository<Account>, IAccountRepository
{
public AccountRepository(Ser... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mojio.Events
{
/// <summary>
///
/// </summary>
[CollectionNameAttribute(typeof(Event))]
public class FenceEvent : TripEvent
{
}
}
|
using LuaInterface;
using RO;
using SLua;
using System;
public class Lua_RO_ROFileUtils : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int FileExists_s(IntPtr l)
{
int result;
try
{
string path;
LuaObject.checkType(l, 1, out path);
bool b = ROFileUtils.FileExists(path);
L... |
using System;
using System.ServiceModel;
using Microsoft.ComplexEventProcessing;
using Microsoft.ComplexEventProcessing.Linq;
using Microsoft.ComplexEventProcessing.ManagementService;
using System.Reactive;
using System.Reactive.Linq;
using System.Windows;
using SiDualMode;
using SiDualMode.Base;
using SiDualMode.Inp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AlgorithmQuestions
{
public class BigInter
{
public static void test(string x, string y, string operate)
{
int xLen = x.Length;
int yLen = y.Length;
string tempX ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GamepadInput;
public class StrikerController : MonoBehaviour
{
public KeyCode[] StrikerKeyboardInputs;
public Striker[] Strikers;
public PlayerShip PlayerShip;
private float gamepadTriggerSensitivity =... |
using System;
using System.Dynamic;
using System.Reflection.Emit;
using System.Security.Authentication.ExtendedProtection.Configuration;
using System.Threading;
namespace ClearSight.RendererAbstract
{
/// <summary>
/// Base class for all objects that are created and managed by the device.
/// </summary>
... |
using System.Collections.Generic;
using System.Linq;
public class CarManager
{
private Dictionary<int, Car> cars;
private Dictionary<int, Race> races;
private Garage garage;
public CarManager()
{
this.cars = new Dictionary<int, Car>();
this.races = new Dictionary<int, Race>();
... |
using UnityEngine;
using System.Collections;
public class GUICameraS : MonoBehaviour {
public GameObject CONFIG;
private MainGame MGame;
private GameObject MENUS;
private GameObject SPAWN;
// Use this for initialization
void Start () {
MGame = CONFIG.GetComponent<MainGame>();
MENUS = transform.Find("MENUS"... |
using Course.Commands;
using Course.Context;
using Course.Model;
using Course.View;
using NLog;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Course.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ChatSignalR.Chat;
using ChatSignalR.Data;
using ChatSignalR.Models;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DvdApplication.Repositories;
namespace JobApplication.Models
{
public class FakeJobDatabase : IJobRepository
{
private static List<Job> _jobs = new List<Job>();
public List<Job> GetAll()
{
... |
using System.Text.Json.Serialization;
namespace PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json;
internal sealed class JsonCoinsIncomingMessage : JsonPacket
{
[JsonPropertyName("coins")]
public uint Coins { get; set; }
} |
using AutoMapper;
using AutoMapper.Extensions.ExpressionMapping;
using Contoso.AutoMapperProfiles;
using Contoso.BSL.AutoMapperProfiles;
using Contoso.Common.Utils;
using Contoso.Contexts;
using Contoso.Data.Entities;
using Contoso.Domain.Entities;
using Contoso.Parameters.Expansions;
using Contoso.Parameters.Expressi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using System.Data;
using System.Collections;
using System.Configuration;
using System.Text.RegularExpressions;
using System.Data.OleDb;
using System.Data.SqlClie... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Task 2
namespace GetMaxNumber
{
class GetMaxNumber
{
static void Main(string[] args)
{
Console.WriteLine("Input numbers: ");
int n1 = int.Parse(Console... |
using Lab13_2_dev_build.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using Dapper.Contrib.Extensions;
using MySql.Data.MySqlClient;
namespace Lab13_2_dev_build.Controllers
{
public class ProductController :... |
using GlobalDevelopment.SocialNetworks.Facebook;
using GlobalDevelopment.SocialNetworks.LinkedIn;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GlobalDevelopment.SocialNetworks
{
public class SocialNetworks
{
p... |
using System;
using System.ComponentModel;
namespace TableTopCrucible.Core.Models.Sources
{
public interface ISaveFileProgression : INotifyPropertyChanged
{
ITaskProgressionInfo DirectoryTaskState { get; }
ITaskProgressionInfo FileTaskState { get; }
ITaskProgressionInfo LinkTaskState {... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UserAuthentication.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------------... |
using System;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using VehicleManagement.Application.Common.Interfaces;
using VehicleManagement.Domain.Entities;
namespace VehicleManagement.Application.Commands.Brands
{
public static class DeleteBrand
{
public record Command(Guid Id) ... |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
namespace NMoSql.Helpers
{
public class Over : Helper, IQueryHelper
{
private readonly HelperManager<IQueryHelper> _queryHelpers;
public Over(HelperManager<IQueryHelper> queryHelpers)
{
_queryHelpe... |
using System.Threading.Tasks;
using Akka.Actor;
using akka_microservices_proj.Actors.Provider;
using akka_microservices_proj.Domain;
using akka_microservices_proj.Messages;
using Microsoft.AspNetCore.Mvc;
namespace akka_microservices_proj.Commands
{
public interface IGetBasketFromCustomerCommand
{
Tas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
public partial class Admin_Pro_Process : System.Web.UI.Page
{
public decimal pId = 0; decimal flag = -1;
PDTech.OA.BLL.VIEW_PRO_STEP_TYPE vBll = new PDT... |
#! "netcoreapp2.1"
#r "_bin/FlipLeaf.Engine.dll"
#r "_bin/Markdig.dll"
#load "FlipLeaf.Scripting.csx"
using FlipLeaf;
using FlipLeaf.Core;
using FlipLeaf.Core.Text;
using static FlipLeafGenerator;
Sources.Add("content", s => new FlipLeaf.Core.Inputs.FileInputSource(s.InputDirectory) { Exclude = new[] { "README.md" }... |
namespace Plus.Communication.Packets.Outgoing.Rooms.Furni.LoveLocks
{
internal class LoveLockDialogueMessageComposer : MessageComposer
{
public int ItemId { get; }
public LoveLockDialogueMessageComposer(int itemId)
: base(ServerPacketHeader.LoveLockDialogueMessageComposer)
... |
using System.Windows;
namespace HandyControl.Tools.Extension
{
public static class ValueExtension
{
public static Thickness Add(this Thickness a, Thickness b) => new Thickness(a.Left + b.Left, a.Top + b.Top, a.Right + b.Right, a.Bottom + b.Bottom);
}
} |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Loggly.Responses;
namespace Loggly
{
public interface ILogglyClient
{
Task<LogResponse> Log(LogglyEvent logglyEvent);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Sunny.Robot
{
public class RobotCommand
{
private RobotCommandType _commandType = RobotCommandType.no;
public string Name { get; set; }... |
using System.Collections.Generic;
using System.Linq;
using Plus.Communication.Packets.Outgoing.Rooms.Settings;
using Plus.HabboHotel.GameClients;
using Plus.HabboHotel.Rooms;
namespace Plus.Communication.Packets.Incoming.Rooms.Settings
{
internal class ToggleMuteToolEvent : IPacketEvent
{
pu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SoundManager : Singleton<SoundManager>
{
public AudioSource[] audiosources;
public PitchVolumeAudio plantGrowStartSound; //0
public PitchVolumeAudio plantGrowEndSound; //1
... |
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System.Text.Re... |
namespace IsLeapYear
{
using System;
public class IsLeapYear
{
/// <summary>
/// Write a program that reads a year from the console and checks whether it is a leap.
/// Use DateTime.
/// </summary>
public static void Main(string[] args)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
static class A
{
public static bool IsTrue(this bool value) { return true == value; }
}
class Program
{
static void... |
using Calcifer.Engine.Graphics;
using OpenTK.Graphics.OpenGL;
namespace Calcifer.Engine.Scenegraph
{
public class MaterialNode: SceneNode
{
protected Material Material { get; private set; }
public MaterialNode(SceneNode parent, Material material) : base(parent)
{
Material ... |
using System;
namespace InterfaceExtensibility
{
public class DbMigrator
{
private readonly ILogger _logger;
public DbMigrator(ILogger logger)
{
this._logger = logger;
}
public void Migrate()
{
_logger.LogInfo($"Db migration started {Da... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Observer
{
class ConcreteObserver : Observer
{
public void Update(object obj)
{
Console.WriteLine("Observer Recived:" + obj);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using Grisaia.Extensions;
namespace Grisaia.Asmodean {
partial class Hg3 {
#region Extract
private static Hg3 Extract(Stream stream, str... |
using PDV.DAO.Atributos;
using System;
namespace PDV.DAO.Entidades.Estoque.Suprimentos
{
public class ContatoClienteFornecedor
{
[CampoTabela("IDCONTATOCLIENTEFORNECEDOR")]
public decimal IDContatoClienteFornecedor { get; set; } = -1;
[CampoTabela("IDFORNECEDOR")]
public decim... |
namespace Abstraction
{
using System;
public abstract class AbstractShape : IShape
{
public abstract double CalculatePerimeter();
public abstract double CalculateSurface();
protected void ValidateDoubleValue(double value, string valueName)
{
if (value < 0 ... |
using Infrastructure;
using Microsoft.AspNetCore.Localization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Localization;
using System;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using Web.Models;
using Web.ViewModels;
namespace Web.Controllers
{
public class HomeContro... |
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.Runtime.Serialization;
using System.ServiceModel;
namespace WcfMathServiceInterface
{
[ServiceContract]
public interface IMathService
{
[OperationContract]
CompositeType Add(int a, int b);
[OperationContract]
CompositeType Substract(int a, int b);
}
[... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
using HeladacWeb.Services;
namespace HeladacWeb.Models
{
public class Credential
{
public string _id = Guid.NewGuid().ToString();
public string i... |
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace API.Entities
{
[Table("Places")]
public class Place
{
public int Id { get; set; }
public string Name { get; set; }
public string Address { get; set; }
public string OpenTime { get; set; }
pub... |
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System.Collections.Generic;
using System.Security.Claims;
using System.Web.Http;
using WepApiUserRegistrationAngular.Models;
namespace WepApiUserRegistrationAngular.Controllers
{
public class AccountController : ApiController
... |
using System.Collections;
using System.Collections.Generic;
using JetBrains.Annotations;
using UnityEngine;
public class DelayFua : MonoBehaviour
{
public GameObject texto;
public float tiempo;
public GameObject jugador;
public GameObject Tiempo;
public GameObject Este;
private void Start()
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace Cubecraft.Net.Protocol
{
public delegate void HttpCall... |
using System.Collections.Generic;
using Student.Model;
using System.Linq;
namespace Student.Service.interfaces
{
public interface IEntityService<T> where T : BaseEntity<int>
{
T Create(T entity);
void Delete(T entity);
void Update(T entity);
T FindById(int Id);
IQuerya... |
using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using IdentityProvider.Model.ViewModel;
using IdentityServer3.Core;
using IdentityServer3.Core.Extensions;
using IdentityServer3.Core.Models;
using IdentityServer3.Core.Services;
namespace IdentityProvider.Ser... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.