text stringlengths 13 6.01M |
|---|
using Amazon.Lambda.APIGatewayEvents;
using Amazon.Lambda.Core;
using Epsagon.Dotnet.Core;
using Newtonsoft.Json;
using OpenTracing;
namespace Epsagon.Dotnet.Instrumentation.Triggers {
public class ProxyAPIGatewayLambda : BaseTrigger<APIGatewayProxyRequest> {
public ProxyAPIGatewayLambda(APIGatewayProxy... |
using Cinema.Data.Models;
using Cinema.Data.Models.Contracts;
using System.Collections.Generic;
using System.Linq;
namespace Cinema.Data.Services.Contracts
{
public interface IFilmScreeningService
{
IQueryable<FilmScreening> GetAllScreenings();
IQueryable<FilmScreening> GetAllScreeningsByDate... |
// GIMP# - A C# wrapper around the GIMP Library
// Copyright (C) 2004-2009 Maurits Rijk
//
// DrawableList.cs
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2 of ... |
using System;
namespace Lab_20
{
class NoMagicThings
{
enum ECOINS { HALVES = 50, QUARTERS = 25, DIMES = 10, NICKELS = 5, PENNIES = 1 }
public const int MAX = 99;
public const string MSG_HEADER = "I will make change for you.";
public const string MSG_ENTER = "Enter in an amoun... |
namespace PRGTrainer.Core.TasksStorage
{
using System.Collections.Generic;
using Model.Test;
/// <summary>
/// Интерфейс хранилища вопросов.
/// </summary>
public interface ITasksStorage
{
/// <summary>
/// Получение списка задач для членов комиссии с правом решающего голос... |
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace ALM.Reclutamiento.Entidades
{
[Serializable]
public class EReferenciaLaboral
{
public int IdReferencia { get; set; }
public int IdProspecto { get; set; }
[Required(ErrorMessage = "Dat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace RockPaperScissorsWebApp.Models
{
public abstract class Game
{
public abstract void PlayRound();
public abstract void PlayRound(RPSChoice rPSChoice);
public abstract void PlayRound(RPSChoice r... |
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Windows;
using System.Xml;
using System.Xml.Serialization;
namespace Swiddler.Serialization
{
public class UserSettings
{
public Rect MainWindowBounds { get; set; }
public WindowState MainWindowState { get; set;... |
using PDV.DAO.Atributos;
namespace PDV.DAO.Entidades.Financeiro
{
public class ContaBancaria
{
[CampoTabela("IDCONTABANCARIA")]
public decimal IDContaBancaria { get; set; } = -1;
[CampoTabela("IDBANCO")]
public decimal? IDBanco { get; set; }
[CampoTabela("NOME")]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
//
using System.Web.UI;
using System.IO;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Text;
using System.Security.Cryptography;
namespace TaskSystem
{
p... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Minutes
{
public static class MockDataExtensionMethods
{
public static void LoadMockData(this IEntryStore store)
{
var a = new Entry() { Title = "Sprint Planning Meeting", Content = "1, Scope" };
... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
using System.Data;
using DotNetNuke.Data;
using DotNetNuke.Services.Localization;
namespace Dnn.PersonaBar.Servers.Components.Datab... |
using System;
using Microsoft.AspNetCore.Identity;
namespace LubyClocker.Domain.BoundedContexts.Users
{
public class User : IdentityUser<Guid>
{
}
} |
using Store.Books.Domain;
using System.Threading.Tasks;
namespace Store.Books.Infrastructure.Interfaces
{
public interface IPriceRepository : IGenericRepository<Price> { }
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SiscomSoft.Models;
using System.Data.Entity;
namespace SiscomSoft_Web.ViewModel
{
public class ImpuestoViewModel : DataModel
{
public static List<Impuesto> Listar()
{
try
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class Mesh_Generator : MonoBehaviour
{
public Material mat;
float width = 0.5f;
float depth = 0.5f;
float length = 1.5f;
// Start is called before the first frame update
void Start()
{
... |
using System;
using System.Data;
using Proyecto_Web.Modelos;
namespace Proyecto_Web.Vistas.Private.Supervisor
{
public partial class supervisor : System.Web.UI.Page
{
PERSONA MOD_PERSONA = new PERSONA();
MENU mod_menu = new MENU();
public string foto, Nombre, n1, n2, ape1, ape2, IDn;
... |
// Copyright 2017-2019 Elringus (Artyom Sovetnikov). All Rights Reserved.
using System;
using System.Collections.Generic;
using UnityEditor;
namespace Naninovel
{
public class StateSettings : ConfigurationSettings<StateConfiguration>
{
protected override Dictionary<string, Action<SerializedProperty>>... |
namespace Workout.Models.Settings
{
/// <summary>
/// Enumerator that contains all distance units.
/// </summary>
public enum DistanceUnit
{
/// <summary>
/// Kilometer.
/// </summary>
Km,
/// <summary>
/// Mile.
/// </summary>
Mile
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sudoku_Designer
{
class SudokuController
{
protected SudokuLevel sudokuLevel;
protected SudokuDisplay display;
protected SudokuGet get;
protected Sudoku... |
using CMS_Database.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CMS_Database.Interfaces
{
public interface ICTPhieuXuat:IGenericRepository<CTPhieuXuat>
{
IQueryable<CTPhieuXuat> GetById(int id);
}
}
|
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Threading;
using System.Windows.Input;
using AutoMapper;
using RFI.TimeTracker.ViewModels.Entities;
using RFI.TimeTracker.ViewModels.Interfaces;
using Model = RFI.TimeTrack... |
using System.Collections.Generic;
using System;
namespace Binocle.Importers
{
[Serializable]
public class TexturePackerFile
{
public List<TexturePackerRegion> frames;
public TexturePackerMeta meta;
}
}
|
using System.IO;
using Assets._Src.Systems.Scripts;
using UnityEngine;
namespace Assets._Src.Systems.Save_System
{
public struct SaveSettingsObject
{
public float MasterVolume;
public float MusicVolume;
public float SfxVolume;
}
public struct SaveSettingsSystem : ... |
using TMPro;
using UnityEngine;
public class VacuumTube : MonoBehaviour
{
public TextMeshProUGUI text;
public char character;
public void Initialize(char character)
{
this.character = character;
text.SetText(character.ToString());
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;
using System.Xml.Serialization;
namespace ElectricityMonitor.Domain {
public class SensorDataContainer {
private SensorData _sensor;
public SensorData Sensor ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace irc_client.session {
public class DialogDictionary {
Dictionary<Contact, DialogData> _dialogDictionary;
public DialogDictionary() {
this._dialogDictionary = new Dictionary<Contact, D... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
//array that holds all the random places for the book to spawn
public List<GameObject> RandomEmptys = new List<GameObject>();
public GameObject BookPrefab;
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Sesi.WebsiteDaSaude.WebApi.Interfaces;
using Sesi.WebsiteDaSaude.WebApi.Models;
using Sesi.WebsiteDaSaude.WebApi.ViewModels;
namespace Sesi.WebsiteDaSaude.WebApi.Repositories
{
public class UsuarioReposito... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class ChangeFunc : MonoBehaviour
{
private int merageType = 0;
public Transform notStatic;
public Transform Combined;
public Transform Meraged;
public Text _btnLabel;
private void Start()
{
_changeModel(1);... |
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.Runtime.InteropServices;
using Thrift.Transport;
using Thrift.Collections;
using Thrift.Server;
using Thrift.Protocol;
usi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MechaWheel : GameTimeObject
{
// Configurable Parameters
[SerializeField] Rigidbody wheelBody = null;
[SerializeField] Rigidbody springBody = null;
[SerializeField] float maxWheelRPM = 500.0f;
// State variable
Vector3 ... |
using MediatR;
namespace Publicon.Infrastructure.Commands.Models.User
{
public class ResetPasswordCommand : IRequest
{
public string SecurityCode { get; set; }
public string NewPassword { get; set; }
}
}
|
using System;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Server.Capabilities
{
/// <summary>
///
/// </summary>
/// <remarks>
/// Is not a record on purpose...
/// get; set; for the moment, to allow for replacement of values.
/// </remarks>
[Obsolete(Constants.Proposal)]
... |
using System;
namespace XamChat
{
public interface ISetting
{
User User{get;set;}
void Save();
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NUnit.Framework;
using SelfCheckout.Kiosk.Controller;
using SelfCheckout.Model;
using SelfCheckout.Repository;
namespace SelfCheckout.Kiosk.UnitTests.Controller
{
[TestFixture]
public class PurchaseTester
{
#... |
using System.Threading.Tasks;
namespace Caliburn.Light
{
/// <summary>
/// Denotes an instance which may prevent closing.
/// </summary>
public interface ICloseGuard : IClose
{
/// <summary>
/// Called to check whether or not this instance can close.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft... |
namespace Detectors
{
public abstract class Detector : ISwitchable, ICheckupSettings
{
private static byte CheckupTime = 60; // время обследования
public const byte ON = 1; // работает
public const byte OFF = 0; // не работает (простаивает)
public const... |
using UnityEngine;
using System.Collections;
public class UfoBeamTrigger : MonoBehaviour {
public bool fire = false;
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
{
}
void OnTriggerEnter(Collider other)
{
if (... |
using UnityEngine;
using System.Collections;
public class Slot
{
private int size = 64;
private GUISkin skin;
private Item item;
private Rect bounds;
public Slot(int x, int y, GUISkin skin)
{
bounds = new Rect(x, y, size, size);
this.skin = skin;
}
public void SetItem... |
using UnityEngine;
using System.Collections;
using AssemblyCSharp;
public class Character : MonoBehaviour, IHover
{
public Vector2 coords;
public BoxCollider2D boxCollider;
public int maxHealth;
public int currentHealth;
public int moveTiles;
public bool moveGridSpawned;
#region IHover implementation
public... |
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
namespace SwaggerDocs
{
public class Startup
{
public IConfiguration Configuration { get; }
public Startup(IConfiguration configuration)
{
Configuration = configuration;
}
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CreateConnectionString.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// -------------------------------------------------------------------------... |
using UnityEngine;
using System.Collections;
public class Attack3Collision : MonoBehaviour
{
public playerController player;
public Renderer rend;
public GroundCollision grounded;
public int displayCounter = 0;
public bool attack3Running = false;
public ParticleSystem ParticlesAttack3;
public AudioSourc... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class BallManager : MonoBehaviour {
// Drop down menu on the inspector panel to select different modes
public enum Mode
{
Flash,
Disappear
};
public Mode mode;
public Stac... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using Emgu.CV;
using Emgu.CV.Cvb;
using Emgu.CV.CvEnum;
using Emgu.CV.Structure;
using Emgu.CV.VideoSurveillance;
using Emgu.CV.BgSegm;
using System.Runtime.InteropServices;
... |
using MisMarcadores.Data.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace MisMarcadores.Repository
{
public interface IEquiposRepository : IGenericRepository<Equipo>
{
Equipo ObtenerEquipoPorId(Guid id);
Equipo ObtenerEquipoPorNombre(String nombre);
... |
//using NuGet.Protocol.Core.Types;
//using NuGet.Frameworks;
//using NuGet.Packaging.Core;
//using NuGet.Versioning;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading;
//using System.Threading.Tasks;
//using Xunit;
//namespace Client.V2Test
//{
// ... |
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using lianda.Component;
namesp... |
#region Using declarations
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using System.Xml.Serializ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using FileDownloader;
namespace Example
{
class Program
{
static void Main(string[] args)
{
Run(Example1, Console.Out);
Run(Example2, Console.Out);
Console.WriteLine("... |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Common;
using RealEstate.BusinessObjects;
namespace RealEstate.DataAccess
{
public class AdvertiseDA
{
#region ***** Init Methods *****
public AdvertiseDA()
{
}
#endregion... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//[ExecuteInEditMode]
public class LookAround : MonoBehaviour
{
public bool moving = false;
private Vector3 target;
private Vector3 last_position;
public float stayTime = 0.2f;
public float theDistance;
publi... |
using System;
public class Simulate7SidedDie
{
public int rand2()
{
int x = rand5();
if (x == 4||x==5)
return rand2(); // restart
else return x % 2;
}
public int rand7()
{
int x = rand2() * 4 + rand2() * 2 + rand2();
if (x == 7) return rand7(); //... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DiscoTest.cs.Models
{
public class NodeWarDate
{
public int day;
public int month;
public NodeWarDate(int day, int month)
{
this.day = day;
this.month = month;
}
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
namespace Equinox.Domain.Models
{
[System.ComponentModel.DataAnnotations.Schema.Table("AddedTicketsLogger... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using VH.Core.Middleware.Logging;
namespace VH.Core.Middleware
{
public static class ConfigureServiceExtensions
{
/// <summary>
/// Add Logging Middleware. This should be the first filter registered.
/// </... |
#region Copyright Syncfusion Inc. 2001-2015.
// Copyright Syncfusion Inc. 2001-2015. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// a... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Syste... |
using PlatformRacing3.Common.Customization;
using PlatformRacing3.Common.User;
using PlatformRacing3.Server.API.Game.Commands;
using PlatformRacing3.Server.Game.Client;
namespace PlatformRacing3.Server.Game.Commands.User;
internal sealed class GiveHatCommand : ICommand
{
private readonly ClientManager clientManager... |
namespace GitlabManager.Services.WindowOpener
{
/// <summary>
/// Service that is responsible for opening other windows inside this application
/// </summary>
public interface IWindowOpener
{
/// <summary>
/// Open the connection window
/// </summary>
/// <p... |
using Portal.Repo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Portal
{
public partial class discountCodeAdd : System.Web.UI.Page
{
protected OtherRepo OtherRepos;
public discountCodeAdd()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CTCT.Components.MyLibrary;
using CTCT.Components;
namespace CTCT.Services
{
/// <summary>
/// Interface for MyLibraryService class
/// </summary>
public interface IMyLibraryService
{
/// <summary>
/// Get MyLibrary us... |
/*--------------------------------------------------------------------------
Reactor.Web.Sockets
The MIT License (MIT)
Copyright (c) 2015 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation ... |
using System;
namespace P1
{
class Solution
{
static void Main(string[] args)
{
var j = 1;
string casenumber = Console.ReadLine();
string input = Console.ReadLine();
while (input != "")
{
if (input.Contains("4"))
... |
#region Copyright Syncfusion Inc. 2001-2015.
// Copyright Syncfusion Inc. 2001-2015. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// a... |
using System;
using System.Windows.Forms;
namespace _41016_Ex10
{
class Search{
static public Form1 S;
static internal void Bt_search_Click(object sender, EventArgs e)
{
int sum = 0;
bool found = false;
for (int i = 0; i < S.person.GetLeng... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace affärslager
{
internal class FakturaRepository
{
internal List<Faktura> fakturor = new List<Faktura>();
internal void LäggTillFaktura(int bokningsNummer, st... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace ApplicationNavigation.Model
{
public class Warrior : PlayerCharacter
{
public Warrior()
{
}
~Warrior()
{
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// Agregar los namespaces de conexión con SQL Server
using System.Data.SqlClient;
using System.Configuration;
using System.Globalization;
using System.Data;
namespace Clinica_Dental
{
class ListaCit... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Model.Locale;
using Model.Security.MembershipManagement;
using Model.InvoiceManagement;
using Business.Helper;
using Model.DataEntity;
using Uxnet.Web.Module.Common;
using Ut... |
using System;
using System.ComponentModel.DataAnnotations;
namespace ITQJ.Domain.DTOs
{
public class MileStoneCreateDTO
{
[Required]
public string Description { get; set; }
public string FileName { get; set; }
[Required]
public DateTime UploadDate { get; set; }
... |
using System.Linq;
using NUnit.Framework;
using SolidabisChallenge;
namespace Tests
{
public class SentenceTests
{
private Sentence _sut;
[Test]
public void WordsAreSplitAndTurnedToLowerCase()
{
_sut = new Sentence("Ywsä xood emääje eföäooä xsyowä vszywåwm öässddode... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assignment5
{
public class Inventory
{
//int slots; //removed it from now, not clear what it will be used for
List<Item> items;
public Inventory(int slots)
... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game.Mono;
[Attribute38("FriendListFriendFrameOffsets")]
public class FriendListFriendFrameOffsets : MonoClass
{
public FriendListFriendFrameOffsets(IntPtr address) : this(address, "FriendListFriendFrameOffsets")
... |
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using webapi.Models;
namespace webapi.Credit
{
public interface ICreditCompeny
{
Task<APIResponse> ChargeCredit(TransactionInfo transaction);
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
public class CustomMenuItems
{
#region debug
const string kDebugLuaAssetBundlesMenu = "Custom/Debug Lua";
[MenuItem(kDebugLuaAssetBundlesMenu, false,... |
using _01_Review.Data;
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 _01_Review
{
public partial class Form1 : Form
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ConfigMenu : MonoBehaviour
{
public List<GameObject> Buttons;
public GameObject playSub;
private bool PlayIsActive= false;
// Start is called before the first frame update
void Start()
{
... |
// --------------------------------------------------------------------------------------------------------------
// <copyright file="RequestResult.cs" company="Tiny开源团队">
// Copyright (c) 2017-2018 Tiny. All rights reserved.
// </copyright>
// <site>http://www.lxking.cn</site>
// <last-editor>ArcherTrister</... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Destruction : MonoBehaviour {
public int damage;
void OnTriggerEnter(Collider other){
other.GetComponent<Health> ().IncrementHealth (damage);
Destroy (gameObject);
}
}
|
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;
public class PlayerDeathLoop : MonoBehaviour
{
public GameObject DetonatorPrefab;
public AudioClip DeathSFX;
private GameObject body;
private GameObject respawnPoint;
private AudioSource a... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ByteBank
{
class Program
{
static void Main(string[] args)
{
try
{
ContaCorrente conta = new ContaCorrente(1612, 58479);
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Yeasca.Commande;
using Yeasca.Metier;
namespace Yeasca.TestsUnitaires.Commande.Profiles
{
[TestClass]
public class TestModifierClientCommande
{
[TestInitialize]
public void initialiser()
{
ConfigurationTest.initi... |
using System;
using Indico;
using Indico.Request;
using Indico.Entity;
using Newtonsoft.Json.Linq;
using System.Threading.Tasks;
namespace Examples
{
class GraphQL
{
async static Task Main(string[] args)
{
IndicoConfig config = new IndicoConfig(
host: "app.indico.io... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public enum NivelUsuario : int
{
Bajo = 0,
Medio = 1,
Alto = 2
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CareerCup150.Chapter3_StacksAndQueues
{
/*
* Describe how you could use a single array to implement three stacks.
*/
public class _03_01_ThreeStacksInOneArray
{
const int stackSize = 300;
... |
// Log.cs
// Author:
// Stephen Shaw <sshaw@decriptor.com>
// Copyright (c) 2009 Stephen Shaw
using System;
namespace Agora.Logger
{
/// <summary>
/// Different Levels of logging
/// </summary>
public enum Level
{
DEBUG,
INFO,
WARN,
ERROR,
FATAL
}
public static class Logger
{
public static... |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Common;
using RealEstate.BusinessObjects;
using RealEstate.DataAccess;
namespace RealEstate.BusinessLogic
{
public class CategorysBL
{
#region ***** Init Methods *****
Categorys... |
using System;
using UnityEngine;
namespace RO.Test
{
public class TestRoam : MonoBehaviour
{
public float DEFAULT_SCREEN_SIZE_INCH = 4f;
public float touchSenseInch = 0.1f;
public float roamSpeed = 0.1f;
private InputHelper[] helpers
{
get;
set;
}
private StateMachine<InputController> control... |
using System.Collections;
using UnityEngine;
using UnityStandardAssets.Characters.FirstPerson;
public class Player : AEntity
{
#region Fields
private FirstPersonController controller;
private Energy energy = new Energy(1500, 1500);
private EPlayerState state = EPlayerState.None;
[SerializeField]
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Alfheim.FuzzyLogic.Variables.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Alfheim.FuzzyLogic.Variables.Model;
using Alfheim.FuzzyLogic.Functions;
namespace Alfheim.FuzzyLogi... |
using System.Collections.Generic;
namespace StochSolver
{
class Contractor
{
public string name = "";
public List<double> probabilities = new List<double>();
public bool selected = false;
public Contractor() { }
public Contractor(string name, List<double> probabiliti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
using System.IO;
using ChartServer.server;
namespace ChartServer.util
{
public class AESCryptos
{
public static int AES_KEY_SIZE = 128;
publi... |
using System;
using System.Collections.Generic;
using System.Web.Http;
using System.Web.Routing;
using EP.CursoMvc.Application.Interfaces;
using EP.CursoMvc.Application.ViewModels;
namespace EP.CursoMvc.Services.ClienteAPI.Controllers
{
public class ClientesController : ApiBase
{
private readonly ICli... |
using UnityEngine;
[SLua.CustomLuaClass]
public class OzGameManager : LuaMonoBehaviourBase
{
public static OzGameManager Instance
{
get
{
return OzSingleton.GetSingleTon<OzGameManager>();
}
}
private static string FuncOnApplicationPause = "OnApplicationPause";
... |
using System.Text;
using System;
using System.Collections.Generic;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using System.Net.Http;
using System.Drawing;
using System.Collections.ObjectModel;
using System.Xml;
using System.ComponentModel;
using System.Reflection;
namespace LinnworksAPI
{
public class ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Countdown : MonoBehaviour {
private int CountdownTime = 3;
private int CurrentTime;
[SerializeField] private UnityEngine.UI.Text CountdownText;
public void StartCountdown(){
//GameMgr.PauseGame();
CurrentTime = Coun... |
using Dock.Model.ReactiveUI.Controls;
using ReactiveUI;
namespace Notepad.ViewModels.Documents
{
public class FileViewModel : Document
{
private string _path = string.Empty;
private string _text = string.Empty;
private string _encoding = string.Empty;
public string Path
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.