content stringlengths 23 1.05M |
|---|
using Rabbit.Extensions.DependencyInjection;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ExceptionLess.WebHook.Abstractions
{
public interface IWebHookProvider : ISingletonDependency
{
string Name { get; }
Task ProcessAsync(ExceptionLessEventModel model, IDiction... |
using System;
using Xilium.CefGlue;
using Xilium.CefGlue.Common.Handlers;
namespace WebViewControl {
partial class WebView {
private class InternalKeyboardHandler : KeyboardHandler {
private WebView OwnerWebView { get; }
public InternalKeyboardHandler(WebView webView) {... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using Xunit;
namespace NuGet.Protocol.Plugins.Tests
{
public class C... |
using System;
using Il2CppDummyDll;
using UnityEngine;
// Token: 0x020003E3 RID: 995
[Token(Token = "0x20003E3")]
public class HatParent : MonoBehaviour
{
// Token: 0x170002E7 RID: 743
// (get) Token: 0x0600149C RID: 5276 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x0600149D RID: 5277 RVA: 0... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using NDO;
using NDO.Mapping;
using Moq;
namespace NdoDllUnitTests
{
[TestFixture]
public class UpdateRankTests
{
Dictionary<string, Mock<Type>> types = new Dictionary<string,Mock<Type... |
namespace HaloEzAPI.Abstraction.Enum.Halo5
{
public enum Faction
{
Unknown,
UNSC,
Covenant,
Promethean,
Banished,
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using ZimLabs.TableCreator;
namespace Demo
{
internal static class Program
{
private static void Main()
{
var data = CreateDummyList().OrderByDescending(o =... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StadisticsGUI : MonoBehaviour
{
public TMPro.TextMeshProUGUI FoodGUI;
public TMPro.TextMeshProUGUI LifeGUI;
}
|
#region License
/* **************************************************************************************
* Copyright (c) Librame Pong All rights reserved.
*
* https://github.com/librame
*
* You must not remove this notice, or any other, from this software.
* **************************************************... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlaynitePersistPlugin.Providers
{
/// <summary>
/// Cloud Provider Interface.
/// </summary>
public interface ICloudProvider
{
/// <summary>
/// Connect to ... |
using System;
using UnityEditor.Experimental.GraphView;
namespace PeartreeGames.EvtGraph.Editor
{
public class EvtNode : Node
{
public Guid ID;
}
} |
using System;
namespace Jinaga.Definitions
{
public abstract class Chain
{
public abstract bool IsTarget { get; }
public abstract SetDefinition TargetSetDefinition { get; }
public abstract string SourceFactType { get; }
public abstract string TargetFactType { get; }
publ... |
using System;
namespace Modulr.Models;
[Flags]
public enum Role
{
User = 0, // Redundant.
Admin = 1,
Banned = 2
} |
// Copyright © Conatus Creative, Inc. All rights reserved.
// Licensed under the Apache 2.0 License. See LICENSE.md in the project root for license terms.
using System;
using Pixel3D.P2P.Diagnostics;
namespace Pixel3D.Network.Test
{
internal class ConsoleLogHandler : NetworkLogHandler
{
public override void Hand... |
using System.Collections.Generic;
using System.Threading.Tasks;
using HelpScout.Conversations;
using HelpScout.Conversations.Models.Create;
using Xunit;
using Xunit.Abstractions;
using ConversationStatus = HelpScout.Conversations.ConversationStatus;
namespace HelpScout.Tests.Conversations
{
[Collection("HelpScout ... |
using Microsoft.EntityFrameworkCore;
namespace TPHWithConventions
{
public class BankContext : DbContext
{
private const string ConnectionString = @"server=(localdb)\MSSQLLocalDb;" +
"Database=ThriveLocalBank;Trusted_Connection=True";
protected override void OnConfiguring(DbContex... |
using DTStacks.DataType.Templates;
namespace DTStacks.DataType.ROS.Messages.sensor_msgs
{
[System.Serializable]
public class RegionOfInterest : Message
{
public uint x_offset;
public uint y_offset;
public uint height;
public uint width;
public bool do_rectify;
}... |
using System.Collections.Generic;
namespace BcGov.Fams3.SearchApi.Contracts.PersonSearch
{
public interface PersonSearchRejected : PersonSearchAdapterEvent
{
IEnumerable<ValidationResult> Reasons { get; }
}
} |
using System;
using System.Collections;
using UnityEngine;
using UnityEngine.Events;
namespace Midnight.Core
{
[System.Serializable]
public class ActionEvent : UnityEvent<float> { }
public class GameAction : MonoBehaviour
{
[SerializeField] UnityEvent onStart;
[SerializeField] ActionEvent onProgress;... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title></title>
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,300,700" rel="sty... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BracedFramework
{
public class Openable : MonoBehaviour
{
public Animator Animator;
[ReadOnly] [SerializeField] bool _isOpen = false;
public bool IsOpen { get => _isOpen; private set => _is... |
using EMS.Event_Services.API.Context.Model;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace EMS.Event_Services.API.Context.EntityConfigurations
{
class InstructorForEventsEntityTypeConfiguration
: IEntityTypeConfiguration<InstructorForEvent>
{
... |
using System;
public class LocalConfigManager : ILocalConfigManamger
{
public void SaveValue(string key, float value)
{
_SaveValue(key, value);
}
public void SaveValue(string key, string value)
{
_SaveValue(key, value);
}
public void SaveValue(string key, int value)
{
_SaveValue(key, value);
}
publ... |
using System;
namespace Hikipuro.Text.Tokenizer {
/// <summary>
/// トークン 1 つ分.
/// </summary>
/// <typeparam name="TokenType">トークンの種類.</typeparam>
public class Token<TokenType> where TokenType : struct {
/// <summary>
/// トークンの種類.
/// </summary>
public TokenType Type;
/// <summary>
/// マッチしたテキスト.
... |
namespace Juce.Core.Factories
{
public interface IFactory<TDefinition, TCreation>
{
bool TryCreate(TDefinition definition, out TCreation creation);
}
}
|
/*
* Copyright 2022 Rapid Software LLC
*
* 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... |
[CompilerGeneratedAttribute] // RVA: 0x15A130 Offset: 0x15A231 VA: 0x15A130
private sealed class MonsterHutManager.<>c__DisplayClass14_0 // TypeDefIndex: 9942
{
// Fields
public int j; // 0x10
// Methods
// RVA: 0x2177270 Offset: 0x2177371 VA: 0x2177270
public void .ctor() { }
// RVA: 0x2178830 Offset: 0x21789... |
//
// Synuit.Blockchain.Api - Blockchain/Cryptocurrency Api's for .NET
// Copyright © 2017-2018 Synuit Software. All Rights Reserved.
//
using System;
//
namespace Synuit.Blockchain.Api.Coin.Exceptions
{
[Serializable]
public class CoinApiException : Exception
{
public CoinApiException(string mes... |
using System;
using System.Diagnostics;
using NTFSLib.Objects.Enums;
namespace NTFSLib.Objects.Attributes
{
public class AttributeVolumeInformation : Attribute
{
public ulong Reserved { get; set; }
public byte MajorVersion { get; set; }
public byte MinorVersion { get; set; }
pu... |
using System;
using System.Net;
using System.Text;
namespace KodiAndroid.Logic.Service
{
public class HttpClientService
{
public string PostReqest(string file, string url)
{
var wc = new WebClient();
string responseString;
try
{
v... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using BusinessObjects;
using BusinessObjects.Table;
using System.Data.Objects.DataClasses;
using Facade.Table;
namespace Controllers.Models
{
public class FillMasterPageViewData : ActionFilterAttribute
{
private M... |
// The contents of this file are subject to the Mozilla Public License
// Version 1.1 (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.mozilla.org/MPL/
//
// Software distributed under the License is distr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace BackEnd
{
/// <summary>
/// University
/// </summary>
public class University
{
/// <summary>
/// Fields
/// </summary>
pub... |
using UnityEngine;
namespace BIG.LayeredFSMs
{
/// <summary>
/// When picked up, sets actor's Health.currentHealth to max.
/// </summary>
public class HealthPickup : Pickup
{
private void OnTriggerEnter2D(Collider2D collision)
{
var health = collision.GetComponent<Heal... |
using Moonbyte.UniversalServer.Core.Client;
using static Moonbyte.UniversalServer.Core.Model.Utility;
namespace Moonbyte.UniversalServer.Core.Server.Events
{
public class OnBeforeClientRequestEventArgs
{
public MoonbyteCancelRequest CancelRequest = MoonbyteCancelRequest.Continue;
public string... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace DXInfo.Principal
{
/// <summary>
/// 自定义用户信息
/// </summary>
[Serializable]
public class MyIdentity : System.Security.Principal.IIde... |
using System.Text.RegularExpressions;
namespace Phunk.Luan
{
internal static class StringMatch
{
public static Match Match(this string str, string regex)
{
var m = new Regex(regex).Match(str);
return m.Length != 0 ? m : null;
}
}
} |
using Improbable.Gdk.Core;
using Improbable.Gdk.Core.SceneAuthoring;
using UnityEngine;
namespace Improbable.Gdk.TransformSynchronization
{
[AddComponentMenu("SpatialOS/Authoring Components/Transform From GameObject Authoring Component")]
public class TransformFromGameObjectAuthoringComponent : MonoBehaviour, ... |
// Copyright 2016 Jon Skeet. All Rights Reserved.
// Licensed under the Apache License Version 2.0.
using System;
public sealed class Popsicle
{
public bool Frozen { get; private set; }
private int value;
public int Value
{
get { return value; }
set
{
if (Frozen)
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using ShoppingCore.Application;
using ShoppingCore.Application.ApplicationModels;
using ShoppingCore.Presentation.Models.Users;
namespace ShoppingCore.Presentation.Models.PresentationModelMapper
{
public static class ModelMapp... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Drive.ScsArchive.Tests {
[TestClass]
public class HashFsFileNameTests {
[TestMethod]
public void TestCtor () {
HashFsFileName fileName;
fileName = new HashFsFileName("file");
Assert... |
using JssSnippet.Services;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Sitecore.DependencyInjection;
using Sitecore.LayoutService.ItemRendering;
namespace JssSnippet.Configurators
{
public class RegisterDependencies : IServicesConfigurator
{... |
@using serverhouse_web.Models.PropertyValue
@model PropertyValue
@{
var gallery = (ImagePropertyValue) Model;
}
<div class="v_valuerep v_valuerep_gallery">
<div class="v_valuerep_gallery_image">
@foreach (var url in gallery.urls) {
<img src="@url"/>
}
</div>
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Krtalic.Common.Extensions
{
public static class StopwatchExtensions
{
public static long ElapsedNanoseconds(this Stopwatch Self)
{... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using Autofac.Features.Indexed;
using Lykke.Service.BlockchainApi.Client;
using Lykke.Service.BlockchainCashoutPreconditionsCheck.Core.Domain.Health;
using Lykke.Service.BlockchainCashou... |
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.AsymmetricAlgorithm))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.CipherMode))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.C... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using GitLabApiClient.Internal.Http;
using GitLabApiClient.Internal.Paths;
using GitLabApiClient.Internal.Queries;
using GitLabApiClient.Models.Branches.Requests;
using GitLabApiClient.Models.Branches.Responses;
using GitLabApiClient.Models.P... |
using System.Collections.Generic;
using System.Net.Http;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Xfrogcn.AspNetCore.Extensions;
namespace Microsoft.Extensions.DependencyInjection
{
public static class HttpClientBuilderExtensions
{
public static string DisableEnsureSuccessStatu... |
namespace TeamTaskboard.Web.ViewModels.Project
{
using System.Collections.Generic;
using AutoMapper;
using TeamTaskboard.Models;
using TeamTaskboard.Web.Infrastructure.Mappings;
using TeamTaskboard.Web.ViewModels.Task;
public class ProjectViewModel : IMapFrom<Project>, ICustomMappings
{
... |
using ConfigurationModel.Interfaces;
using ConfigurationModel.Models;
namespace WebApiApp.Middlewares
{
public class ConfigurationService : IConfigurationService
{
private readonly string _environmentName;
private readonly string? _currentDirectory;
private readonly IConfiguration _co... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DisBot {
public class CircularBuffer<T> {
protected T[] _buffer;
private int _position;
public virtual int Position {
get {
return _po... |
using System;
namespace iSukces.Binding
{
internal sealed class DisposableAction : IDisposable
{
public DisposableAction(Action action) { _action = action; }
~DisposableAction() { DisposeInternal(); }
public void Dispose()
{
DisposeInternal();
GC.Suppre... |
using Cake.Core.IO;
using Cake.Testing;
using System;
using Xunit;
namespace Cake.MonoApiTools.Tests
{
public class MonoApiInfoAliasesTest
{
[Theory]
[InlineData("/bin/tools/mono-api-info.exe", "/bin/tools/mono-api-info.exe")]
[InlineData("./tools/mono-api-info.exe", "/Working/tools/mo... |
using System;
namespace Forms9Patch
{
static class ElementShapeExtensions
{
public static ExtendedElementShape ToExtendedElementShape(this ElementShape buttonShape)
{
switch(buttonShape)
{
case ElementShape.Square: return ExtendedElementShape.Squa... |
using CodyDocs.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodyDocs.Services
{
public static class DocumentationFileHandler
{
public static void AddDocumentationFragment(Do... |
using System;
namespace DeltaEngine.Graphics.OpenGL
{
internal abstract class BaseGraphicsContext : IDisposable
{
protected IntPtr GraphicsContext;
public MethodLoader Loader { get; private set; }
public static BaseGraphicsContext Current { get; protected set; }
public abstract bool VSync { s... |
using Coslen.RogueTiler.Domain.Engine.Common;
namespace Coslen.RogueTiler.Domain.Engine.Actions
{
/// Base class for an [Action] that applies (or extends/intensifies) a
/// [Condition]. It handles cases where the condition is already in effect with
/// possibly a different intensity.
public abstract c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace CompBind
{
public class Path
{
public bool IsGlobal = false;
public LinkedList<PathElement> PathElements = new LinkedL... |
using System;
namespace HotChocolate.PreProcessingExtensions.Pagination
{
public interface IHavePreProcessedPagingInfo
{
public int? TotalCount { get; }
public bool HasNextPage { get; }
public bool HasPreviousPage { get; }
}
}
|
// TC Data ADO.NET Bridge
// Copyright © 2009-2015 Tommy Carlier
// https://github.com/tommy-carlier/tc-libs/
// License: MIT License (MIT): https://github.com/tommy-carlier/tc-libs/blob/master/LICENSE
using System.Data;
namespace TC.Data.Internal.ValueGetters
{
internal abstract class StructValueGetter<TV... |
using System.Collections;
using UnityEngine;
public class ColorChanger : MonoBehaviour
{
private void Awake()
{
Renderer = GetComponent<Renderer>();
OriginalColor = Renderer.material.color;
Light = GetComponentInChildren<Light>();
Outline = GetComponent<Outline>();
Star... |
using System.Linq;
using CMS.DocumentEngine;
using CMS.Ecommerce;
using CMS.SiteProvider;
using DancingGoat.Infrastructure;
namespace DancingGoat.Repositories.Implementation
{
/// <summary>
/// Represents a collection of products.
/// </summary>
public class KenticoProductRepository : IProductReposit... |
namespace Senko.Discord.Exceptions
{
public class DiscordRestException : DiscordException
{
public DiscordRestException(string message, int code)
: base(message)
{
Code = code;
}
public int Code { get; }
}
}
|
namespace Eolina;
public class OutputToken : IToken
{
public string TokenRepresentation()
=> "<OutputToken>";
} |
#region Using
using System;
using System.Windows;
using System.Windows.Controls;
using System.Reflection;
using NLib;
using NLib.Services;
using DMT.Models;
//using DMT.Windows;
#endregion
namespace DMT.TOD.Pages.Menu
{
/// <summary>
/// Interaction logic for ReportMenu.xaml
/// </summary>
public ... |
using UnityEngine;
using UnityEngine.Playables;
namespace CharacterAnimationEssentials.Hand
{
[System.Serializable]
public class HandBehaviour : PlayableBehaviour
{
public HandPosePreset handPreset;
[Range(0f, 1f)] public float strengthMultiplier = 1f;
public HandPose HandPose =... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Newtonsoft.Json.Linq;
using PuppeteerSharp.Tests.Attributes;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace Pupp... |
using Valley.Net.Protocols.MeterBus.EN13757_2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Valley.Net.Protocols.MeterBus.EN13757_3
{
public abstract class DataPacket : Packet
{
public UInt16 Manufr { get; set; }
public UInt32 IdentificationN... |
using System.Collections.Generic;
using System.Linq;
using Terraria;
using Terraria.Audio;
using Terraria.ID;
namespace InfiniteMunitions
{
internal class AmmoRotate : WeaponUIExtension.Rotation
{
private static int GetAmmoType(Item weapon) => weapon.useAmmo;
private static List<int> GetAmmoSlots(Player player... |
using System.Threading.Tasks;
using OCC.Passports.Common.Infrastructure;
namespace OCC.Passports.Common.Sample.Console.Contracts
{
public interface IController
{
Task<StandardResponse<int>> Calculate(string session, int lhs, string @operator, int rhs);
}
}
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace VAdvantage.DataBase
{
/// <summary>
/// * Interface for Vienna Databases
/// </summary>
public interface ViennaDatabase
{
///// <summary>
///// Get Database Name
... |
using UnityEngine;
using System;
[CreateAssetMenu(menuName ="Rendering/Custom Post FX Settings")]
public class PostFXSettings : ScriptableObject
{
[SerializeField]
Shader shader = default;
#region 测试Shader功能
[SerializeField]
Shader skinBlitShader = default;
[SerializeField]
Texture skinTex... |
using System;
using System.Collections.Generic;
using Sifon.Forms.Profiles.UserControls.Base;
namespace Sifon.Forms.Profiles.UserControls.Parameters
{
internal interface IParametersView : IBaseView
{
event EventHandler<EventArgs> DownloadSampleScriptClicked;
void SetValues(Dictionary<string, s... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using UniversityCourseAndResultManagementSystemApp.Models;
namespace UniversityCourseAndResultManagementSystemApp.DAL
{
public class SemesterGetway
{
public List<Semester> GetAl... |
using schedule.api.core.Base;
namespace schedule.api.core.Models
{
public class ModuleProfessor : BaseEntity
{
public Module Module { get; set; }
public Professor Professor { get; set; }
public long ModuleId { get; set; }
public long ProfessorId { get; set; }
}
}
|
using System.Collections.Generic;
using System.ComponentModel.Composition;
using Viticulture.Logic.Pieces.Structures;
using Viticulture.Logic.State;
using Viticulture.Services;
namespace Viticulture.Screens.Game.Actions.Summer.BuildStructure
{
[Export(typeof(IBuildStructureViewModel))]
[PartCreationPolicy(Cre... |
using UnityEngine;
using UnityEngine.UI;
public class HealthText : MonoBehaviour
{
public Text text;
public CharacterHealth health;
private void OnEnable()
{
health.OnHealthChange += SetText;
}
private void OnDisable()
{
health.OnHealthChange -= SetText;
}
private void Start()
{
SetText(health.... |
using System;
using NUnit.Framework;
namespace TorSteroids.Common.UnitTests
{
[Flags]
enum ExX
{
None = 0, A = 1, B = 2, C = 4, D = 8, All = A | B | C | D
}
[TestFixture]
public class BitExTests
{
[Test]
public void TestSetFlagWithEnum()
{
ExX ... |
using FluentAssertions;
using Voidwell.Microservice.Tracing;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
using Voidwell.Microservice.Logging.Enrichers;
namespace Voidwell.Microservice.Test.Tracing
{
public class TracingExten... |
[RequiredByNativeCodeAttribute] // RVA: 0xC6570 Offset: 0xC6671 VA: 0xC6570
public class ResourceRequest : AsyncOperation // TypeDefIndex: 2988
{
// Fields
internal string m_Path; // 0x20
internal Type m_Type; // 0x28
// Properties
public Object asset { get; }
// Methods
// RVA: 0x2A240A0 Offset: 0x2A241A1 VA... |
using System;
using FluentAssertions;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using Xunit;
namespace Extensions.Caching.Extras.Tests
{
public class MemoryCachePartitionTests
{
private readonly IMemoryCache _underlyingCache;
public MemoryCachePartitionTes... |
namespace AnyJob
{
/// <summary>
/// 表示状态跟踪服务
/// </summary>
public interface ITraceService
{
/// <summary>
/// 跟踪执行状态
/// </summary>
/// <param name="context">执行上下文</param>
/// <param name="state">执行状态</param>
/// <param name="result">执行结果</param>
... |
using BotSharp.Core;
using BotSharp.Platform.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace BotSharp.Platform.Dialogflow
{
public class PlatformSettings : PlatformSettingsBase
{
}
}
|
namespace ESFA.DC.ReferenceData.Stateless.Config
{
public class ReferenceDataConfiguration
{
public string ServiceBusConnectionString { get; set; }
public string JobsQueueName { get; set; }
public string JobStatusQueueName { get; set; }
public string AuditQueueName { get; set; }... |
@page
@model CustomerModel
<div class="text-center">
<h1 class="display-4">Welcome Customer!</h1>
@if (User.IsInRole("Admin"))
{
<h3>As Admin, you have access to all authorized areas.</h3>
}
</div> |
using System;
using System.Threading.Tasks;
namespace Conference.Clients.Portable
{
public interface IWiFiConfig
{
bool ConfigureWiFi(string ssid, string password);
bool IsConfigured(string ssid);
bool IsWiFiOn();
}
}
|
using System.Collections.Generic;
using Newtonsoft.Json;
namespace ngpvanapi.Models
{
public class SignupList
{
[JsonProperty("items")]
public List<Signup> Items;
[JsonProperty("count")]
public int Count;
[JsonProperty("nextPageLink")]
public string NextPageLi... |
namespace AwsAspNetCoreLabs.Models.Logging
{
public class LogExceptionModel
{
public string Source { get; set; }
public string Message { get; set; }
public string[] StackTrace { get; set; }
public LogExceptionModel InnerException { get; set; }
}
}
|
namespace OpenClosedDrawingShapesAfter
{
using OpenClosedDrawingShapesAfter.Contracts;
public class Circle : IShape
{
public void DrawOnSurface(ISurface surface)
{
//do something on that surface
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class shoot : MonoBehaviour {
public static string sphereObject = "Sphere";
public int speed = 40;
GameObject prefab;
// Use this for initialization
void Start () {
}
// Update is called once per frame
vo... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Windows.UI.Xaml.Media.Animation
{
public enum ClockState
{
Active = 0,
Filling = 1,
Stopped = 2
}
}
|
using Assets.Scripts.Character;
using UnityEngine;
namespace Assets.Scripts.Attic.Interaction
{
public class InteractionToggler : MonoBehaviour
{
public InteractionObject TargetInteraction;
private void OnTriggerEnter2D(Collider2D other)
{
if (other.gameObject.tag == Chara... |
using System;
namespace NDO.Configuration
{
/// <summary>
/// Creates one instance of a type during the lifetime of a controller
/// </summary>
public class ContainerControlledLifetimeManager : ILifetimeManager
{
///<inheritdoc/>
public IResolver CreateResolver(Type tFrom, Type tTo)
{
return... |
using EventWebHooks.PushEventsToElasticSearch.Events;
namespace EventWebHooks.PushEventsToElasticSearch.SubjectHandlers
{
public class EmployeeCreatedHandler : BaseHandler<EmployeeCreated>, ISubjectHandler
{
public override string Subject => "EmployeeCreated";
}
} |
/********************************************************************
The Multiverse Platform is made available under the MIT License.
Copyright (c) 2012 The Multiverse Foundation
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using BizHawk.Common;
using BizHawk.Emulation.Common;
namespace BizHawk.Client.Common
{
/// <summary>
/// Represents an aggregated savestate file that includes core, movie, and other related data
/// </summary>
public class Saves... |
using System;
using UnityEngine;
// Token: 0x02000403 RID: 1027
public static class CounselorGlobals
{
// Token: 0x17000458 RID: 1112
// (get) Token: 0x06001C18 RID: 7192 RVA: 0x000FBF81 File Offset: 0x000FA381
// (set) Token: 0x06001C19 RID: 7193 RVA: 0x000FBFA1 File Offset: 0x000FA3A1
public static int Delinque... |
using FastSLQL.Format;
using FastSLQL.Support;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace FastSLQL
{
public static class FSLQL
{
public static string DBDirectory { get; private set; } = "";
public static readonly List<SLDB> SLDBases = new List... |
using System;
using System.IO;
using System.Threading;
using CommandLineSwitchParser;
namespace Toolbelt.Diagnostics.Test
{
class Program
{
private static TextWriter CurrentWriter { get; set; } = Console.Out;
private static CommandLineOptions Options { get; set; } = new CommandLineOptions();
... |
using System;
namespace Glimpse.Server.Resources
{
public class ExceptionProblem : Problem
{
private readonly Exception _exception;
public ExceptionProblem(Exception exception)
{
_exception = exception;
Extensions["StackTrace"] = _exception.StackTrace;
}... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.