content stringlengths 23 1.05M |
|---|
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text.Json;
using System.Threading.Tasks;
using Core.Entities;
using Core.Entities.OrderAggregate;
using Infrastructure.Helpers;
using Microsoft.EntityFrameworkCore;
using Microsof... |
using System;
namespace SkillEditor
{
public class NewModification
{
public NewUSInternalCurve curve;
public float newTime;
public float newValue;
public NewModification(NewUSInternalCurve curve, float newTime, float newValue)
{
this.curve = curve;
this.newTime = newTime;
this.newValue = newVal... |
using System;
namespace BrawlLib.Internal.PowerPCAssembly
{
public enum DisplayType
{
Decimal,
UnsignedHex,
Hex
}
public class PPCFormat
{
public static DisplayType disassemblerDisplay = DisplayType.Decimal;
private PPCFormat()
{
}
... |
// Copyright (c) 2005-2020, Coveo Solutions Inc.
using System;
using System.Diagnostics;
using System.IO;
using sfdx4csharpClient;
using sfdx4csharpClient.Core;
namespace sfdx4csharp
{
class Program
{
const string SFDX_PATH_ENV_KEY = "SFDX_PATH";
static void Main(string[] args)... |
@{
ClientSettingsModel demoSettingsModel = ViewBag.DemoSettingsModel;
}
<c1-linear-gauge id="@demoSettingsModel.ControlId" min="0" max="10" value="1" width="500px">
<c1-gauge-range min="2" max="3" color="Green"></c1-gauge-range>
<c1-gauge-range min="6" max="9" color="Yellow"></c1-gauge-range>
</c1-linear-... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class FileBrowser : MonoBehaviour {
[Header("ANIMATORS")]
public Animator thisPCAnimator;
public Animator thisPCListAnimator;
public Animator cloudAnimator;
public Animator cloudListAnimator;
private boo... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Qwiq.WorkItemStore.WorkItem
{
[TestClass]
public class Given_a_WorkItem_from_each_client_by_Id : SingleWorkItemComparisonContextSpecification
{
private const int Id = 10726528;
public override void When()
... |
namespace EA.Iws.Core.Movement
{
using System;
using System.Threading.Tasks;
using Rules;
public interface IMovementRule
{
Task<RuleResult<MovementRules>> GetResult(Guid notificationId);
}
} |
#region license
/*
This file is public domain.
You may freely do anything with it.
Copyright (c) VPKSoft 2019
*/
#endregion
using System.Collections.Generic;
using System.Windows.Forms;
namespace ScriptNotepad.UtilityClasses.Keyboard
{
/// <summary>
/// A class for sending key presses to contro... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OfficeOpenXml;
using WithoutHaste.DataFiles.Excel;
namespace DataFilesTest
{
[TestClass]
public class ExcelPackageHelperTests
{
[TestMethod]
public voi... |
using System.Collections.Generic;
using System.Management;
namespace WindowsMonitor.Hardware.Storage.ISCSI
{
/// <summary>
/// </summary>
public sealed class IscsiLoginOptions
{
public uint AuthType { get; private set; }
public uint DataDigest { get; private set; }
public uint DefaultTime2Retain ... |
using IdentityServer.Admin.Core.Constants;
using IdentityServer.Admin.Core.Entities.Localization;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace DbMigration.Mapping.Localization
{
public class LanguageMap : BaseEntityTypeConfiguration<Language>
{
... |
using System;
using StereoKit;
namespace StereoKitQuickStart_NetCore
{
public class App
{
private Random _random = new Random();
private Pose _cubePose = new Pose(0, 0, -0.5f, Quat.Identity);
private Pose _windowPose = new Pose(0.4f, 0, -0.5f, Quat.FromAngles(0, 180, 0));
priva... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sample.ChartNet.Dominio.Entities.Enum;
using Sample.ChartNet.Dominio.Model;
using Sample.ChartNet.Aplicacao.DTO;
namespace Sample.ChartNet.Aplicacao.Extensions
{
public static class ItemListaExtensions
{
public... |
//
//
// Authors:
// Vladimir Novick (v_novick@yahoo.com)
//
// (C) 2003 Vladimir Novick
//
//
using System;
namespace Vlad2Net.Win32.RegisterAPI
{
[Serializable]
public enum RegistryHive
{
ClassesRoot = -2147483648,
CurrentConfig = -2147483643,
CurrentUser = -2147483647,
DynData... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class Corporation
{
[SerializeField] private string _sceneName;
[Multiline] [SerializeField] private string _name;
[SerializeField] private Color _color = Color.white;
public string SceneName
... |
using System.Collections.Generic;
namespace commonItems {
public class ModParser : Parser {
public string Name { get; private set; } = "";
public string Path { get; set; } = "";
private bool compressed = false;
public SortedSet<string> Dependencies { get; } = new();
public void ParseMod(BufferedReader rea... |
/*
* generated 8/8/2018 12:57:53 AM
*/
namespace AutoGenerated.DB
{
using System;
using SQLite.Attribute;
[Export]
public class SampleCharacter
{
[Unique]
public int id { get; set; }
public int character_id { get; set; }
public string name { get; set;... |
using System;
using System.Collections.Generic;
using System.Text;
namespace JSC_LMS.Application.Features.Academics.Queries.GetAcademicByFilter
{
public class GetAcademicByFilterDto
{
public int Id { get; set; }
public string Type { get; set; }
public decimal CutOff { get; set; }
... |
using System.Collections.Generic;
namespace ToDoPlugin.Commands.TextFiles.Exporters {
internal interface IExplorter {
string CreateExportFile(IEnumerable<TextFileInfo> textFiles);
}
}
|
using System.Security;
namespace Incoding.Block.Logging
{
#region << Using >>
using System.Diagnostics;
#endregion
public class EventLogger : LoggerBase
{
#region Fields
readonly EventLogEntryType logEntryType;
readonly string logName;
readonly string sourceNam... |
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using Serilog;
using Advent;
using RegExtract;
namespace Day_14
{
//https://adventofcode.com/2020/day/14#part2
public class Part2 : IAdventProblem
{
private string Dayname => Helpers.GetDayFromNamespace(this);
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT License.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics.CodeAnalysis;
namespace Reaqtor.Expressions.Core
{
/// <summary>
//... |
using BeatThat.Notifications;
namespace BeatThat.Entities.Persistence
{
using N = NotificationBus;
using Opts = NotificationReceiverOptions;
public static class PersistenceNotifications<DataType>
{
public static readonly string LOAD_STARTED = typeof(DataType).FullName + "_PERSISTENCE_LOAD_STAR... |
using System;
using System.Timers;
using Terraria;
namespace tdsm.core.WebInterface.Pages.Admin
{
/*
* Note, Modules are not to send HTML, rather they are to send API information
*/
[WebModule(Url = "/api/server/overview", Nodes = new string[]
{
"tdsm.web.server.overview",
"*" //... |
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class ShopColumnHolder : MonoBehaviour
{
[SerializeField] private ShopItemType type;
public ShopItemType Type => type;
public List<ShopButton> ShopButtons { get; set; } = new List<ShopButton>();
protected void Awake()
{
ShopButton... |
using CoreLayer.Citrix.Adc.NitroClient.Interfaces;
namespace CoreLayer.Citrix.Adc.NitroClient.Api.Configuration.ContentSwitching.Csvserver
{
public class CsvserverGetRequestDataRoot : INitroRequestDataRoot
{
}
} |
using System;
using System.Diagnostics;
namespace LibrePay.Models
{
[DebuggerDisplay("{From}{Separator}{To}")]
public class ExchangeSymbol
{
public string From { get; set; }
public string To { get; set; }
public char Separator { get; set; }
public ExchangeSymbol(string f... |
namespace WendigoJaeger.TranslationTool.Outputs
{
public abstract class OutputGenerator
{
public abstract void Generate(Reporter reporter, OutputInfo outputInfo);
}
}
|
using Amazon;
using Amazon.AutoScaling;
using Amazon.EC2;
using Amazon.Runtime;
using Autofac;
namespace MountAws.Services.Ec2;
public class Ec2Registrar : IServiceRegistrar
{
public void Register(ContainerBuilder builder)
{
builder.RegisterType<AmazonEC2Client>().As<IAmazonEC2>()
.UsingCo... |
using System.Collections.Generic;
using POETradeHelper.Common;
using POETradeHelper.PathOfExileTradeApi.Models;
namespace POETradeHelper.PathOfExileTradeApi.Services
{
public interface ILeagueDataService : IInitializable
{
IList<LeagueData> GetLeaguesData();
}
} |
using System;
using System.Linq;
namespace Safadometro
{
public class WesleySafadao
{
public int day;
public int month;
public int year;
public WesleySafadao(int day, int month, int year)
{
this.day = day;
this.month = month;
this.year = year;
}
public int sumMonth()... |
using System;
using Robust.Shared.GameObjects;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
namespace Content.Shared.Light.Component
{
[NetworkedComponent]
[ComponentProtoName("HandheldLight")]
public abstract class SharedHandheldLightComponent : Robust.Shared.GameObjects.Component
... |
using System.Collections.Generic;
using Microsoft.OpenApi.Any;
using Microsoft.OpenApi.Models;
using Models;
using NUnit.Framework;
namespace Parser.Tests
{
public class RequestParserTests
{
[Test]
public void ValidRequestParsingShouldHaveCorrectValues()
{
string summary = ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class Exp_2 : MonoBehaviour
{
public static double[] Experiment2_length = new double[100];
public static double[] Experiment2_width = new double[100];
public static double[] Experiment2_height = new double[... |
namespace Telerik.UI.Xaml.Controls.Input.Calendar.Commands
{
/// <summary>
/// Defines the known commands that are available within a <see cref="RadCalendar"/> control.
/// </summary>
public enum CommandId
{
/// <summary>
/// The command is not familiar to the calendar.
///... |
using AI.BackEnds.DSP.NWaves.Audio.Interfaces;
namespace AI.BackEnds.DSP.NWaves.Audio.Mci
{
/// <summary>
/// Audio recorder based on MCI.
///
/// MciAudioRecorder works only with Windows, since it uses winmm.dll and MCI commands.
/// </summary>
public class MciAudioRecorder : IAudioRecorder
... |
using System;
/***********************************************************************************
****作者:zhenggan;创建时间:2021/1/27 23:14:29;更新时间:
************************************************************************************/
namespace VirtualUniverse.BackgroundService
{
/// <summary>
/// 类说明:任务执行次数
... |
using UnityEngine;
using System;
using System.Text;
using System.Security.Cryptography;
using VRoidSDK.OAuth;
namespace VRoidSDK
{
/// <summary>
/// ブラウザを開き、アプリケーションの認証を行うためのクラス
/// </summary>
public class BrowserAuthorize : MonoBehaviour
{
private SDKConfiguration _sdkConfiguration;
... |
using System.Threading.Tasks;
using MarketingBox.AuthApi.Domain.Models.Errors;
namespace MarketingBox.AuthApi.Domain.Tokens
{
public interface ITokensService
{
Task<(TokenInfo Token, LoginError Error)> LoginAsync(string login, string tenantId, string password);
}
} |
// ***********************************************************************
// Assembly : IronyModManager.IO
// Author : Mario
// Created : 11-26-2020
//
// Last Modified By : Mario
// Last Modified On : 12-15-2021
// ***********************************************************************
// ... |
using System;
using System.Numerics;
/* Problem 18.* Trailing Zeroes in N!
Write a program that calculates with how many zeroes the factorial of a given number n has at its end.
Your program should work well for very big numbers, e.g. n=100000.
*/
class TrailingZeroesInN
{
static void Main()
{
... |
using System;
using cAlgo.API;
using cAlgo.API.Indicators;
namespace cAlgo.Indicators
{
[Indicator(IsOverlay = true, AccessRights = AccessRights.None)]
public class KAMA : Indicator
{
[Parameter()]
public DataSeries Source { get; set; }
[Output("KAMA")]
public IndicatorDat... |
using System.Collections.Generic;
using Abp.Application.Services.Dto;
namespace BodeAbp.Zero.Users.Dtos
{
/// <summary>
/// 设置用户角色Input
/// </summary>
public class SetUserRoleInput
{
/// <summary>
/// 用户Id
/// </summary>
public long UserId { get; set; }
///... |
using System;
using System.Runtime.CompilerServices;
using Newtonsoft.Json.Linq;
using Snapper.Attributes;
using Xunit;
namespace Snapper.Tests
{
/// <summary>
/// This class contains tests which test that the nuisances of newtonsoft are avoided in Snapper
/// </summary>
[StoreSnapshotsPerClass]
... |
using BlogCore.BlogContext.Core.Domain;
using BlogCore.BlogContext.Infrastructure;
using BlogCore.Core;
using BlogCore.Core.Helpers;
using BlogCore.Infrastructure.EfCore;
using BlogCore.Infrastructure.UseCase;
using FluentValidation;
using MediatR;
using Microsoft.Extensions.Options;
using System.Threading.Tasks;
nam... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class VirtualJoystick : MonoBehaviour, IDragHandler, IPointerUpHandler, IPointerDownHandler
{
private Image bkImage;
private Image joystickImage;
private Vector3 inpu... |
using Empresa.SiglaSistema.Produto.Domain;
using Empresa.SiglaSistema.Produto.Domain.Entities;
using System;
using System.Collections.Generic;
namespace Empresa.SiglaSistema.Produto.Service
{
public class ClienteService : IClienteService
{
private readonly IRepositoryCliente _repositoryCliente;
... |
using System.Threading;
using System.Windows.Input;
using Singer.Client;
using Singer.Client.Commands;
using Singer.Client.Controls;
namespace Singer.Sample.Views.Dialogs
{
/// <summary>
/// DemoDialog.xaml 的交互逻辑
/// </summary>
public partial class DemoDialog : KDialog
{
public class VDem... |
namespace Divstack.Company.Estimation.Tool.Users.Application.Users.Commands.ChangeUserPassword;
using System;
using MediatR;
public class UserPasswordChanged : INotification
{
public Guid PublicId { get; set; }
}
|
using System;
using System.Text;
using ZigBeeNet.Transaction;
using ZigBeeNet.ZCL;
using ZigBeeNet.ZCL.Protocol;
namespace ZigBeeNet.ZDO.Command
{
/// <summary>
/// Management Direct Join Request value object class.
///
/// The Mgmt_Direct_Join_req is generated from a Local Device requesting that a
... |
namespace EA.Iws.RequestHandlers.Authorization
{
using System.Threading.Tasks;
using Prsd.Core.Domain;
using Prsd.Core.Mediator;
using Requests.Authorization;
internal class AuthorizeActivityHandler : IRequestHandler<AuthorizeActivity, bool>
{
private readonly IUserContext userContext;... |
using Newtonsoft.Json;
namespace GuildWars2.API.Model.PvP
{
public class Standings
{
[JsonProperty("current")]
public StandingsInfo Current { get; set; }
[JsonProperty("best")]
public StandingsInfo Best { get; set; }
[JsonProperty("season_id")]
public string S... |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Refge.Tests
{
[TestClass]
public class RefgeTests
{
[TestMethod]
public void GetVersionShouldSucceed()
{
var result = Refge.GetVersion("1.0");
result.Should().Be... |
using Foundation;
using UIKit;
using ServiceStack;
namespace ServiceStackExample.iOS
{
[Register ("AppDelegate")]
public class AppDelegate : UIApplicationDelegate
{
public override UIWindow Window { get; set; }
public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions)
{... |
using ErsatzTV.Core.Domain;
using ErsatzTV.Core.Jellyfin;
using FluentAssertions;
using Flurl;
using NUnit.Framework;
namespace ErsatzTV.Core.Tests.Jellyfin;
public class JellyfinUrlTests
{
[Test]
public void Should_Work_Without_Trailing_Slash()
{
var artwork = "jellyfin://Items/2/Images/3?tag=4"... |
using UnityEngine;
using System.Collections;
public class ZoomInWithBounce : MonoBehaviour {
public Transform scaler;
public float delay;
bool zooming;
float timeToStartZooming;
BounceLerp bounceLerp;
public float secondsPerPeriod = 0.3f;
public float totalPeriods = 1f;
public float additionalScale = 1f;
... |
using System;
using Timeline.Events;
namespace Sample.Domain
{
public class TransferAggregate : AggregateRoot
{
public override AggregateState CreateState() => new Transfer();
public void StartTransfer(Guid fromAccount, Guid toAccount, decimal amount)
{
var e ... |
// Copyright 2019 ProximaX
//
// 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 applicable law or agreed to in wr... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Newtonsoft.Json;
namespace NC_Reactor_Planner
{
public struct ConfigFile
{
public Version saveVersion;
public FissionValues Fissi... |
using System.Text.Json.Serialization;
namespace Editor.Models
{
public class Preferences
{
private const int CurrentVersion = 1;
public Preferences()
{
Version = CurrentVersion;
}
[JsonPropertyName("version")]
public int Version { get; set; }
... |
using System;
using Test.It.Specifications;
namespace Test.It.While.Hosting.Your.Windows.Service.Tests.ApplicationBuilders
{
public class FailingOnStopWindowsServiceBuilder : DefaultWindowsServiceBuilder
{
public override IWindowsService Create(ITestConfigurer configurer)
{
return n... |
using System;
namespace StructuredData.Comparison.Settings
{
internal class ComparisonSettings
{
public ComparisonSettings()
{
Inherit = true;
StringComparison = StringComparison.OrdinalIgnoreCase;
}
public bool TreatAsList { get; set; }
public L... |
using Domion.Abstractions;
using MicroFlow.Domain.Model;
using System.Threading.Tasks;
namespace MicroFlow.Domain.Repositories
{
public interface IBudgetItemTypeRepository : IEntityRepository<BudgetItemType, int>, IEntityQuery<BudgetItemType>
{
Task<BudgetItemType> FindByNameAsync(string name);
Task<BudgetItem... |
using System.Threading.Tasks;
using A6k.Messaging.Features;
namespace A6k.Messaging
{
/// <summary>
/// Defines the api of a message producer
/// </summary>
/// <typeparam name="TKey">Key type of the message</typeparam>
/// <typeparam name="TValue">Value type of the message</typeparam>
public ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace jcconsultingti.winerie.model.Enum
{
public enum TipoRelatorioEnum
{
[EnumMember]
[Description("Relatóri... |
using Newtonsoft.Json.Linq;
using System;
namespace Coldairarrow.Util
{
public static class JWTHelper
{
private static readonly string _headerBase64Url = "{\"alg\":\"HS256\",\"typ\":\"JWT\"}".Base64UrlEncode();
public static readonly JwtOptions jwtOptions = ConfigHelper.GetValue<JwtOptions>("J... |
using Coding4Fun.Toolkit.Controls;
using Microsoft.Phone.Controls;
using PodCricket.ApplicationServices;
using PodCricket.Utilities.AppLicense;
using PodCricket.WP.Resources;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using ... |
namespace StandardBridge
{
public abstract class Shape
{
protected IRenderer renderer;
protected Shape(IRenderer renderer)
{
this.renderer = renderer;
}
public abstract void Draw();
public abstract void Resize(float factor);
}
}
|
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEngine;
using UnityEditor;
public static class UnityPackageExporter
{
class ExportData
{
public string packageName;
public string packagePath;
public List<string> assets = new List<string>()... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Fabric.Query;
namespace Yarp.ServiceFabric.ServiceFabricIntegration
{
/// <summary>
/// Unit testable wrapper of a Service Fabric Application Type.
/// </summary>
public record Ap... |
using System.Collections.Generic;
using System.Linq;
using EnvironmentBuilder;
using EnvironmentBuilder.Extensions;
using EnvironmentBuilder.Implementation;
using EnvironmentBuilder.Implementation.Json;
using Xunit;
namespace EnvironmentBuilderTests
{
public class ArgumentExtensionsTests
{
[Fact]
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Riganti.Utils.Infrastructure.Logging
{
public interface IExceptionAdapter
{
void AppendFormatedDetails(Exception exception, StringBuilder sb);
void ModifyIgnoredReflectionProperties(Exception exception, List<string> c... |
namespace Palawan.Common.Communications.Http
{
public enum AuthSchemes
{
None = 0,
Basic = 1,
BearerToken = 2
}
} |
using MiniEngine.Configuration;
using MiniEngine.Systems.Components;
namespace MiniEngine.Systems
{
[Component]
public abstract class AComponent
{
protected AComponent(Entity entity)
{
this.Entity = entity;
this.ChangeState = ComponentChangeState.NewComponent();
... |
using SoftEtherApi.Model;
namespace SoftEtherApi.SoftEtherModel
{
public class ConnectResult : BaseSoftEtherModel<ConnectResult>
{
public uint build;
public string hello;
public byte[] pencore;
public byte[] random;
public uint version;
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using AtCoderBeginnerContest176.Algorithms;
using AtCoderBeginnerContest176.Collections;
using AtCoderBeginnerContest176.Extensions;
using ... |
using System;
using WellFormedNames;
using AutobiographicMemory;
namespace RolePlayCharacter
{
public class EventHelper
{
public static Name ActionStart(Name subject, Name actionName, Name target)
{
if (!subject.IsPrimitive)
throw new ArgumentException("Subject need... |
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 GMSObfuscator
{
public partial class Form1 : Form
{
public Form1... |
using System;
namespace Timer
{
public class TimerFormat
{
private static readonly string TWO_DIGITS = "%02d";
private static readonly string ONE_DIGIT = "%01d";
private static readonly string NEG_TWO_DIGITS = "-%02d";
private static readonly string NEG_ONE_DIGIT = "-%01d";
private static string mHour... |
namespace Cortside.Health.Enums {
/// <summary>
/// Service status enum
/// </summary>
public enum ServiceStatus {
Ok,
Degraded,
Failure
}
}
|
using Popcron.Extras;
using System;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
public interface IGameEvent
{
}
public static class PopEvents
{
private static List<Subscriber> subscribers = null;
private static object[] parameters = new object[] { null };
public delegat... |
using Microsoft.AspNetCore.Components;
using RaiseHand.Core.Navigation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RaiseHand.Web.Navigation
{
public class Navigation : INavigation
{
NavigationManager _navigationManager;
Navigation... |
// CS0122: `A.B' is inaccessible due to its protection level
// Line: 11
interface r {
A.B aaa ();
}
class A {
enum B {
D
}
}
class B {
static void Main ()
{
A.B x = A.B.D;
}
}
|
using System;
using UnityEngine;
namespace EasyTween
{
public class Tween : Sequential
{
private ValueEvaluate _evaluate;
private float _duration;
public float Duration => _duration;
private LoopType _loopType = LoopType.Restart;
private int _loopTime = 1;
... |
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Amazon.Lambda.Tools.Test
{
public class UtilitiesTests
{
[Theory]
[InlineData("dotnetcore2.1", "netcoreapp2.1")]
[InlineData("dotnetcore2.0", "netcoreapp2.0")]
[InlineData("dotnetcore1.0... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TravelPalAPI.Models;
using TravelPalAPI.ViewModels.Identity;
namespace TravelPalAPI.Helpers
{
public interface ITokenService
{
Task<AuthentificationResponse> BuildToken(UserAccount user);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Orleans.Activities.Helpers;
namespace Orleans.Activities.Test.Activities
{
public interface IWorkflowCallbackInterface
{
Task<Func<Task<string>>> OnOperationWithParamsAsync(string... |
using System;
namespace InFurSecDen.Utils.AcmeDnsSolver.Options
{
public class AzureKeyVaultOptions
{
public string VaultName { get; set; }
}
}
|
using static System.Console;
using Microsoft.Data.SqlClient;
using System.Threading.Tasks;
static class Sql
{
public static async Task GoAsync()
{
WriteLine($"\n** SQL **\n");
using var conn = new SqlConnection(Constants.ConnectionString);
await conn.OpenAsync().ConfigureAwait... |
using UnityEngine;
namespace Xenon.Test {
public class TestListener : IEventListener {
public TestListener() {
this.RegisterListener();
}
public void OnTest(IEventSender sender, XEvent ev) {
Debug.Log("EVENT CAUGHT!");
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WzComparerR2.WzLib;
namespace WzComparerR2.MapRender.Patches2
{
public class FootholdItem : SceneItem
{
public int ID { get; set; }
public int X1 { get; set; }
public int Y1 { get; set; }
... |
// Copyright (c) 1997-2014, SalesLogix NA, LLC. All rights reserved.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Xml;
using System.Xml.Schema;
namespace Saleslogix.SData.Client.Metadata
{
[DebuggerDisplay("{Name}")]
public abstract class SDataSchemaProperty : SDataS... |
namespace Models.Capacity
{
public class CapacityProperties
{
public string ProvisioningState { get; set; }
public string State { get; set; }
public CapacityAdministrators Administration { get; set; }
}
}
|
using System.Linq;
using Gastromio.Core.Common;
using Gastromio.Core.Domain.Failures;
namespace Gastromio.Core.Domain.Model.Restaurants
{
public class Address
{
public Address(string street, string zipCode, string city)
{
ValidateStreet(street);
ValidateZipCode(zipCode)... |
namespace KryBot.Core
{
public static class FilePaths
{
public const string Profile = "profile.xml";
public const string Settings = "settings.xml";
public const string KryBot = "KryBot.exe";
public const string KryBotOld = "KryBot.exe.old";
public const string KryBot... |
using Content.Server.Administration;
using Content.Server.Atmos.EntitySystems;
using Content.Shared.Administration;
using Robust.Server.Player;
using Robust.Shared.Console;
namespace Content.Server.Atmos.Commands
{
[AdminCommand(AdminFlags.Debug)]
public sealed class ShowAtmos : IConsoleCommand
{
p... |
using Moq;
using NUnit.Framework;
using Routine.Core;
using Routine.Interception;
using Routine.Interception.Configuration;
using Routine.Interception.Context;
using Routine.Test.Core;
using Routine.Test.Engine.Stubs.DoInvokers;
using System;
namespace Routine.Test.Interception
{
[TestFixture(typeof(Sync))]
[... |
using Newtonsoft.Json;
namespace Bitmex.NET.Dtos
{
public class InstrumentActiveIntervalsDto
{
[JsonProperty("intervals")]
public string[] Intervals { get; set; }
[JsonProperty("symbols")]
public string[] Symbols { get; set; }
}
}
|
using System.Collections.Generic;
using SFA.DAS.ProviderRegistrations.Types;
namespace SFA.DAS.ProviderRegistrations.Application.Queries.GetInvitationQuery
{
public class GetInvitationQueryResult
{
public GetInvitationQueryResult(List<InvitationDto> invitations)
{
Invitations = invi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.