text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using CollaborativeFiltering;
using CollaborativeFiltering.Algorithms;
using CollaborativeFiltering.Evaluations;
namespace ConsoleTester
{
class Program
{
static string _moviesPath = "movie_ti... |
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 System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CitizenFX.Core;
using static CitizenFX.Core.Native.API;
using CitizenFX.Core.UI;
namespace GTAOnline_FiveM {
class Christmas : BaseScript {
/*
* Credit to TomGrobb... |
using System;
using System.Drawing;
using System.Windows.Forms;
using StarBastard.Core.Universe.Systems;
using StarBastard.Windows.Prototype.GameFlow;
namespace StarBastard.Windows.Prototype.Rendering
{
public class BackgroundRenderer : IRender<GameBoardViewModel>
{
public Action<object, object, Event... |
namespace gView.Framework.FDB
{
public interface IReportProgress
{
void AddDelegate(object Delegate);
}
}
|
using System;
namespace Treorisoft.InputReader.Native
{
[Flags]
public enum MouseFlag : ushort
{
MoveRelative = 0,
MoveAbsolute = 1,
VirtualDesktop = 2,
AttributesChanged = 4
}
}
|
using CreditasChallenge.Domain.ValueObject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CreditasChallenge.Domain.Entities
{
public class ProdutoServico : Produto
{
public DateTime Inicio { get; private set; }
pu... |
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
[assembly: ExportFont("font_awesome_free_regular.otf", Alias = "FA_Regular")]
[assembly: ExportFont("font_awesome_free_solid.otf", Alias = "FA_Solid")] |
using gView.Framework.Carto;
using gView.Framework.IO;
using gView.Framework.system;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace gView.MapServer
{
public interface IMapServer
{
Task<IEnumerable<IMapService>> Maps(IIdentity identity);
Task<IServiceMap... |
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 org.allseen.LSF.LampState;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Devices.AllJoyn;
using Windows.Foundation;
using Windows.Foun... |
# region Includes
using System;
using System.Drawing;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Color = Microsoft.Xna.Framework.Color;
using Rectangle = Microsoft.Xna.Framework.Rectangle;
# endregion
// ReSharper disable UnusedMember.Global
namespace RobX.Simulator
{
/// <summ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace OrgMan.DomainContracts.File
{
public class UploadFileQuery
{
public List<Guid> MandatorUIDs { get; set; }
public List<Guid> FileMandatorUIDs { get; ... |
using Sentry.Android.Facades;
namespace Sentry.Android.Extensions;
internal static class SamplingContextExtensions
{
private static readonly Dictionary<string, object?> EmptyObjectDictionary = new();
public static TransactionSamplingContext ToTransactionSamplingContext(this JavaSdk.SamplingContext context)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using TaskList.Models;
namespace TaskList.Controllers
{
[Authorize]
public class TasksController : Controller... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CheckOnGround
{
const float distanceToGround = 0.1f;
public bool isGround { get; private set; }
public void CheckisGrounded(GameObject obj)
{
isGround = false;
RaycastHit hit;
Capsule... |
using System.Collections.Generic;
using Tomelt.ContentManagement;
using Tomelt.MediaLibrary.Fields;
namespace Tomelt.MediaLibrary.ViewModels {
public class MediaLibraryPickerFieldViewModel {
public ICollection<ContentItem> ContentItems { get; set; }
public string SelectedIds { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[ExecuteAlways]
public class EditorWindowDemo_1 : EditorWindow
{
ExamplePupupContent popupContent = new ExamplePupupContent();
[MenuItem("Window/EditorWindowDemo_1")]
static void Open()
{
GetWindo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum ButtonStyle
{
PingPong
}
public class ButtonEffect : MonoBehaviour
{
[SerializeField]
private ButtonStyle buttonStyle;
[SerializeField]
private float moveValue = 0.1f;
// Use this for initialization
... |
using System;
using Unity.Mathematics;
using UnityEngine;
namespace SoulHunter.Player
{
public class PlayerMovement : MonoBehaviour, Input.IMoveInput // Mort
{
[Header("Movement Attributes")]
public float moveSpeed = 3f;
public float jumpSpeed = 8f;
public float swingForce = 4... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Obstacle : MonoBehaviour {
void Start()
{
}
void Update()
{
}
public void OnCollisionEnter2D(Collision2D collision)
{
Debug.Log("collision detected: " + this.name + " and " + collision.gameObjec... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using QuikGraph;
using System;
public class Starlane : IUndirectedEdge<Node>
{
public CartezianLine line;
public string texturePath = "starlane.png";
private readonly Node source;
private readonly Node target;
public St... |
using System.Web.Optimization;
namespace FirstWebStore.App_Start
{
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new StyleBundle("~/bundles/CSS").Include(
"~/Content/StyleSheet1.css"));
bundles.Ad... |
using Hardcodet.Wpf.TaskbarNotification;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Dashboard.Helpers
{
public static class AppInitializer
{
public stat... |
public enum RotationEffect {
NOTHING = 0,
MIRROR_X = 1,
MIRROR_Y = 2,
ROTATE_90 = 3,
ROTATE_180 = 4,
ROTATE_270 = 5,
}
|
using ICE_API.models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ICE_API.Services
{
public interface IAdminService
{
Admin Authenticate(string email, string password);
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Unity.Transforms;
using Unity.Mathematics;
using Unity.Entities;
public class SceneEntry : MonoBehaviour
{
public GameObject CharacterPrefab;
public int CharacterCount;
// Start is called before... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DistCWebSite.Core.Entities;
namespace DistCWebSite.Core.Interfaces
{
public interface ISFEHospitalRespository
{
int Add(M_SFEHospital hos);
int Update(M_SFEHospital hos);
... |
using fileCrawlerWPF.Media;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace fileCrawlerWPF.Filters
{
sealed class Filterer
{
// @todo maybe refactor into its own Wrapper?
// experiment with [] operators
private readonly Dictionary<FilterContext, IFilte... |
using System;
namespace Proxy
{
public class CaixaEletronico : ICaixaEletronico
{
private bool PossuiClienteUsando = true;
private string ClienteAtual = "José Batata dos Santos";
private bool Ligada = true;
private int SaldoInterno = 30000;
private Action AcaoTriggerInicial;
public bool ClienteUsan... |
// Bar POS, class TableProductsList
// Versiones:
// V0.01 14-May-2018 Moisés: Basic skeleton
// V0.02 15-May-2018 Moisés: Methods completeds
// V0.03 24-May-2018 Moisés: Methods contains and indexOf
// V0.04 25-May-2018 Moisés: methods get by a product and delete by a product
using System;
using System.Collections.... |
using AutoMapper;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using SFA.DAS.Tools.Support.Core.Models;
using SFA.DAS.Tools.Support.Infrastructure.Services;
using SFA.DAS.Tools.Support.Web.Configuration;
using SFA.DAS.Tools.Support.Web.Models;
using System;
using System.Collections.Generic;
usin... |
// Copyright 2013-2015 Serilog Contributors
//
// 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... |
using System;
namespace frog
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
//comments!
public static int solution(int X, int Y, int D)
{
int jumps = 0;
while(X < Y)
{
... |
using System;
namespace Bolster.Base
{
public class CanFailAttribute : Attribute
{
public string FaultReason { get; }
public CanFailAttribute(string faultReason) {
FaultReason = faultReason;
}
}
public class CanFailWithAttribute : CanFailAttribute
{
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using CryptoLab.Infrastructure.DTO;
namespace CryptoLab.Infrastructure.IServices
{
public interface IWalletService
{
Task<IEnumerable<WalletDto>> GetAllAsync(Guid userId);
Task AddAsync(IEnumerable<string> currencies,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace Grundläggande_modellering
{
public class Utils
{
static Random generator = new Random();
public static int checkIfNumber(string line)
{
... |
using Microsoft.AspNetCore.Mvc;
using MyCollection.Context;
using MyCollection.Repository;
namespace MyCollection.UnitOfWork
{
public class UnitOfWork : IUnitOfWork
{
Repository.RepositoryUser userRepository;
Repository.RepositoryItens itensRepository;
Repository.RepositoryVinculo vin... |
using MonkeyCache.FileStore;
using NewBeeProject.Models;
using NewBeeProject.Services;
using Prism.Navigation;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace NewBeeProject.ViewModels
{
public class HomeMasterDetailPageViewModel
{
public APIService _ser... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Obstacle : MonoBehaviour {
public float ypos;
public float speed = 0.02f;
public float startY=15f;
public Vector3 destructionPoint = new Vector3(0,-20,0);
public GameObject gm;
public bool f... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Utilities.cs">
// Copyright (c) 2021 Johannes Deml. All rights reserved.
// </copyright>
// <author>
// Johannes Deml
// public@deml.io
// </author>
// ---------------------... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace XH.APIs.WebAPI.Models.Hazards
{
[DataContract]
public class UpdateHazardLevelRequest : CreateOrUpdateHazardLevelRequest
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerInputManager : MonoBehaviour
{
public bool touchHitPlayer = false;
private PlayerUtilities playerUtilities;
private void Start()
{
playerUtilities = GetComponent<PlayerUtilities>()... |
using Brambillator.Historiarum.Domain.UnitOfWork;
using Microsoft.EntityFrameworkCore;
using System;
using Brambillator.Infrastructure.Domain.Repositories;
using Brambillator.Historiarum.Domain.Model;
namespace Brambillator.Historiarum.Repositories.EntityFramework
{
public class EFHistoriarumUnitOfWork : ... |
using System.Collections.Generic;
using UnityEngine;
public class EnemyOrchestrator : MonoBehaviour {
private const float _baseDifficulty = 0.5f;
private float _targetDifficulty = _baseDifficulty;
private float _currentDifficulty = 0.0f;
private int _healthDeltaThreshold = 2;
private int _lastHealth;
pri... |
using UnityEngine;
using System.Collections;
public class CameraFollow : MonoBehaviour {
GameObject orfeo;
public int[] specialRooms;
bool follow;
ArrayList sr;
void Start()
{
sr = new ArrayList(specialRooms);
}
// Update is called once per frame
void Update () {
if (... |
namespace TripDestination.Tests.Services.Data
{
using System.Linq;
using System.Collections.Generic;
using NUnit.Framework;
using TripDestination.Services.Data.Contracts;
using TripDestination.Data.Services;
using Moq;
using TripDestination.Data.Models;
using TripDestination.Data.Common... |
using System;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
using Inetlab.SMPP;
using Inetlab.SMPP.Common;
using Inetlab.SMPP.Logging;
using Inetlab.SMPP.PDU;
namespace HelloWorld
{
class Program
{
static void Main(string[] args)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerraBIN
{
public class Customer : IManage, IMoveable
{
/// <summary>
/// Has position
/// </summary>
public Point Position { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SuanMing
{
public static class SuanMingClass
{
#region Liang
static double[] YearWeight = //from 1924 to 1984
{
1.2, 0.9, 0.6, 0.7, 1.2, 0.5, 0.9, 0... |
using System;
using System.Linq;
using IrsMonkeyApi.Models.DB;
using IrsMonkeyApi.Models.Dto;
namespace IrsMonkeyApi.Models.DAL
{
public class ProductItemDal : IProductItemDal
{
private readonly IRSMonkeyContext _context;
public ProductItemDal(IRSMonkeyContext context)
{
... |
using Xamarin.Forms;
namespace AsNum.XFControls.Behaviors {
public class VisibilityBehavior : SelectChangeBehaviorBase {
protected override void OnAttachedTo(VisualElement view) {
base.OnAttachedTo(view);
view.SetBinding(VisualElement.IsVisibleProperty, new Binding(nameof(this.Is... |
using AppStore.Application.DataContracts.Users;
using System.Runtime.Serialization;
using System;
namespace AppStore.Application.DataContracts.Authentication
{
[DataContract(Namespace = "")]
public class AuthenticationResponse : BaseResponse
{
public string AuthToken { get; set; }
public D... |
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.Xml;
namespace Kingdee.CAPP.Common.DataGridViewHelp
{
/// <summary>
/// 类型说明:来源窗体
/// 作 者:jason.tang
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
public partial class Forum : System.Web.UI.Page
{
string userId, username;
protected void Page_Load(object sender, EventArgs e)
{
... |
using UnityEngine;
using System.Collections;
public class Level{
private int reward;
private string path;
public Level (int reward, string path){
this.reward = reward;
this.path = path;
}
public int getCost(){
return this.reward;
}
public string getPath(){
return this.path;
}
public void launchL... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace Fina.Models
{
[Table("Product")]
public class Product
{
[Key]
public int ID { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ArcherArrow : MonoBehaviour {
[Range(20.0f, 75.0f)] [SerializeField] private float LaunchAngle;
public bool enemyArrow { get; set; }
public int damage { get; set; }
public Transform target { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using Newtonsoft.Json;
//IHistoryに使うリストの中身
namespace WebAPI_Connection_ReExam.Custom
{
[DataContract]
public class ErrorDetail
{
[DataMember(Name = "point")]
private int... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _12306.Domain.Entities
{
public class QueryLeftNewDTO
{
public string train_no { get; set; }
public string station_train_code { get; set; }
public string star... |
using System;
using System.IO;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Navigation;
namespace PixelRobot
{
public partial class Registration
{
CheckAuthCode cs;
public... |
using System;
using System.Collections.Generic;
using System.Text;
namespace data_structure.Quenue
{
public class MainClass
{
//public static void Main(string[] args)
//{
// DemoGenerateQuence();
//}
private static void DemoNumberQuence()
{
Numbe... |
using BradescoPGP.Repositorio;
using System;
namespace BradescoPGP.Web.Areas.Portabilidade.Models
{
public class SolicitacaoViewModel
{
public int Id { get; set; }
public string Segmento { get; set; }
public string Lideranca { get; set; }
public string ConsultorMatriz { get; se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FoodMachine
{
class Good
{
public String name { get; protected set;}
public int price { get; protected set; }
}
}
|
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Forca.Dominio.Repositorios;
using Forca.Dominio;
using Forca.Web.Services;
using Forca.Dominio.Servico;
using System.Collections.Generic;
namespace Forca.Testes
{
[TestClass]
public class ServicoPalavraTests
{
[Test... |
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 FXB.DataManager;
using FXB.Data;
using FXB.Common;
namespace FXB.Dialog
{
public partial class ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ComponentsManager : MonoBehaviour
{
public static ComponentsManager Instance { get; private set; }
[Header("Components sliders")]
public Slider HealthBar;
public Slider HungerBar;
pub... |
using Newtonsoft.Json.Linq;
using RoleManagement.Model;
using RoleManagement.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web;
using System.Web.Mvc;
using RouteAttribute = System.Web.Http.RouteAttribute;
using H... |
namespace Autofac.Extras.AttributeMetadata.Test.ScenarioTypes.MetadataModuleScenarioDiscoveryTargets
{
public class MetadataModuleScenarioMetadata : IMetadataModuleScenarioMetadata
{
public MetadataModuleScenarioMetadata(string name)
{
this.Name = name;
}
// IExport... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace SudokuSharp
{
public class Cell
{
public Cell(int x, int y, int value)
{
X = x;
Y = y;
Value = value;
IsStatic = value > 0;
}
public bool IsStatic { ge... |
using System;
using System.Threading;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Threading.Tasks;
using System.Linq;
using System.Net;
using Newtonsoft.Json;
using System.IO;
using System.Diagnostics;
namespace WordlistCombinder
{
public partial class Form1 : Form
{
... |
using System;
namespace DesignPatterns.Memento.Example1
{
internal class MementoForCustomerEntity
{
private Customer _customer;
public MementoForCustomerEntity(Customer customer)
{
this._customer = customer.Clone();
}
internal Customer GetCustomer()
... |
using System;
namespace Savings
{
class Program
{
static void Main(string[] args)
{
double income = double.Parse(Console.ReadLine());
int months = int.Parse(Console.ReadLine());
double sumNeeded = double.Parse(Console.ReadLine());
double unexpSit... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class GridManager : MonoBehaviour
{
public List<Sprite> Sprites = new List<Sprite>();
public GameObject TilePrefab;
public int GridDimension = 8;
public float Distance = 1.0f;
private GameO... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
namespace shipment
{
class Package
{
public delegate void PackageHandler(string message);
public event PackageHandler PackageArrived;
public strin... |
using System;
using Xunit;
namespace SmnTest
{
public class UnitTest1
{
[Fact]
public void Test1()
{
//Assing
//Arrange
//Assert
}
}
}
|
using RRExpress.Service.Entity;
using System.Collections.Generic;
using System.Web.Http;
namespace RRExpress.Service.Controllers {
public class VillageController : ApiController {
[HttpGet]
//[Route("{province}/{city}/{county}")]
public IEnumerable<Region> Get(string province, string city... |
using System;
using System.Collections.Generic;
using System.Text;
namespace VendingMachine.Domain.Business.Contracts.Repository
{
public interface IBestellingRepository
{
}
}
|
using System;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.VIEW
{
[Serializable]
public partial class HuStatus : EntityBase
{
#region O/R Mapping Properties
[Display(Name = "HuStatus_HuId", ResourceType = typeof(Resources.View.HuStatus))]
public string HuId { ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
using System.Data;
namespace website
{
public partial class ForgotPassword : System.Web.UI.Page
{
protected void Page_Load(o... |
using Autofac;
using EmberKernel;
using EmberKernel.Plugins;
using EmberKernel.Plugins.Attributes;
using EmberKernel.Plugins.Components;
using EmberMemoryReader.Abstract.Events;
using EmberSqliteSynchronizer.Component;
using OsuSqliteDatabase.Database;
using System.Threading.Tasks;
namespace EmberSqliteSynchronizer
{... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace SecurityPlusCore
{
public class ExternalCommandsManager
{
[MethodImpl(MethodImplOptions... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.AccessControl;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Win32.SafeHandles;
using System.Diagnostics;
namespace StringStreamService.Engine
{
public class MergedStream : Stream
{
... |
using System;
using System.Threading.Tasks;
using TradeProcessing.DataAceess;
namespace TradeProcessing.Helpers
{
public class PositionsHelper
{
readonly HeliosContext _context;
readonly string _positionsKey;
public PositionsHelper(HeliosContext context, string positionsKey)
{... |
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using Domain;
namespace DataAccess.Configuration
{
public class EntryConfiguration : EntityTypeConfiguration<Entry>
{
public EntryConfiguration()
{
HasKey(e => e.EntryId);
... |
namespace tarea_lectura_de_archivos {
internal class Pattern {
}
} |
using System;
using Marten.Events;
namespace Marten.Testing.Events
{
public class FakeAggregate : IAggregate
{
public Guid Id { get; set; }
public string[] ANames;
public string[] BNames;
public string[] CNames;
public string[] DNames;
}
public class EventA :... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EasyBotSoldierSpawn : MonoBehaviour
{
Dictionary<string, float> soldiersSpawnTimers = new Dictionary<string, float>();
Dictionary<string, string> soldiers = new Dictionary<string, string>();
bool isGameStarted = f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using ProjetoMVC.Models;
namespace ProjetoMVC.Controllers
{
public class FuncionarioController : Controller
{
public IActionResult ListagemFuncionario()
{
... |
using FluentMigrator;
namespace Profiling2.Migrations.Migrations
{
// Add check for whether request persons still have a screening result of 'Pending' when submitting response.
[Migration(201306171034)]
public class FixSPRequestRespond : Migration
{
public override void Down()
{
... |
using Sentry.Protocol;
namespace Sentry.Internal;
/// <summary>
/// Factory to create/attach profilers when a transaction starts.
/// </summary>
internal interface ITransactionProfilerFactory
{
/// <summary>
/// Called during transaction start to start a new profiler, if applicable.
/// </summary>
ITr... |
using AutoMapper;
using FamilyAccounting.BL.DTO;
using FamilyAccounting.BL.Interfaces;
using FamilyAccounting.Web.Interfaces;
using FamilyAccounting.Web.Models;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace FamilyAccounting.Web.Services
{
public class PersonWebService : I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ND.FluentTaskScheduling.Domain.interfacelayer;
using ND.FluentTaskScheduling.Model;
using ND.FluentTaskScheduling.TaskInterface;
using ND.FluentTaskScheduling.Model.request;
using ND.Fluen... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.Collections.Specialized;
namespace LeetCodeTests
{
public abstract class Problem_0062
{
/*
A robot is located at the top-left corner of a m x n grid(marked 'Start' in the diagram below).
The robot can only move either down or r... |
using SGCFT.Utilitario;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SGCFT.Dominio.Entidades
{
public class Modulo
{
protected Modulo()
{
}
public Modulo(int idTreinamento, string titulo)
... |
namespace EPI.BinaryTree
{
/// <summary>
/// A binary tree is symmetric if the left subtree is the mirror image of the right subtree.
/// Write a function that checks whether the given binary tree is symmetric or not
/// </summary>
public static class IsSymmetricBinaryTree<T>
{
public static bool IsBinaryTreeS... |
// Author: Eduard Varshavsky
// File Name: MainGame.cs
// Project Name: Super Mario Bros
// Creation Date: October 3, 2017
// Modified Date: October 16, 2017
// Description: This program is built to play a replica of Super Mario Bros and contains all the code for real time updates
// code
using System;
using System.Co... |
using System;
using System.ComponentModel;
using System.Windows;
using BimPlus.Sdk.Data;
namespace BimPlusDemo.UserControls
{
/// <summary>
/// Interaction logic for InviteMember.xaml
/// </summary>
public partial class InviteMember
{
public enum ProjectRoles
{
[Descrip... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CSConsoleRL.Enums;
using CSConsoleRL.Entities;
using CSConsoleRL.Data;
namespace CSConsoleRL.Events
{
public class ChangeEntityHealthEvent : IGameEvent
{
public string EventName { get { re... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ContinueGameController : Controller
{
public override void Execute(object data)
{
UIBoard board = MVC.GetView<UIBoard>();
if (board.M_Timer < 0.1f)
{
board.M_Timer += 2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.