text stringlengths 13 6.01M |
|---|
using System.Threading;
using System.Threading.Tasks;
using OmniSharp.Extensions.DebugAdapter.Protocol.Requests;
using OmniSharp.Extensions.JsonRpc;
namespace OmniSharp.Extensions.DebugAdapter.Protocol.Server
{
/// <summary>
/// Gives your class or handler an opportunity to interact with
/// the <see cref... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using GetLogsClient.ListBoxContent... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GridManager : MonoBehaviour
{
//static objects
//if you added a ramp
//no way to make the player respect the navigation
//need a navmesh !obstacle
[SerializeField]
private GameObject _gridPrefab;
pub... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace GenericTypes
{
class Program
{
static void Main(string[] args)
{
var list = new List<int>();
list.Add(10);
var list2 = new ArrayList();
list2.Add(1);
... |
using Puzzle.Interfaces;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Puzzle
{
public class ImagePositionSearch: IImagePositionSearch
{
private int _width;
private int _height;
privat... |
namespace Weapons.Dynamite.Code
{
public class DynamitesActive
{
public bool IsDynamiteActive;
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nodes
{
public class Nodes<TKey, TValue> : IEnumerable<Nodes<TKey, TValue>>, IEquatable<Nodes<TKey, TValue>>
where TKey : IComparable<TKey>
{
... |
using UnityEngine;
using System.Collections;
using System;
using System.Linq;
using System.Collections.Generic;
public class GameManager : MonoBehaviour {
/**
* GAME STATES:
* GAME_INTRO
* ENEMY_SPAWN
* PLAYER_TURN
* ENEMY_TURN
* BATTLE_END
*
*/
StateMachine<GameManag... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class chargingHandleSpawn : MonoBehaviour
{
//charging Handle
public GameObject chargeGO;
public Transform chargeJoint;
public GameObject chargeJointGO;
private bool chargeHandleSpawn = false;
// Use this f... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Rigidbody))]
[RequireComponent(typeof(AudioSource))]
public class CubeController : MonoBehaviour
{
public bool isRotating = false;
public float rotAngle = 1.0f;
public Material colorSuccess;
AudioS... |
using UnityEngine;
using System;
public class CharacterInfo : MonoBehaviour
{
private CharacterMovement movement;
private CharacterAnimation anim;
private TeamManager team;
public GameObject graphic;
public GameObject sprite;
public event Action OnLead;
private bool active = true;
... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_LightRenderMode : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.LightRenderMode");
LuaObject.addMember(l, 0, "Auto");
LuaObject.addMember(l, 1, "ForcePixel");
LuaObject.addMember(l, 2, "ForceVer... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Yeasca.Metier;
using Yeasca.Mongo;
namespace Yeasca.TestsUnitaires.Persistance
{
[TestClass]
public class TestEntrepotMongo
{
[TestMethod]
public void TestEntrepotMongo_peutCréerUnEntrepotAvecUnFournisseurDeTest()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Steamworks;
public class LeaderBoard : MonoBehaviour {
void Start ()
{
//EasySteamLeaderboards.Instance.GetLeaderboard("");
}
}
|
using System;
using DependencyInjectionExample.Classes;
using DependencyInjectionExample.Interfaces;
using Microsoft.Extensions.DependencyInjection;
namespace DependencyInjectionExample
{
class Program
{
static void Main(string[] args)
{
var serviceCollection = new ServiceCollectio... |
public class Solution {
public bool IsPowerOfFour(int num) {
return (num > 0 && (int) (Math.Log10(num) / Math.Log10(4)) - Math.Log10(num) / Math.Log10(4) == 0);
}
}
class Solution {
public:
bool isPowerOfFour(int num) {
return num > 0 && !(num & amp;
(num - 1)) &&... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents.Text
{
public static class Strings
{
public static string Combine(string string1, string string2)
{
StringBuilder SB = new StringBuilder()... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="HomeController.cs" company="">
//
// </copyright>
// <summary>
// The home controller.
// </summary>
// ----------------------------------------------------------------------... |
using System.Collections.Generic;
namespace HCL.Academy.Model
{
public class ProjectData
{
public List<Project> projects { get; set; }
public List<ProjectSkill> projectSkills { get; set; }
public List<ProjectSkillResource> projectSkillResources { get; set; }
}
} |
using System;
using System.Collections.Generic;
using UnityEngine;
public class GenRoom {
// ---Internal for generation only---
// TODO make them package protected please
public RectInt bounds = new RectInt();
public HashSet<Vector2Int> doorsDown = new HashSet<Vector2Int>();
public HashSet<Vector2Int> do... |
using System.Threading.Tasks;
using VehicleManagement.Domain.Entities;
namespace VehicleManagement.Application.Common.Interfaces
{
public interface IBrandRepository : IRepository<Brand>
{
Task<Brand> AddModelInBrand(Brand brand, Model model);
}
} |
using System;
namespace JqD.Common
{
public class CurrentTimeProvider : ICurrentTimeProvider
{
public DateTime CurrentTime()
{
return DateTime.Now;
}
}
} |
namespace _6.CompanyRoster
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main(string[] args)
{
var listOfEmployees = new List<Employee>();
var numberOfEmplyees = int.Parse(Console.ReadLine());
... |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the abo... |
using PeliculasAPI.DTOs;
using System.Threading.Tasks;
namespace PeliculasAPI.Services
{
public interface IRatingService
{
Task<RatingDto> Rate(RatingDto newRating, string email);
Task<int> GetUserRating(int peliculaId, string email);
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Room : MonoBehaviour
{
public bool closeWhenEntered;
public GameObject[] doors;
public bool roomActive;
// Start is called before the first frame update
void Start()
{
}
// Update ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassLibrary
{
public class DomesticStudent:Student
{
DomesticStudent ds = new DomesticStudent();
public override void displayStudent()
{
base.displa... |
using System.Linq;
using System.Threading.Tasks;
using MvvmCross.Core.ViewModels;
using Newtonsoft.Json;
using Tekstomania.Mobile.Core.Models;
using Tekstomania.Mobile.Core.Models.Enums;
using Tekstomania.Mobile.Core.Services;
using Tekstomania.Mobile.Core.Services.Interfaces;
namespace Tekstomania.Mobile.Core.ViewMo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DeliverPad : MonoBehaviour, Interactable
{
ClientManager clients;
public enum Status {
Empty,
Cup
}
public Status currentState = Status.Empty;
// Start is called before the first frame up... |
/*
* Copyright 2014 Technische Universität Darmstadt
*
* 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 appl... |
using PurificationPioneer.Const;
using ReadyGamerOne.View;
using UnityEngine;
namespace PurificationPioneer.View
{
public class WakeUpPanelScript : MonoBehaviour
{
public void BeginGame()
{
PanelMgr.PushPanel(PanelName.WelcomePanel);
}
}
} |
// GIMP# - A C# wrapper around the GIMP Library
// Copyright (C) 2004-2009 Maurits Rijk
//
// FileEntry.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 the... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using MvvmCross.Core.ViewModels;
using MvvmCross.Droid.Platform;
using EsMo.Sina.SDK.Model;
using MvvmCross... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using PackageActionsContrib.Helpers;
using umbraco.BasePages;
using umbraco.BusinessLogic;
using umbraco.cms.businesslogic.packager.standardPackageActions;
using umbraco.DataLayer;
using umbraco.interfaces;
namespace PackageActionsCon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.UI;
using AutoMapper;
using SaleShop.Common;
using SaleShop.Model.Models;
using SaleShop.Service;
using SaleShop.Web.Models;
namespace SaleShop.Web.Controllers
{
public class HomeController ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _4.AverageGrades
{
class Program
{
static void Main(string[] args)
{
int numbersOfStudent = int.Parse(Console.ReadLine());
List<Student> student... |
namespace SoftwareDeveloperIO.Collections.Generic
{
public class LinkedListNode<T> : ILinkedListNode<T>
{
public LinkedList<T> List { get; }
public LinkedListNode<T> Next { get; set; }
public LinkedListNode<T> Previous { get; set; }
public T Value { get; set; }
}
}
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CarRacing.Models.Cars
{
public class TunedCar : Car
{
public TunedCar(string make, string model, string VIN, int horsePower) : base(make, model, VIN, horsePower, 65, 7.5)
{
}
public overri... |
using UnityEngine;
[RequireComponent(typeof(Animator))]
public class CharacterAnimation : MonoBehaviour
{
public SpriteRenderer characterSprite;
public GameObject root;
private Animator anim;
private GameManager game;
private void Awake()
{
anim = GetComponent<Animator>();
g... |
using System.Text;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.SpaServices.ReactDevelopmentServer;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.... |
using Cinema.Data.Contracts;
using Cinema.Data.Models;
using NUnit.Framework;
using System;
namespace Cinema.Tests.Data.Repositories.GenericRepository
{
[TestFixture]
public class ConstructorShould
{
[Test]
public void ThrowWhenParameterDbContextHasNullValue()
{
ICinema... |
using System;
using System.Threading;
namespace CSharp.DesignPatterns.Proxy
{
class Program
{
static void Main(string[] args)
{
//Proxy Design Pattern Structural'dir.
//Structural nesneler arasındaki yapıları ifade eder.
//Bol bol kaynak tüketen bir objeye s... |
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.Data.SqlClient;
namespace market_takip
{
public partial class Form3 : Form
{
public Form1 frm1;
p... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsultingManager.Infra.Database.Models
{
public class CityPoco
{
public Guid Id { get; set; }
public string Code { get; set; }
public string Name { get; set; }
public string State { get; set; }
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ContactManagementApplication
{
public partial class Default1 : BasePage
{
protected void Page_Load(object sender, EventArgs e)
{
}
... |
using MediatR;
using Publicon.Infrastructure.DTOs;
using System.Collections.Generic;
namespace Publicon.Infrastructure.Commands.Models.Category
{
public class CreateCategoryCommand : IRequest<CategoryDTO>
{
public string Name { get; set; }
public string Description { get; set; }
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using Microsoft.Pex.Framework;
using PexAPIWrapper;
//using System.Diagnostics.Contracts;
namespace CodeContractBenchmark
{
public class CodeContractBenchmark
{
public int[] GTZer... |
using System;
using Toppler.Core;
using Xunit;
namespace Toppler.Tests.Unit.Core
{
public class KeyFactoryTest
{
[Fact]
public void KeyFactory_NoNs_ShouldReturnReturnKey()
{
var keyFactory = new DefaultKeyFactory(string.Empty);
Assert.Equal(string.Empty, keyFac... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Text;
using System.Threading.Tasks;
namespace Tests
{
public class BloggingContext : DbContext
{
public DbSet<Blog> Blogs { get; set; }
}
public class Blog
{
public Guid Id { get; set; }
... |
using System;
using System.Windows.Input;
class RelayCommand : ICommand
{
/// <summary>
/// Class that describe a relay Command
/// </summary>
private Action function;
private Predicate<Object> canExec;
/// <summary>
/// Create a relay command who launch the function f
/// </summary>... |
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IdentityModel.Claims;
using System.IdentityModel.Tokens;
using System.Linq;
using System.Web;
namespace MeetingRoomBot.Helpers
{
pu... |
using System;
using Microsoft.SqlServer.Management.Common;
using Microsoft.SqlServer.Management.Smo;
using System.Collections.Generic;
using System.Data;
using HadrBenchMark;
using System.Threading;
namespace HadrBenchMark
{
class Program
{
static void Main(string[] args)
{
HadrTes... |
using System.Collections;
namespace UserCollection
{
public class UserCollection : IEnumerable
{
private readonly int[] _array;
public UserCollection(params int[] array)
{
_array = array;
}
public IEnumerator GetEnumerator()
{
return ne... |
using System.Diagnostics;
using System.Collections.ObjectModel;
using StudyEspanol.Data.Models;
using StudyEspanol.Resources.Strings;
using StudyEspanol.Views.Screens;
namespace StudyEspanol.Data.Managers
{
public class OptionsManager : Manager<OptionsManager.OptionGroup>
{
#region Fields
OptionGroup group1;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Shooter
{
class Exit : IDrawable, IInteractable, ITileSpecial
{
bool _animation;
bool _drawn;
bool _reverse;
int _step;
int _delay;
UnitPlayer _player;
public Exit()
{
_reverse = _an... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using Advanced_Combat_Tracker;
using Machina.FFXIV.Headers;
using System.IO;
namespace OpCodeReflect
{
... |
using System;
using ApplicationCore.Interfaces;
using System.Collections.Generic;
//using ApplicationCore.Entities.DoctorAggregate;
namespace ApplicationCore.Entities.DoctorAggregate
{
public class Doctor : IAggregateRoot
{
public string DoctorId{get; set;}
public string DoctorName{get; set;}
... |
using AutoMapper;
using ImmedisHCM.Services.Core;
using ImmedisHCM.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ImmedisHCM.Web.Controllers
{
[Authorize]
[Route("[... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SampleEntityCore.Models
{
public class Product
{
public string ProductID { get; set; }
public int CategoryID { get; set; }
public string ProductName { get; set; }
public s... |
using FacialRecognitionLogical;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Media.Capture;
using Windows.Media.MediaProperties;
using Windows.Storage;
using Windows.Storage.Streams;
using Windows.UI.Xaml.Controls;
n... |
using System;
using System.Collections;
using System.Diagnostics;
using UnityEngine;
namespace RO
{
[CustomLuaClass]
public class CircleDrawerSmooth : MonoBehaviour
{
public CircleDrawer drawer;
public float duration = 1f;
public float radius;
private float velocity;
private bool smoothing;
private... |
namespace Swiddler.NetworkSniffer
{
class UDPParser : PacketParserBase
{
public override bool ParseHeader(RawPacket packet)
{
if (packet.DataLength < 8)
return false; // too small
var raw = packet.Buffer;
var p = packet.HeaderLength; // IP he... |
namespace DependencyInjectionExample.Interfaces
{
public interface ICommand
{
bool ShouldProcess(string input);
void Process(string input);
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
namespace Serialization.Binary
{
class Binario
{
List<Produto> produtos;
BinaryFormatter binaryFormatter;
public Binario()
{
pr... |
using System;
using System.Collections.Generic;
namespace Adneom.CoffeMachine.Domain.Entities
{
public partial class OperateurService
{
public OperateurService()
{
ServiceMachine = new HashSet<ServiceMachine>();
}
public int Id { get; set; }
public string O... |
using SimpleInjectorTest.Model;
using System.Collections.Generic;
namespace SimpleInjectorTest.Data
{
class ProdutoDao : IProdutoDao
{
public List<Produto> GetProdutos()
{
var list = new List<Produto>()
{
{ new Produto() { Nome = "TV", Preco = 12.50} },
... |
using System;
using System.Linq;
using System.Xml.Linq;
using Emanate.Core;
using Emanate.Core.Configuration;
using Emanate.Core.Input;
using Emanate.Core.Output;
using Serilog;
namespace Emanate.Delcom
{
public class DelcomDevice : IOutputDevice
{
private const string key = "delcom";
private c... |
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
namespace Apidemo2.Controllers
{
[Route("api/[controller]... |
using System;
using Entity;
using System.Data.SqlClient;
using System.Data;
namespace DataAccess
{
public class PhieuDA
{
public static PhieuEntity SelectByMaPhieu(Int64 maphieu)
{
SqlCommand command = DUtils.GetCommand();
command.CommandType = System.Data.C... |
// -----------------------------------------------------------------------
// <copyright file="SmartComponentExampleMessages.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root
// for license information... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace ExternalApps.UnitTests
{
[TestClass]
public class CustomerTests
{
public Mock<Mail> _MockMail;
[TestInitialize]
public void SetUp()
{
_MockMail = new Mock<Mail>();
}
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class AIScript : MonoBehaviour {
public int myNumber;
public int commandWait;
private Engine myEngine;
private GameObject[] states;
void Awake () {
myEngine = GameObject.Find("GameEngine").GetComponent<... |
using MetroFramework;
using MetroFramework.Forms;
using NFe.Classes.Informacoes.Pagamento;
using PDV.CONTROLER.Funcoes;
using PDV.DAO.Custom;
using PDV.DAO.DB.Utils;
using PDV.DAO.Entidades;
using PDV.DAO.Entidades.Financeiro;
using PDV.UTIL;
using System;
using System.Collections.Generic;
using System.Data;
using Sys... |
using System;
using System.Data;
using System.Linq;
using AtmDb.Data;
using AtmDb.Model;
namespace AtmDb.ConsoleClient
{
public class ConsoleClient
{
public static IAtmDbData atmData = new AtmDbData();
public static void RetrieveMoneyFromAccount(CardAccount account, decimal amount)
{... |
using be.belgium.eid;
using GalaSoft.MvvmLight.CommandWpf;
using Newtonsoft.Json;
using nmct.ba.cashlessproject.model.WPF;
using nmct.ba.cashlessproject.organisation.customerApp.ViewModel.General;
using nmct.ba.cashlessproject.organisation.employeeApp.Helper;
using nmct.ba.cashlessproject.organisation.employeeApp.View... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO; //A fájlkezeléshez kell
namespace Érettségi_felkeszítő
{
internal class Program
{
static void Main(string[] args)
{
//Változó típusok
int... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Garage.Aircrafts
{
class Aircraft : Vehicles.Vehicle
{
public string FuelCapacity { get; set; }
//public string PassengerOccupancy { get; set; }
//public string... |
//
// 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;
namespace DotNetNuke.ExtensionPoints
{
public interface IUserControlExtensionPoint : IExtensionPoint
{
string UserControlSr... |
using System;
class MainClass
{
public static void Main ()
{
Console.WriteLine ("enter an integer:");
int n = int.Parse (Console.ReadLine ());
for (int i = 1; i <= n; i++) {
Console.WriteLine (i);
}
}
}
|
public static class Storage
{
public static float BusHealth { get; set; } = 100;
public enum GameState
{
Coffee,
Bus
}
public static GameState CurrentGameState { get; set; } = GameState.Bus;
}
|
using UnityEngine;
using System.Collections;
public class GUIScript : MonoBehaviour {
public float timeToWin;
MovementScript player;
// Use this for initialization
void Start () {
player = GameObject.Find("playerShip").GetComponent<MovementScript>();
}
// Update is called once per frame
void Update () {... |
using AutoMapper;
namespace Athena.Data.Borrowings {
public class BorrowingProfile : Profile {
public BorrowingProfile() {
CreateMap<Borrowing, BorrowingView>().ReverseMap();
}
}
} |
using System;
using System.Globalization;
namespace Projeto_caixa {
class Program {
static void Main(string[] args) {
Conta conta;
Console.Write("Entre com o numero da conta: ");
int numero = int.Parse(Console.ReadLine());
Console.Write("Entre com titular ... |
using System;
using HaloSharp.Model.Stats.CarnageReport;
namespace HaloHistory.Business.Entities.Stats
{
public class ArenaMatchData : BaseDataEntity<string, ArenaMatch>
{
public ArenaMatchData()
{
}
public ArenaMatchData(Guid id, ArenaMatch data) : base(id.ToString(), data)
... |
using DAL.Repo;
using Entities.Models;
using System.Collections.Generic;
using System.Data.Entity;
using MoreLinq;
namespace BL.Services
{
public class ServiceSemaine
{
static public void addSemaine(Semaine semaine)
{
using (SemaineRepository semainerepo = new SemaineRepository())... |
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Webcorp.lib.onedcut
{
public class Beams : ReactiveList<BeamToCut>
{
public Beams():base()
{
}
public Beams(IEnumerable<BeamToCut> e... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Fighter : MonoBehaviour
{
[SerializeField] Weapon weaponPrefab;
[SerializeField] Transform leftHandTransform;
[SerializeField] Transform rightHandTransform;
[SerializeField] float attack... |
using System.Threading;
using System.Threading.Tasks;
using Application.Core;
using Application.Interfaces;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Persistence;
using System.Linq;
namespace Application.Photos
{
public class Delete
{
public class Command: IRequest<Result<Unit>>
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace OnSale.Web.Data.Entity
{
public class Currency
{
public int CurrencyID { get; set; }
[DisplayName("... |
using System;
using Workout.Services;
using Workout.Services.Settings;
namespace Workout.Models
{
/// <summary>
/// Provides HRM related data.
/// </summary>
public class HeartRateMonitorModel
{
#region fields
/// <summary>
/// Constant from research of <see href="https://... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Darek_kancelaria.Models
{
public class CaseModel
{
public int Id { get; set; }
[Required]
[Display(Name ="Rodzaj sprawy")]
publ... |
using System;
using System.Text;
namespace ShCore.Utility
{
/// <summary>
/// Thư viện
/// </summary>
public class Function : Singleton<Function>
{
private string abc = "abcdefghijklmnopqrstuvwxyz0123456789";
/// <summary>
/// Đối tượng tạo random
/// </summary>
... |
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(Condition))]
public class ConditionEditor :Editor
{
} |
/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
*
* 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 require... |
using System;
public struct TerraBasis {
public TerraVector3[] matrix;
public static TerraBasis InitEmpty () {
TerraVector3[] matrix = new TerraVector3[3];
matrix[0].x = 1;
matrix[0].y = 0;
matrix[0].z = 0;
matrix[1].x = 0;
matrix[1].y = 1;
matrix[1].z... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OldTimeRail
{
class Help
{
/// <summary>
/// Help File Class.
/// </summary>
public void HelpMe()
{
Console.Clear();
Co... |
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using System;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace ZenHub.Pipeline
{
internal class ThrowOnErrorStatusPolicy : HttpPipelinePolicy
{
public override void Process(HttpMessage message, ReadOnlyMemory<HttpPi... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace Intex.Models
{
public class TestMaterial
{
public Test Tests { get; set; }
public Material Materials {... |
//using System.Net.Sockets;
using System.Net;
using System.Threading;
using System;
public class AbstractBot
{
public const int SmallBlind = 20;
public string Name = string.Empty;
public string NameRoom = string.Empty;
public double[] Money = new double[6];
public bool[] Play = new bo... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Soko.Domain;
using Bilten.Dao;
using NHibernate;
using NHibernate.Context;
using Soko.Data;
using Soko.Exceptions;
namespace Soko.UI
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.