text stringlengths 13 6.01M |
|---|
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 Emgu.CV;
using Emgu.CV.CvEnum;
using Emgu.CV.Structure;
namespace LearnEmguCV
{
public partial... |
using Fiap.Microservices.Produtos.Api.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Fiap.Microservices.Produtos.Api.Persistence.Repository
{
public interface IProdutoRepository
{
Task<Produto> Criar(Produto produto);
Task<Produto> SelecionarPorId(int id);
... |
#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 Microsoft.EntityFrameworkCore.Migrations;
namespace EatDrinkApplication.Migrations
{
public partial class AddedSavedFoodsTable : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "AspNetRoles",
... |
using UnityEngine;
using UnityExtensions.Characters;
using UnityExtensions.Runtime.Managers;
namespace UnityExtensions.Interaction.Controllers
{
public class PlayerInteractionController : ACharacterInteractionController
{
#region Attributes
public static PlayerInteractionController current { ... |
using System.IO;
namespace Utilities
{
public static class StreamExtensions
{
public static byte[] ReadFully(this Stream stream)
{
byte[] buffer = new byte[32768];
using (MemoryStream ms = new MemoryStream())
{
while (true)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UI_Main : UI_Scene
{
enum Buttons
{
StartButton,
}
enum Texts
{
MainText,
DevelopByText,
}
enum Image
{
Background,
}
public over... |
using System;
using System.Collections.Generic;
using System.Text;
using Android.App;
using Android.Content;
namespace EstimoteTest
{
public interface IProximityService
{
void Init(Context context);
void StartProximityObservation();
}
} |
using System.ComponentModel;
using System.Xml.Serialization;
using PlatformRacing3.Web.Utils;
namespace PlatformRacing3.Web.Responses.Procedures;
public class DataAccessSaveLevel4Response : DataAccessDataResponse<DataAccessSaveLevel4Response.LevelSaveResponse>
{
public DataAccessSaveLevel4Response()
{
this.Rows ... |
using System;
using System.Threading;
using System.Net.Http;
using System.Threading.Tasks;
namespace Chapter1.Model
{
/// <summary>
/// Class to generate authentication tokens to use for Bing Speech API
/// </summary>
public class Authentication : IDisposable
{
private string _clientSecret... |
namespace UpnpModels.Model
{
public enum ServiceType
{
SwitchPower1,
TemperatureSensor1,
TemperatureSetpoint1,
VContainer1,
Dimmer1,
HomeAutomationGateway1,
HumiditySensor1
}
}
|
using CsQuery;
using Sitecore;
using Sitecore.Configuration;
using Sitecore.Data.Items;
using Sitecore.Diagnostics;
using Sitecore.IO;
using Sitecore.Security.Domains;
using Sitecore.SecurityModel;
using Sitecore.Sites;
using Sitecore.Text;
using Sitecore.Web;
using SitecoreCDN.Caching;
using SitecoreCDN.Configuration... |
using System;
namespace Calculator.One_Argument
{
public class arctg : CalcForOneArgument
{
/// <summary>
/// This method returns a value of arctg
/// </summary>
/// <param name="firstArgument"></param>
/// <returns></returns>
public double Calculate(double firs... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace SignalR.Client.Controllers
{
public class TestController : Controller
{
public IActionResult Index()
{
return View();
}
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace UnitTests.DummyClasses.Navigation
{
/// <summary>
/// This class creates dummy <see cref="System.Web.SiteMapProvider"/>
/// </summary>
class DummySiteMapProvi... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows.Threading;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.CommandWpf;
using PhotoGadget.Properties;
namespace PhotoGadget.Views
{
public class PhotoGadgetViewModel : ViewModelBase... |
using Grifling.Blog.DomainModels;
using Grifling.Service.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Controllers.ViewModels.Admin
{
public class AddPageViewModel
{
public Guid Id { get; set; }
public AccountUser User { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace API.Omorfias.Domain.Interfaces.Configuracoes
{
public interface IGerenciadorDeConfiguracoes
{
T ObterValor<T>(string chave);
void InserirRegistro(KeyValuePair<string, string> registro);
void InserirRegistros(I... |
using UnityEngine;
namespace ETModel
{
public enum CardType
{
entity,
show
}
public class CardAwakeSystem : AwakeSystem<Card, CardType>
{
public override void Awake(Card self, CardType a)
{
self.Awake(a);
}
}
public partial class Card :... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InfoPole.Tests.TestData
{
class FileHeaders
{
public static IEnumerable<string> GetFileHeaders()
{
return new[]
{
"page id; Запр... |
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using AbstractClassesExamples.Annotations;
namespace AbstractClassesExamples
{
class Program
{
static void Main(string[] args)
{
//var h = new Hund();
//Console.WriteLine(h.Beschreibe());
... |
namespace Proyek_Informatika.Report
{
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using Telerik.Reporting;
using Telerik.Reporting.Drawing;
/// <summary>
/// Summary description for NilaiSkripsi1.
/// </summary>
public partial cla... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.IO;
namespace aMuleCtrl
{
class AMuleInterfaces
{
static int SERVER_PORT = 23456;
static int RESU... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ButtonHandler : MonoBehaviour
{
PlayerMovement playerMovement;
PlayerCombat playerCombat;
bool clicked = false;
public AudioClip playerAttack;
AudioSource playerAS;
// Start is called before the first... |
using FileNamer.Service.DataTypes;
using FileNamer.Service.Interfaces;
namespace FileNamer.Service
{
/// <summary>
/// Wrapper for file system
/// </summary>
public class FileWrapper : IFileWrapper
{
public List<string> GetFolderFiles(string folderPath)
{
string[] fi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScriptForThePrefab : MonoBehaviour
{
GameObject[] CubeArray;
//public GameObject Cube_AttachedScript;
IEnumerator CreateArray;
//float counter;
public Material cubeMaterial;
public Camera camera;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace dynamic_configuration_parser
{
public interface IParser
{
dynamic Parse(string configuration);
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class ImageLoader : MonoBehaviour
{
public string[] url;
public Renderer thisRenderer;
private Material[] materials;
private int urlIndex;
// Start is called before the first frame... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using CTCT.Util;
namespace CTCT.Components.AccountServices
{
/// <summary>
/// Summary class.
/// </summary>
[DataContract]
[Serializable]
public class AccountSummary : Com... |
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 HoraireBeta;
namespace HoraireBeta
{
public partial class NbPoste : Form
{
String pname;
... |
using System.Collections.Generic;
namespace Flyweight.Entities
{
public class TartarugaFlyweight
{
private Dictionary<string, Tartaruga> ListaTartaruga = new Dictionary<string, Tartaruga>();
public Tartaruga GetTartaruga(string cor)
{
Tartaruga tartaruga = null;
... |
namespace FictionFantasyServer.Data.Enums
{
public enum Orientation
{
Protagonist,
Antagonist,
Neutral
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using System.Web.Mvc.Ajax;
namespace ScriptManage.Models
{
public class HtmlPager
{
public long TotalRecord { get; set; }
public int PageSize { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace FeedBackPlatformWeb.Models.Surveys
{
public class DetailSurveyModel
{
public SurveyDetailsModel SurveyDetailsModel { get; set; }
public EmailAdressModel EmailAdress { get; set; }
}
} |
namespace WebGateway.App.Infrastructure
{
using System.Net.Http;
using WebGateway.Messaging.Interfaces;
using WebGateway.NetworkServices.Services;
using WebGateway.NetworkServices.Interfaces;
using WebGateway.Messaging.MessagingServices;
using Microsoft.Extensions.DependencyInjection;
publ... |
using System;
using System.Reflection;
using log4net;
namespace Plus.Core
{
public static class ExceptionLogger
{
private static readonly ILog SqlLogger = LogManager.GetLogger(Assembly.GetCallingAssembly(), "MySQL");
private static readonly ILog ThreadLogger = LogManager.GetLogger(Ass... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerSkimming : MonoBehaviour
{
[Tooltip("How many points should be gained per second while skimming")]
[SerializeField] private long m_lSkimPoints;
[Tooltip("The particle system skimming is attached to")]
[Ser... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Hotel.Data.Models;
using Hotel.Web.Areas.ModulRecepcija.ViewModels;
using Hotel.Web.Helper;
using Microsoft.AspNetCore.Mvc;
namespace Hotel.Web.Areas.ModulRecepcija.Controllers
{
[Area("ModulRecepcija")]
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TailorIT.API.Commands.Common
{
public class ErrorDetailException
{
public string Field { get; set; }
public string Error { get; set; }
public ErrorDetailException(string field, s... |
using UnityEngine;
using System.Collections;
public class TuningData : MonoBehaviour
{
private static TuningData _instance = null;
public static TuningData Instance {
get { return _instance; }
}
private void Awake() {
_instance = this;
}
public float SwapAnimationTime;
public float TileDropSpeed;
publ... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("PolymorphSpell")]
public class PolymorphSpell : SuperSpell
{
public PolymorphSpell(IntPtr address) : this(address, "PolymorphSpell")
{
}
public PolymorphSpell(IntPtr address, string className) ... |
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace aoc2019.Test
{
public class InputDataHelper
{
public static List<string> GetLines(int day)
{
return File.ReadAllLines($"C:\\Code\\aoc2019\\Data\\input{day:00}.txt").ToList();
}
public st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CommonLib.Core.Properties;
using CommonLib.Core.Utility;
using CommonLib.PlugInAdapter;
namespace CommonLib.Core.Helper
{
public class PlugInHelper
{
private static PlugInHelper _instance;
private IPdfU... |
// Copyright 2017-2019 Elringus (Artyom Sovetnikov). All Rights Reserved.
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
namespace Naninovel
{
[System.Serializable]
public class ScriptsConfiguration : Configuration
{
public const string DefaultScriptsPathPrefix... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using LibraryProjectMvc.Models.Entity;
namespace MvcLibraryProject.Controllers
{
[Authorize(Roles = "A")]
public class EmployeeController : Controller
{
LibraryProjectEntities db = new Library... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Rentalis_v2.Models
{
public class BookingModels
{
public int? Id { get; set; }
public int carId { get; set; }
public int userId { get; set; }
public DateTime DateTimeFrom { get; se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GenerationXML
{
class Program
{
static void Main(string[] args)
{
BusRoutesTableAdapters.SpGetBusRoutesAtAStopTableAdapter busRoutesAdapter = new BusRoutesT... |
using UnityEngine;
public class TouchMovement : MonoBehaviour {
private void Start() {
}
// Update is called once per frame
void Update() {
if (Input.touchCount > 0) {
Touch touch = Input.GetTouch(0); // get first touch since touch count is greater than zero
... |
using UnityEngine;
using System.Collections.Generic;
[System.Serializable]
public class CharacterAttributes
{
public int aggression;
public int charisma;
public int popularity;
public int engagement
{
get
{
return aggression + charisma + popularity;
}
}
}
[... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ERP_MODEL;
using System.Data.Entity;
namespace ERP_DAL
{
public class Dimissiondal
{
DBContent content = new DBContent();
/// <summary>
/// /请假添加
/// </summ... |
using System;
namespace _3EqualNumbers
{
class _3EqualNumbers
{
static void Main(string[] args)
{
decimal first, second, thurd;
first = decimal.Parse(Console.ReadLine());
second = decimal.Parse(Console.ReadLine());
thurd = decimal.Parse(Console.R... |
using System;
using System.Globalization;
using System.Windows.Data;
namespace WpfApplication2
{
public class BytesToUnitsConverter : IValueConverter
{
private static readonly string[] Units = {"b", "kb", "mb", "gb", "tb"};
public object Convert(object value, Type targetType, object parameter,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.DomesticTicket.Domain.Services
{
/// <summary>
/// 计算金额类
/// </summary>
public class DataBill
{
/// <summary>
/// //四舍五入
/// </summary>
/// <param name="number">... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MemoryGameProject
{
public class GameStatsLogic : BaseLogic
{
public IQueryable<Object> GetAllGameStats()
{
return from g in DB.GameStats
... |
using System;
using UnityEngine;
namespace UnityUIPlayables
{
[Serializable]
public class RawImageAnimationValue : GraphicAnimationValue
{
[SerializeField] private Rect _uvRect = new Rect(0, 0, 1, 1);
public Rect UvRect => _uvRect;
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Pes.Core;
using StructureMap;
using Pes.Core.Impl;
namespace PESWeb.Tags
{
public class TagsPresenter
{
private ITags _view;
private IWebContext _webContext;
public TagsPresenter()
... |
//
// 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 DotNetNuke.Entities.Users;
namespace DotNetNuke.Entities.Profile
{
public class ProfileEventArgs : EventArgs
{
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using N = System.IO.Compression;
namespace DeflateStream
{
class Program
{
static void Main(string[] args)
{
byte[] input = new byte[] { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, };
... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.IdentityModel.Tokens;
using senai_CZBooks.webapi.Domains;
using senai_CZBooks.webapi.Interfaces;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
namespa... |
namespace iCopy.SERVICES.Extensions
{
public static class CSharpExtensions
{
public static int ToInt(this string obj)
{
return int.Parse(obj);
}
public static int ToIntOrDefault(this string obj)
{
if (int.TryParse(obj, out int result))
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class changeAesthetic2 : MonoBehaviour
{
public AudioClip next;
public Sprite[] nextPic;
private AudioClip temp;
private int count;
void Start()
{
count = 0;
temp = GetCompone... |
using System;
using System.Collections.Generic;
namespace VavilichevGD.GameServices.AnalyticService {
/// <summary>
/// Fasade of AnalyticsService
/// </summary>
public static class Analytics {
#region EVENTS
public static event Action OnAnalyticsServiceInitializedEvent;
#endregion
public static bool ... |
namespace SGDE.DataEFCoreMySQL.Configurations
{
#region Using
using Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
#endregion
public class HourTypeConfiguration
{
public HourTypeConfiguration(EntityTypeBuilder<HourType... |
using System;
using System.ComponentModel;
namespace Athena.Data.StoragePlaces {
class StoragePlaceView : IDataErrorInfo {
public Guid Id { get; set; }
public string StoragePlaceName { get; set; }
public string Error => null;
public string this[string columnName] {
ge... |
using System;
namespace Shunxi.Business.Enums
{
public enum CapacityLevel
{
L400 = 1,
L500 = 2,
L600 = 3,
L700 = 4,
L800 = 5,
L900 = 6,
L1000 = 7
}
public static class CapacityLevelHelper
{
public static CapacityLevel GetCapacityLeve... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace AsyncAwait.Examples
{
public static class AsyncAwaitExample
{
public static async void ShowAsyncAwait()
{
Console.WriteLine("ShowAsy... |
using Microsoft.AspNetCore.Identity;
using CarWash.ClassLibrary.Enums;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CarWash.ClassLibrary.Models
{
/// <summary>
/// Database representation of a user object.
/// DB mapped entity.
/// </summar... |
using System;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraGrid.Views.Grid;
using TLF.Framework.Config;
using TLF.Framework.BaseFrame;
using TLF.Framework.Utility;
using System.ComponentModel;
using DevExpress.XtraGrid.Columns;
using DevExpress.XtraEditors.Repository;
namespa... |
#region 版本说明
/*****************************************************************************
*
* 项 目 :
* 作 者 : 李金坪
* 创建时间 : 2015/2/6 13:38:54
*
* Copyright (C) 2008 - 鹏业软件公司
*
*****************************************************************************/
#endregion
using System;
using System.Collecti... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="JenkinsAPI.cs" company="Soloplan GmbH">
// Copyright (c) Soloplan GmbH. All rights reserved.
// Licensed under the MIT License. See License-file in the project root for licens... |
using System;
using System.Windows.Forms;
namespace TCPChat
{
public partial class FormServer : Form
{
Server server;
public FormServer()
{
InitializeComponent();
server = new Server(this);
}
public void AddHistory(string text)
{
... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
#nullable disable
namespace SPDataRepository.Data.Entities
{
public record Brand : EntityBase
{
public string Name { get; set; }
public virtual ICollection<Product> Products { get; set; }
}
}
|
using _2C2PAssignment.Business.Dtos;
using _2C2PAssignment.Business.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _2C2PAssignment.Business.Validator
{
public class ValidatorBase
{
public virtual Validat... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
#endregion
namespace DotNetNuke.UI.Containers.EventListeners
{
///----------------------------------------------------... |
using System.Collections.Generic;
using CloneDeploy_DataModel;
using CloneDeploy_Entities;
using CloneDeploy_Entities.DTOs;
namespace CloneDeploy_Services
{
public class UserImageManagementServices
{
private readonly UnitOfWork _uow;
public UserImageManagementServices()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Hosting;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace BlazorEpic.Server
{
public class User
{
public string Email { get; }
public User(string email)
{
Email = emai... |
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.Med... |
#region Usings
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using System.Windows.Media.Imaging;
using Zengo.WP8.FAS.Helpers;
using... |
/*
* 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 Lab6.BLL;
using System;
using System.Collections.Generic;
using System.Text;
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.Windows.... |
// Tokenizer.cs
// Author:
// Stephen Shaw <sshaw@decriptor.com>
// Copyright (c) 2009 Stephen Shaw
using System;
using System.Collections.Generic;
using System.IO;
namespace Agora.Assembler
{
public class Tokenizer : IDisposable
{
readonly StreamReader _stream;
readonly Queue<string> _tokens;
readonl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace integral
{
public class IntegralMath: IMath
{
// Метод Трапеции
public double Trap(double a, double b, double h, Func<double, double> func)
{
if ... |
using System.Threading.Tasks;
namespace iCopy.SERVICES.IServices
{
interface IPrintRequestFile : ICRUDService<Model.Request.PrintRequestFile, Model.Request.PrintRequestFile, Model.Response.PrintRequestFile, object, int>
{
Task<Model.Response.PrintRequestFile> GetByApplicationUserId(int applicationUser... |
using System;
using Microsoft.EntityFrameworkCore;
using TestProject.Models.Ratings;
using TestProject.Models.Movies;
namespace TestProject.Data
{
public class RatingsContext : DbContext
{
public RatingsContext(DbContextOptions options) : base(options)
{
}
public DbSet<Rati... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public class Health : MonoBehaviour
{
[SerializeField] int health = 50;
//CACHE REFERENCES
Animator animator;
ParticleSystem sleepParticle;
public delegate void OnHealthCh... |
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Application.Common.Dtos;
using Application.Common.Interface;
using Application.Common.Models;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using MediatR;
using Microsoft.EntityFrameworkCore;
using... |
using System;
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
namespace Battleships.Test
{
[TestFixture]
public class BattleshipGameTest
{
private Player player1;
private Player player2;
private BattleshipGame testee;
[SetUp]
public void SetUp()
... |
using Paylocity.Models;
namespace Paylocity.Employees
{
public interface IEmployeeService
{
IEmployee CreateEmployee(string name);
void AddDependent(IEmployee employee, string name);
}
} |
namespace OmniGui.Console
{
using Geometry;
public class ConsoleAdapter : IDrawingContext
{
public void DrawRectangle(Rect rect, Color fillColor)
{
if (fillColor.Equals(Color.Transparent) || rect.IsEmpty)
{
return;
}
try
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
namespace TaskForce.ClientService
{
/// <summary>
/// Windows service for controlling running processes on the maschine
/// </... |
using DapperDB.CodeGen.Base;
using System;
using System.ComponentModel.DataAnnotations;
namespace DapperDB.Dal.Entities
{
public partial class temp_BarcodeSku : BaseModel
{
/// <summary>
///
/// </summary>
[Display(Name = "")]
public Int32 ID { get; set; }
/// <summary>
///
/// </summary>
[Dis... |
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 Logic;
namespace UI
{
public partial class GameTableForm : Form
{
private const in... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AddressBook.Modules
{
class Person : SimpleORM
{
private int id;
private string firstname;
private string lastname;
private string sex;
private int age;
public... |
using System;
class NumberComparer
{
static void Main()
{
Console.Write("First number: ");
double a = double.Parse(Console.ReadLine());
Console.Write("Second number: ");
double b = double.Parse(Console.ReadLine());
Console.WriteLine... |
namespace MindLink.Recruitment.MyChat
{
/// <summary>
/// Represents the configuration for the exporter.
/// </summary>
public sealed class ConversationExporterConfiguration
{
/// <summary>
/// The input file path.
/// </summary>
public string InputFilePath ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Experimental.VFX;
public class FireworkSpark : MonoBehaviour
{
public float minVertSpeed, maxVertSpeed;
public float minHorSpeed, maxHorSpeed;
public float duration = 2f;
//public GameObject trail;
... |
using System;
using System.Collections.Generic;
using Sitecore.Data.Items;
using Aqueduct.Domain;
namespace Aqueduct.SitecoreLib.DataAccess
{
public class DomainEntityRepository : Repository<ISitecoreDomainEntity>, IDomainEntityRepository
{
public override ISitecoreDomainEntity GetEntity(Guid... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using W3ChampionsStatisticService.Ladder;
using W3ChampionsStatisticService.Ports;
using W3ChampionsStatisticService.Services;
namespace W3ChampionsStatisticService.Clans
{
... |
using MKService.DefaultModel;
using MKService.Messages;
using MKService.ModelFactories;
using MKService.Updates;
namespace MKService.ModelUpdaters
{
/// <summary>
/// The updater for Session Time Changed Message.
/// </summary>
/// <seealso cref="MKService.ModelUpdaters.ModelUpdaterBase{MKService.Upd... |
using System;
using System.Collections.Generic;
using System.Text;
namespace GrandCloud.CS.Model
{
/// <summary>
/// The ListPartsResponse contains all the information about the
/// ListParts method.
/// </summary>
public class ListPartsResponse : CSResponse
{
private str... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.