text stringlengths 13 6.01M |
|---|
using Terraria.ID;
using Terraria.ModLoader;
using Terraria;
namespace ReducedGrinding.NPCs
{
[AutoloadHead]
public class BoneMerchant : ModNPC
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Bone Merchant");
}
public override void SetDefaults()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ScoreSquid.Web
{
public interface IAmWeb
{
}
}
|
using System.Collections.Generic;
namespace ContestsPortal.Domain.Models
{
public class Competitor
{
public int CompetitorId { get; set; }
public int IdContest { get; set; }
public int IdProfile { get; set; }
// порядковый номер в рейтинге (место, которое заял участник).
public ... |
namespace Core
{
//полная информация о филиале
public class Branch : BranchBase
{
public string BranchAddress { get; }
public string BranchTime { get; }
public string BranchPhones { get; }
public bool BranchIsActive { get; }
#region конструкторы
public Branc... |
using ObservableTune.Models;
using Prism.AppModel;
using Prism.Commands;
using Prism.Mvvm;
using Prism.Navigation;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using Xamarin.Forms;
namespace ObservableTune.ViewModels
{
public cl... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace LM.Senac.BouncingBall.Physics
{
public class AuxMath
{
public const double PI = 3.141592920353982d;
public const double G = 0.0000000000667428d;
public const double Earth_Gravity_Accelera... |
//==============================================================================
// Copyright (c) 2012-2020 Fiats Inc. All rights reserved.
// https://www.fiats.asia/
//
using System;
using System.Linq;
using System.Reactive.Linq;
namespace Financial.Extensions
{
public static partial class IndicatorExtensions
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using RazorTute.Models;
namespace RazorTute.Pages.Location
{
public class DeleteModel : PageMod... |
namespace CarDealer.Models.ViewModels.Sales
{
public class TotalSaleCustomerViewModel
{
public string Name { get; set; }
public int BougthCarsCount { get; set; }
public double TotalSpentMoney { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using _3Layer.DTO;
using System.Data;
namespace _3Layer.DAL
{
class QuestionDAL
{
DataHelper dataHelper = new DataHelper();
public DataTable GetTable() {
string query = "SELECT * FROM Questions";... |
using Vipr.Core.CodeModel;
namespace MAX.Writer.REST
{
public class Property
{
private OdcmProperty property;
public string Description { get { return property.Description; } }
public bool IsComplex { get { return !property.Type.FullName.Contains("Edm"); } }
public b... |
using Spectre.Console.Cli;
namespace WitsmlExplorer.Console.ShowCommands
{
public class ShowTubularSettings : CommandSettings
{
[CommandArgument(0, "<WELL_UID>")]
public string WellUid { get; init; }
[CommandArgument(1, "<WELLBORE_UID>")]
public string WellboreUid { get; init; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab2.Client.Hobby
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Skriv in namnet på skon: ");
var shoesName = Console.Re... |
using System;
using System.Windows.Forms;
using Phenix.Core.Plugin;
using Phenix.Core.Security;
using Phenix.Core.Windows;
namespace Phenix.Security.Windows.RuleManage
{
public class Plugin : PluginBase<Plugin>
{
private BaseForm _mainForm;
/// <summary>
/// 分析消息
/// 由 PluginHost 调用
/// </summ... |
using System.Collections.Generic;
namespace SpaceHosting.Index
{
internal class IndexIdMapping<TId> : IIndexIdMapping<TId>
where TId : notnull
{
private readonly Dictionary<TId, long> idToIndexId;
private readonly Dictionary<long, TId> indexIdToId;
private long nextIndexId;
... |
public class Solution {
public IList<IList<string>> GroupAnagrams(string[] strs) {
var dict = new Dictionary<string, IList<string>>();
foreach (string str in strs) {
int[] cntLetters = new int[26];
for (int i = 0; i < str.Length; i ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Timers;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO.Ports;
using Login.Controller;
using System.Threading;
namespace Lo... |
namespace Wheebrary.Math
{
public static class MathExtensions
{
public static float ClampMe(this float f, float min, float max)
{
return Clamp(f, min, max);
}
public static float ClampMeMin(this float f, float min)
{
return ClampMin(f, min);
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
using MovementEffects;
namespace Mio.Utils.MessageBus {
public class MessageBus : MonoSingleton<MessageBus> {
private Dictionary<MessageBusType, List<Action<Message>>> listeners = new Dictionary<MessageBusType, Li... |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Security.AccessControl;
using System.Security.Principal;
using Vanara.InteropServices;
using Vanara.PInvoke;
using static Vanara.PInvoke.AdvApi32;
namespace Vanara.Security.AccessControl
{
/// <summary>Enables access t... |
namespace Tomelt.Environment {
public interface ITomeltHostContainer {
T Resolve<T>();
}
} |
using Cs_Notas.Dominio.Entities;
using Cs_Notas.Dominio.Interfaces.Repositorios;
using Cs_Notas.Dominio.Interfaces.Servicos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Notas.Dominio.Servicos
{
public class ServicoLogSistema: Ser... |
namespace ModelViewViewModel_Voorbeeld.Stap3
{
class Persoon
{
}
}
|
using Microsoft.EntityFrameworkCore;
using MyMovies.DAL;
using MyMovies.Domain.Entities;
using MyMovies.Domain.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace MyMovies.Parser.DataBase
{
public static class DbTasks
{
public static DataBaseCont... |
using System;
namespace Shared
{
public static class Config
{
// S3 Buckets
public static readonly string InputBucketName = Environment.GetEnvironmentVariable("InputBucket");
public static readonly string ResultsBucketName = Environment.GetEnvironmentVariable("ResultsBucket");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
using Xamarin.Forms.Xaml;
namespace WSTower.App
{
[XamlCompilation(XamlCompilationOptions.Compile)]
publ... |
namespace Sentry.Log4Net.Tests;
public class SentryAppenderTests
{
private class Fixture
{
public bool InitInvoked { get; set; }
public string DsnReceivedOnInit { get; set; }
public IDisposable SdkDisposeHandle { get; set; } = Substitute.For<IDisposable>();
public Func<string, I... |
using KeepTeamAutotests.Model;
using KeepTeamAutotests.Pages;
using Newtonsoft.Json;
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace KeepTeamAutotests.AppLogic
{
public cla... |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Infrastructure.Migrations
{
public partial class Inicial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using Inventory.Data;
using Inventory.Data.Services;
using Inventory.BLL.DTO;
namespace Delivery.WebApi.Services
{
public class CustomerService
{
private readonly IDataService _dataService;
private ... |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Globalization;
using System.Windows.Media.Imaging;
using TraceWizard.Entities;
namespace TraceWizard.TwApp {
public partial class FixtureProfilesPanel : ListView {
prot... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class ButtonMouseEvents : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IPointerClickHandler
{
//Used for combat action buttons ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TestHalberd : MonoBehaviour
{
public float speed;
Rigidbody rig;
bool rotate = false;
float sum;
// Start is called before the first frame update
void Start()
{
rotate = true;
rig =... |
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Xunit;
namespace Atc.Rest.Tests.Extensions
{
public class FormFileExtensionsTests
{
[Fact]
public async Task GetBytes()
{
// Arrange
var expected = Encoding.U... |
using ApartmentApps.Data.Repository;
using Ninject;
namespace ApartmentApps.Api.Modules
{
public class CompanySettingsModule : Module<CompanySettingsConfig>, IAdminConfigurable
{
public CompanySettingsModule(IKernel kernel, IRepository<CompanySettingsConfig> configRepo, IUserContext userContext) : base... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ScoreSquid.Web.Context;
using ScoreSquid.Web.Models;
using ScoreSquid.Web.Repositories.Commands;
namespace ScoreSquid.Web.Repositories
{
public class FixtureRepository : IFixtureRepository
{
private ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Piku_Manager : MonoBehaviour
{
public bool gameOver = false;
public int pikuNum;
public GameObject pikuPrefab;
public GameObject spawnZone;
public Transform pikuZone;
public float initForceVal... |
using System;
namespace Special_Numbers
{
class Program
{
static void Main(string[] args)
{
int number = int.Parse(Console.ReadLine());
for (int firstDigit = 1; firstDigit <= 9; firstDigit++)
{
for (int secondDigit = 1; secondDigit <= 9; seco... |
using System;
using System.Collections.Generic;
using System.Text;
using Alabo.Data.People.UserTypes;
using Alabo.Web.Mvc.Attributes;
using Dapper.Contrib.Extensions;
using MongoDB.Bson.Serialization.Attributes;
namespace Alabo.Data.People.Merchants.Domain.Entities
{
/// <summary>
/// 门店、线下门店
/// </summar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Sunnie.Models.Quiz
{
public class DeepTan
{
public int Id { get; set; }
public string Answer { get; set; }
public int Score { get; set; }
}
}
|
using System;
namespace LogViewer.Model
{
/// <summary>
/// Фабрика источников чтения логов
/// </summary>
internal sealed class LogReaderFactory : ILogReaderFactory
{
/// <summary>
/// Настройки чтения
/// </summary>
private readonly ReadLogOptions _readLogOptions;
... |
using System.Collections;
using UnityEngine;
public class Enemy : Generic, IGenericEntity
{
#region Variables
public static Enemy instance;
private int currentLives;
public int maxLives = 3;
public float speedEnemy;
private bool invicibility = false;
private float currentTime = 0f;
p... |
/*
* Created by SharpDevelop.
* User: admin
* Date: 8/10/2016
* Time: 12:54 AM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Drawing;
using System.Windows.Forms;
using SimpleLogger;
using System.Threading.Tasks;
namespace Robot
{
/// <summary>... |
using System.Collections.Generic;
using System.Data;
using System.Linq;
using FluentAssertions;
using GameOfLife.Src;
using NUnit.Framework;
using GameOfLife = GameOfLife.Src.GameOfLife;
namespace GameOfLife.Tests
{
/*
The universe of the Game of Life is an finite 50x50 two-dimensional orthogonal grid of s... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace learn_180317_2
{
class Program
{
static void Main(string[] args)
{
//int[] a = new int[] {1,2};
//System... |
namespace ChatServer
{
using ChatServer.Messaging.Commands;
using HServer.HMessaging;
/// <summary>
/// The HChatServer class.
/// </summary>
public class HChatServer : HServer.HServer
{
public HCommunityManager CommunityManager { get; }
public HClientManager ClientManager... |
using UnityEngine;
[CreateAssetMenu(fileName = "New Character", menuName = "Soul Hunter/Character")]
public class CharacterData : ScriptableObject
{
public string name;
public Sprite portrait;
public Color nameColor = Color.white;
public Color dialogueColor = Color.white;
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Uplift.DataAccess.Data.Repository.IRepository
{
//all transactions, access to all repos, safe method to push all changes to database
public interface IUnitOfWork : IDisposable
{
... |
using Sentry.Internal.Extensions;
// ReSharper disable once CheckNamespace
namespace NLog;
/// <summary>
/// NLog configuration extensions.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public static class ConfigurationExtensions
{
// Internal for testability
internal const string DefaultTarget... |
using UnityEngine;
using UnityEditor;
using Ardunity;
[CustomEditor(typeof(ArdunityAppUI))]
public class ArdunityAppUIEditor : Editor
{
[MenuItem("ARDUnity/Add Utility/UI/ArdunityAppUI", true)]
static bool ValidateMenu()
{
if(Selection.activeGameObject == null)
return false;
return true;
}
[MenuItem(... |
using System;
using System.Collections.Generic;
namespace bellyful_proj.Models
{
public partial class Volunteer
{
public Volunteer()
{
Order = new HashSet<Order>();
}
public int VolunteerId { get; set; }
public string FirstName { get; set; }
public ... |
using LeadChina.CCDMonitor.Infrastrue;
using LeadChina.CCDMonitor.Infrastrue.Entity;
using LeadChina.CCDMonitor.Web.Clients;
using LeadChina.CCDMonitor.Web.Helper;
using LeadChina.CCDMonitor.Web.Models.Dto;
using LeadChina.CCDMonitor.Web.Models.Vm;
using LeadChina.CCDMonitor.Web.ServiceReference1;
using System;
using S... |
namespace Tutorial.LinqToSql
{
using System.Data.Linq;
using System.Data.Linq.Mapping;
[Table(Name = "[Production].[vProductAndDescription]")]
public class vProductAndDescription
{
[Column(DbType = "int NOT NULL")]
public int ProductID { get; set; }
[Column(DbType = "nvarc... |
using ImageMagick;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Numerics;
using System.Threading.Tasks;
namespace Mandelbrot
{
class Program
{
static void Main(string[] args)
{
// Skips console and creates picture automatically.
v... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using CreamBell_DMS_WebApps.App_Code;
using System.IO;
using System.Drawing;
using Elmah;
namespace CreamBell_DMS_WebApps
{
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// Made by Jeffrey
public class BulletImpact : MonoBehaviour {
public GameObject impactWallSand;
public GameObject impactWallMetal;
// public float delMe;
void Update () {
// delMe -= Time.deltaTime;
// if (delMe <= 0)
// ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
using DentedPixel;
using Mechanics.Tiles;
namespace Mechanics.Player{
public class Slime : MonoBehaviour{
public bool r;
public bool g;
public bool b;
public bool slippery;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AkvelonTaskMilosBelic.Models
{
public class Filter
{
//filter object for searching by priority(range)
public int Min { get; set; }
public int Max { get; set; }
}
} |
using BaseLib.Media;
using BaseLib.Media.Audio;
using BaseLib.Media.Video;
using System;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
namespace BaseLib.Media
{
/* [Serializable()]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
internal... |
using BHLD.Model.Abstract;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BHLD.Model.Models
{
[Table("hu_shoes_setting")]
public class... |
#region MIT License
/*
* Copyright (c) 2013 University of Jyväskylä, Department of Mathematical
* Information Technology.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without res... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Assistenza.BufDalsi.Web.Models.ClientViewModels
{
public class UtenteCliente
{
public int idEsterno { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UniversityDbCommon.Models
{
public enum Grade
{
A, B, C, D, F
}
public class Enrollment
{
[DisplayName("Enrollment ID")]
... |
using Plugin.FirebasePushNotification;
using PushNotificationApp.Views;
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
[assembly: XamlCompilation (XamlCompilationOptions.Compile)]
namespace PushNotificationApp
{
public partial class App : Application
{
public App ()
{
InitializeComponent();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
// ADD START
using WCF_Northwind.Contract;
// ADD END
namespace WCF_Northwind
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the inter... |
/*
Alphora Dataphor
© Copyright 2000-2008 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
using System;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace UniversityIot.VitocontrolApi.Services
{
public class UserService
{
private int id;
private string name;
private string lastname;
public UserService(string name, string lastname, int i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Windows;
namespace SurfaceApplicationMaurice
{
public class GlobalConfig
{
static GlobalConfig _instance = null;
XmlDocument doc = null;
public static bool ... |
using System;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using PopulationWars.Utilities;
using static System.Drawing.Color;
using static System.Math;
namespace PopulationWars
{
public partial class WorldMapWindow : Form
{
private Panel[][] m_map;
private Settings m_s... |
using UnityEngine;
using UnityEngine.UI;
public class AlertIndicator : MonoBehaviour
{
[HideInInspector] public GameObject myGameObject;
[HideInInspector] public NpcCore myNpcCore;
// UI
[Header("UI")]
public RectTransform myRectTransform;
public Text myText;
public Image myImage;
pub... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Tianhai.OujiangApp.Schedule.Exceptions{
[Serializable]
public class SessionTimeoutException:Exception{
public SessionTimeoutException() { }
public SessionTimeoutException(string message) : base(message) { }
public SessionTimeoutExcep... |
using Harmony;
using MiniMantaDrone.Core;
using MiniMantaDrone.Utilities;
using System.Reflection;
namespace MiniMantaDrone
{
/**
* Entry point into our Mini Manta Drone
*/
public class EntryPoint
{
public static string QMODS_FOLDER_LOCATION { get; private set; }
public static stri... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BO.Validation
{
class DateTimeRange : RangeAttribute
{
public DateTimeRange(int fromNowStart, int fromNowEnd) : base(typeof(DateTim... |
using Alabo.Domains.Enums;
using Alabo.Framework.Core.Enums.Enum;
using Alabo.Validations;
using Alabo.Web.Mvc.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace Alabo.Data.People.Users.Dtos
{
public class RecommendInput
{
/// <summary>
/// 数据ID
/// </... |
using Sentry.Extensibility;
using Sentry.Infrastructure;
using Sentry.Internal;
using Sentry.Internal.Extensions;
using Sentry.Internal.Http;
using Sentry.Protocol.Envelopes;
namespace Sentry.Http;
/// <summary>
/// Provides a base class for Sentry HTTP transports. Used internally by the Sentry SDK,
/// but also all... |
using System;
using System.Collections.Generic;
using Hl7.Fhir.Support;
using System.Xml.Linq;
/*
Copyright (c) 2011-2012, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Re... |
using SnowBLL.Enums;
using SnowBLL.Models;
using SnowBLL.Models.Auth;
using System.Threading.Tasks;
namespace SnowBLL.Service.Interfaces
{
public interface IAuthBLService : IBLService
{
Task<Result<AuthorizeResponseModel>> Authorize(ApplicationUserModel model);
Task<Role> GetRole(string email)... |
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Drawing;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Presentation;
using PointTrans.Commands;
using System;
using System.Collections.Generic;
using D = DocumentFormat.OpenXml.Drawing;
using P = DocumentFormat.OpenXml.Presentati... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OpenLockedDoor : MonoBehaviour
{
public float IsOpen = 0f;
public float IsLocked = 1f;
public float Cooldown = 0f;
public Transform doorTransform;
public KeyAmount KA;
public GameObject Canvas;
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
public static class ext
{
//
public static string RemoveGuidDelimiters(this string str)
{
return str.Remove(8, 1).Remove(12, 1).Remove... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.ContentApproval.Indexes;
using DFC.ServiceTaxonomy.ContentApproval.Models;
using DFC.ServiceTaxonomy.ContentApproval.Models.Enums;
using Microsoft.AspNetCore.Http;
using OrchardCore.ContentManagem... |
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using PlatformStatusTracker.Core.Repository;
using PlatformStatusTracker.Core.Configuration;
using Microsoft.AspNetCore.Mvc;
using Platfo... |
using System;
using Emanate.Core.Configuration;
using Moq;
using NUnit.Framework;
namespace Emanate.UnitTests.Core.Configuration
{
[TestFixture]
public class reflection_configuration_generator
{
[Test]
public void should_populate_string_properties()
{
var storage = new ... |
using EAN.GPD.Domain.Repositories;
using Microsoft.Extensions.DependencyInjection;
namespace EAN.GPD.Domain.Services
{
public class ServiceProvider
{
public static void Register(IServiceCollection services)
{
services.AddTransient<IDepartamentoRepository, DepartamentoRepository>();... |
using Alabo.Cloud.People.Enterprise.Domain.Dtos;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities;
using Alabo.Domains.Repositories;
using Alabo.Domains.Services;
using Alabo.Exceptions;
using Alabo.Extensions;
using Alabo.Mapping;
using Alabo.Users.Enum;
using MongoDB.Bson;
namespace Alabo.Cloud.People.Ent... |
using Airelax.Domain.DomainObject;
using Airelax.Domain.RepositoryInterface;
using Airelax.EntityFramework.DbContexts;
using Airelax.EntityFramework.Repositories;
using Lazcat.Infrastructure.Common.Abstractions;
using NSubstitute;
using Shouldly;
using Xunit;
namespace Airelax.Test.EntityFramework
{
public class ... |
namespace BettingSystem.Web.Identity
{
using Application.Identity;
using Common;
using Microsoft.Extensions.DependencyInjection;
public static class WebConfiguration
{
public static IServiceCollection AddWebComponents(
this IServiceCollection services)
=> services.A... |
using Shipwreck.TypeScriptModels.Expressions;
using Shipwreck.TypeScriptModels.Statements;
using System;
using System.Collections.Generic;
namespace Shipwreck.TypeScriptModels
{
public static class ExpressionBuilder
{
public static IdentifierExpression Undefined()
=> new IdentifierExpressi... |
using System;
using System.Net;
namespace NeuroLinker.ResponseWrappers
{
/// <summary>
/// Response provided by HttpClient when retrieving page content as a string
/// </summary>
public class StringRetrievalWrapper : ResponseWrapperBase
{
#region Constructor
/// <summary>
... |
using DataLayer.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using DataLayer.Exceptions;
namespace DataLayer.Repositories
{
public class CityRepository : Repository<City>, ICityRepository
{
public CityRepository(WeatherForecastContext context) : base(context)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class DebugCurrentSceneReloader : DebugToolBase
{
// -------------------------------------------------------------------------------------
[SerializeField] private KeyCode RestartKey = KeyCode.R... |
using UnityEngine;
using System.Collections;
public class ObjectHover : MonoBehaviour {
bool hoverUp = true;
float hoverDistance = 100;
Vector3 upPos, downPos, nextPos;
float hoverSpeed = 0.5f;
bool canMove = false, runOnce = false;
float startDelay = 1;
// Use this for initialization
void Start () {
up... |
using System;
using System.Reactive;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Deployer.Tasks;
using Deployer.UI.Properties;
using ReactiveUI;
using Serilog;
namespace Deployer.UI
{
public class CommandWrapper<T1, T2> : ReactiveObject
{
private readonly object parent;
pri... |
using UnityEngine;
using System.Collections;
public class StatePatternSlut : MonoBehaviour {
public float painCurCooldown;
public float painCooldownTime;
public bool isCoolingDown;
//yellow should be not very much under red, forcing the player to maybe stop altogether until
//they hit green again
... |
using BezierMasterNS;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(BezierSpline))]
public class BezierSplineEditor : Editor
{
BezierMaster master;
BezierSpline spline;
public int selectedIndex = -1;
event Action ... |
namespace gView.Drawing.Pro.Exif
{
public sealed class ExifTag
{
private int _id;
private string _description;
private string _fieldName;
private string _value;
public int Id
{
get
{
return _id;
}
}
... |
namespace Filters.Contracts.EndpointFilters
{
public interface IGetUsersFilter : IFilter
{
}
}
|
using System;
using System.Threading.Tasks;
using UBaseline.Shared.Node;
using Uintra.Core.Activity.Entities;
using Uintra.Features.Comments.Models;
using Uintra.Features.Notification.Configuration;
using Uintra.Features.Notification.Entities;
namespace Uintra.Infrastructure.Helpers
{
public interface INotifierDa... |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using System.Linq;
using System.Text;
using Isop.Gui.Adapters;
namespace Isop.Wpf.Tests
{
[TestFixture]
public class JsonClientTests
{
private string _fileSystemUrl;
private string _invalidUrl;
private string _... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MoodleObjects;
using System.Globalization;
namespace HonsService
{
public class System
{
//Define Varibles
public List<Campus> campus { get; set; }
private static S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.