text stringlengths 13 6.01M |
|---|
using System;
using OpenTK;
namespace AndroidUI.Scene
{
class Objects
{
static public void InitSpotLight(ref Light light)
{
light.color = new Vector4(0.0f, 0.0f, 0.0f, 1.0f);
light.pos = new Vector3(0.0f, 0.0f, 0.0f);
light.attenuation = new Vector3(0.0f, 0.... |
using Entities.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Domain.Interfaces.InterfaceServices
{
public interface IServiceUsuario
{
Task<List<ApplicationUser>> ListarUsuariosSomenteParaAdministradores(string us... |
using System;
using System.Collections.Generic;
using System.Text;
namespace JabberPoint.Domain.Content.Behaviours
{
/// <summary>
/// composite pattern interface for leaves and composites that can be added to a List composite
/// </summary>
public interface IListableBehaviour : IContentBehaviour
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RipplerES.CommandHandler
{
public abstract class AggregateBase<T>
{
public IAggregateCommandResult<T> Success(IAggregateEvent<T> @event)
{
return new AggregateCommandSuccessRe... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace online_knjizara.ViewModels
{
public class KnjigaUrediVM
{
public int ID { g... |
using System;
using System.Collections.Generic;
using CommandLine;
using CommandLine.Text;
namespace Example
{
public class FileOptions
{
[Option('i', "Input", Required = false, HelpText = "Path to file input")]
public string InputFile { get; set; }
[Option('o', "Output", Required = f... |
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace ThousandUpload.Controllers {
[Route("api/[controller]/[action]")]
public class UploadCController : ControllerBase {
private static readonly string tempPath = TempFile.GetTempPath();
[HttpPos... |
using System.Collections.Generic;
using Asset.Models.Library.EntityModels.OrganizationModels;
using Core.Repository.Library.Core;
namespace Asset.Core.Repository.Library.Repositorys.Organizations
{
public interface IDepartmentRepository : IRepository<Department>
{
Department GetDepartmentByShortName(s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Voronov.Nsudotnet.BuildingCompanyIS.Entities;
using Voronov.Nsudotnet.BuildingCompanyIS.Logic.DataStructures;
namespace Voronov.Nsudotnet.BuildingCompanyIS.Logic.DbInterfaces
{
public interface I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace AutoInsuranceMVC.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
[HttpPost]
public A... |
using System.Globalization;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Bogus;
using Bogus.DataSets;
using Bogus.Extensions.Brazil;
using Eventos.IO.Infra.CrossCutting.Identity.Models.AccountViewModels;
using Eventos.IO.Tests.API.Integration_Tests.DTO;
using Newtonsoft.Json;
using Xun... |
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace ALM.Reclutamiento.Entidades
{
[Serializable]
public class ECiudad
{
public int IdCiudad { get; set; }
[Required(ErrorMessage = "Dato requerido")]
[StringLength(100)]
[DisplayN... |
//Using blizzy78's Toolbar API
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using Toolbar;
namespace CactEyeTelescope
{
[KSPAddon(KSPAddon.Startup.Flight, false)]
public class ResetTelescopeGuidance : MonoBehaviour
{... |
using LuaInterface;
using SLua;
using System;
public class Lua_RO_ScreenShot_AntiAliasing : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "RO.ScreenShot.AntiAliasing");
LuaObject.addMember(l, 0, "None");
LuaObject.addMember(l, 2, "Samples2");
LuaObject.addMember(l, 4, "Samples4");
... |
using System;
using System.ComponentModel.DataAnnotations;
namespace DIYTracker.Models
{
public class Material : IItem
{
[Key]
public int Id { get; set; }
public string Name { get; set; }
public double Price { get; set; }
public string SingleUnits { get; set; }
... |
using System.Collections.Generic;
using System.Diagnostics;
using ClearSight.RendererAbstract.Memory;
namespace ClearSight.RendererAbstract.Binding
{
public abstract class DescriptorHeap : DeviceChild<DescriptorHeap.Descriptor>
{
public struct Descriptor
{
public enum ResourceDescr... |
namespace CalcItCore.Operands {
public abstract class Operand {
public string[] characters { get; }
public bool reversed { get; }
public int priority { get; }
public Operand(string[] characters, int priority, bool reversed = false) {
this.characters = characters;
this.reversed = reversed;
this.prior... |
public interface IDamagable
{
void TakeDamage(float dmg);
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Anima2D;
using UnityEngine.UI;
public class ChangeColor : MonoBehaviour {
public bool ui;
public bool hasHoverText;
public SpriteMeshInstance[] suit;
public Image[] overlays;
public SpriteRenderer[] spriteRenderers;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
using Accounting.Entity;
using Accounting.Utility;
namespace Accounting.DataAccess
{
public class DaCountry
{
public DaCountry() { }
public static DataTable GetC... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class Controller : Singleton<Controller> {
protected Controller() { }
public status state = status.none;
status previousState;
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.SolverFoundation.Common;
using Microsoft.SolverFoundation.Services;
using Xamarin.Forms;
using Microsoft.SolverFoundation.Solvers;
namespace OMIKAS
{
public partial class ProcessChoose... |
using LuaInterface;
using RenderHeads.Media.AVProVideo;
using SLua;
using System;
public class Lua_RenderHeads_Media_AVProVideo_Helper : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int GetName_s(IntPtr l)
{
int result;
try
{
Platform platform;
LuaObject.checkEnum<Platform>(l, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Accounting.Entity
{
public class Sizes
{
public Sizes()
{
}
#region Fields
private int intSizesID = 0;
private string strSizesName = "";
#endregion
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CandyCane
{
public class BuildScript
{
private string _path;
private string _name;
public BuildScript(string path, string name)
{
... |
namespace Escc.EastSussexGovUK.UmbracoDocumentTypes.RichTextPropertyEditor
{
/// <summary>
/// A customised rich text editor data type with ESCC formatters and validators
/// </summary>
public static class RichTextEsccStandardDataType
{
/// <summary>
/// The display name of the dat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Valve.VR.InteractionSystem;
public class WardrobeDoorsAnimationController : MonoBehaviour
{
public Animator anim;
// Start is called before the first frame update
void Start()
{
if(!anim)
anim =... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UnitTestProject1.Entities;
namespace UnitTestProject1
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
ManagerConfiguracionPrueba manager = new ManagerConfiguracionPru... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WeaponSpawner : MonoBehaviour
{
public GameObject[] weaponList;
public float weaponDensity;
private PlanetMeshGenerator planetMeshGenerator;
private List<GameObject> spawnedWeaponList = new List<GameObject>(... |
using UnityEngine;
using System.Collections;
public class WinState : MonoBehaviour
{
void onTriggerEnter (Collider other)
{
Debug.Log ("You have completed this level.");
}
void onTriggerStay (Collider other)
{
Debug.Log ("You have beaten this level.");
}
void onTriggerExit (Collider other)
{
De... |
using System;
using System.Collections.Generic;
namespace Core.Caching.Interface
{
public interface ICache
{
/// <summary>
/// Загрузка данных из БД для полного обновления кэша
/// </summary>
/// <returns></returns>
IDictionary<string, object> LoadAll();
}
publ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DTO.Results
{
public class CompanyRules
{
public double EmployeeCost { get; set; }
public double DependentCost { get; set; }
public string NameDiscount { get; set; }
public double NameDiscountPercentag... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChanceToDraw
{
class Program
{
static void Main(string[] args)
{
double numCards = double.Parse(args[0]);
double turnNum = (double.Parse(args[1]... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WinForm.UI.WinUserControl
{
public partial class FormUserControl : UserControl
{
public FormUserControl()
... |
using MooshakPP.Models.Entities;
using System.Collections.Generic;
namespace MooshakPP.Models.ViewModels
{
public class DetailsViewModel
{
public List<ComparisonViewModel> tests { get; set; }
public Submission submission { get; set; }
}
} |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("CardBurstCommon")]
public class CardBurstCommon : Spell
{
public CardBurstCommon(IntPtr address) : this(address, "CardBurstCommon")
{
}
public CardBurstCommon(IntPtr address, string className) ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AccountApi.Core.Services;
using AccountApi.Core.Services.Responses;
using AccountApi.DataAccess;
using Moq;
using NUnit.Framework;
namespace AccountApi.Core.Tests
{
public class AccountCoreTests
{
[T... |
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using System.IO;
using System.Linq;
using Gurock.TestRail;
using Newtonsoft.Json.Linq;
using System.Colle... |
using ImmedisHCM.Data.Entities;
using ImmedisHCM.Data.Identity.Entities;
using ImmedisHCM.Data.Infrastructure;
using Microsoft.AspNetCore.Identity;
using NHibernate.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography.X509... |
using Psub.DataAccess.Abstract;
using Psub.DataService.Abstract;
using Psub.DataService.CommonViewModels;
using Psub.DataService.HandlerPerQuery.PublicationProcess.Entities;
using Psub.Domain.Entities;
using UESPDataManager.DataService.HandlerPerQuery.Abstract;
using System.Linq;
using AutoMapper;
namespace Psub.Data... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RGiesecke.DllExport;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
namespace re
{
public static partial class re
{
// *******************************... |
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using TheMinepack.Items;
namespace TheMinepack.Items.Weapons
{
public class SwordOfMeteors : ModItem
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BossController : AttachableObject {
public List<BossWeakpoint> weakpoints;
private List<ActionBased> actionList;
public GameObject popupSpawner;
private AutoQueue _BossMainQueue = new AutoQueue();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
class Cart : MovableObject
{
private char _toChar;
public Cart(Tile initialTile)
{
this.Spot = initialTile;
_toChar = 'F';
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Model.DataEntity;
namespace Model.InvoiceManagement.Validator
{
public static partial class ExtensionMethods
{
public const String __InvoiceNo... |
using HelperLibrary.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HelperLibrary.Models.Interfaces;
namespace HelperLibrary.Models
{
public class StudentModel : IPerson, ITable
{
public StudentModel(string firstname, st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TachyHealth.Models;
namespace TachyHealth.ViewModel
{
public class UsersViewModel
{
public IList<ApplicationUser> Users;
public UsersViewModel()
{
Users = new List<ApplicationUser>();... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Football.DAL.Entities
{
public enum TrainingType
{
Interval,
Game,
Speed,
RepeatedSprint
}
}
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestFramework;
namespace SeleniumTests
{
[TestClass]
public class AddMessagePageTests
{
[TestInitialize]
public void SetUp()
{
Browser.Open();
}
[TestMethod]
public void ... |
using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataAccess.Interfaces
{
/// <summary>
/// Interface usada como contrato para resolver
/// la logica de negocio para los clientes newshore
/// </summary>
publ... |
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using IMDB.Api.Services.Interfaces;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using ResponseDto = IMDB.Api.Models.ResponseDto;
using ViewModel = IMDB.Api.Models.ViewModel;
namespace IMDB.Api.Controllers
{
//[Au... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChangeJavaToC : AndroidJavaProxy
{
public ChangeJavaToC() : base("com.amap.api.location.AMapLocationListener"){ }
public delegate void DelegateOnLocationChanged(AndroidJavaObject amap);
public event DelegateOnLocat... |
/*
Copyright 2018 | 2153735 ONTARIO LTD | https://Stru.ca
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 applicable law or agreed to ... |
using DependencyInjectionSample.Data;
using DependencyInjectionSample.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
namespace APIChallenge
{
public class ClienteDados : IClienteDados
{
IDataBase dataBase;
public ClienteDados(IDataBase dataBaseCli... |
using GameStore.Domain.Infrastructure;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameStore.Domain.Identity
{
public class AppUserStore : UserStore<AppUser>
{
public AppU... |
using System;
using System.Linq;
using TreeDataStructure.Helper;
namespace TreeDataStructure
{
class Program
{
static void Main(string[] args)
{
TreeUsingLinkedList tree = new TreeUsingLinkedList();
while (true)
{
Console.WriteLine
... |
using System;
using System.Net;
namespace Microsoft.DataStudio.WebExtensions
{
public static class HttpWebResponseExtensions
{
public static Guid GetCorrelationId(this HttpWebResponse response)
{
string clientRequestId = response.GetResponseHeader("x-ms-client-request-id"); // stud... |
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_EffectController : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int Play(IntPtr l) {
try {
#if DEBUG
var method = System.Refl... |
using Koek;
using Microsoft.Extensions.Logging;
using System;
namespace Tests
{
public abstract class KoekTests : BaseTestClass, IDisposable
{
public KoekTests()
{
_loggerFactory = Microsoft.Extensions.Logging.LoggerFactory.Create(builder =>
{
builder.Ad... |
using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
{
var resourceDict = new Dictionary<string, int>();
while (true)
{
var input = Console.ReadLine();
if (input == "stop")
{
break;
... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml;
using System.IO;
using System.Text;
usi... |
using LogicBuilder.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
namespace Contoso.Forms.Parameters.Common
{
public class CommandColumnParameters
{
public CommandColumnParameters()
{
}
public CommandColumnParameters
(
... |
using GraphQL.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebAPI_GraphQL_DotNetCore.InputTypes
{
public class ArtistInputType : InputObjectGraphType
{
public ArtistInputType()
{
Name = "createArtistInput";
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace SampleApp.Samples
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class G... |
namespace testcs {
#region CDoclet generated code
/**
* <summary>
* Generated by CDoclet from test.TestInterfaceGeneric. Do not edit.
* </summary>
*/
public interface TestInterfaceGeneric<A, B> where A : System.DateTime? {
void Foo(A bar, B baz);
}
#endregion
}
|
namespace LuaInterface {
using System;
using System.Runtime.InteropServices;
using System.Reflection;
using System.Collections;
using System.Text;
using System.Security;
using LuaLu;
[AttributeUsage(AttributeTargets.Method)]
public sealed class MonoPInvokeCallbackAttribute : Attribute {
public MonoPInvokeC... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using SimpleBlogEngine.Services.Interfaces;
using SimpleBlogEngine.Web.Models.PostViewModels;
nam... |
using System.Runtime.Serialization;
namespace MediComponents.ViewModel
{
[DataContract]
public class ABCompViewModel : ViewModel
{
public string Title
{
get { return string.Format(Strings.FormulaTitleFormatString, Strings.AppTitle, Strings.ABCompTitle); }
}
private int _ph;
[DataMember]
... |
using MCC.Core.Manager;
using MCC.Utility.IO;
using Reactive.Bindings;
using System;
using System.IO;
namespace MultiCommentCollectorCLI
{
public class Setting
{
#region Singleton
private static Setting instance;
public static Setting Instance => instance ??=
XmlSerializer... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace BasesDatos.Modulo_SQL
{
/// <summary>
/// Formulario para la parte de las consultas
/// </summary>
public partial class SQL_formulario : System.Windows.Forms.Form
{
private TabPage nueva_... |
using Padeg;
namespace HouseCostCalculation
{
public class Owner
{
private string ownerAddress;
private string ownerOVD;
private string initials;
private string firstName;
private string lastName;
private string passSerial;
private string passRegDate;
... |
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
// VisualNovelToolkit /_/_/_/_/_/_/_/_/_/.
// Copyright ©2013 - Sol-tribe. /_/_/_/_/_/_/_/_/_/.
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
using UnityEngine;
using System.Collections.Generic;
/// <summary>
/// PlayTransition Node.
/// </summary>
... |
using Serilog;
public class Runner
{
private readonly ILogger _log;
public Runner(ILogger log)
{
_log = log;
}
public void DoAction(string name)
{
_log.Debug("Doing hard work! {Action}", name);
}
} |
using AutoMapper.QueryableExtensions;
using Microsoft.EntityFrameworkCore;
using MutationMode.UI.Models.Entities;
using MutationMode.UI.Models.ViewModels;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System... |
using Everest.Entities;
using System.Threading.Tasks;
namespace Everest.Repository.Interfaces
{
public interface IPromocionAnuncioRepository
{
Task<PromocionAnuncioEntity> ConsultarPromocionAsync();
Task<int> CrearPromocionAnuncioAsync(int idAnuncio);
Task<bool> AgendarPromocionAnuncio... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_FMPosSimulation : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int Initialize(IntPtr l)
{
int result;
try
{
FMPosSimulation fMPosSimulation = (FMPosSimulation)LuaObject.checkSelf(l);
Vector3 pos_c... |
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;
using System.Reflection;
namespace scaner
{
public partial class ViewTicketMeta : Form
{
string data1;
string d... |
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace Repository.Interface
{
public interface ICallLogRepository
{
/// <summary>
/// Send Call-log
/// </summary>
/// <param na... |
using Project_CelineGardier_2NMCT2.model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
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 Syste... |
using System;
namespace Timelogger.Api
{
public class ProjectOverviewModel
{
public int Id { get; set; }
public string Name { get; set; }
public double TimeLogged { get; set; }
public DateTime Deadline { 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.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace Minesweeper
{
public part... |
using UnityEngine;
public struct HittingColor {
public KeyCode KeyCode;
public Color Color;
public HittingColor(KeyCode keyCode, Color color) {
KeyCode = keyCode;
Color = color;
}
} |
//
// 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.Runtime.Serialization;
using Dnn.PersonaBar.Users.Components.Dto;
namespace Dnn.PersonaBar.Users.Components.Contracts
{
[DataContract]
... |
// Decompiled with JetBrains decompiler
// Type: PingMonitor.HelpForm
// Assembly: PingMonitor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: C7F21AE2-E822-440B-97D1-7ECAE911FD7D
// Assembly location: G:\Projects\PingMonitor\PingMonitor\bin\Debug\PingMonitor.exe
using System;
using System.ComponentMo... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Soduku
{
class Sudoku
{
int[,] board;
public Sudoku() {
board = new int[9, 9];
}
public void SetSodukuBoard(int[,] board) {
this.board = board;
}
public int[,... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Infrastructure.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Categoria",
... |
using Microsoft.AspNet.Http.Extensions;
using Microsoft.AspNet.Mvc;
namespace HaloHistory.Web.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
if (Request.Path.HasValue && !Request.Path.Value.EndsWith("/"))
{
return... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Kers.Models.Entities.KERScore
{
public partial class LadderStageRole : IEntityBase
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
... |
using System;
namespace Tff.Panzer.Models.Army
{
public enum EmbarkTypeEnum
{
Air = 0,
Sea = 1,
None = 2
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Newtonsoft.Json;
using System.IO;
using Newtonsoft.Json... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using System;
using System.Collections.Generic;
using System.Text;
namespace HangoutsDbLibrary.Data
{
public class DesignTimeDbContextFactory : IDesignTimeDbContextFactory<HangoutsContext>
{
public HangoutsContext CreateD... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Pitstop
{
public class HHRelai : MonoBehaviour
{
[SerializeField] bool isFinalRelay = false;
[SerializeField] GameObject nextPoint = default;
GorillaBehaviour gorillaBehaviour;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using ALTechTest.DataTransferObjects;
namespace ALTechTest.ViewModels
{
public class RecordingViewModel
{
public RecordingViewModel(RecordingDto recording)
{
Id = recording.Id;
Title = recording.Title;
... |
using UnityEngine;
using System.Collections;
namespace AntColony
{
public class PheromoneGland : MonoBehaviour
{
[Tooltip("The radius of the produced pheromone trail")]
public float Diameter = 1;
[Tooltip("The delay in seconds between each pheromone production step")]
public f... |
using PropertyChanged;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PuddingWolfLoader.Framework.ViewModel
{
[AddINotifyPropertyChangedInterface]
public class DashboardViewModel
{
public int ModuleCount { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Json;
namespace PricingService
{
public interface IProductRepository
{
Product GetProduct(int productId);
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MusicManager : MonoBehaviour
{
public AudioSource music;
public AudioSource explosion;
public AudioSource keyboard;
public AudioClip[] keyPresses;
public AudioClip[] musicLoops;
public AudioClip[] expl... |
using OpenTK;
namespace Calcifer.Engine.Particles
{
public class Particle
{
private readonly ParticlePool owner;
internal readonly int ID;
internal bool Destroyed;
public Vector3 Position, Velocity, Force;
public float Rotation, AngularVelocity, TTL;
public boo... |
using System;
using Share;
using UnityEngine;
namespace Viewer
{
public sealed class PointDataSupplierUdp : MonoBehaviour, IPointDataSupplier
{
[SerializeField]
private PackedMessageSupplier packedMessageSupplier;
public IObservable<PackedMessage.IdentifiedPointArray> OnReceivePointDat... |
//
// 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 DotNetNuke.Security;
#endregion
namespace DotNetNuke.Services.EventQueue.Config
{
[Serializable]
public cla... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.