content stringlengths 23 1.05M |
|---|
#region Copyright
////////////////////////////////////////////////////////////////////////////////
// The following FIT Protocol software provided may be used with FIT protocol
// devices only and remains the copyrighted property of Dynastream Innovations Inc.
// The software is being provided on an "as-is" basis and a... |
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace DependencyInjectionOnConsoleApp
{
public class Program
{
private readonly ILogger<Program> logger;
private readonly MyServiceA myServiceA;
... |
using AppSecurity.Models;
using AppSecurity.Models.Concrete;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace AppSecurity.Controllers
{
[Authorize]
public class OrdersController : Controller
{
ApplicationDbContext context = Applic... |
#region License
//
// Copyright (c) 2010 - David Lawler.
//
// The following license is an is an adaptation of the MIT X11 License and should be read as such.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
// associated documentation files (the "Software"), to... |
namespace p07._01.InfernoInfinity.Models.Weapons.Factories
{
using System;
using System.Linq;
using System.Reflection;
using p07._01.InfernoInfinity.Enums;
using p07._01.InfernoInfinity.Models.Weapons.Contracts;
public class WeaponFactory : IWeaponFactory
{
public IWeapon CreateWe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MachinaGrasshopper.GH_Utils
{
/// <summary>
/// A class to store component names for mutability.
/// </summary>
public class GH_ComponentNames
{
public string name,... |
using System;
using System.Threading.Tasks;
namespace FastQueue.Client
{
internal static class TaskHelper
{
public static void FireAndForget(Func<Task> func)
{
Task.Run(func).ConfigureAwait(false);
}
public static void FireAndForget(Action action)
{
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Seguradora.Dominio.Models.Segurados;
using Seguradora.Dominio.Models.Seguros;
using Seguradora.Servicos.Validacoes.Seguros;
namespace Seguradora.Testes.Servicos.Validacoes.Seguros
{
[TestClass]
public class ServicoValidacaoSegurosVeiculosTestes
{
... |
namespace OkonkwoOandaV20.TradeLibrary.Primitives
{
public enum AcceptDatetimeFormat
{
Unix,
RFC3339
}
public class InstrumentName
{
public class Currency
{
public const string EURUSD = "EUR_USD";
public const string USDJPY = "USD_JPY";
public const st... |
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Telegram.Bot.Types
{
/// <summary>
/// This object represents a result of an <see cref="InlineQuery"/> that was chosen by the <see cref="User"/>
/// and sent to their chat partner.
/// </summary>
[JsonObject(MemberSerialization.O... |
using EnduranceJudge.Core.Models;
using EnduranceJudge.Domain.Enums;
namespace EnduranceJudge.Domain.State.Athletes
{
public interface IAthleteState : IIdentifiable
{
public string FeiId { get; }
public string FirstName { get; }
public string LastName { get; }
public string Clu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Prod.Domain;
using Prod.Domain.Legacy;
namespace Prod.Api.Helpers
{
public class ExportMapper
{
public static Mapper InitializeMapper()
{
var mapperConfig = new ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace ETHBot.DataLayer.Data.Discord
{
public class DiscordEmoteHistory
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Iden... |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution... |
using UnityEngine;
public class Rotator : MonoBehaviour
{
public float value;
public float increase;
private void Update()
{
value = value + (Time.deltaTime * increase);
transform.Rotate(0, 0, value * Time.deltaTime);
}
} |
using Amazon.CDK.AWS.Lambda;
namespace AwsCdkWithDesignPatterns.Domain.Entities.LambdaFunctionRuntimes
{
public interface ILambdaFunctionRuntime
{
Runtime GetRuntime();
}
} |
using UnityEngine;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
public class MusicPlayer : MonoBehaviour
{
private static Dictionary<string, MusicPlayer> _musicPlayers = new Dictionary<string, MusicPlayer>();
public AudioSource startInterruptSound = null;
public AudioSou... |
using Xamarin.Forms;
namespace SluttaShell
{
public interface IScreenshotService
{
byte[] Capture(View view, Rectangle size);
}
}
|
using System.Threading.Tasks;
using Revo.Core.Events;
namespace Revo.Infrastructure.Events.Metadata
{
public interface IEventMetadataProvider
{
Task<(string key, string value)[]> GetMetadataAsync(IEventMessage eventMessage);
}
}
|
using System;
using System.Collections.ObjectModel;
using System.Collections.Generic;
using Pb;
using System.Threading.Tasks;
using System.Threading;
/**
* ┌───────────────────────────────────────────────────────────────────────┐
* │Project : grpc2slib.BBL
* │
* │Comment :
* │
* │Version : V1.0.0.0
* │Author ... |
using System;
using System.Windows.Input;
using KeyboardToolkit.Common;
using KeyboardToolkit.Receiver;
using KeyboardToolkit.StateMonitor;
namespace KeyboardRecorder
{
public class KeyCombinationReceiver : IKeyCombinationReceiver
{
private readonly IKeyStateMonitor _monitor;
private readonly ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameOverTExt : MonoBehaviour
{
private Text _text;
private void Awake()
{
_text = GetComponent<Text>();
}
private void Start()
{
_text.text = Placar... |
using System;
using System.Collections.Generic;
using System.Linq;
using BoardGamesNook.Model;
using BoardGamesNook.Repository.Generators;
using BoardGamesNook.Repository.Interfaces;
namespace BoardGamesNook.Repository
{
public class GameResultRepository : IGameResultRepository
{
private readonly List... |
// Jeebs Unit Tests
// Copyright (c) bfren - licensed under https://mit.bfren.dev/2013
using System;
using NSubstitute;
using Xunit;
namespace Jeebs.Data.TypeHandlers.Enumerated_Tests;
public class Parse_Tests
{
[Fact]
public void Valid_Value_Returns_Parse_Func_Result()
{
// Arrange
var value = nameof(Enumer... |
namespace CrystalQuartz.Application.Comands.Outputs
{
using System;
using CrystalQuartz.Core.Domain;
public class SchedulerDataOutput : CommandResultWithErrorDetails
{
public string Name { get; set; }
public string InstanceId { get; set; }
public JobGroupData[] JobGroups { ge... |
// This sample opens a file whose name is passed to it as a parameter.
// It reads each line in the file and replaces every occurrence of 4
// space characters with a tab character.
//
// It takes two command-line arguments: the input file name, and
// the output file name.
//
// Usage:
//
// INSERTTABS inputfile.... |
//using System.IO;
//using System.Text;
//using FluentAssertions;
//using NUnit.Framework;
//namespace Xania.DataAccess.Tests
//{
// public class PhysicalFileServiceTests
// {
// // private DiskDocumentStore _repository;
// [SetUp]
// public void SetupService()
// {
// va... |
namespace RxBim.Application.Ribbon.Services
{
using System;
using Abstractions;
using Di;
using Extensions;
using Models.Configurations;
using Shared;
/// <summary>
/// Decorator creating the plugin ribbon
/// </summary>
/// <typeparam name="T">The return type of the method</ty... |
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Threading;
using FreeBird.Infrastructure.Utilities.Threading;
using FreeBird.Infrastructure.Utilities;
namespace FreeBird.Infrastructure.Caching
{
public static class ICacheManagerExtensions
{
public static T Get<T>... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CanvasAppPackager.Poco
{
public class PublishInfo
{
public string AppName { get; set; }
public string BackgroundColor { get; set; }
public string PublishTarget { get; set; }
public string LogoFileName ... |
using System;
using Xunit;
using ZKCloud.App.Core.Finance.Domain.Dtos.Recharge;
using ZKCloud.App.Core.User.Domain.Dtos;
using ZKCloud.Extensions;
using ZKCloud.Mapping;
using ZKCloud.Test.Base.Core.Model;
namespace ZKCloud.Test.Mapping
{
public class AutoFormMappingTests : CoreTest
{
[Fact]
pu... |
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... |
namespace Pulse.MultiagentEngine.Settings
{
public class SimulationProperties
{
public SimTimeProperties TimeProperties { get; set; }
private bool _useNormalStopCondition = true;
public bool UseNormalStopCondition
{
get { return _useNormalStopCondition; }
... |
using Snouthill.Db;
using Snouthill.Db.Models;
using Snouthill.Game;
using Snouthill.Net.Packets.Outbound;
namespace Snouthill.Net.Packets.Inbound;
[RequestOpcode(151)]
public record GetUserFlatCategories : IRequest;
public class GetUserFlatCategoriesHandler : IRequestHandler<GetUserFlatCategories>
{
public voi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ChatModel
{
public class Constant
{
public const string DateTimeFormat = "yyyy-MM-dd HH:mm:ss";
public const string Healthy = "Healthy";
}
}
|
@{
Layout = "_Layout_Table";
ViewBag.Title = "模块信息管理";
ViewBag.Name = "module";
}
@section tableParam
{
<script>
columns = [[]];
</script>
}
|
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Orion.Service.Mastodon.Enum;
namespace Orion.Service.Mastodon.Models
{
public class Attachment
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("type")]
[JsonConverter(typeof(StringEnumConverter))]... |
using AutoMapper;
using IdentityUtils.Api.Controllers;
using IdentityUtils.Core.Contracts.Services;
using IdentityUtils.Core.Contracts.Users;
using IdentityUtils.Demos.IdentityServer4.SingleTenant.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace IdentityUtils.Demos.IdentityS... |
/*************************************************************************************
Toolkit for WPF
Copyright (C) 2007-2019 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/bl... |
using UnityEngine;
using System.Collections;
using XLua;
public class LuaManager : MonoBehaviour
{
private static LuaEnv luaEnv = null; // Lua虚拟机;
/// 启动Lua虚拟机;
public void StartLuaVM( string luaScript )
{
if ( string.IsNullOrEmpty( luaScript ) ) { return; }
if ( null == luaEnv )
luaEnv = new LuaEnv(); ... |
// ONI, Copyright (c) Nathan MacAdam, All rights reserved.
// MIT License (See LICENSE file)
using UnityEngine;
namespace Oni
{
/// <summary>
/// Defines a range of integer values from a minimum value to a maximum value
/// </summary>
[System.Serializable]
public class RangeInt
{
[SerializeFie... |
using System;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Bitdid.Core.Models {
[Table("Bitdid.Currency_Price")]
public class CurrencyPrice {
public CurrencyPrice() {
}
#reg... |
using FOS.API.App_Start;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Http.Filters;
using System.Web.Mvc;
namespace FOS.API
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new Handl... |
using System;
namespace ArtZilla.Net.Core.Tests.Common {
public static class Constants {
public const Int32 MagicNumber = 42;
public const String NullString = null;
public const String EmptyString = "";
public const String WhitespaceString = " ";
public const String WhitespacesString = " ";
public c... |
using Ship;
namespace Tokens
{
public class ReinforceForeToken : GenericToken
{
public ReinforceForeToken(GenericShip host) : base(host)
{
Name = "Reinforce Fore Token";
Action = new ActionsList.ReinforceForeAction() { Host = this.Host };
}
}
}
|
using System.Data.Entity;
using System.Threading;
using System.Threading.Tasks;
namespace UnitOfWorkPatternDotNet.EntityFramework
{
public class EntityFrameworkAsyncUnitOfWork : DbContext, IAsyncUnitOfWork
{
public async Task<int?> CommitAsync()
{
return await SaveChangesAsync();
... |
using System.Numerics;
namespace OpenMod.Unturned.Animals.Events
{
public class UnturnedAnimalFleeingEvent : UnturnedAnimalAlertingEvent
{
public Vector3 Direction { get; set; }
public UnturnedAnimalFleeingEvent(UnturnedAnimal animal, Vector3 direction, bool sendToPack) : base(animal, sendToP... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using SLNetworkComm;
using libsecondlife;
namespace SLeek
{
public class ChatTextManager
{
private SleekInstance instance;
private SLNetCom netcom;
private ... |
using System;
using System.Collections.Generic;
namespace IpLi.Core.Entities
{
public class SourceAggregation
{
public String Title { get; set; }
public List<Source> Sources { get; set; }
public SourceAggregation(String title,
List<Source> sourc... |
using System;
using Assets.IoC;
namespace Assets.SpCrsVrPrototypes.Patterns
{
public abstract class SingletonDisposable<TSingleton> : IDisposable where TSingleton : class, new()
{
protected SingletonDisposable()
{
if (Nested.Instance != null)
throw new ArgumentExcep... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
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 System.Xml... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace InnovatorAdmin
{
public class Snippet
{
private static char[] _newLineChars = new char[] { '\r', '\n' };
public string Action { get; set; }
public string Text { get; set; }
public Snippet() { }
pu... |
using Domain;
namespace Interfaces
{
public interface IToDoTaskCategoryRepository : IRepository<ToDoTaskCategory, int>
{
}
}
|
namespace Level1 {
namespace Level1.Level2 {
public class MainClass {
public static void Main() {
}
}
}
}
|
using System.IO;
using System.Xml.Linq;
namespace Serenity.CodeGenerator
{
public class ProjectFileHelper
{
private static string TargetFrameworkExtractor(XElement xe)
{
var xtarget = xe.Descendants("TargetFramework").FirstOrDefault();
if (xtarget == null ||... |
namespace CommandPipeline.Infrastructure.Pipeline
{
using System;
public interface ICommandContainer
{
ICommand Create(Type type);
}
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using LodeRunner.Core;
using LodeRunner.Core.... |
using NUnit.Framework;
using SlackbotAnchor.IncomingWebhook.Internal;
namespace Tests.IncomingWebhook
{
[TestFixture]
public class SnakeCaseTests
{
[Test]
public void TestNoChange()
{
Assert.AreEqual("text", CamelToSnake.Transform("Text"));
}
[Test]
... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace WoWonder.Helpers.Model
{
public class GetWeatherObject
{
[JsonProperty("location", NullValueHandling = NullValueHandling.Ignore)]
public LocationObject Location { get; set; }
[JsonProperty("current", NullValueHandling ... |
using System.Collections.Generic;
using System.Windows.Controls;
namespace ClojureExtension.Repl
{
public partial class ReplTabControl : TabControl
{
public ReplTabControl()
{
InitializeComponent();
}
}
}
|
using System.Collections.Generic;
using System.Linq;
using com.github.javaparser.ast.expr;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace JavaToCSharp.Expressions
{
public class ArrayCreationExpressionVisitor : ExpressionVisitor<ArrayCreationExpr>
{
public o... |
@using GoSport
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@using GoSport.Infrastructure.Data.DateModels
|
using System.IO;
using System.Text;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
using TansakuKun.Data;
namespace TansakuKun
{
class ConfigLoader
{
public static ConfigObj load(string path)
{
ConfigObj config = null;
using (var input = new StreamReader(path,... |
using System;
using System.Threading.Tasks;
using Core.Tools.Collections;
namespace Core.Tools.Observables
{
public class Event
{
internal readonly SafeHashSet<WeakAction> listeners = new SafeHashSet<WeakAction>();
public void Fire()
{
listeners.RemoveWhere(action => !acti... |
using ShoppingCart.DAL;
using ShoppingCart.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ShoppingCart.Services
{
public class BookService : IDisposable
{
private ShoppingCartContext _db = new ShoppingCartContext();
public List<Book> Get... |
using System.Collections.Generic;
namespace Turbo.Events.Reports.EventSequence
{
public class EventSequenceReport : SimpleReport<Fatty>, IEventSequenceReport
{
private readonly IList<object> _events = new List<object>();
protected override Fatty CreateConsumerInstance(string source)
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GRPExplorerLib.BigFile;
using GRPExplorerLib.YetiObjects;
using UnityEngine;
using UnityIntegration.Components;
namespace UnityIntegration.Converters
{
public class Y... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Abp.BackgroundJobs;
using Abp.Dependency;
using Abp.Events.Bus;
using Abp.Events.Bus.Exceptions;
using Hangfire.Common;
using Hangfire.Server;
namespace Abp.Hangfire
{
public class AbpHangfireJobExceptionFilter ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using Cats.Models;
namespace Cats.Services.Logistics
{
public interface IDeliveryService
{
bool AddDelivery(Delivery distribution);
bool DeleteDelivery(Delivery distribution);... |
using System;
namespace ObviousCode.Alchemy.Creatures.DecisionProcessing
{
public class PredicateProvider
{
static Predicate[] _predicates;
static PredicateProvider ()
{
_predicates = new Predicate[] {
new EqualsPredicate (),
new FalsePredicate (),
new LessThanPredicate (),
new GreaterThan... |
namespace TryCatchOvn
{
using System;
using System.Collections.Generic;
class Program
{
static void Main(string[] args)
{
List<string> badList = null;
int[] intArr = new int[3];
//int tooMuch = 1000000000000000000000000000000000000000000000000000000... |
//******************************************************************************************************
// MultipleDestinationExporter.cs - Gbtc
//
// Copyright © 2012, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreeme... |
/*
MIT License
Copyright(c) 2020 Kyle Givler
https://github.com/JoyfulReaper
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 restriction, including without limitation the rights
to use, ... |
using System;
namespace TimeUtilities
{
public static class DateTimeExtension
{
public static int ToUnixTimeSeconds(this DateTime dt)
{
return (int)Math.Truncate((dt.Subtract(new DateTime(1970, 1, 1))).TotalSeconds);
}
public static DateTime RoundUp(this DateTime d... |
using Chloe.ViewModels.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace Chloe.Metal.Filters
{
public class MetaData: ActionFilterAttribute
{
public override void OnResultExecuted(ResultExecute... |
using System.Data.Entity;
namespace DF.Test.SqlCe.DataModels
{
public class BloggingContext : DbContext
{
public BloggingContext(string connectionString) : base(connectionString)
{ }
public virtual DbSet<Blog> Blogs { get; set; }
public virtual DbSet<Post> Posts { get; set; }... |
using Serilog;
using Serilog.Context;
using System;
namespace Zags.Logging.Serilog
{
class Logger : ILog
{
ILogger logger;
public Logger(ILogger logger)
{
this.logger = logger;
}
public void Debug(string message)
{
logger.Debug("{Text:l... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using AsmodatStandard.Extensions;
using AsmodatStandard.Extensions.Collections;
using AsmodatStateManager.Processing;
namespace AsmodatStateManager.Model
{
public class SyncInfo
{
public SyncInfo(SyncTarget st)
... |
//-----------------------------------------------------------------------
// <copyright file="NotUndoableAttribute.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: http://www.lhotka.net/cslanet/
// </copyright>
// <summary>Marks a field to indicate that the value should ... |
using Mtelligent.Data;
using Mtelligent.Entities;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mtelligent.Dashboard.Data
{
public class GoalRepository : SQLRepository, IGoalRepository
... |
using Paillave.Etl.Reactive.Core;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
namespace Paillave.Etl.Reactive.Operators
{
public class ExceptionOnUnsortedSubject<T> : FilterSubjectBase<T>
{
private IComparer<T> _comparer;
private T _lastVal... |
namespace enhancedInvoiceCustomerType
{
partial class InvoiceTotal
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summ... |
//Developed by Halil Emre Yildiz - @Jahn_Star
//https://github.com/JahnStar/Hey-Area-Object-Spawner
//https://jahnstar.github.io/donate/
// Last Edit: 23.10.2020
using UnityEngine;
using RandomType = JahnStar.HeyTriangulator.Generator.RandomType;
[CreateAssetMenu(menuName = "Hey Area Spawner/SpawnObjectProperty", file... |
public enum ItemName
{
Item1 = 1,
Item2 = 2,
Item3 = 3,
Item4 = 4,
Item5 = 5,
Item6 = 6,
Item7 = 7,
Item8 = 8,
Item9 = 9,
Item10 = 10,
Item11 = 11,
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
namespace Algorithms
{
class ContinuousMedians
{
public static void MyMain(string[] args)
{
int caseCount = int.Parse(Console.ReadLine(... |
using Moq;
using Nethereum.BlockchainProcessing.UnitTests.TestUtils;
using Nethereum.Contracts;
using Nethereum.Hex.HexTypes;
using Nethereum.RPC.Eth.DTOs;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Threading.Tasks;
namespace Nethereum.BlockchainProcessing.UnitTests.Block... |
using System.Windows.Forms;
namespace Roberta.Forms
{
public partial class AboutForm : Form
{
public AboutForm()
{
InitializeComponent();
}
private void linkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
gitHubLinkLabel.Link... |
using Microsoft.Data.Sqlite;
namespace TNBase.Repository.Migrations
{
public class _3_Titles : SqlMigration
{
public _3_Titles(SqliteConnection connection) : base(connection)
{ }
public override void Up()
{
using var command = connection.CreateCommand();
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
using Microsoft.Graphics.Canvas;
using System;
using Windows.Foundation;
using Windows.Graphics.Display;
using Windows.UI.Core;
namespace CoreWindowExample
{
... |
@*
Project: Aguafrommars/TheIdServer
Copyright (c) 2022 @Olivier Lefebvre
*@
@inject IViewLocalizer Localizer
@model RedirectViewModel
<h1>@Localizer["You are now being returned to the application."]</h1>
<p>@Localizer["Once complete, you may close this tab"]</p>
<meta http-equiv="refresh" content="0;url=@Model.Red... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threadi... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Avapi.AvapiCCI
{
public interface Int_CCI
{
IAvapiResponse_CCI Query(
string symbol,
Const_CCI.CCI_interval interval,
int time_period);
Task<IAvapiResponse_CCI> QueryAsync(
string symbol,
Const_CCI.CCI_interval interva... |
using KEI.Infrastructure.Validation;
namespace KEI.Infrastructure
{
public class PropertyObjectBuilder
{
private readonly PropertyObject prop;
public PropertyObjectBuilder(PropertyObject obj)
{
prop = obj;
}
public PropertyObjectBuilder()
{
... |
using DFC.Composite.Shell.Models.Common;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using System.Threading.Tasks;
namespace DFC.Composite.Shell.Services.TokenRetriever
{
public class BearerTokenRetriever : IBearerTokenRetriever
{
public async Task<string> GetToken(Http... |
using System.Collections.Generic;
using UnityEngine;
using SanAndreasUnity.Utilities;
using System.Linq;
namespace SanAndreasUnity.Behaviours
{
public class PedStalker : Ped
{
public float stoppingDistance = 3;
void Update ()
{
// reset input
ResetInput ();
// follow player ins... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Core.danmaku2ass
{
public class Producer
{
public Dictionary<string, bool> Config;
public Dictionary<string, Filter> Filters;
public List<Danmaku> Danmakus;
public List<Danmaku> KeepedDanmakus;
... |
using System.Text.Json.Serialization;
namespace DotNetBungieAPI.Generated.Models.Content;
public sealed class ContentRepresentation
{
[JsonPropertyName("name")]
public string Name { get; init; }
[JsonPropertyName("path")]
public string Path { get; init; }
[JsonPropertyName("validationString")]
... |
using System.Linq;
namespace Revo.Core.Core
{
public class Environment : IEnvironment
{
private readonly IEnvironmentProvider[] environmentProviders;
public Environment(IEnvironmentProvider[] environmentProviders)
{
this.environmentProviders = environmentProviders;
... |
using System;
using Godot;
namespace SteveExtensionMethods
{
public static class SteveMathExtensionMethods
{
public static float DegToRad(this float input)
{
return input * ((float)Math.PI / 180f);
}
public static float RadToDeg(this float input)
{
return input * (180f / (float)Math.PI);
}
}
}
|
namespace EA.Weee.Web.Areas.Admin.ViewModels.Aatf
{
public class UpdateAatfDetailsTransferViewModel : FacilityViewModelBase
{
public override string Name { get; set; }
public override string ApprovalNumber { get; set; }
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.