text stringlengths 13 6.01M |
|---|
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace Labyrinth
{
public class Key
{
private Vector2 keyPosA;
private Point keyPosR;
public Key(Vector2 keyPosA, Point keyPosR)
{
this.keyPosA = keyPosA;
... |
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;
using TY.SPIMS.Controllers;
using TY.SPIMS.Client.Users;
using TY.SPIMS.Utilities;
using ComponentFactory.Krypton.Toolkit;
using TY.SPI... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
usin... |
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using RimDev.AspNetCore.FeatureFlags.Tests.Testing.ApplicationFactory;
using RimDev.AspNetCore.FeatureFlags.UI;
using Xunit;
namespace RimDev.... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class TitleScreen : MonoBehaviour {
public AudioClip startGame;
private bool escMenu;
private GameObject escButton;
private StatTracker statTracker;
// Use this for initialization
void Start () {
escButton = GameObject.Find ("Quit");
... |
namespace Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class PersonRole : DbMigration
{
public override void Up()
{
CreateTable(
"Web.PersonRoles",
c => new
{
... |
using Autofac;
using EmberMemory.Components.Collector;
using EmberMemory.Readers;
using EmberMemory.Readers.Windows;
using EmberMemoryReader.Abstract.Data;
using EmberMemoryReader.Abstract.Events;
namespace EmberMemoryReader.Components.Osu
{
public class OsuMemoryDataCollector : MemoryDataCollector<OsuMemoryDataC... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using GMS;
namespace GMSTest
{
[TestClass]
public class CommonLibTests
{
[TestMethod]
public void AddStudentsToClass_Test()
{
/*
* Test Co... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class UIController : MonoBehaviour
{
[SerializeField] TextMeshProUGUI scoreText;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
... |
using System;
using System.Collections.Generic;
namespace HelloCSharp
{
class Program
{
//유일하게 하나만있는 특별한 함수, 모든 프로그램이 시작할때 가장먼저 시행되는 함수
//운영체제에 의해서 호출되는 유일한 함수
//Program안에 함수가 여러개 있을 수 있는데, 메인 함수만 운영체제가 직접 호출하고 나머지 함수들은 운영체제가 직접 호출하지 않음
//나머지 함수들은 메인함수에서 프로그래머가 직접 호... |
using Alabo.Domains.Entities;
using Alabo.Domains.Services;
using Alabo.Framework.Basic.Relations.Domain.Entities;
using Alabo.Framework.Core.Reflections.Interfaces;
using System.Collections.Generic;
namespace Alabo.Framework.Basic.Relations.Domain.Services {
public interface IRelationIndexService : IService<Rel... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
//TODO: Add other using statements here
namespace com.Sconit.Entity.MRP.ORD
{
[Serializable]
public partial class TransitOrder : EntityBase
{
#region O/R Mapping Properties
... |
public class RewardSystems : Feature
{
public RewardSystems(Contexts contexts, Services services)
{
Add(new RewardEmitterSystem(contexts));
Add(new ExsplosiveRewardEmitterSystem(contexts));
Add(new ComboRewardEmitterSystem(contexts));
Add(new ApplyRewardSystem(contexts));
}... |
using NUnit.Framework;
using System.Net;
using static System.Net.WebRequestMethods;
using Newtonsoft.Json;
using System.IO;
using System;
using System.Text;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using System.Threading;
namespace task3_test
{
public class WeatherResponse
{
public Temp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Data;
namespace CRL.Category
{
/// <summary>
/// 分类维护
/// </summary>
public class CategoryBusiness<TType,TModel> : BaseProvider<TModel> where TType : class
where TModel : ... |
using Fingo.Auth.Domain.Infrastructure.Interfaces;
using Fingo.Auth.Domain.Projects.Interfaces;
namespace Fingo.Auth.Domain.Projects.Factories.Interfaces
{
public interface IUpdateProjectFactory : IActionFactory
{
IUpdateProject Create();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Library.Model;
namespace Library.Interfaces
{
public interface IRaceRepository
{
Task AddRace(Race race);
Task<Race> GetRaceByID(int id);
Task<List<Race>> GetRaces... |
using DG.Tweening;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class SwordAttackFx : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
... |
namespace DistCWebSite.Core.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
public partial class CC_CornerstoneSO
{
public int ID { get; set; }
[StringLength(50)]
... |
using System.Runtime.Serialization;
namespace EpisodeRenaming {
[DataContract]
public class TraktTvShowImagesFanArt {
[DataMember( Name = "full" )]
public string Full { get; set; }
[DataMember( Name = "medium" )]
public string Medium { get; set; }
[DataMember( Name =... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
using WitsmlExplorer.Api.Jobs;
using WitsmlExplorer.Api.Jobs.Common;
using WitsmlExplorer.Api.Services;
using WitsmlExplorer.Api.Workers;
using Xunit;
namespace WitsmlExplorer.IntegrationTests.Api.Workers
{
pu... |
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;
using ISE.UILibrary;
using ISE.ClassLibrary;
using ISE.SM.Common.DTO;
using ISE.SM.Client.View;
using ISE.Framework.Utility.Utils;
nam... |
using System;
using IrsMonkeyApi.Models.DAL;
using Microsoft.AspNetCore.Mvc;
namespace IrsMonkeyApi.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ItemsController : Controller
{
private readonly IProductItemDal _dal;
public ItemsController(IProductItemDal dal)
... |
using System.Collections.Generic;
using Swashbuckle.AspNetCore.SwaggerGen;
namespace App.Web.AsyncApi
{
public class AsyncApiGenOptions
{
public AsyncApiGeneratorOptions AsyncApiGeneratorOptions { get; set; } = new AsyncApiGeneratorOptions();
public SchemaRegistryOptions SchemaRegist... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SOLID._2___OCP.Violacao
{
public class DebitoConta
{
public void Debitar(decimal valor, string numeroConta, TipoConta tipoConta)
{
if (tipoConta == TipoConta.Corrente)
{
// Debi... |
// Copyright (c) 2020, mParticle, Inc
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DistCWebSite.Core.Entities;
namespace DistCWebSite.Infrastructure
{
public class ActivityConfigRespository
{
#region
public int Add(List<M_ActivityConfig> list)
{
... |
using System.ComponentModel;
namespace Podemski.Musicorum.Core.Enums
{
public enum AlbumVersion
{
[Description("---")]
None,
[Description("Cyfrowa")]
Digital,
[Description("Fizyczna")]
Physical
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace SAAS.FrameWork.Util.Common
{
public static class DateTimeHelper
{
public static string TimeDiff(DateTime? DateTime1, DateTime? DateTime2)
{
if (DateTime1 == null || Date... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PauseAction : MonoBehaviour
{
public GameObject painelPaused;
public GameObject gameManager;
void Start()
{
}
// Update is called once per frame
void Update()
{
}
p... |
using UnityEngine;
namespace AtomosZ.Cubeshots.AudioTools
{
public class AudioSpectrum : MonoBehaviour
{
/// <summary>
/// Audio Spectrum
/// Deep Bass: 0Hz to 60Hz
/// Bass: 60Hz to 250Hz
/// Low Midrange: 250Hz to 500Hz
/// Midrange: 500Hz to 2000Hz
/// Upper Midrange: 2000Hz to 4000Hz
/// Presenc... |
namespace LiveCode.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Meteorology")]
public partial class Meteorology
{
[Key]
... |
using UnityEngine;
public class TestCube : MonoBehaviour
{
public float Speed = 1.0f;
void Update()
{
transform.Rotate( Vector3.up, 360.0f * Time.deltaTime * Speed );
}
private void OnMouseDown()
{
Debug.Log( "Cube clicked" );
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WebApplicationBlog_DejanSavanovic.DBModels;
using WebApplicationBlog_DejanSavanovic.Models;
namespace WebApplicationBlog_DejanSavanovic.Controllers
{
public class PocetnaController : Controller
{
... |
using UnityEngine;
using System.Collections;
using System;
using System.Collections.Generic;
using UnityEngine.Networking;
[Serializable]
public abstract class AbstractSkill : NetworkBehaviour
{
public SkillProperties properties { get; protected set; }
public bool isUse;
public List<AbstractSkillUse> ... |
using UnityEngine;
using System.Collections;
/// <summary>
/// Holds a Character's Attributes, is Serializable
/// </summary>
[System.Serializable]
public class CharacterStats{
[SerializeField]
private int maxHealth;
[SerializeField]
private int health;
[SerializeField]
private float movemen... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021
{
public static class LerpHelper
{
public delegate double Delegate(double a, double b, double amt);
public static Delegate Invert(this Delegate lerp)
... |
/* Menu.cs
* Author: Easton Bolinger
* Purpose: to implement the static methods listed in the directions
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Collections;
namespace CowboyCafe.Data
{
public static class Menu
{
/// <summary>
/... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class ZombieSpawn
{
public Transform SpawnPoint;
public GameObject ZombieToSpawn;
public ZombieSpawn(Transform pSpawnPoint, GameObject pZombieToSpawn)
{
SpawnPoint = pSpawnPoint;
... |
using System;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
using NetEscapades.AspNetCore.SecurityHeaders.Infrastructure;
namespace NetEscapades.AspNetCore.SecurityHeaders.TagHelpers
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MyObserver
{
public interface ILetter
{
}
}
|
using System.IO;
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.Net;
using System.Diagnostics;
namespace Notepad
{
public partial cla... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// Value List property drawer of type `Vector3`. Inherits from `AtomDrawer<Vector3ValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawe... |
using CarsIsland.Infrastructure.Configuration.Interfaces;
using Microsoft.Extensions.Options;
namespace CarsIsland.Infrastructure.Configuration
{
public class MessagingServiceConfiguration : IMessagingServiceConfiguration
{
public string QueueName { get; set; }
public string ListenAndSendConne... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ghostpunch.OnlyDown.Common;
using Ghostpunch.OnlyDown.Common.Views;
using Ghostpunch.OnlyDown.Menu.ViewModels;
using strange.extensions.mediation.impl;
using strange.extensions.signal.impl;
using UnityEngine;
using UnityEngine.... |
//Name: CameraTrigger.cs
//Project: Spectral: The Silicon Domain
//Author(s) Conor Hughes - conormpkhughes@yahoo.com
//Description: A trigger which overwrites the cameracontrollers current target position once it is entered.
using UnityEngine;
using System.Collections;
public class CameraTrigger : MonoBehaviour ... |
namespace DesignPatterns.Decorator.Example1
{
/// <summary>
/// Concrete Decorators call the wrapped object and alter its result in some way.
/// </summary>
public class ConcreteDecoratorA : Decorator
{
public ConcreteDecoratorA(Component comp) : base(comp)
{
}
/// ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EmployeeTaskMonitor.Core.Exceptions
{
public class NotFoundException: Exception
{
//public NotFoundException(string name, object key):base($"Resource \"{name}\" ({key}) was not found.")
//{
//}
... |
using System.Collections.Generic;
using Properties.Core.Objects;
namespace Properties.Core.Interfaces
{
public interface IFactory<T>
{
List<T> GetAll();
}
}
|
using System;
using System.Collections.Generic;
using App.Core.Interfaces.Dto;
using App.Core.Interfaces.Dto.Responses;
using App.Core.Interfaces.Extensions;
using Newtonsoft.Json;
namespace App.Core.Interfaces.Json
{
public class RequestDtoPaginationJsonConverter : JsonConverter
{
public override bool... |
namespace Simulator.Compile {
internal enum CpuTokenType {
// ReSharper disable once UnusedMember.Global
None,
Instruction,
Value,
Label,
Data
}
} |
using UnityEngine;
using System.Collections;
public class TrapDamage : MonoBehaviour {
public int damage = 25;
private Movement movement;
void OnCollisionEnter2D(Collision2D collision) {
Movement movement = collision.gameObject.GetComponent<Movement>();
Health health = collision.gameObject... |
using UnityEngine;
using System.Collections;
public class TurretEmitter : MonoBehaviour { //This controls the projectiles that emit from the turret
public GameObject projectile; //projectile to be instantiated by the turret
public Transform start;//this is the start pos for raycast
public Transform end; //this is ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Gruzer.Models.Consignments
{
/// <summary>
/// Водитель
/// </summary>
public class Driver : BaseEntity
{
/// <summary>
/// Имя
/// </summary>
public string Na... |
using Hyprsoft.Dns.Monitor.Providers;
using Hyprsoft.Logging.Core;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
using System.IO;
namespace Hyprsoft.Dns.Monitor
{
class Program
{
#region Methods
stat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Inimigo : MonoBehaviour
{
public float vel = 2.4f;
Rigidbody2D rb;
public Transform Player;
Transform inimigoLocal;
bool face;
public Animator anima;
bool andar = false;
public float distancia;
... |
using AutoMapper;
using LearningSystem.Models.EntityModels;
using LearningSystem.Models.ViewModels.Courses;
using LearningSystem.Services.Interfaces;
namespace LearningSystem.Services
{
public class CourseService : Service, ICourseService
{
public CourseDetailsVm GetDetailsById(int id)
{
Course course = this... |
// <copyright file="TypefaceReader.cs" company="WaterTrans">
// © 2020 WaterTrans and Contributors
// </copyright>
using System;
using System.Text;
namespace WaterTrans.GlyphLoader.Internal
{
/// <summary>
/// Internal processing class for accessing font data.
/// </summary>
internal sealed class Typ... |
using PhotonInMaze.Common.Model;
using System.Collections.Generic;
namespace PhotonInMaze.Common.Controller {
public interface IPathToGoalManager {
LinkedListNode<IMazeCell> GetFirstFromPath();
int GetPathToGoalSize();
void RemoveFirst();
void AddFirst(IMazeCell value);
int... |
using Framework.Core.Common;
using OpenQA.Selenium;
namespace Tests.Pages.Drupal.Forms
{
public class PetitionForm : FormBase
{
#region Elements
#endregion
public PetitionForm(Driver driver) : base(driver) { }
#region Methods
#endregion
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace ACNADailyPrayer
{
// Learn more about making custom code visible in the Xamarin.Forms p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems.LeetCode {
public class Problem006 : LeetCodeBase {
public override string ProblemName => "Leet Code 6: Zigzag Conversion";
public override string Get... |
using Euler_Logic.Helpers;
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems {
public class Problem700 : ProblemBase {
/*
I used an online calculator to find the moduler inve... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _10_Group_by_Group
{
public class _10_Group_by_Group
{
public static void Main()
{
var students = new List<Student>();
var input = Console.ReadLine();
while (in... |
using UnityEngine;
public class Destructible : MonoBehaviour
{
// Destruimos el elemento destructible si colisiona con una bala
void OnTriggerEnter2D (Collider2D other)
{
if (other.tag == "Bala") {
Destroy (this.gameObject);
}
}
}
|
using System;
using PokerHandShowdown;
namespace PokerHandShowdownTests
{
public class GameSessionCommun
{
public PokerGameSession _pokerGameSession = new PokerGameSession();
public void ProcessGameSession_Success_Pair_Score_Data()
{
_pokerGameSession.AddPlayer("hicham");
... |
using System;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using System.Linq;
namespace XH.Infrastructure.Extensions
{
public static class EnumExtensions
{
public static string GetDescription(this Enum enumValue)
{
var attribute = enumValu... |
using UnityEngine;
namespace AudioVisualizer
{
public class FrequencyBandVisualator : MonoBehaviour
{
public const int Bands = 8;
[SerializeField]
private SpectrumDataProvider m_Provider;
[SerializeField]
private GameObject m_CubePrefab;
[SerializeField]
... |
using System;
using System.Collections.Generic;
using System.Reflection;
using Dapper;
using System.Data;
using System.Data.SqlClient;
using Microsoft.Extensions.Configuration;
using Embraer_Backend.Models;
namespace Embraer_Backend.Models
{
public class LimpezaParametros
{
public long IdCadParametroLi... |
using UnityEngine;
using System;
public partial class Sway : MonoBehaviour
{
public interface IMoveTo
{
bool CanSetup { get; }
IMoveTo Delay(float value);
IMoveTo IgnoreTimeScale(bool value);
IMoveTo Space(Space space);
IMoveTo EaseType(AnimationCurve curve);
IMoveTo Forward(AnimationCurve curve);
I... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Capstone.Classes
{
//Drink inherits from IProduct
public class Drink : IProduct
{
/// <summary>
/// Constructor for product with shared characteristics
/// </summary>
/// <param name="name">Name of... |
using EPI.BinaryTree;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.BinaryTree
{
[TestClass]
public class FindSuccessorInorderTraversalUnitTest
{
[TestMethod]
public void FindInorderSuccessor()
{
BinaryTree<char> tree = new BinaryTree<char>()
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using ObjectDetect.Models;
using TensorFlow;
namespace ObjectDetect
{
/// <summary>
/// Get the Tensor values as json object
/// </summary>
public class GetTensorObject
{
private static IEnumerable<CatalogI... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PrintDirection : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
Vector3 forward = transform.forward;
//print(forward);
}
}
|
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Web.ViewModels;
namespace Web.Interfaces
{
public interface IHomeIndexViewModelService
{
Task<HomeIndexViewModel> GetHomeIndexViewModel(int pageIndex,int item... |
using UnityEngine;
using System.Collections;
public class MoveScroll : MonoBehaviour {
public float speed;
public float speedLimit;
public AccelerationFunction acceleration;
public Animator playerAnimator;
public Transform movementLimit;
private float currentDistance;
private float cur... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL.Models
{
public class Register
{
public int Id { get; set; }
public string OpeningUsername { get; set; }
public string ClosingUsername { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IcePath_Waka : MonoBehaviour {
// How long until the next leap?
[Header("Leap time")]
[SerializeField]
private float leapTime;
float leapAlarm;
// How long in the air?
[Header("Air tim... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Jetpack : MonoBehaviour
{
public GameObject[] particle;
public AudioSource audioSource;
// Start is called before the first frame update
void Start()
{
particle[0].SetActive(false);
part... |
using System;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using QuizApplication.Models;
using ColorConverter = System.Windows.Media.ColorConverter;
using FontFamily = System.Windows.Media.FontFamily;
using Color = System.Windows.Media.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace Pokemon_Internal_Blades_CSharp.Items
{
/// <summary>
/// Evolution Item class
/// </summary>
public class EvolutionItem : Item
{
const int I_FIRE_STONE = 28;
cons... |
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Astral.Extensions.Cqrs.Abstractions.Handlers;
using Microsoft.AspNetCore.Hosting;
using SocketTraining.Server.FileService.Commands;
namespace SocketTraining.Server.FileService.Handlers
{
/// <summary>
/// Обработчик команды загрузки ... |
using MetodosAbstratosCsharp.Entities;
using System;
using System.Collections.Generic;
using System.Globalization;
namespace MetodosAbstratosCsharp
{
class Program
{
public static List<Pessoa> pessoas = new List<Pessoa>();
static void Main(string[] args)
{
Console.WriteLine... |
/*
* Created by: Andrew Kuekam
* Created on: 2020-04-01
* Created for: ICS3U Programming
* Daily Assignment – Day #12 - Pizza Cost
* This program...
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Blazor_AppForTest.Pages
{
public interface ILoginLogic
{
bool SignIn(string email,string password);
}
}
|
using Project.Object;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Project.Interface
{
interface IMainPage
{
UserInfObject userInfo { get; set; }
DataGridView subjectList { get; set; }... |
using gView.Desktop.Wpf.Controls;
using gView.Framework.UI;
using System;
using System.Windows;
namespace gView.Win.DataExplorer.Items
{
internal class DropDownToolButton : Fluent.DropDownButton
{
private IExToolMenu _tool;
private bool _checked = false;
public DropDownToolButton(IExT... |
// 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 FiiiChain.Messages;
using System;
using System.Collections.Generic;
using System.Text;
namespace FiiiChain.DataAgent
{
[Seri... |
using System;
using SQLite;
using System.ComponentModel;
namespace iPadPos
{
public class Settings : BaseModel
{
public const string LastPostedChangeKey = "LastPostedChange";
public const string LastPostedInvoiceKey = "LastPostedInvoice";
public const string HasDataKey = "HadData";
static Settings shared;
... |
namespace MasterDetail
{
using System;
using System.Collections.Generic;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
public partial class TraceabilityWorkShift
{
[JsonProperty("ID")]
public int Id { get; set; }
[Js... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Wee.Common.Contracts;
using Wee.Common;
[assembly: DefaultNamespace("Wee.Core.Theme")]
namespace Wee.Core.Theme
{
public class PackageDefinition : IWeeTheme
{
... |
using ArquiteturaLimpaMVC.Aplicacao.Produtos.Commands;
using ArquiteturaLimpaMVC.Dominio.Entidades;
using ArquiteturaLimpaMVC.Dominio.Interfaces;
using MediatR;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace ArquiteturaLimpaMVC.Aplicacao.Produtos.Handlers
{
public class AtualizarPro... |
using PL.Integritas.Application.Interfaces;
using PL.Integritas.Application.ViewModels;
using PL.Integritas.Domain.Entities;
using PL.Integritas.Domain.Interfaces.Services;
using PL.Integritas.Infra.Data.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
namespace PL.Integritas.Application... |
namespace SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Responses
{
public class AddDraftApprenticeshipResponse
{
public long DraftApprenticeshipId { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FSWatcher.Models;
namespace FSWatcher.Services {
public interface ILoggerService {
bool LogFileEvent(FileEvent f);
bool LogFileEvents(List<FileEvent> data);
List<FileEv... |
using FluentAssertions;
using NUnit.Framework;
#pragma warning disable 649
namespace Hatchet.Tests.HatchetConvertTests.DeserializeTests
{
[TestFixture]
public class ObjectWithSingleFieldTests
{
private class TestClass
{
public string StringField;
}
[Test]
... |
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Input;
namespace CODE.Framework.Wpf.Utilities
{
/// <summary>
/// Helper class used for handling global keyboard hooks
/// </summary>
/// <seeals... |
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 learn_180317
{
public partial class Form2 : Form
{
public Form2(... |
using System;
using Microsoft.Practices.Unity;
namespace FtpProxy.Core.Dependency
{
public static class DependencyResolver
{
private static readonly Lazy<UnityContainer> ContainerLazy =
new Lazy<UnityContainer>(GetUnityContainer);
public static UnityContainer Container
... |
using UnityEngine;
using System.Collections;
public class TweakableParams : MonoBehaviour {
// Boost params.
public const float fastPawsPauseMultiplier = 0.001f;
public const float fastPawsSwipeSpeedMultiplier = 3f;
public const float goodEyesAngleMultiplier = 1.6666f;
public const float normalPawRadius = 0.4... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.