text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace LateOS.Models
{
[MetadataType(typeof(cDevolucion))]
public partial class tbDevolucion
{
}
public class cDevolucion
{
[Display(Name = "ID Devoluc... |
using System;
using Sandbox;
namespace PermissionSystem
{
public class PermissionPlayer : Player
{
public static event Func<PlayerHasPermissionEventArgs, PlayerHasPermissionEventArgs> PlayerHasPermissionEvent;
/// <summary>
/// Does this player have permission to run this command?
/// </summary>
... |
using System;
using System.Data;
using System.Collections.Generic;
using Maticsoft.Common;
using PDTech.OA.Model;
namespace PDTech.OA.BLL
{
/// <summary>
/// 流程模板定义表
/// </summary>
public partial class WORKFLOW_TEMPLATE
{
private readonly PDTech.OA.DAL.WORKFLOW_TEMPLATE dal = new PDTech.OA.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NowPlaying.XApplication.Database;
namespace NowPlaying.XApplication
{
public static class AppInitializer
{
public static void Initialize()
{
TrackDbStore.Initi... |
using SharpShell.Attributes;
using SharpShell.SharpContextMenu;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace HashProp
{
[ComVisible(true)]
[COMServerA... |
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("Min... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Interface2;
public class csInterfaceUse : MonoBehaviour
{
IUserName playerState;
IUserName UserName;
ItemUse<int> item;
// Start is called before the first frame update
void Start()
{
playerState =... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class BulletList : MonoBehaviour
{
const int MAX_BULLET_COUNT = 9;
public GameObject bulletUI;
GameObject bulletUsingPanel, starShooterUI, obentouUI, barrierUI, kiriJetUI, zundaBombUI;
Text bul... |
using LuaInterface;
using RO;
using SLua;
using System;
using UnityEngine;
public class Lua_RO_UIScrollViewEx : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
UIScrollViewEx o = new UIScrollViewEx();
LuaObject.pushValue(l, true);
L... |
namespace PlatformRacing3.Common.Extensions;
internal static class StringExtensions
{
internal static uint CountCharsSum(this string string_)
{
uint sum = 0;
foreach(char char_ in string_)
{
sum += char_;
}
return sum;
}
} |
namespace ZooApi.ApiBlueprint.Tests.TestBuilder
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Http;
public class AstAction
{
public HttpMethod Method { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using CodeGen.MetaDataProviders;
using CodeGen.Models;
namespace MsSqlProvider
{
public class MsSqlMetaDataProvider : IMetaDataProvider
{
private readonly MsSqlController _mssqlController = new MsSqlController();
public MetaDa... |
using System.Collections;
namespace SubsciptionAPI.Code
{
public class ReturnObject
{
public ReturnObject()
{
RecordCount = 0;
ErrorMsg = "";
}
public IEnumerable DataList { get; set; }
public string ErrorMsg { get; set; }
public int Re... |
using Checkout.Payment.Processor.Application.Models.Enums;
using System;
using System.ComponentModel.DataAnnotations;
namespace Checkout.Payment.Processor.Application.Validations
{
public class CurrencyTypeAttribute : ValidationAttribute
{
public override bool IsValid(object value)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyDropItem : MonoBehaviour
{
// Update is called once per frame
private int hp;
public int chanceToSpawnAnItem = 20;
public GameObject[] items;
void Update()
{
hp = gameObject.GetComponent... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CinemalyticsCSharpSDK.Model;
using CinemalyticsCSharpSDK.Util;
using Newtonsoft.Json;
namespace CinemalyticsCSharpSDK.Repository
{
public class SongRepository
{
private static SongRepository _instan... |
using Android.Graphics;
using Plugin.CurrentActivity;
using System.IO;
using System.Threading.Tasks;
using Kit.Droid.Services;
using Kit.Services.Interfaces;
using Bitmap = Android.Graphics.Bitmap;
using View = Android.Views.View;
[assembly: Xamarin.Forms.Dependency(typeof(Screenshot))]
namespace Kit.Droid.... |
using System;
class ReversedString
{
static void Main()
{
Console.WriteLine("Enter a string: ");
string input = Console.ReadLine();
char[] reversed = input.ToCharArray();
Array.Reverse(reversed);
string output = new string(reversed);
Console.WriteLine... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Text;
namespace SSTypes.Tests
{
[TestClass]
public class SmartDoubleTests
{
[TestMethod]
public void SmartDouble_Parse_String_Test()
{
#region Similar to SmartInt
// Leading zero... |
using Hayalpc.Fatura.Common.Dtos;
using Hayalpc.Fatura.CoreApi.Services.Interfaces;
using Hayalpc.Fatura.Data;
using Hayalpc.Fatura.Data.Models;
using Hayalpc.Library.Common.Extensions;
using Hayalpc.Library.Common.Results;
using Hayalpc.Library.Log;
using Hayalpc.Library.Repository.Interfaces;
using Microsoft.Extensi... |
namespace SquareRootNaturalLogSinusPerformance
{
using System;
using System.Linq;
using BasicArithmeticOperationsPerformance;
public class CompareSquareRootNaturalLogSinus
{
public static void Main(string[] args)
{
double iterations = 1000000;
C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Exercise6
{
/* 6. Write a method that returns the index of the first element in array
* that is bigger than its neighbors, or -1, if there’s no such element.
* Use the method from the previous ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EjercicioInterfaces
{
public class Familiar:Auto
{
private int _cantidadAsientos;
public Familiar(double precio,string patente,int cantidadAsientos):base(precio,patente)
{
... |
using App.Server.Models.Markup;
using App.Server.Models.Settings;
using Framework.Db;
using Framework.Entity;
using Framework.Entity.Filter;
using Framework.Metadata;
using Framework.Remote;
using Framework.Remote.Mobile;
using Framework.Utils;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
usi... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace UnityExtensions.AI.Systems.MAS.Core
{
[Serializable]
public class Scheduler
{
#region Attributes
//private Agent m_owner;
private readonly List<Behaviour> m_enabledBehaviours = new List<Behaviour>();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class test : MonoBehaviourWithProp
{
[SerializeField]
private int myint;
public int MonToto
{
get { return myint; }
set { myint = value; }
}
[SerializeField]
private float myFloat;
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SphereMove : MonoBehaviour
{
float startpos, endpos, t;
bool iscolor;
Renderer render;
Material mat, defaultMat;
// Start is called before the first frame update
void Start()
{
t = 0.0f;
... |
using UnityEngine;
using System.Collections;
using System;
public class BasicMovement : MonoBehaviour {
Animator animator;
EntityInfo entityInfo;
CharacterController characterController;
HitPointManager hitPointManager;
double deathAnimationTime;
double timer;
// Use this for initialization... |
using Dapper;
using log4net;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Dynamic;
using System.Linq;
using System.Web;
namespace ReportesCLIN2
{
public class DictionaryConverter : JsonConverter
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using AutoRest.Core.Logging;
using System.Globalization;
namespace AutoRest.Swagger
{
/// <summary>
/// Represents a single validation violation.
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
#pragma warning disable 1591 // use this to disable comment warnings
namespace Fall2020_CSC403_Project.code {
public class BattleCharacter : Character {
public float Health { get; set; }
publ... |
using Braspag.Domain.DTO;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
namespace Braspag.Domain.Entities
{
public class Pagamento
{
[BsonRepresentation(BsonType.ObjectId)]
public string _id { get; private set; }
public string comprador { get; private ... |
// --------------------------------
// <copyright file="CarMake.cs" >
// © 2013 KarzPlus Inc.
// </copyright>
// <author>JDuverge</author>
// <summary>
// CarMake Entity Layer Object.
// </summary>
// ---------------------------------
using System;
using KarzPlus.Entities.Common;
namespace KarzPlus.Entities... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ItemEdit.Models
{
public class ModsConfigJson
{
public string name { get; set; }
public string author { get; set; }
public string license { get; set; }
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
// Write a program that removes from a text file all words listed in given another
// text file. Handle all possible exceptions in your met... |
using FXBLOOM.DomainLayer.CustomerAggregate;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace FXBLOOM.DataLayer.Configuration
{
class AccountC... |
using System;
using System.Collections.Generic;
namespace RestApiEcom.Models
{
public partial class TResPaiement
{
public int PaieId { get; set; }
public int? PaieFactId { get; set; }
public int? PaieFactAgId { get; set; }
public float? PaieMontant { get; set; }
public ... |
using System.Collections;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
//Diese Klasse ist zuständig um aus einem FMOD Event die Marker und BPM zu extrahieren.
//Die Marker werden von dieser Klasse aus an den MarkerManger weitergegeben der diese dann auswert... |
using UnityEngine;
using System.Collections;
public class ExplosionDamage : MonoBehaviour
{
public float Damage = 1.0f;
}
|
using GetLabourManager.ActionFilters;
using GetLabourManager.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace GetLabourManager.Controllers
{
[Authorize]
[RBAC]
public class BranchController : Controller
{
// GET: Branc... |
// -----------------------------------------------------------------------
// <copyright file="AlignAttribute.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.
// </copyrig... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Hayalpc.Fatura.CoreApi.Exten... |
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 OtelBilgiSistemi
{
public partial class FormMüşteriPuanlama : Form
{
DBİşlemle... |
/**
File Created May 11th 2017 - File name = GameManager.cs
Author: Gabriel Gaudreau
Project: ShootingRangeGame
*/
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour {
public static GameManager gm;
// 0 - 13 - 26
[SerializeField]
GameO... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Controller;
namespace ControllerTest
{/*
[TestFixture()]
class testThreadpool
{
private readonly = new();
[Test()]
public void temps()
{
... |
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UtilitiesNameSpace
{
public enum LocateBy
{
Id = 1,
X... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// MapStateManager is the place to keep a succession of events or "states" when building
/// a multi-step AI demo. Note that this is a way to manage
///
/// State changes could happen f... |
using System.Threading.Tasks;
using System.Windows.Forms;
using TutteeFrame2.DataAccess;
using TutteeFrame2.View;
using TutteeFrame2.Model;
namespace TutteeFrame2.Controller
{
class HomeController
{
HomeView view;
SessionStatus currentStatus = SessionStatus.Valid;
public Teacher mainT... |
using UnityEngine;
using System.Collections;
public class TextMover : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void FixedUpdate(){
//Debug.Log (transform.position.y);
if (transform.position.y < 760) {
transform.position... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Photon.Realtime;
using Common.Utility;
using Common.Dialog;
using Hashtable = ExitGames.Client.Photon.Hashtable;
namespace Lobby
{
public class LobbyUI : MonoBehaviour
{
[Header... |
namespace Core.Enums
{
public enum Color
{
White = 1,
Blue = 2,
Yellow = 3,
Red = 4,
Green = 5
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using UnityEngine;
using UnityEngine.UI;
namespace Hotfix
{
[ObjectEvent]
public class UICowRoomComponentEvent : ObjectEvent<UICowRoomComponent>, IAwake
{
public void Awa... |
using System;
using MessagePack;
using UniRx;
using UnityEngine;
namespace Share
{
public sealed class PackedMessageSupplier : MonoBehaviour
{
[SerializeField]
private UDPClientHolder clientHolder;
private readonly Subject<PackedMessage.IdentifiedPointArray> subjectPointArray
... |
using UnityEngine;
using System.Collections;
using Leap;
public class ComplexFingerState : ComplexCondition {
private bool[] fingerStates;
public ComplexFingerState(bool[] fingerStates)
{
this.fingerStates = fingerStates;
}
public override bool isSatisfied(Hand hand)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AnnealingWPF.Common
{
public class SatConfiguration
{
public IList<bool> Valuations { get; set; } = new List<bool>();
public SatInstance Instance { get; set; }
public float Score { get; set;... |
using Accounts.Service.Contract.Commands;
using Core;
using CORE2.Exceptions;
using System;
using System.Threading.Tasks;
using Xunit;
namespace Accounts.Services.Tests2
{
public class SuspendHandlersTests
{
[Fact]
public async Task SuspendHandlers_ThrowsResourceNotFoundExc()
{
... |
using DDDSouthWest.Website.Framework;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace DDDSouthWest.Website.Features.Public.Account.Login
{
[Route("account/login", Name = RouteNames.AccountLogin)]
public class LoginController : Controller
{
[Authorize]
pu... |
using System;
using System.Net.Http.Headers;
using System.Text;
using System.Net.Http;
using System.Web;
using System.Threading.Tasks;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Data.Entity;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.AppServices.DataContracts.Cashbag
{
/// <summary>
/// 消费账单列表
/// </summary>
public class BillDetailListDto
{
/// <summary>
/// 消费时间
/// </summary>
public DateTim... |
using NPOI.HSSF.UserModel;
using NPOI.SS.UserModel;
using NPOI.XSSF.UserModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TwinkleStar.Common.Excel
{
public static class NpoiExtend
{
public static List<PicturesInfo> GetAllPictureInfos(this ISheet she... |
#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.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FastFood
{
public partial class Take_Away : UserControl
{
public... |
using mTransport.Methodes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mTransport.Models
{
public partial class AffectationVehicule : ICRUD
{
public void Delete()
{
//using (DB db = new DB())
... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using CsvHelper.Configuration;
namespace CloneDeploy_Entities
{
[Table("images")]
public class ImageEntity
{
[Column("image_approved")]
public int Approved { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InterviewQuestions
{
public class StringManipulate
{
public static void Run()
{
var input = "asg34523asdfg 1234sg123";
var str2 = "asg34523asdfg... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace Danh_Trong.Objects
{
publ... |
using AutoMapper;
using PaymentApi.Dtos;
using PaymentApi.Models;
namespace PaymentApi.Profiles
{
public class PaymentProfile : Profile
{
public PaymentProfile()
{
CreateMap<Payment, PaymentShowDto>();
CreateMap<PaymentReadDto, Payment>();
}
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO.Ports;
using ZedGraph;
namespace KRT_Graph
{
public partial class M... |
using System;
using System.IO;
using FluentAssertions;
using NUnit.Framework;
using VH.Core.Configuration.AKSKeyVaultFileProvider;
namespace VH.Core.Configuration.UnitTests.AKSKeyVaultFileProvider.TheAksKeyVaultSecretFileProvider._GetDirectoryContents
{
public class when_given_subdirectory_path_that_does_exist
... |
using System.Collections.Generic;
using KRF.Core.Entities.Master;
using KRF.Core.DTO.Master;
namespace KRF.Core.FunctionalContracts
{
public interface IFleetManagement
{
/// <summary>
/// Create new fleet record in DB
/// </summary>
/// <param name="fleet"></param>
/// ... |
using SDL2;
using SharpDL.Graphics;
using System;
namespace SharpDL
{
public enum MessageBoxType : uint
{
Error = SDL.SDL_MessageBoxFlags.SDL_MESSAGEBOX_ERROR,
Information = SDL.SDL_MessageBoxFlags.SDL_MESSAGEBOX_INFORMATION,
Warning = SDL.SDL_MessageBoxFlags.SDL_MESSAGEBOX_WARNING
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using WebRoupas.Models;
namespace WebRoupas.Controllers
{
// Esse método de Route configura a rota da aplicação, ou... |
using Microsoft.AspNetCore.SignalR;
using System.Threading.Tasks;
namespace AweCoreDemo.Hubs
{
public class SyncHub : Hub
{
public async Task Send(string key, string act, string group)
{
await Clients.Others.SendAsync("ReceiveMessage", key, act, group);
}
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace ManagementStocks.Repository.DTO
{
public class StockDto
{
public Guid Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public DateTime OperationTime { get; s... |
using IdentityServer4.Models;
using System.Collections.Generic;
using System.Security.Claims;
namespace SampleOAuth
{
public static class Config
{
public static IEnumerable<IdentityResource> Ids =>
new IdentityResource[]
{
new IdentityResources.OpenId(),
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.EnhancedTouch;
public class InputManager : MonoBehaviour
{
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistr... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CharacterSelect : MonoBehaviour
{
public Transform[] Characters;
public Transform activeCharacter;
public GameObject selectscreen;
private void OnEnable()
{
Ga... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Serializer
{
/// <summary>
/// This class helps serialize objects.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <typeparam name="U"></typeparam>
public class... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using TLF.Framework.Config;
using TLF.Business.WSBiz;
namespace TLF.Framework.ExceptionHelper
{
/// <summary>
/// S... |
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 menghuanshuju
{
public partial class Form1 : Form
{
//set variab... |
using System;
using System.Collections.Generic;
using System.Text;
using Soko.Domain;
using Soko.Report;
namespace Bilten.Dao
{
/// <summary>
/// Business DAO operations related to the <see cref="Domain.DolazakNaTrening"/> entity.
/// </summary>
public interface DolazakNaTreningDAO : Generi... |
using CryptoInvestor.Core.Domain;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace CryptoInvestor.Core.Repositories
{
public interface ICoinRepository : IRepository
{
Task AddAsync(Coin coin);
Task<Coin> GetAsync(Guid id);
Task<Coin> GetAsync(stri... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace Swiddler.Security
{
/// <summary>
/// The SSL extension information.
/// </summary>
public class SslExtension
{
/// <summary>
/// Extension type
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents
{
public interface IResult<T>
{
T Result
{
get;
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class ResultScene : MonoBehaviour
{
public class Options
{
public List<ResultData> Results
{
get; private set;
}
public Options(List<ResultData> results)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace BackPropagation
{
class MedialLayer
{
/// <summary>
/// Gets or sets the weights between the inputs of the layer and the neurons.
/// ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SFXManager : MonoBehaviour
{
public AudioSource hit, beeDead, chickenDead, musicWin, musicDead, playerHitted, jump, steps, takeItem, _throw;
public enum SFXType { HIT, BEEDEAD, CHICKENDEAD, MUSICWIN, MUSICDEAD, PLAYERHI... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GiftAidCalculator.Tests
{
public class LotsOfDecimalPlacesStub : ITaxStore
{
public void Update(decimal taxRateArg)
{
throw new NotImplementedException();
}
... |
namespace OC.Security.Bruteforce
{
public class Throttler
{
const LOGIN_ACTION = 'login';
/** @var IDBConnection */
private $db;
/** @var ITimeFactory */
private $timeFactory;
/** @var ILogger */
private $logger;
/** @var IConfig */
private $config;
/**
* @param IDBConnection $db
* @param... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Projectile : MonoBehaviour
{
// --------------------------- PROTECTED CONFIG ATTRIBUTES --------------------------- //
protected PlayerInputCtlr.ePlayer origin;
protected float m_rotationSpeed;
[Header("Dime... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace YourProject_winForms
{
public partial class EditService : Form
{
... |
using LowLevelNetworking.Shared;
using System;
using System.Collections.Generic;
using System.IO;
using WUIShared.Packets;
namespace WUIServer {
public class ServerAssetManager {
private Dictionary<string, byte[]> assets;
public ServerAssetManager() {
assets = new Dictionary<string, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using Crt.Data.Database;
using Crt.Data.Repositories;
using Crt.Domain.Services.Base;
using Crt.Model;
using Crt.Model.Dtos;
using Crt.Model.Dtos.Element;
using Crt.Model.Utils;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Crt.Domain.Services
{
public interface IElementService
{
... |
using UnityEngine;
using System.Collections.Generic;
using System.Linq;
namespace Ph.Bouncer
{
public class TargetHits
{
private Dictionary<Colour, int> targetHits;
public TargetHits(IEnumerable<Target> targets)
{
targetHits = new Dictionary<Colour, int>();
foreach(var target in targets)
{
... |
//
// Copyright (c), 2017. Object Training Pty Ltd. All rights reserved.
// Written by Tim Hastings.
//
using System;
using Xamarin.Forms;
namespace MyListApp
{
/// <summary>
/// Sync manager.
/// </summary>
public class SyncManager
{
// Messages used by MessagingCenter
public const String NotSynced = "Not S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DriveMgr.WebUI.admin.StudentsDynamic
{
/// <summary>
/// bg_preAppointmentHandler 的摘要说明
/// </summary>
public class bg_preAppointmentHandler : IHttpHandler
{
public void ProcessRequest(HttpConte... |
using API_Test.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Threading.Tasks;
namespace API_Test.Controllers
{
[Route("api/[controller]")]
[Api... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using StudentInfoAPI.DTO.SubjectDTO;
using StudentInfoAPI.Interface;
namespace StudentInfoAPI.Controllers
{
[Route("api/[controller]")]
[ApiControll... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace Calcifer.Utilities.Logging
{
public static class Log
{
private static OutputList outputs;
public static OutputList Output
{
get { return outputs ?? (ou... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.