content stringlengths 23 1.05M |
|---|
using NServiceBus;
public class NeedInitialization :
INeedInitialization
{
void INeedInitialization.Init()
{
Logger.WriteLine("Inside INeedInitialization.Init");
}
} |
using ImageResizer;
using ImageResizer.Plugins.PrettyGifs;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Http;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
namesp... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DeepCoveCapital.TradeExecutions
{
public interface ITradeExecution
{
}
}
|
using APM.Utilities;
using System;
using System.Collections.Generic;
namespace APM.SL
{
public class Discount
{
public int DiscountId { get; private set; }
public string DiscountName { get; set; } = "";
public decimal? PercentOff { get; set; }
// ... Discount details
... |
using Formas_MetodosAbstratos.Entities.Enums;
using System;
using System.Collections.Generic;
using System.Text;
namespace Formas_MetodosAbstratos.Entities
{
class Circulo : Forma
{
public double Raio { get; set; }
public Circulo(double raio, Color color) : base(color)
... |
using Hybridizer.Runtime.CUDAImports;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Malloc
{
/// <summary>
/// Toy example showing usage of thread-local alloc/free
/// No physical meaning ... |
using System;
namespace Watchdog.Worker.Model
{
public readonly struct Deal
{
public ulong Login { get; }
public bool SellAction { get; }
public ulong Volume { get; }
public string Symbol { get; }
public long TimeMsc { get; }
public ... |
////////////////////////////////////////////////////////////////////////////
// <copyright file="KeyStateTracker.cs" company="Intel Corporation">
//
// Copyright (c) 2013-2015 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with... |
using JobScheduler.Data.Entry;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JobScheduler.Data
{
public class JobSchedulerContext : DbContext
{
#warning test data before add db partition
public st... |
// --------------------------------------------------------
// Copyright: Toni Kalajainen
// Date: 7.10.2018
// Url: http://lexical.fi
// --------------------------------------------------------
using System;
namespace Lexical.Localization
{
// <docs>
/// <summary>
/// Line fo... |
using System.Net.Http;
using System.Threading.Tasks;
using NUnit.Framework;
using Owin;
using Rebus.Activation;
using Rebus.Config;
using Rebus.Tests;
using Rebus.Transport.InMem;
namespace Rebus.Owin.Tests
{
[TestFixture]
public class SimpleGetRequest : FixtureBase
{
const string ListenUrl = "htt... |
using System.Diagnostics;
using ApprovalTests.Core;
namespace SmartAnalyzers.ApprovalTestsExtensions.Reporters
{
/// <summary>
/// Breaks after detecting every failed snapshot and allows to continue after approving
/// </summary>
public class DebuggerStepApprovalFailureReporter : IReporterWithAppr... |
using Avalonia.LogicalTree;
namespace Avalonia.Controls.Documents
{
internal interface IInlineHost : ILogical
{
void AddVisualChild(IControl child);
void Invalidate();
}
}
|
using ProtoBuf.Serializers;
namespace ProtoBuf.Compiler
{
internal delegate void ProtoSerializer<T>(ref ProtoWriter.State state, T value);
internal delegate T ProtoDeserializer<T>(ref ProtoReader.State state, T value);
internal delegate T ProtoSubTypeDeserializer<T>(ref ProtoReader.State state, SubT... |
namespace AngleSharp.Js
{
using Jint;
using Jint.Native.Object;
using System;
using System.Collections.Concurrent;
sealed class PrototypeCache
{
private readonly ConcurrentDictionary<Type, ObjectInstance> _prototypes;
private readonly Engine _engine;
public PrototypeCac... |
using System;
using System.Threading.Tasks;
using Horse.Client.WebSocket;
using Horse.Mvc;
using Horse.Mvc.Controllers;
using Horse.Mvc.Filters.Route;
using Horse.Protocols.WebSocket;
using Horse.Server;
namespace Sample.WebSocket.Client
{
[Route("")]
public class TController : HorseController
{
[... |
using UnityEngine;
using System.Collections;
namespace Hobscure.Test {
public abstract class ComponentModel {
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp4
{
class Program
{
static void Main(string[] args)
{
int number1 = int.Parse(Console.ReadLine());
int number2 = int.Parse(Console.ReadLine());
int s... |
// MIT License - Copyright (c) Callum McGing
// This file is subject to the terms and conditions defined in
// LICENSE, which is part of this source code package
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LibreLancer
{
... |
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AlunosApi.Services
{
public class AuthenticateServices : IAuthenticate
{
private readonly SignInManager<IdentityUser> _signInManager;
private readonly... |
namespace Das.Marketo.RestApiClient.Models
{
public class BatchStatus
{
public int batchId { get; set; }
public string importId { get; set; }
public string status { get; set; }
public int numOfLeadsProcessed { get; set; }
public int numOfRowsFailed { get; set; }
... |
namespace Kari.Plugins.Flags
{
using System;
using System.Diagnostics;
[AttributeUsage(AttributeTargets.Enum)]
[Conditional("CodeGeneration")]
public class NiceFlagsAttribute : FlagsAttribute
{
}
} |
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Project.Scripts
{
public class MenuUI : MonoBehaviour
{
public void OnPlayButton()
{
SceneManager.LoadScene("Game");
}
public void OnQuitButton()
{
#if UNITY_EDITOR
UnityEditor.Edit... |
using YJC.Toolkit.MetaData;
using YJC.Toolkit.Right;
using YJC.Toolkit.Sys;
namespace YJC.Toolkit.Data
{
internal abstract class BaseTotalConfig : BaseDbConfig, IListDbConfig,
IDetailDbConfig, IEditDbConfig, IReadObjectCallBack
{
#region IReadObjectCallBack 成员
public void OnReadObject... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace postApiTools.lib
{
public class pFormRichTextBox
{
/// <summary>
/// 延时
/// </summary>... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName ="Environment Settings")]
public class EnvironmentSettings : ScriptableObject
{
public int xSize = 100;
public int zSize = 100;
}
|
using GalaSoft.MvvmLight;
namespace StyleFileCreator.App.ViewModel
{
/// <summary>
/// This class contains properties that a View can data bind to.
/// <para>
/// See http://www.galasoft.ch/mvvm
/// </para>
/// </summary>
public class AboutViewModel : ViewModelBase
{
/// <summa... |
//------------------------------------------------------------------------------
// Symbooglix
//
//
// Copyright 2014-2015 Daniel Liew
//
// This file is licensed under the 2-Clause BSD license.
// See LICENSE for details.
//-------------------------------------------------------------... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityAttributesExample {
// Provide a custom documentation URL for a class.
[HelpURL("https://github.com/LastAssertor")]
public class HelpURLExample : MonoBehaviour {
}
}
|
using System;
using System.Collections.Generic;
namespace Sfa.Tl.ResultsAndCertification.Models.Authentication
{
public class DfeUserInfo
{
/// <summary>Gets or sets the user identifier.</summary>
/// <value>The user identifier.</value>
public Guid UserId { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace Sylvan.Data
{
interface IDataAccessor<out T>
{
T Get(IDataRecord r, int ordinal);
}
static class DataAccessor
{
internal static IDataAccessor<int> Int32 = new Int32DataAccessor();
internal static IDataAccessor<... |
using System;
using Microsoft.WindowsAzure.Storage.Table;
namespace MeetHooks.Engine.Data.Table
{
public class GroupEventSubscriptionStateEntity : TableEntity
{
public DateTime Created { get; set; }
public DateTime LastUpdated { get; set; }
public string LastStatus { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace SA
{
public abstract class PopupButton : MonoBehaviour
{
[Header("Button Index.")]
public int _referedButtonIndex;
[Header("UIs.")]
public Image _buttonImage;
... |
@model Time.Data.EntityModels.CustomManuals.ProblemJob
@*@using Time.Data.Helpers*@
<div class="row">
<div class="col-md-2">
@Html.ActionLink(Model.SerialNumber, "Details", new { id = Model.Id })
</div>
<div class="col-md-2">
@Model.JobNumber
</div>
<div class="col-md-2">... |
/*
* This message is auto generated by ROS#. Please DO NOT modify.
* Note:
* - Comments from the original code will be written in their own line
* - Variable sized arrays will be initialized to array of size 0
* Please report any issues at
* <https://github.com/siemens/ros-sharp>
*/
namespace RosSharp.Ro... |
using System;
using RockLib.Configuration;
namespace Example.AppConfig.DotNetFramework
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("App.Config File Example Harness");
var key100 = Config.AppSettings["Key100"];
Console.WriteLine($"... |
@page
@{
ViewData["Title"] = "Login";
}
<body xmlns="http://www.w3.org/1999/html">
<div class="text-center">
<h1 class="display-4">Login</h1>
<fieldset><form asp-controller="Login" asp-action="UserLogin" enctype="multipart/form-data" method="post">
<div class="form-group">
<label... |
namespace BrokenEvent.NanoSerializer.Tests.Mocks
{
internal class PrimitiveArrayClass
{
public int[] Ints;
public float[] Floats;
public int[,] Ints2;
}
} |
using LmpCommon.Message.Types;
namespace LmpCommon.Message.Data.Scenario
{
public class ScenarioRequestMsgData : ScenarioBaseMsgData
{
/// <inheritdoc />
internal ScenarioRequestMsgData() { }
public override ScenarioMessageType ScenarioMessageType => ScenarioMessageType.Request;
... |
namespace chapter01
{
public interface IMyOtherService
{
void MyOtherOperation();
}
} |
using UnityEngine;
using System.Collections.Generic;
public class IosBuildList : ScriptableObject{
public List<IosBuildConfig> configs;
} |
using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
using SimpleMvcSitemap.Serialization;
using SimpleMvcSitemap.StyleSheets;
namespace SimpleMvcSitemap
{
/// <summary>
/// Encapsulates the sitemap file and references the current protocol standard.
/// </summary>
[XmlR... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.IO;
using NuGet.ProjectModel;
using NuGet.Versioning;
namespace Microsoft.Framework.Run... |
namespace DevTalkMobile
{
public class Partner
{
public string Logo { get; set; }
public string Title { get; set; }
}
} |
using System;
namespace AppRopio.Base.Core.ViewModels.TextContent
{
public interface IBaseTextContentViewModel : IBaseViewModel
{
string Title { get; }
string Text { get; }
}
}
|
using Microsoft.AspNet.SignalR;
using SignalRTest.Hubs;
using SignalRTest.Models;
using SignalRTestData.DAL;
using SignalRTestEntity.Entity;
using SignalRTestService.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Si... |
using SomePeerDependency;
namespace SomeClassLib;
public class Class1
{
public static string Greet(string name)
{
return $"Hello, {PeerClass.Upper(name)}";
}
}
|
using System;
using Swarmops.Common.Enums;
using Swarmops.Common.Interfaces;
namespace Swarmops.Basic.Types.Communications
{
public class BasicPaperLetter : IHasIdentity
{
public BasicPaperLetter (int paperLetterId, int organizationId, string fromName, string replyAddress,
DateTime received... |
using UnityEngine;
using UnityEngine.Assertions;
public class InventoryManager : BaseBehaviour
{
private Weapon equippedWeapon;
private Weapon leftWeapon;
private Weapon rightWeapon;
private int left = 0;
private int equipped = 1;
private int right = 2;
private bool levelLoading;
private GameObject[] weaponBel... |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using NPOI.OpenXmlFormats.Shared;
namespace NPOI.OpenXmlFormats.Wordprocessing
{
[Serializable]
[XmlType(Namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")]
[XmlRoot(Namespace = "http://... |
using Galaxy.Serialization;
using Microsoft.AspNetCore.Http;
using Galaxy.Gateway.Application.Contracts;
using Galaxy.Gateway.Shared;
using Galaxy.Gateway.Shared.Queries;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
namespace Gal... |
// Copyright (c) 2021 SceneGate
// 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, copy, modify, merge, publish, distr... |
using Newtonsoft.Json.Linq;
using Ripple.Core.Util;
namespace Ripple.Core
{
public class Hash256 : Hash
{
public Hash256(byte[] buffer) : base(buffer)
{
}
public static Hash256 FromJson(JToken token)
{
return new Hash256(B16.Decode(token.ToString()));
... |
using System;
namespace Magnesium
{
public class MgSparseImageMemoryBind
{
public MgImageSubresource Subresource { get; set; }
public MgOffset3D Offset { get; set; }
public MgExtent3D Extent { get; set; }
public IMgDeviceMemory Memory { get; set; }
public UInt64 MemoryOffset { get; set; }
public MgSp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Game1.Core
{
public enum TypeObject
{
None,
Npc,
Item,
Player,
Door,
Wall
}
}
|
using System;
using System.Collections.Generic;
using System.Threading;
using AGO.Core.AutoMapping;
using AGO.Core.Config;
using AGO.Core.Model.Projects;
namespace AGO.Core.DataAccess
{
public class SessionProviderRegistry: AbstractService, ISessionProviderRegistry
{
private readonly IEnvironmentService environmen... |
@inject IJSRuntime JSRuntime
<input ref="username" />
<button onclick="@SetFocus">Set focus on username</button>
@functions {
private ElementRef username;
public async void SetFocus()
{
await JSRuntime.InvokeAsync<object>(
"exampleJsFunctions.focusElement", username);
}
}
|
#Thu Dec 16 14:49:54 EET 2021
lib/com.ibm.json4j_1.0.59.jar=aa5d3088500b4c75b1ad8dee42818312
dev/api/ibm/javadoc/com.ibm.websphere.appserver.api.json_1.0-javadoc.zip=7829a7f717af37c8aea0dcd338730060
lib/features/com.ibm.websphere.appserver.json-1.0.mf=a0c2e6ce30a930d71cdf4a8e91951281
dev/api/ibm/com.ibm.websphere.appse... |
using System;
using NUnit.Framework;
using Bunsan.PM.Detail;
namespace Bunsan.PM
{
[TestFixture()]
public class RepositoryTest
{
[Ignore()]
public void TestCall ()
{
Repository repository = new Repository ("pm.rc");
repository.Clean ();
repository.Extract ("exp/cpu_runner", "/tmp/test");
}
[Tes... |
using System;
using MQTTnet.Diagnostics.Logger;
namespace MQTTnet.Extensions.ManagedClient
{
public static class MqttFactoryExtensions
{
public static IManagedMqttClient CreateManagedMqttClient(this IMqttFactory factory)
{
if (factory == null) throw new ArgumentNullException(nameof... |
using System.Collections.Generic;
namespace EntityRepositoryLibrary.Models
{
/// <inheritdoc/>
public class Page<TEntity> : IPage<TEntity> where TEntity : class
{
/// <inheritdoc/>
public IEnumerable<TEntity> Items { get; init; }
/// <inheritdoc/>
public int ItemsInPage { g... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Chips.Common.Extensions
{
public static class TypeLoaderExtensions
{
public static IList<Type> GetLoadableTypes(this IEnumerable<Assembly> assemblies)
{
var types = new List<Type>(... |
using System;
using Android.Icu.Util;
using AndroidCalendarView = global::Android.Widget.CalendarView;
using XForms.Controls;
namespace XForms.Android.Renderers
{
public class CalendarControlRenderer : ControlRenderer<AndroidCalendarView>, ICalendarControlRenderer
{
private AndroidCalendarView _native... |
#region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// 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 ... |
using System;
using System.Linq;
using System.Reflection;
namespace BinarySerialization
{
/// <summary>
/// Based on Making Reflection Fly And Exploring Delegates by Jon Skeet
/// </summary>
internal static class MagicMethods
{
public static Func<object, object> MagicFunc(Type targetTy... |
namespace PaketLoadScripts
#load "System.Reflection.Emit.ILGeneration.csx"
#r "../../../packages/System.Reflection.Emit.Lightweight/lib/netstandard1.3/System.Reflection.Emit.Lightweight.dll" |
using System;
using UnityEngine;
namespace UnityUtilities
{
/// <summary>
/// Provides input for a float value range in the editor and various convencience functions to work with that range.
/// </summary>
[Serializable]
public class RangeFloat
{
/// <summary>
/// The range sta... |
using FFMpegSharp.FFMPEG.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FFMpegSharp.FFMPEG.Arguments
{
/// <summary>
/// Represents parameter of audio codec and it's quality
/// </summary>
public class AudioCodecArgu... |
using System.Runtime.InteropServices;
namespace CitizenFX.Core
{
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("637140db-24e5-46bf-a8bd-08f2dbac519a")]
public interface IScriptEventRuntime
{
void TriggerEvent([MarshalAs(UnmanagedType.LPStr)] string eventName,
[In] [MarshalAs(UnmanagedType.L... |
namespace PortScanner.Application.Models
{
public class PortList
{
private int StartPort { get; set; }
private int EndPort { get; }
public PortList(int sPort, int ePort)
{
StartPort = sPort;
EndPort = ePort;
}
private bool MorePo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.SceneManagement;
public class GameManagerScript : MonoBehaviour
{
// Game entities
public CreatureScript playerCreature;
public List<NPCScript> NPCCreatures;
// UI
public... |
using System;
namespace Gerakul.SqlUtils
{
public class ColumnDescription
{
public int ID;
public string Name;
public string TypeName;
public short MaxLength;
public byte Precision;
public byte Scale;
public bool IsNullable;
public byte? KeyOrdin... |
namespace IdentityModel.Client
{
/// <summary>
/// Specifies how parameter in the collection get replaced (or not).
/// </summary>
public enum ParameterReplaceBehavior
{
/// <summary>
/// Allow multiple
/// </summary>
None,
/// <summary>
... |
namespace Phoneden.ViewModels
{
using System;
using System.Collections.Generic;
using System.Linq;
using Entities;
public class SupplierAddressViewModelFactory
{
public static List<AddressViewModel> BuildList(ICollection<SupplierAddress> addresses, bool isSupplierAddress)
{
if (addresses == n... |
using System;
using ETModel;
namespace ETHotfix
{
[MessageHandler(AppType.Gate)]
public class C2G_PingRequestHandler : AMRpcHandler<C2G_PingRequest, G2C_PingResponse>
{
protected override void Run(Session session, C2G_PingRequest message, Action<G2C_PingResponse> reply)
{
var r... |
using System;
using System.IO;
namespace EnvCrypt.Core.Utils.IO
{
public class MyFileInfo : IMyFileInfo
{
private readonly FileInfo _instance;
public DateTime CreationTime
{
get { return _instance.CreationTime; }
}
public DateTime CreationTimeUtc
{... |
namespace ArduinoDriver.SerialProtocol
{
public class LedSetResponse : ArduinoResponse
{
public int tlcPinWritten { get; private set; }
public int valueWritten { get; private set; }
public LedSetResponse(byte pinWritten, byte upperValue, byte lowerValue) {
tlcPinWritten = p... |
using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
namespace MRPanel.Domain
{
public class Menu : Entity<Guid>
{
public string Title { get; set; }
public string Url { get; set; }
public Page Page { get; set; }
public Guid? PageId { get; set; }
... |
namespace Eventures.Web.Controllers
{
using Data;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Services.Contracts;
public class OrdersController : Controller
{
private readonly EventuresDbContext db;
private readonly IOrderService service;
... |
using SkiResort.XamarinApp.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
namespace SkiResort.XamarinApp.ViewModels
{
class LoginViewModel : BaseViewModel
{
#region Propertie... |
namespace Jither.DebugAdapter.Protocol.Events
{
/// <summary>
/// The event signals that the progress reporting needs to updated with a new message and/or percentage.
/// </summary>
/// <remarks>
/// The client does not have to update the UI immediately, but the clients needs to keep track of the m... |
//----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------------------
using System.Runtime.Serialization;
namespace MS.GTA.BOTService.Common.Enum
{
[DataContract(Nam... |
//___________________________________________________________________________________
//
// Copyright (C) 2020, Mariusz Postol LODZ POLAND.
//
// To be in touch join the community at GITTER: https://gitter.im/mpostol/OPC-UA-OOI
//___________________________________________________________________________________
us... |
@using SitecoreCognitiveServices.Feature.IntelligentMedia.Statics
@using Sitecore.Data.Managers
@model SitecoreCognitiveServices.Foundation.MSSDK.Vision.Models.ComputerVision.Adult
@if (Model != null)
{
<div class="detail-box detail-adult">
<h3>@Translator.Text("Vision.Adult.AdultHeading")</h3>
<d... |
// <copyright file="AVFormatContextEventFlags.cs" company="Quamotion bv">
// Copyright (c) Quamotion bv. All rights reserved.
// </copyright>
using FFmpeg.AutoGen;
namespace Kaponata.Multimedia.FFmpeg
{
/// <summary>
/// Event flags for the <see cref="AVFormatContext"/> class.
/// </summary>
/// <see... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MiniMapManager : MonoBehaviour
{
public Button[] buttons;
public GameObject miniMap;
public GameObject humanObj;
public GameObject MyPageCanvas;
void Start()
{
for (int i =... |
using System.ServiceModel;
using Contracts;
namespace TheClientProxy
{
public class LongRunningDuplexClientProxy : DuplexClientBase<ILongRunningService>, ILongRunningService
{
public LongRunningDuplexClientProxy(InstanceContext callbackInstance) : base(callbackInstance)
{
}
pu... |
using ZimmerBot.Core.Knowledge;
namespace ZimmerBot.Core.Statements
{
public class StatementInitializationContext
{
public Rule ParentRule { get; protected set; }
public StatementInitializationContext(Rule parentRule)
{
ParentRule = parentRule;
}
}
}
|
using System;
public class Program
{
public static void Main()
{
var i = Convert.ToInt64(Console.ReadLine());
var j = Convert.ToInt64(Console.ReadLine());
var k = Convert.ToInt64(Console.ReadLine());
var x = Convert.ToInt64(Console.ReadLine());
var y = Convert.ToInt64(Console.ReadLine());
Console.Wr... |
/**
* Author: Juan Silva <juanssl@gmail.com>
* Date: November 27, 2015
* Copyright (c) Tuxedo Berries All rights reserved.
**/
namespace TuxedoBerries.ScenePanel.PreferenceHandler
{
/// <summary>
/// Editor Preference Unique Channel
/// Channel between EditorPreferenceHandler and source.
/// </summary>
pub... |
using System;
using System.Collections.Generic;
using System.Reflection;
using Unity.Interception.InterceptionBehaviors;
using Unity.Interception.PolicyInjection.Pipeline;
namespace SEDYInterception
{
public sealed class MyInterceptionBehavior : IInterceptionBehavior
{
public IMethodReturn I... |
using System.Drawing;
namespace cmdwtf.Dithering.Example
{
internal sealed class WorkerData
{
public Bitmap Image { get; set; }
public TransformationOptions TransformOptions { get; set; }
public int ColorCount { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class TurnOnAudio : MonoBehaviour
{
public static Sound scriptInstance;
public static GameObject Hamster;
public GameObject subtitles;
public TextMeshProUGUI textBoxText;
private bool done = false;
... |
// 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.Reflection;
namespace DRT
{
// An enumeration of the security levels for the tests
... |
using Dfc.CourseDirectory.Core.DataStore.CosmosDb.Models;
namespace Dfc.CourseDirectory.Core.DataStore.CosmosDb.Queries
{
public class GetProviderByUkprn : ICosmosDbQuery<Provider>
{
public int Ukprn { get; set; }
}
}
|
using System;
using whostpos.Entitys.Entites;
namespace whostpos.Domain.Interface
{
public interface IWposContext : IDisposable
{
ICompanyInfo CompanyInformation { get; }
IProductRepository ProductRepository { get; }
IBankRepository BankRepository { get; }
ISupplierRepository S... |
using Microsoft.Extensions.DependencyInjection;
namespace Scrutor;
public interface ILifetimeSelector : IServiceTypeSelector
{
/// <summary>
/// Registers each matching concrete type with <see cref="ServiceLifetime.Singleton"/> lifetime.
/// </summary>
IImplementationTypeSelector WithSingletonLifetim... |
namespace RxBim.Tools.Autocad.Helpers
{
using System;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.EditorInput;
/// <summary>
/// Вспомогательный класс для фильтрации добавляемого в пользовательский выбор объекта
/// </summary>
internal class SelectionAddedFilter : IDisp... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class CopyCamera : MonoBehaviour {
Camera parentCam;
Camera copyCam;
void OnEnable()
{
copyCam = GetComponent<Camera>();
parentCam = transform.parent.GetComponent<Camera>();
}
void... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GifPlayerUI : GifPlayerInterface
{
private RawImage img;
public GifData current;
// Use this for initialization
void Awake()
{
img = GetComponent<RawImage>();
}
publi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.