content stringlengths 23 1.05M |
|---|
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics.HealthChecks;
using Microsoft.Extensions.DependencyInjection;
using Prospa.Extensions.Hosting;
using ProspaAspNetCoreApiNsb.Application.HealthChecks;
namespace ProspaAspNetCoreApiNsb
{
public static class StartupHealth
{
public... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
n... |
using System.ComponentModel;
using System.IO;
using Newtonsoft.Json;
namespace Kebler.Models.Torrent
{
public class TransmissionTorrentFiles : INotifyPropertyChanged
{
[JsonConstructor]
public TransmissionTorrentFiles()
{
}
public TransmissionTorrentFiles(long pLen, pa... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using CHD.Common.Breaker;
using CHD.Common.PathComparer;
namespace CHD.Common.Watcher
{
public interface IF... |
using System;
using Newtonsoft.Json;
namespace MaterialSample {
public class Component {
[JsonProperty ("id")]
public string Id { get; set; }
[JsonProperty ("title")]
public string Title { get; set; }
[JsonProperty ("description")]
public string Description { get; set; }
[JsonProperty ("image_name")... |
using System;
using System.Collections.Generic;
using System.Linq;
public static class Hamming
{
public static int Distance(string firstStrand, string secondStrand)
{
if(firstStrand.Length != secondStrand.Length)
{
throw new ArgumentException();
}
int h... |
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GunplaOnlineShop.ViewModels
{
public class SortingViewModel
{
public List<SelectListItem> SortOrder { get; } = new List<SelectListItem>
{
... |
namespace RevolutionaryStuff.Mergers
{
public static class MergerHelpers
{
public const string MergeInputsMultipartName = "mi";
}
}
|
using System.Collections.Generic;
using System.Linq;
using RimWorld;
using Verse;
namespace ReconAndDiscovery
{
[StaticConstructorOnStartup]
public class CompWeatherSat : ThingComp
{
public float mana;
public override IEnumerable<FloatMenuOption> CompFloatMenuOptions(Pawn selPawn)
... |
using System;
namespace Api.Infrastructure.Attributes
{
public class GenericControllerAttribute : Attribute
{
public GenericControllerAttribute(string route, string contollerName)
{
Route = route;
ContollerName = contollerName;
}
public string Route { g... |
namespace Sortable_Collection
{
using System;
using System.Collections.Generic;
using System.Linq;
using Sortable_Collection.Contracts;
public class SortableCollection
{
public SortableCollection() : this(Enumerable.Empty<int>())
{
}
public SortableCollection(... |
namespace Mandrill.Model
{
public enum MandrillMessageMergeLanguage
{
Mailchimp,
Handlebars
}
}
|
using Microsoft.Office.Interop.Word;
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace cactus
{
class TitleFinder : AFinder
{
// 查找一级标题并提取
private readonly int type;
private readonly Regex reLevel1;
private readonly Regex reLevel2;
... |
using System.Collections.Generic;
using Spectre.Console.Cli;
namespace Soddi
{
public static class SpectreExtensions
{
public static IConfigurator AddCommandWithExample<T>(
this IConfigurator configurator,
string name,
string description,
IEnumerable<str... |
using System.IO;
namespace MHLab.Patch.Core.Octodiff
{
internal sealed class SignatureBuilder
{
public static readonly short MinimumChunkSize = 128;
public static readonly short DefaultChunkSize = 2048;
public static readonly short MaximumChunkSize = 31 * 1024;
private short ch... |
using CodeParser.Contracts.Interfaces;
namespace CodeGeneration.BasePlatform.Interfaces
{
public interface IFileParser<ResultType>
{
ResultType Parse(string fileContent);
}
}
|
using System.ComponentModel;
using eXam;
using CoreAnimation;
using CoreGraphics;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly: ResolutionGroupName ("Xamarin")]
[assembly: ExportEffect (typeof (GradientEffectIOS), "GradientEffect")]
namespace eXam
{
public class GradientEffectIOS : ... |
using System;
/*
* Необходимо удалить 3 строчку в файле /home/vasya/remote_file.txt.
* Пользователь vasya, пароль vasya, сервер localhost.
*
* Подсказка: наиболее простой способ решения данной задачи
* предполагает использование vim.
*/
namespace step_5
{
class Program
{
static vo... |
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Fathym;
using LCU.StateAPI.Utilities;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.DurableTask;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Extensions.SignalRS... |
using System.Collections.Generic;
namespace ICA_SVP.Misc.Calibration
{
public class CalibratorSystem : Calibrator
{
#region Public
public CalibratorSystem(Port port,CalibrationCallbacks callbacks)
: base(port,callbacks)
{
}
#endregion
#region Protec... |
namespace Peer.GitHub.GraphQL.PullRequestSearch
{
public enum CheckConclusionState
{
Action_Required,
Cancelled,
Failure,
Neutral,
Skipped,
Stale,
Startup_Failure,
Success,
Timed_Out
}
}
|
namespace OsmLibrary
{
using System.Xml.Serialization;
/// <summary>
/// Represents a tag in a <see cref="TaggedElement" />.
/// </summary>
public class Tag
{
/// <summary>
/// Gets or sets the key.
/// </summary>
/// <value>The key.</value>
[XmlAttribut... |
using System;
namespace Dec.DiscordIPC.Development {
public class DiscordRPCAttribute : Attribute {
public readonly string Command;
public readonly bool Authenticated;
public DiscordRPCAttribute(string command, bool authenticated = true) {
this.Command = command;
... |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//----... |
// ==========================================================================
// Notifo.io
// ==========================================================================
// Copyright (c) Sebastian Stehle
// All rights reserved. Licensed under the MIT license.
// ======================================================... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace EditorExtension
{
[AddComponentMenu("EditorExtension/Bind")]
public class Bind : MonoBehaviour
{
public string ComponentName
{
get
{
if (GetComponent<MeshRendere... |
var target = Argument("target", "Default");
#load foo.cake
Task("Default")
.Does(() =>
{
Foo
.Create()
.Bar();
Information("Hello World!");
});
RunTarget(target);
|
using System;
using Domain.Common;
namespace Domain.Entities
{
public class CompraGado : AuditableEntity
{
public int Id { get; set; }
public DateTime DataEntrega { get; set; }
public string Nome { get; set; }
public int IdPecuarista { get; set; }
public Pecuarista Pec... |
using TramsDataApi.ResponseModels.ApplyToBecome;
namespace TramsDataApi.UseCases
{
public interface IGetA2BSchoolLoan
{
A2BSchoolLoanResponse Execute(string loanId);
}
} |
using System.Net;
using essentialMix.Web;
using JetBrains.Annotations;
namespace essentialMix.Extensions
{
public static class FileWebRequestMethodExtension
{
[NotNull]
public static string ToWebMethod(this FileWebRequestMethod thisValue)
{
switch (thisValue)
{
case FileWebRequestMethod.DownloadFile:... |
using System;
using System.ComponentModel.DataAnnotations;
namespace CDT.Cosmos.Cms.Common.Models
{
/// <summary>
/// Ensures that a DateTime object is of kind UTC
/// </summary>
public class DateTimeUtcKindAttribute : ValidationAttribute
{
/// <summary>
/// Determines if v... |
using System;
using Foodoku.Models;
namespace Foodoku.ViewModels
{
public class EditGroceryItemViewModel : AddGroceryItemViewModel
{
public int GroceryId { get; set; }
public EditGroceryItemViewModel() {}
public EditGroceryItemViewModel(GroceryItem item) : base()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(OVRProjectConfig))]
public class OVRProjectConfigEditor : Editor
{
override public void OnInspectorGUI()
{
OVRProjectConfig projectConfig = (OVRProjectConfig)target;
DrawTarget... |
namespace Common.DTO
{
public class CartVM
{
public int Id { get; set; }
public string FoodName { get; set; }
public double FoodPrice { get; set; }
public int Count { get; set; }
public string Image { get; set; }
}
}
|
using System.Threading.Tasks;
using Schemas;
using Schemas.Framework;
using WorkflowEngine.Interfaces;
using WorkflowEngine.Tests.Schemas;
namespace WorkflowEngine.Tests.Tasks
{
public class ExternalDataHandlerTask : Task
{
private static Task<PluginOutput<ExternalDataHandlerTaskOutput>> ExecutePlugin... |
using DevExpress.ExpressApp.Model;
using DevExpress.ExpressApp.Model.Core;
namespace Xpand.ExpressApp.FilterDataStore.NodeGenerators {
public class ModelDisabledDataStoreFiltersNodesGenerator:ModelNodesGeneratorBase {
protected override void GenerateNodesCore(ModelNode node) {
}
}... |
/*==== Hierarchy.cs ======================================================
* Hierarchy list the active gameObjects
*
* Author: Victor Le aka "Coac"
* Repository : https://github.com/Coac/ingame-editor-ui.git
* =======================================================================*/
using System.Collections;
us... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Helpers.cs" company="FrenchW.net from @FrenchW">
// Copyright FrenchW © 2014-2020.
// FrwTwemoji Project page : http://github.frenchw.net/FrwTwemoji/
// This software is lice... |
using System.Xml.Serialization;
namespace BOB
{
/// <summary>
/// Individual tree/prop replacement record.
/// </summary>
public class Replacement
{
[XmlAttribute("IsTree")]
public bool isTree = false;
[XmlAttribute("TargetIndex")]
public int targetIndex = -1;
[XmlAttribute("TargetName")]
public ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LeetCode.Test
{
[TestClass]
public class _0669_TrimABinarySearchTree_Test
{
[TestMethod]
public void TrimBSTTest_1()
{
var root = TestHelper.GenerateTree(new int?[] { 1, 0, 2 });
var solution = n... |
using System.Collections.Generic;
using System.Threading.Tasks;
using ExecutionPipeline.MediatRPipeline.ExceptionHandling;
using PoC.Searching.Engine.Contracts.Contracts;
namespace PoC.Searching.Engine.Contracts.ServiceLevelContracts
{
public interface ISearchEngine
{
Task<Response<IList<ProductDto>>> ... |
using System.Reflection;
namespace MvvmCross.Plugin.Validation
{
public interface IValidationInfo
{
MemberInfo Member { get; }
IValidation Validation { get; }
string[] Groups { get; }
}
} |
// ----------------------------------------------------------------------
// <copyright file="ProjectInfo.cs">
// Copyright (c) The Loxone.NET Authors. All rights reserved.
// </copyright>
// <license>
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE.txt file.
... |
using EPM.IRepository.Base;
using EPM.Model.ApiModel;
using EPM.Model.DbModel;
using EPM.Model.Dto.Response.UserResponse;
using System.Threading.Tasks;
namespace EPM.IRepository.Repository
{
public interface IUserRepository : IBaseRepository<User>
{
Task<UserResponseDto> GetPatgeListAsync(PagingReques... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Sirenix.OdinInspector;
namespace Mikabrytu.GGJ20.Components
{
public class ButtonComponent : SerializedMonoBehaviour
{
[SerializeField] private ButtonAnimationTypes buttonType;
private void OnEnable()
... |
namespace ShakerGames.Base.FSM
{
using Component;
using UI;
public class EndGameState : FSM
{
private UIComponent _uiComponent;
private EndGameCanvas _endGameCanvas;
private SettingsCanvas _settingsCanvas;
private GameplayComponent _gameplayComponent;
private Le... |
using System;
using System.Globalization;
namespace ActivityAnalysis.WPF.Helpers
{
public static class DateTimeHelper
{
public static DateTime GetFirstDayOfWeek(this DateTime date)
{
DateTime firstDay = new DateTime(DateTime.Now.Year, 1, 1);
while (firstDay.DayOfWeek !=... |
using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using Microsoft.Automata;
using System.Text.RegularExpressions;
namespace Microsoft.Automata.Tests
{
[TestClass]
public class MiscRegexConversionTests
{
[TestMe... |
using Native.Csharp.App;
using Native.Csharp.Customer.Service.Interface;
using Native.Csharp.Sdk.Cqp.EventArgs;
using Native.Csharp.Sdk.Cqp.Interface;
using System;
using Unity;
using Native.Csharp.Customer.Service.CommonTimerService;
namespace Native.Csharp.Customer.Event
{
public class Event_AppStart : ICqAppEn... |
using NUnit.Framework;
using System;
using System.Collections.Concurrent;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace MyNUnit.Tests
{
[TestFixture]
public class TestErrorFinderTests
{
private Type classWithTests;
[OneTimeSetUp]
... |
using System.Collections.Generic;
using UnityEngine;
public class CometManager : MonoBehaviour
{
public GameObject comet;
private static ObjectPool _objectPool;
public Vector2 spawnDistance;
public Vector2 spawnMargin;
public int initialPoolNumber;
private float _width, _height, _spawnInterval... |
using System;
using System.Xml.Serialization;
using WebMoney.XmlInterfaces.Core;
using WebMoney.XmlInterfaces.Exceptions;
using WebMoney.XmlInterfaces.Utilities;
namespace WebMoney.XmlInterfaces.Responses
{
#if DEBUG
#else
[System.Diagnostics.DebuggerNonUserCode]
#endif
[Serializable]
[XmlRoot(ElementName... |
using System;
using Microsoft.CodeAnalysis;
namespace Forge.UI
{
public class CompilationError : Exception
{
public CompilationError(Diagnostic diagnostic, string message)
{
Diagnostic = diagnostic;
Message = message;
}
public override string Message { ... |
using System;
using System.IO;
using System.Linq;
using NodeEditor.Editor.Scripts;
using UnityEditor;
using UnityEngine;
namespace NodeEditor.Scripts
{
public class NoderGraphAssetPostProcessor : AssetPostprocessor
{
static void RegisterShaders(string[] paths)
{
foreach (var path in paths)
{
if (!path... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TGC.Core.SceneLoader;
namespace TGC.Group.Model
{
class SepararZonas
{
public static List<TgcMesh> zona1;
public static List<TgcMesh> zona2;
public static List<TgcM... |
using System;
namespace BowlingGame7
{
public class BowlingGame : GameScoring.IScoreEngine<int[], int>
{
private const int StepOneThrow = 1;
private const int StepFrame = 2;
private const int Frames = 10;
private const int AllPins = 10;
private delegate int Sc... |
using System;
using DustInTheWind.Dot.ConsoleHelpers.ConsoleUtil;
using DustInTheWind.Dot.Domain.ModuleModel;
using DustInTheWind.Dot.Presentation.Commands;
using DustInTheWind.Dot.Presentation.Presenters;
using DustInTheWind.Dot.Presentation.Views;
namespace DustInTheWind.Dot.Presentation.Modules
{
public class ... |
using System;
using System.Web;
namespace MvcSiteMapProvider.Web.Mvc
{
/// <summary>
/// HttpResponse wrapper.
/// </summary>
public class SiteMapHttpResponse
: HttpResponseWrapper
{
public SiteMapHttpResponse(HttpResponse httpResponse)
: base(httpResponse)
{
... |
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/corpgroup/rule/get_rule_info 接口的响应。</para>
/// </summary>
public class CgibinCorpGroupRuleGetRuleInfoResponse : WechatWorkResponse
{
public static class Types
{
public class Ru... |
using Nethereum.Hex.HexConvertors.Extensions;
using Nethereum.JsonRpc.Client;
using Nethereum.RPC.Infrastructure;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Nethereum.RPC.Shh.KeyPair
{
public class ShhAddPrivateKey : RpcRequestResponseHandler<string>... |
using System;
using System.IO;
namespace StorageBackend.IO {
public interface IEntry : ICloneable {
string FullName { get; }
string Name { get; }
long AllocationSize { get; }
DateTime ChangeTime { get; }
DateTime CreationTime { get; }
uint EaSize { get; }
F... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using Crestron.SimplSharpPro;
using Crestron.SimplSharpPro.DeviceSupport;
using Crestron.SimplSharpPro.DM;
using Crestron.SimplSharpPro.DM.Endpoints;
using Crestron.SimplSharpPro.DM.Endpoints.Receivers;
usi... |
namespace Recube.Api.Event
{
public interface IWorldPlayerEvent : IWorldEvent, IPlayerEvent, IEvent
{
}
} |
namespace Essensoft.AspNetCore.Payment.JDPay
{
/// <summary>
/// JDPay 响应。
/// </summary>
public abstract class JDPayResponse : JDPayObject
{
}
}
|
using Werewolf;
namespace FacialStuff.Harmony.Optional
{
public static class Werewolf_Patches
{
public static void TransformBack_Postfix(CompWerewolf __instance)
{
if (!__instance.Pawn.GetCompFace(out CompFace compFace))
{
return;
}
... |
using ScriptCs.Contracts;
namespace ScriptCs.Engine.Mono
{
[Module("mono")]
public class MonoModule : IModule
{
public void Initialize(IModuleConfiguration config)
{
Guard.AgainstNullArgument("config", config);
if (!config.Overrides.ContainsKey(typeof(IScriptEngine... |
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Minidump.Streams
{
public class MINIDUMP_MEMORY64
{
public struct MINIDUMP_MEMORY64_LIST
{
public long NumberOfMemoryRanges;
public long BaseRva;
public List<MINIDUMP_MEMORY_DESCR... |
using Bitmex.NET.Models;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bitmex.NET.IntegrationTests.Tests
{
[TestClass]
public class BitmexApiServiceTradeApiTests : IntegrationTestsClass<IBitmexApiService>
{
[TestMethod]
public void should_return_trades()
{
// arran... |
using System;
namespace Faker
{
/// <summary>
/// Provide access to random number geenrator.
/// </summary>
public static class RandomNumber
{
private static readonly Random _rnd = new Random();
public static int Next()
{
return _rnd.Next();
}
... |
namespace FileSignatures.Formats
{
/// <summary>
/// Specifies the format of a MPEG-4 v1 file
/// </summary>
public class MP4V1 : Isobmff
{
public MP4V1() : base(new byte[] { 0x69, 0x73, 0x6F, 0x6D }, "video/mp4", "mp4")
{
}
}
}
|
using Lexica.Core.IO;
using Lexica.Core.Models;
using Lexica.Words.Models;
using System.Collections.Generic;
namespace Lexica.Words.Services
{
public interface ISetService
{
public OperationResult<Set?> Load(List<ISource> filesSources);
}
}
|
using System;
namespace Tzkt.Api
{
class ConfigurationException : Exception
{
public ConfigurationException(string message) : base($"Bad configuration: {message}") { }
}
}
|
using Microsoft.ML;
using Microsoft.ML.Runtime.Data;
using Microsoft.ML.Transforms;
using System;
using System.Linq;
namespace BinaryClassification
{
class Program
{
static void Main(string[] args)
{
var context = new MLContext();
var textLoader = context.Data.TextRead... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Drawing;
using System.ComponentModel;
namespace RAGENativeUI.Elements
{
/// <summary>
/// A list item, with left/right arrows.
/// </summary>
/// <seealso cref="RAGENativeUI.Elements.UIMenuItem" />
public class UIMenuL... |
using Xunit;
namespace Todos.Integrations.Tests
{
[CollectionDefinition("TestContextFixtureCollection")]
public class Collection : ICollectionFixture<TestContext>
{
}
}
|
namespace MyLab.RabbitClient
{
/// <summary>
/// Contains connection options
/// </summary>
public class RabbitOptions
{
/// <summary>
/// Server host
/// </summary>
public string Host { get; set; }
/// <summary>
/// Virtual host
/// </summar... |
using System;
using Xunit;
using CJoakim.CosmosCalc;
// Xunit unit tests for class Container.
// Chris Joakim, Microsoft, 2020/10/31
namespace cosmos_calc.tests
{
public class ContainerHourlyRateTest
{
[Theory]
[InlineData("standard", "single", 1, false, 0.008)]
[InlineD... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Turbocharged.Beanstalk
{
static class YamlHelper
{
public static List<string> ParseList(byte[] buffer)
{
var result = new List<string>();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Email_Validator
{
class Program
{
static void Main(string[] args)
{
string toManipulate = Console.ReadLine();
string input = Console.ReadLine();
while (input != ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
namespace net.sxtrader.bftradingstrategies.BFTSGUI
{
class DonationFrameThread
{
private Thread _showDonationThread;
private frmDonation _frmDonation;
... |
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using ClearCanvas.Desktop;
namespace ClearCanv... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Photon.Pun;
using UnityEngine.SceneManagement;
public class LobbyManager : MonoBehaviourPunCallbacks
{
[Header("Login UI")]
public InputField playerNameInputField;
public GameObject UI_LoginGameObjec... |
using System;
using System.IO;
using System.Threading.Tasks;
namespace TarSharp
{
static class StreamExtensions
{
public static byte[] ReadBytes(this Stream stream, int count)
{
if (stream == null)
throw new ArgumentNullException("stream");
if (count < 0... |
using Marathon.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Marathon.Persistence.Configurations
{
public sealed class RaceKitOptionItemConfiguration : IEntityTypeConfiguration<RaceKitOptionItem>
{
public void Configure(EntityTyp... |
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Text;
using NArms.Howitzer.NamingConventions;
namespace NArms.Howitzer
{
public sealed class XmlMarkup : DynamicObject
{
private const string IndentIsNegativeErrorMessage = "Indent parameter does not allow nega... |
using System;
namespace MetX.Standard.Library
{
public interface IAssocItem
{
public string Key { get; }
public IAssocItem Parent { get; set; }
public string Value { get; set; }
public string Name { get; set; }
public Guid ID { get; set; }
}
public interface I... |
using System;
namespace SharpOffice.Core.Window
{
public class TopLevelMenuAttribute : Attribute
{
}
} |
using System;
using System.IO;
using System.Data;
using System.ComponentModel;
using System.Windows.Forms;
namespace STELLAR.APP
{
public partial class frmImportDelimited : Form
{
private char delimiter = ',';
public frmImportDelimited()
{
InitializeC... |
using BBC.Core.Domain.Entities;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Text;
namespace BBC.Core.Domain.Identity
{
public class User:IdentityUser<int>,IEntityBase<int>
{
public virtual string Name { get; set; }
public virtual string Sur... |
namespace _08.Raw_Data_1_
{
class Car
{
private string model;
private Engine engine;
private Cargo cargo;
private Tires tires;
public string Model { get => model; set => model = value; }
internal Engine Engine { get => engine; set => engine = value; }
in... |
namespace Orchard.Layouts.Framework.Elements {
public class ElementSavingContext : LayoutSavingContext {
public ElementSavingContext(Element element, LayoutSavingContext stub) {
Element = element;
Content = stub.Content;
Updater = stub.Updater;
Elements = stu... |
using System;
namespace DFC.App.FindACourseClient.Models.Configuration
{
public class CourseSearchSettings
{
public Uri CourseSearchUrl { get; set; }
public string HealthCheckKeyWords { get; set; }
}
}
|
using Assignment4.Properties;
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 Assignment4
{
public partial class _frmUserAccount : Form
... |
// <copyright file="ScrumDetails.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.Scrum.Models
{
/// <summary>
/// Holds Scrum details.
/// </summary>
public class ScrumDetails
{
/// <summary>
/// Gets or sets ... |
using System;
using System.IO;
using System.Linq;
using VGAudio.Containers;
using VGAudio.Formats;
namespace VGAudio.Cli
{
internal class Convert
{
private Convert() { }
private AudioData Audio { get; set; }
private Configuration Configuration { get; set; }
private ContainerTyp... |
// Project: Aguafrommars/TheIdServer
// Copyright (c) 2022 @Olivier Lefebvre
using Aguacongas.IdentityServer.Store.Entity;
using Aguacongas.TheIdServer.BlazorApp.Services;
using Microsoft.AspNetCore.Components;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Aguacongas.TheIdServer.BlazorApp.... |
using System;
namespace Singleton
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Demo no singleton");
var p1 = new PrintrWithNoSingleton();
p1.PrinterDetail("HashCode:"+p1.GetHashCode().ToString());
var p2 = n... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.R.Core.AST.DataTypes.Definitions;
namespace Microsoft.R.Core.AST.DataTypes {
/// <summary>
/// Implements R array. Array is a vector with op... |
using System;
using UnityEngine;
namespace Game.Character {
public class PlayerMover : MonoBehaviour {
[SerializeField] private string verticalButton = "Vertical";
[SerializeField] private string horizontalButton = "Horizontal";
[SerializeField] private string verticalAnimParam =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.