text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
namespace Indexer
{
public class Demo2
{
public static void Run()
{
List<Person> myPeople = new List<Person>();
myPeople.Add(new Person("Lisa", "Simpson", 9));
myPeople.Add(new Person("Bart", "Simpson", 7));
... |
/// <summary>
/// The <c>gView.Framework</c> provides all interfaces to develope
/// with and for gView
/// </summary>
namespace gView.Framework.system
{
public interface ICancelTracker
{
void Cancel();
void Pause();
bool Continue { get; }
bool Paused { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mojang.Minecraft.Protocol.Providers;
namespace Mojang.Minecraft
{
public class Player : IPackageField
{
public Uuid UUID { get; private set; }
void IPackageField.FromFiel... |
namespace Demo.Interfaces
{
public interface ICtcImporter
{
List<string> ReadLines(string sourceDirectory);
}
} |
using Backend.Model.Manager;
using GraphicalEditorServer.DTO;
namespace GraphicalEditorServer.Mappers
{
public class EquipmentTypesMapper
{
public static EquipmentType EquipmentTypeDTO_To_EquipmentType(EquipmentTypeDTO equipmentTypeDTO)
{
return new EquipmentType(equipmentTypeDTO.N... |
//-----------------------------------------------------------------------
// <copyright file="ColorReconstruction.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace M... |
using BusVenta;
using DatVentas;
using EntVenta;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Management;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
name... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
using System.Windows.Media;
namespace DmxController.Converters
{
/// <summary>
/// Sert à faire la conversion de ColorBrush vers Color
... |
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.OleDb;
namespace CountDownGame
{
public partial class frmMain : MetroFramework.For... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace GradConnect.Migrations
{
public partial class newmig : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "AspNetRoles",
... |
using Cs_Gerencial.Dominio.Entities;
using Cs_Gerencial.Dominio.Interfaces.Repositorios;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Gerencial.Infra.Data.Repositorios
{
public class RepositorioParticipantes: RepositorioBase<Parti... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class xAnimControl : MonoBehaviour
{
// public Animator animator;
public GameObject clip_board;
public void play_clipboard()
{
Animator anim = clip_board.GetComponent<Animator>();
anim.... |
using System;
namespace Utilities
{
// A collection of common functions used in code
public class Functions
{
/// <summary>The direct distance in light years from one point in space to another.</summary>
public static decimal? StellarDistanceLy(decimal? x1, decimal? y1, decimal? z1, decima... |
/**************************************
*
* Does not allow Character to Move and
* Attack for a set duration
*
**************************************/
using UnityEngine;
namespace DChild.Gameplay.Combat.StatusEffects
{
public class StatusEffectFXHandler
{
private Transform m_parent;
pr... |
using Alabo.Data.People.Counties.Domain.Entities;
using Alabo.Data.People.Counties.Domain.Services;
using Alabo.Framework.Core.WebApis.Controller;
using Alabo.Framework.Core.WebApis.Filter;
using Microsoft.AspNetCore.Mvc;
using MongoDB.Bson;
namespace Alabo.Data.People.Counties.Controllers
{
[ApiExceptionFilter]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Anywhere2Go.Business.Master;
using Anywhere2Go.DataAccess.Object;
using Anywhere2Go.DataAccess.Entity;
using Claimdi.Web.MY.Filters;
using System.Web.Security;
using Claimdi.Web.MY.Helper;
using Claimdi.Web... |
using BankAppCore.Data.Converters;
using BankAppCore.Data.Repositories;
using BankAppCore.DataTranferObjects;
using BankAppCore.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using static BankAppCore.Data.EFContext.E... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace StarBastard.Windows.Infrastructure
{
public class GameInfrastructure
{
public GameTime GameTime { get; set; }
public SpriteBatch SpriteBatch { get; set; }
public GraphicsDeviceManager GraphicsDeviceManager... |
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using Alabo.Industry.Offline.Product.Domain.Entities;
using MongoDB.Bson;
namespace Alabo.Industry.Offline.Product.Domain.Repositories
{
public class MerchantProductRepository : RepositoryMongo<MerchantProduct, ObjectId>, IMerchantProductRepository
... |
using ScriptableObjectFramework.Events.UnityEvents;
using UnityEngine;
namespace ScriptableObjectFramework.Sets
{
[CreateAssetMenu(fileName = "NewGameObjectSet", menuName = "Scriptable Objects/Sets/Game Object")]
public class GameObjectRuntimeSet : RuntimeSet<GameObject, GameObjectUnityEvent>
{
}
}
|
using OpenTK;
using OpenTK.Graphics;
using StorybrewCommon.Mapset;
using StorybrewCommon.Scripting;
using StorybrewCommon.Storyboarding;
using StorybrewCommon.Storyboarding.Util;
using StorybrewCommon.Subtitles;
using StorybrewCommon.Util;
using System;
using System.Drawing;
using System.Collections.Generic;
using Syst... |
using DependencyViewModel;
using KinectSandbox.Capture.ColorMapping;
using KinectSandbox.Common;
using KinectSandbox.Common.Events;
using Microsoft.Kinect;
using Microsoft.Practices.Prism.PubSubEvents;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
us... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Construction_Project
{
public partial class EmployPayments : System.Web.UI.Page
{
... |
using System;
namespace CC.Mobile.Routing
{
public interface IScreenlessEnabled{
event EventHandler<CompletionEventArgs> OnCompleted;
void Start();
void Stop();
}
} |
/***************************************
*
* This class is use to isolate Time to each object
*
***************************************/
using Sirenix.OdinInspector;
using UnityEngine;
namespace DChild.Gameplay.Objects
{
[System.Serializable]
public abstract class IsolatedTime : MonoBehaviour, IIsolate... |
using BO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TpRace.Controllers
{
public class RaceController : Controller
{
private static List<Race> races= new List<Race>();
// GET: Race
public A... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace WcfAukcija
{
public class ListaKlijenata
{
public List<Klijent> klijenti;
private static ListaKlijenata instance = null;
private static o... |
using System;
namespace BinarySearchTreeVisualizer
{
class Program
{
static void Main(string[] args)
{
int[] testData = new int[10];
testData[0] = 5;
testData[1] = 9;
testData[2] = 4;
testData[3] = 1;
testData[4] = 2;
... |
using System;
namespace SOLIDPrinciples.CouplingProblem.Example02.Good
{
public class DespachadorDeNotasFiscais
{
private NFDao dao;
private CalculadorDeImposto impostos;
private EntregadoresDeNFs entregadoresDeNFs;
public DespachadorDeNotasFiscais(
NFDao dao,
... |
using System;
using System.Collections.Generic;
using DFC.ServiceTaxonomy.GraphSync.Models;
namespace DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Contexts
{
public interface IDescribeRelationshipsContext : IGraphSyncContext
{
IServiceProvider ServiceProvider { get; }
List<ContentIte... |
namespace Sentry.Android.AssemblyReader;
/// <summary>
/// Writes a log message for debugging.
/// </summary>
/// <param name="message">The message string to write.</param>
/// <param name="args">Arguments for the formatted message string.</param>
public delegate void DebugLogger(string message, params object?[] args)... |
namespace AGCompressedAir.Domain.Domains.Base
{
public interface IEntity<out T> : IDomain
{
new T Id { get; }
}
} |
using System.ComponentModel;
using System.Windows.Forms;
namespace Com.Colin.Win.Customized
{
public class MyControl:Control
{
private License license = null;
public MyControl()
{
license = LicenseManager.Validate(typeof(MyControl), this);
}
protected overri... |
using Pe.Stracon.Politicas.Aplicacion.TransferObject.Request.General;
using Pe.Stracon.Politicas.Aplicacion.TransferObject.Response.General;
using Pe.Stracon.Politicas.Infraestructura.CommandModel.General;
using Pe.Stracon.Politicas.Infraestructura.Core.Context;
using Pe.Stracon.Politicas.Infraestructura.QueryModel.Ge... |
using System.Data;
public class MovementDAL
{
public static DataTable GetAllMovement()
{
var db = new SQLDBAccess("CIPConnectionString");
db.AddParameter("@Action", "All");
return db.FillDataTable("usp_Movement_Select");
}
public static DataTable GetMovementFedIDsByUserID(int ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace Athenaeum.Models
{
public class NewsArticle
{
public int NewsArticleId { get; protected set; }
public string Title { g... |
using DemoF.Core.Repositories;
using DemoF.Persistence.Repositories;
using Microsoft.EntityFrameworkCore;
using System;
namespace DemoF.Persistence
{
public class UnitOfDemof : UnitOfWork<DemofContext>, IUnitOfDemof
{
private readonly DemofContext context;
public IUserRepositoryDapper Users {... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Description résumée de ProduitRepository
/// </summary>
public class ProduitRepository
{
protected GammeRepository gammeRepository;
protected ModeleGammeRepository modeleGammeRepository;
public ProduitR... |
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 calc_pro
{
public partial class Form1 : Form
{
public Form1()
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
namespace ExampleBot.Modules
{
public class ExampleModuleBase<T> : ModuleBase<T> where T : class, ICommandContext
{
public IDependencyMap Dependenc... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XH.Infrastructure.Domain.Models;
namespace DSM.ImportData.Resolvers
{
public class LocalFileEntityEnumerator<T> : IEntityDataSourceEnumerator<T>, IDi... |
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.FSM.Editor
{
/// <summary>
/// A custom property drawer for FiniteStateMachineReference. Makes it possible to choose between a FSM or a FSM Instancer.
/// </summary>
[CustomPropertyDrawer(typeof(FiniteStateMachineReference), true)]
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EBS.Application.DTO;
namespace EBS.Application
{
public interface IRoleFacade
{
void Create(RoleModel model);
void Edit(RoleModel model);
void Delete(string ids);
... |
using System;
using System.Collections.Generic;
/*Write a program that finds in given array of integers a sequence of given sum S (if present).
Example:
array S result
4, 3, 1, 4, 2, 5, 8 11 4, 2, 5*/
class Program
{
static int Sum(List<int> list)
{
int sum = 0;
... |
using System.Collections.Generic;
using System.Xml.Serialization;
using Tomelt.ContentManagement.Records;
using Tomelt.Data.Conventions;
namespace Tomelt.MediaProcessing.Models {
public class ImageProfilePartRecord : ContentPartRecord {
public ImageProfilePartRecord() {
Filters = new List<Filt... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace StreamTest
{
public static class BinaryReaderTest
{
public class Product
{
public int Id { get; set; }
public string Name { get; set; }
public double Price { get; s... |
namespace Reacher.Shared.Common
{
public class ClientProvider : IClientProvider
{
private readonly string _clientId;
public ClientProvider(string clientId)
{
_clientId = clientId;
}
public string ClientId() => _clientId.ToLowerInvariant();
}
} |
using Vintagestory.API.Common;
namespace OreCrystals
{
class RegisterEntities : ModSystem
{
public override void Start(ICoreAPI api)
{
base.Start(api);
api.RegisterEntity("EntityCrystalLocust", typeof(EntityCrystalLocust));
api.RegisterEntity("EntityCrystal... |
using System.Collections.Generic;
namespace libairvidproto.model
{
public class Folder : AirVidResource
{
public static readonly int ContentType = (int)EmContentType.Folder;
public Folder(AirVidServer server, string name, string id, NodeInfo parent) : base(server, name, id, parent)
... |
using System;
using System.Runtime.Serialization;
namespace DBAccess.Exceptions
{
[Serializable]
internal class InvalidRepositoryTableException : Exception
{
public InvalidRepositoryTableException()
{
}
public InvalidRepositoryTableException(string message) : base(message)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RC.Infra
{
public class RCAlert
{
public string Message { get; set; }
public AlertType Type { get; set; }
public string HTMLClass { get; private set; }
public string UrlHelp { get; s... |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using StackExchange.Profiling.Storage;
using NUnit.Framework;
using System.IO;
using System.Data.SqlServerCe;
using StackExchange.Profiling.Helpers.Dapper;
using StackExchange.Profiling.Data;
namespace StackE... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
using CYJ.DingDing.Dto.Dto.Base;
namespace CYJ.DingDing.Dto.Dto
{
public class ProcessListResponse : DingTalkResponse
{
/// <summary>
/// result
/// </summary>
public DingOpenResu... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Agencia_Datos_Entidades;
namespace Agencia_Datos_Repositorio
{
public class Repositorio<T>:IRepositorio<T>, IDisposable where T: class
{
private readonly ... |
using System;
using System.Collections.Generic;
using System.Text;
using TruckPad.Services.Models;
namespace TruckPad.Tests
{
public class DummyDataDBInitializer
{
public DummyDataDBInitializer()
{
}
public void Seed(TruckPadContext context)
{
context.Datab... |
using System;
namespace Uintra.Features.Subscribe.Models
{
public class ActivitySubscribeSettingDto
{
public Guid ActivityId { get; set; }
public bool CanSubscribe { get; set; }
public string SubscribeNotes { get; set; }
}
} |
using UnityEngine;
using System.Collections;
public class ToggleOutline : MonoBehaviour {
public Shader normalShader = Shader.Find("Diffuse");
public Shader outlinedShader = Shader.Find("Outlined/Silhouetted Diffuse");
public void OriginalShader(Shader original)
{
normalShader = original;
}
public void Tur... |
// ScoreManagerMono script. This wraps a ScoreManager UI written in gdscript that utilises SilentWolf Leaderboard addon
// To use, change the config in score_unit.gd, and instance this node in a scene.
// Don't forget to customise the UI elements in this node and in pnl_scoreunit
// If you expect the positions / high s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AnimationMapper : MonoBehaviour
{
private FinalResult result;
private AnimationBiulder biulder;
void Start()
{
//result = GetComponent<FinalResult>();
//biulder = GetComponent<Anima... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Operations.Extensions
{
public static class StringExtensions
{
/// <summary>
/// Perform case insensitive equal on two strings
/// </summary>
/// <param... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AIweapon2 : MonoBehaviour
{
public float speed = 3.0f;
public float obstacleRange = 5.0f;
public float speeed = 100;
[SerializeField] private GameObject fireballPrefab;
private GameObject _fireball;
void Update() {
tra... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shipwreck.TypeScriptModels.Declarations
{
public enum AccessibilityModifier
{
None,
Public,
Private,
Protected
}
} |
using EBS.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EBS.Query.DTO;
namespace EBS.Query
{
public interface IProductQuery
{
IEnumerable<ProductDto> GetPageList(Pager page, string name, string codeOrBarCode, strin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ledge_Controller : MonoBehaviour
{
[Header("Climable Layer")]
public LayerMask climbable;
[Header("Detection Points")]
public Vector3 top;
public Vector3 mid;
public Vector3 bottom;
public float l... |
using System;
using Tweetinvi.Controllers.Messages;
using Tweetinvi.Models;
using Tweetinvi.Models.DTO;
using Tweetinvi.Parameters;
namespace Tweetinvi.Json
{
public static class MessageJson
{
[ThreadStatic]
private static IMessageJsonController _messageJsonController;
public static IM... |
/*
Copyright (C) 2020 Federico Peinado
http://www.federicopeinado.com
Este fichero forma parte del material de la asignatura Inteligencia Artificial para Videojuegos.
Esta asignatura se imparte en la Facultad de Informática de la Universidad Complutense de Madrid (España).
Autor: Federico Peinado ... |
using Ardalis.Specification;
using FrontDesk.Core.Aggregates;
namespace FrontDesk.Core.Specifications
{
public class ClientsIncludePatientsSpecification : Specification<Client>
{
public ClientsIncludePatientsSpecification()
{
Query
.Include(client => client.Patients)
.OrderBy(client ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System;
namespace DSSAHP.Tests
{
[TestClass]
public class MatrixTest
{
private MatrixAHP Matrix { get; set; }
public MatrixTest()
{
double[,] values = new double[3, 3]
{
... |
using System;
using System.Collections.Specialized;
using System.Windows.Forms;
using Laan.AddIns.Core;
using Laan.AddIns.Forms;
namespace Laan.AddIns.Actions
{
[ResultsMenu]
public class SaveResultAs2 : SaveResultsAs
{
public SaveResultAs2( AddIn addIn ) : base( addIn )
{
... |
using PCLStorage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Plugin.Share.Abstractions;
using Xamarin.Forms;
namespace TestApp
{
public partial class CodeEditor : TabbedPage
{
private string path;
... |
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021.Behaviors
{
interface ISlider
{
float Slide { get; }
}
class SliderScene : ISlider
{
Scene Scene;
float F... |
using NBatch.Main.Core;
namespace NBatch.ConsoleDemo
{
public class ProductUppercaseProcessor : IProcessor<Product, Product>
{
public Product Process(Product input)
{
return new Product
{
ProductId = input.ProductId,
Name = inpu... |
namespace Tutorial.Functional
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
internal static partial class Functions
{
internal static void MethodWithLocalFunction... |
using System;
using UnityEngine;
using UnityEngine.AI;
/// Author: Corwin Belser
/// Used by EnemyController to create patrolling behavior
public class PatrolPoint : MonoBehaviour {
public int PATROL_GROUP = 0;
public PatrolPoint NEXT;
}
|
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities.Core;
using System;
namespace Alabo.Datas.Stores.Distinct.EfCore {
public abstract class DistinctEfCoreStore<TEntity, TKey> : DistinctAsyncEfCoreStore<TEntity, TKey>,
IDistinctStore<TEntity, TKey>
where TEntity : class, IKey<TKey>, IVers... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
namespace Pronto.Common
{
public abstract class DataAccess
{
public abstract string LoadConnectionString();
public abstract ... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace E1
{
class Program
{
static void Main(string[] args)
{
List<Persona> personas = new List<Persona>();
Persona p1 = new Persona(35, "Juan", "Perez");
Persona p2 = new Pers... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sparda.Contracts
{
public interface IColumn
{
string Group { get; }
string BusinessType { get; }
bool HasDefaultValue { get; }
bool IsBackendCalculated(... |
using System;
using System.Collections.Generic;
using System.Text;
namespace NumbersToWords
{
public interface IHundredConverter
{
string ConvertValueHundredToWordHundred();
}
}
|
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Tndm_ArtShop.Data;
using Microsoft.Extensions.Co... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using System.Security.Cryptography;
namespace CNWTT.Core.Admin
{
public class AdminCore
{
public static void caculatorPrice(string selectPrice,out string startCost,out string endCost)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.Dominio.Models.Marketplaces.Entityes;
using Welic.Dominio.Models.Marketplaces.Services;
using Welic.Dominio.Patterns.Repository.Pattern.Repositories;
using Welic.Dominio.Patterns.Service.Patt... |
namespace Orc.FileSystem;
using System.IO;
public interface IDirectoryService
{
string Create(string path);
void Move(string sourcePath, string destinationPath);
void Delete(string path, bool recursive = true);
bool Exists(string path);
string[] GetDirectories(string path, string searchPattern = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SeaFight.Infrastructure
{
public class Player
{
public Player()
{
Name = CreateName();
MyShotHistory = new List<PointCoords>();
}
... |
using eMAM.Data.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace eMAM.Service.DbServices.Contracts
{
public interface IAttachmentService
{
Task<Attachment> AddAttachmentAsync(Attachment attachment);
}
}
|
using SFA.DAS.CommitmentsV2.Shared.Interfaces;
using SFA.DAS.ProviderCommitments.Web.Models;
using System.Threading.Tasks;
namespace SFA.DAS.ProviderCommitments.Web.Mappers.Cohort
{
public class SelectDeliveryModelViewModelFromCreateCohortWithDraftApprenticeshipRequestMapper : IMapper<CreateCohortWithDraftApprent... |
using BaseFacware.API.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace BaseFacware.API.Contro... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AudioText.DAL;
using AudioText.Models;
using AudioText.Models.ViewModels;
namespace AudioText.Controllers
{
/// <summary>
/// used to view inventory items
/// </summary>
[AllowAnonymous]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FollowMouseBehaviour : MonoBehaviour
{
private Camera cam;
public Vector3Data postionOfMouse;
private void Start()
{
cam = Camera.main;
}
public void Update()
{
if (Physics.Raycast... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using System.IO;
using Newtonsoft;
using Newtonsoft.Json;
using Demo_Wpf_TheSimpleGame.Models;
namespace Demo_Wpf_TheSimpleGame.Data
{
public class DataServiceJson : ... |
using EPI.Searching;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.Searching
{
[TestClass]
public class BinarySearchInTwoSortedArrayUnitTest
{
[TestMethod]
public void SearchKthInTwoSortedArrays()
{
int[] A = new[] { 2, 4, 6, 8};
int[] B = new[] { 1... |
using Autofac;
using SSW.RulesSearchCore.Elastic;
namespace SSW.RulesSearchCore.Web
{
public class RulesSearchWebModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.RegisterModule(new ElasticSearchModule(new ElasticSearchSettings()
{
... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore.ChangeTracking;
using Task.Model;
namespace Task.Services
{
public class CommentService
{
public CommentService(BaseDbContext context)
{
... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
using System;
using System.Collections.Generic;
using System.Text;
namespace FiiiChain.Business
{
public class ConsensusComponent
... |
using ArticlesProject.DatabaseEntities;
using ArticlesProject.Repository.Interfaces;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ArticlesProject.Repository.Implementations
{
public class Repository<TEntity> : IRepository<TEnt... |
using UnityEngine;
using System.Collections;
public enum EvalState
{
PERFECT,
GREAT,
GOOD,
MISS
}
public class CEvalQuoteCtrl : CFollowCtrl
{
private UIWidget _widget;
private Transform _tr;
private bool _isReset;
private float _time;
private string _perfectText;
private stri... |
using UnityAtoms.BaseAtoms;
using UnityEngine;
using UnityEngine.InputSystem;
namespace UnityAtoms.InputSystem
{
public class CallbackContextInterpreter<T, P, C, V, E1, E2, F, VI> : BaseAtom
where T : struct
where P : struct, IPair<T>
where C : AtomBaseVariable<T>
where V : AtomVari... |
using UnityEngine;
using System.Collections;
/*This class allows the player to complete the level
* once the apple has been chosen
*/
public class apple : MonoBehaviour {
public int waitTime;
public GameObject back;
//if the game door is not zoomed in on the camera zooms in
void OnMouseDown()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using XH.Domain.Catalogs.Models;
using XH.Infrastructure.Mapper;
using XH.Queries.Categories.Dtos;
namespace XH.Query.Handlers.Configs
{
public class CategoriesMapperRegistrar : IA... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PropositionalFormulaProver.Prover;
namespace PropositionalFormulaProver.Prover.Node
{
public class Supset : INode
{
INode left;
INode right;
string symbol = @"\supset ";
public Supset(I... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.