content stringlengths 23 1.05M |
|---|
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
namespace LanguageFeatures.Models
{
public class AsyncExtensions
{
public async static Task<long?> GetPageLength()
{
HttpClient client = new HttpClient();
var httpMessage = await clien... |
namespace nvan.PoKeysConnector.Events
{
public class SimEvent
{
public string name = "";
public string dataRef = "";
public InputOutput io = InputOutput.Input;
public PinTypes pinType = PinTypes.PIN;
public int pinNumber = 0, pin2Number = 0;
public float readValu... |
namespace Octokit.Webhooks.Models.CodeScanningAlertEvent
{
using System.Runtime.Serialization;
using System.Text.Json.Serialization;
[JsonConverter(typeof(JsonStringEnumMemberConverter))]
public enum AlertState
{
[EnumMember(Value = "open")]
Open,
[EnumMember(Value = "dismi... |
using System;
using System.Collections.Generic;
using GarminConnectClient.Data;
namespace GarminConnectClient.Demo
{
class ListAllActivitiesAction : ActionBase
{
protected override void Action()
{
Console.WriteLine("Searching for activities...");
List<Activity> activities = ActivitySearchServ... |
using System;
using System.Globalization;
using AsepriteSharp.Models;
namespace AsepriteSharp.ModelConverters
{
/// <summary>
/// Handles conversion of RGB(A) strings.
/// </summary>
public static class RgbaConverter
{
/// <summary>
/// Decode values from an RGB(A) string. The inpu... |
using Masuit.Tools.Security;
using System;
namespace Test
{
static class Program
{
static void Main(string[] args)
{
RsaKey keys = RsaCrypt.GenerateRsaKeys();
Console.WriteLine(keys.PublicKey);
Console.WriteLine(keys.PrivateKey);
}
}
} |
namespace ODataAuthorizationDemo.Models
{
public class LoginData
{
public string[] RequestedScopes { get; set; }
}
}
|
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SyslogLogging;
namespace PuppyProxy
{
internal class TunnelManager
{
#region Public-Members
#endregion
#region Private-Me... |
using System;
using System.ComponentModel.DataAnnotations;
namespace AW.Common.Models
{
public class Ad
{
public int Id { get; set; }
public string UserName { get; set; }
[Required(ErrorMessage = "Required field")]
//[RegularExpression(@"^[a-zA-Zd]*$", Erro... |
using UnicornHack.Utils.MessagingECS;
namespace UnicornHack
{
public interface IGameSystem<TMessage> : IMessageConsumer<TMessage, GameManager>
{
}
}
|
namespace SoundFingerprinting.Utils
{
using System;
using System.IO;
using System.Linq;
using SoundFingerprinting.Infrastructure;
internal class TestRunnerScenarioValidator
{
private readonly ITestRunnerUtils utils;
private readonly TestRunnerConfig testRunnerConfig = new Test... |
using System;
using UnityEngine;
using System.Collections;
using UnityEngine.Audio;
using UnityEngine.UI;
using Random = UnityEngine.Random;
public class GameController : MonoBehaviour
{
[SerializeField] private GameObject[] _hazard;
[SerializeField] private GameObject _powerUp;
[SerializeFie... |
using Newtonsoft.Json;
using System;
namespace Birko.SuperFaktura.Response.Invoice
{
public class ClientData
{
[JsonProperty(PropertyName = "user_id", NullValueHandling = NullValueHandling.Ignore)]
public int? UserID { get; set; }
[JsonProperty(PropertyName = "user_profile_id", NullVal... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Movidesk.Api.Client.Models
{
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)]
public class TicketParentChild
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonPr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TP2
{
public class ListeCompte
{
List<Compte> lCompt = new List<Compte>();
public List<Compte> list_compte { get; set; }
public void ajouter(Compte c)
{... |
namespace ChipTuna.Vgm.Headers
{
public struct V151HeaderPart
{
public const uint SN76489FlagsOffset = 0x2B;
public byte SN76489Flags;
public uint SegaPCMClock;
public uint SegaPCMInterfaceRegister;
public uint RF5C68Clock;
public uint YM2203Clock;
publi... |
using FubuMVC.Core.ServiceBus.Configuration;
using Serenity.ServiceBus;
using ServiceBusSerenitySamples.SystemUnderTest;
namespace ServiceBusSerenitySamples
{
public class SampleSystem : FubuTransportSystem<TestApplication>
{
public SampleSystem()
{
OnContextCreation<SystemUnderTes... |
namespace Contoso.Domain.Simulators
{
using Contoso.Domain.Tokens;
using More.Domain;
using More.Domain.Events;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using static Contoso.Tokens.TokenState;
using static System.Threading.Tasks.Task;
using ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace GBAEmulator.IO
{
#region WAITCNT
public class cWAITCNT : IORegister2
{
private static readonly int[] SRAMWaitCycles = new int[4] { 4, 3, 2, 8 };
// waitstate N cycles are the same for all ROM waitstates
p... |
//
// Copyright (c) 2012-2020 Kris Jusiak (kris at jusiak dot net)
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
using Ninject;
class X00 { public X00() { } }
class X01 { public X01(X00 p1) { } }
class X02 ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class DamagePopUp : MonoBehaviour
{
private void Start()
{
Destroy(gameObject, 0.3f);
}
}
|
//Jose Valera 1ºDAM
using System;
using System.Collections;
using System.IO;
class Lines1to1000
{
static void Main()
{
const int MAX = 1000;
string content = "";
for (int i = 0; i < MAX; i++)
content += (i + 1) + "\n";
File.WriteAllText("1al1000.txt"... |
using System.Collections.Generic;
using System.IO;
using System.Text;
using SalaryCalculator.Calculators;
using SalaryCalculator.Currencies;
namespace SalaryCalculator
{
class Program
{
static void Main(string[] args)
{
ProfitCalculator[] profitCalculators = {
new N... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bbt.Campaign.Public.Enums
{
public enum ProgramTypeEnum
{
[Description("Sadakat")]
Loyalty = 1,
[Description("Kampanya")]
C... |
/// Copyright (C) 2012-2014 Soomla Inc.
///
/// 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 l... |
namespace DentsuDataLab.AccuRanker.Utility
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Fields;
internal class AccuRankerQueryBuilder
{
protected static readonly Uri BaseUri = new Uri("https://app.accuranker.com/api/v4/");
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NamelessOld.Libraries.Yggdrasil.Morrigan
{
public class RowData
{
/// <summary>
/// The index of the row
/// </summary>
public int Index;
/// <s... |
using System;
namespace NLightning.Transport.Messaging
{
internal interface IMessageHandler : IDisposable
{
void Handle(Message message);
}
} |
namespace VetClinic.Core.Services.Contracts
{
using System.Collections.Generic;
public interface IClinicServices
{
ICollection<IService> Services { get; }
string ListAllServices();
void AddServices(IService service);
void RemoveServices(IService service);
void F... |
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
namespace ImageMagick
{
internal static class IptcTagHelper
{
public static bool IsRepeatable(IptcTag tag)
{
switch (tag)
{
case IptcTag.R... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StringKing.FunctionInterface;
namespace StringFunctionsDnpExtensions
{
[StringFunction("TrimToMaxLength")]
public class TrimToMaxLength : StringFunctionBase
{
private const string ARGUMENT_MAX_LENGTH = "ma... |
using System;
using System.Text.Json.Serialization;
using TetraPak.XP.Serialization;
namespace TetraPak.XP.StringValues
{
[Serializable, JsonConverter(typeof(JsonStringValueSerializer<StringValueBase>))]
public sealed class VersionPattern : StringValueBase
{
const char Separator = '.';
pu... |
using Abp.Domain.Services;
using System.Linq;
using System.Threading.Tasks;
namespace WebShop.Domain.Brand
{
public interface IBrandManager : IDomainService
{
Task CreateBrand(string BrandName, long? BrandImage, string Description);
Task EditBrand(long BrandId, string BrandName, long? BrandIma... |
public class Parameters
{
public void M1(int a, object b, string c) => throw null;
public void M2(int a, object b = null, string c = "default string") => throw null;
public void M3(int a = 1, object b = null, string c = "null") => throw null;
public void M4(int a = default, object b = default) => throw ... |
namespace ServerChecker
{
partial class MainForm
{
/// <summary>
/// 필수 디자이너 변수입니다.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 사용 중인 모든 리소스를 정리합니다.
/// </summary>
/// <param name="disposing">관리되는 ... |
using System.Collections.Generic;
using Elders.Cronus.EventStore;
using Elders.Cronus.Migration.Middleware;
namespace Vapt.EventStore.Migrations
{
public class ExampleMigration : IMigration<AggregateCommit, IEnumerable<AggregateCommit>>
{
Dictionary<byte[], int> revisionFactory;
public Exampl... |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.DataAnnotations;
namespace Arbor.KVConfiguration.Urns
{
public static class DataAnnotationsValidator
{
public static bool TryValidate(object instance, out ImmutableArray<ValidationResult> results)
... |
using System.ComponentModel;
namespace SotnRandoTools.Coop.Models
{
public class CoopViewModel : INotifyPropertyChanged, ICoopViewModel
{
private bool serverStarted;
private bool clientConnected;
private string message;
public bool ServerStarted
{
get
{
return serverStarted;
}
set
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
namespace HldsLauncher.Enums
{
/// <summary>
/// Provides a static utility object of methods and properties to interact
/// with enumerated types.
/// </summary>
public static class EnumHelper
{
... |
using System;
namespace Microsoft.Extensions.Logging
{
/// <summary>
/// Describes an object that is capable of creating a logging scope upon an <see cref="ILogger"/>,
/// containing state information from itself.
/// </summary>
public interface ILogScopeProvider
{
/// <summary>
... |
using System.Threading.Tasks;
using Copernicus.Application.Identity.Queries;
using Copernicus.Common.CQRS.Queries;
using Copernicus.Core.Domain.Identity;
using Copernicus.Core.Repositories;
namespace Copernicus.Application.Identity.Handlers
{
public class GetUserHandler : IQueryHandler<GetUser, User>
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace TicTacToe
{
public class Player
{
public string Marker { get; set; }
public string Name { get; set; }
/// <summary>
/// Creates a new instance of the Player class.
/// </summary>
/// <... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class WinDetector : MonoBehaviour
{
public GameObject[] turnOff;
public GameObject[] turnOn;
public bool lose;
// Start is called before the first frame update
void Start()
... |
namespace _11.LinkedList
{
public class LinkedList<T>
{
private LinkedListItem<T> firstNode;
public LinkedList()
{
this.firstNode = null;
}
public LinkedListItem<T> First
{
get { return this.firstNode; }
set { this.firstNode ... |
using Business.Abstract;
using Business.BusinessAspect.Autofac;
using Business.Constants;
using Business.ValidationRules.FluentValidation;
using Core.Aspects.Autofac.Caching;
using Core.Aspects.Autofac.Validation;
using Core.Utilities.Results.Abstract;
using Core.Utilities.Results.Concrete;
using DataAccess.Abstract;
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Runtime.InteropServices;
namespace Microsoft.Azure.Kinect.Sensor
{
public class ArrayImage<T> : Image where T : unmanaged
{
private class CallbackContext
{
p... |
using System;
using System.Net;
using System.Text;
namespace URLValidator
{
public class Startup
{
public static void Main()
{
string encodedUrl = Console.ReadLine().Trim();
string decodedUrl = WebUtility.UrlDecode(encodedUrl);
try
{
if (!Uri.TryCreate(decodedUrl, UriKind.RelativeOrAbs... |
namespace Joy.Core
{
public class ServiceResult : ResultBase
{
}
} |
// Copyright (c) 2017 Marcos Tamashiro. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
namespace Trains.Services
{
/// <summary>
/// Helper class
/// </summary>
public static class Helper
{
private static read... |
/*
* THIS FILE WAS GENERATED BY PLOTLY.BLAZOR.GENERATOR
*/
using System.Text.Json.Serialization;
using System.Runtime.Serialization;
#pragma warning disable 1591
namespace Plotly.Blazor.Traces.SplomLib.DimensionLib.AxisLib
{
/// <summary>
/// Sets the axis type for this dimension's generated x and y ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CallLogTracker.utility
{
public class Utility
{
/// <summary>
/// Formats a number in bytes to the next closest size representation and appends its suffix to the end.
... |
using System;
using System.Linq;
using System.Runtime.Serialization;
using System.Security.Permissions;
namespace Draft.Exceptions
{
/// <summary>
/// Represents an error where the called operation failed due to etcd being in the middle of a leader election.
/// </summary>
[Serializable]
publi... |
using DG.Tweening.Core;
using Sirenix.OdinInspector;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using UnityAtoms.BaseAtoms;
using UnityEngine;
using UnityEngine.Events;
public class EnvironmentController : MonoBehaviour
{
[field: SerializeField] private Animator... |
namespace WebScheduler.Abstractions.Constants;
/// <summary>
/// Grain state names.
/// </summary>
public static class StateName
{
/// <summary>
/// The constant for <see cref="Grains.Scheduler.ScheduledTaskMetadata"/> Grain State.
/// </summary>
public const string ScheduledTaskState = nameof(Scheduled... |
using System.Collections.Generic;
using Assets.Scripts.WT_FrameWork.Dev;
using Assets.Scripts.WT_FrameWork.Protocol.New;
using Assets.Scripts.WT_FrameWork.UIFramework.Base;
using Assets.Scripts.WT_FrameWork.UIFramework.Manager;
using UnityEngine;
using UnityEngine.UI;
namespace Assets.Scripts.WT_FrameWork.UIFramework... |
using UnityEngine;
using UnityEditor;
using System.Linq;
using System.Collections.Generic;
#pragma warning disable 0649 // field is never assigned
namespace TiltShift.EditorUtility.Tools
{
public class GroupSelected
{
static bool ToolEnable;
static List<Hotkey> Hotkeys;
sta... |
/// <summary>
/// 计算弧线
/// </summary>
/// <param name="start"></param>
/// <param name="end"></param>
/// <returns></returns>
Vector3[] CalPath(Transform start, Transform end)
{
//向量中点
Vector3 half = (start.position + end.position) * 0.5f;
//中点上移
Vector3 ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Windows.UI.Core;
using Windows.UI.Input.Inking;
using Windows.UI.Xaml.Controls;
namespace MUXControlsTestApp
{
[TopLevelTestPage(Name = "InkToolbar")]
... |
// <license>
// The MIT License (MIT)
// </license>
// <copyright company="TTRider Technologies, Inc.">
// Copyright (c) 2014-2017 All Rights Reserved
// </copyright>
using System.Collections.Generic;
namespace TTRider.FluidSql
{
public class MergeStatement : RecordsetStatement
, ITopStatement
... |
using Marathon.Domain.Entities;
using Marathon.Persistence.Extensions;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Marathon.Persistence.Configurations
{
public sealed class EventConfiguration : IEntityTypeConfiguration<Event>
{
public void Conf... |
using NAudio.Wave;
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
namespace interactive_audio
{
public class AudioDebuging : IDisposable
{
public bool StopAfterTime { get; set; } = false;
public int RecordingSeconds { get; set; } = 20;
public bool Writ... |
using System;
using System.Collections.Generic;
using System.Windows.Input;
using DotnetNewMobile.ViewModels;
using DotnetNewMobile.Views;
using Xamarin.Forms;
namespace DotnetNewMobile
{
public partial class TemplatePacksPage : BaseContentPage
{
TemplatePacksViewModel viewModel;
private bool ... |
using Xunit;
namespace UntTest
{
//"au"
//" "
//" "
//""
//"888888"
//"aab"
//"yutyiiiituter"
public class Substring
{
[Fact]
public void FindLongetSubstringWithoutRepeat_RightScenario1()
{
//Action
var result = LongestSubstring.Tools.Substring.FindLongetSubstringWithoutRepeat("au");
//Assert
... |
using UnityEngine;
namespace Scripts.Inputs
{
public class InputHandler : MonoBehaviour
{
public bool GetMousePress()
{
if (Input.GetMouseButtonDown(0))
return true;
else
return false;
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NerdyMishka.KeePass
{
public enum DocumentFormats : byte
{
Xml = 1,
Json = 2
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NFrame
{
public abstract class NFIEventModule : NFILogicModule
{
public abstract void RegisterCallback(NFGUID self, int nEventID, NFIEvent.EventHandler handler, NFIDataList valueList);
public abstract void DoEvent(NF... |
using System.Collections.Generic;
using Clockify.Net.Models.Estimates;
using Clockify.Net.Models.HourlyRates;
using Clockify.Net.Models.Memberships;
using Clockify.Net.Models.Tasks;
namespace Clockify.Net.Models.Projects
{
public class ProjectRequest
{
public string Name { get; set; }
public s... |
using System;
using ESRI.ArcGIS.Geometry;
using ProSuite.Commons.Essentials.Assertions;
using ProSuite.Commons.Essentials.CodeAnnotations;
using ProSuite.DomainModel.Core.QA;
using ProSuite.QA.Container;
namespace ProSuite.DomainServices.AO.QA.Issues
{
/// <summary>
/// Used to intercept issue writing to allow for s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WcfClient.MyWcfService;
namespace WcfClient
{
class Program
{
static void Main(string[] args)
{
CompositeType result;
using (var client = new Servic... |
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef
using System;
namespace Beef.Mapper
{
/// <summary>
/// Represents the mapping operation types (CRUD - Create/Read/Update/Delete).
/// </summary>
[Flags]
public enum OperationTypes
{
/// <sum... |
using Eto.Forms;
namespace GW2Scratch.ArcdpsLogManager.Configuration
{
public abstract class SettingsPage : TabPage
{
public abstract void SaveSettings();
}
} |
@{
ViewData["Title"] = "quickRef Home";
}
<script type="text/javascript">
var _isPostSpecific = '@ViewData["_IS_POST_SPECIFIC"].ToString().ToLower()';
var _isCategorySpecific = '@ViewData["_IS_CATEGORY_SPECIFIC"].ToString().ToLower()';
window["_IS_POST_SPECIFIC"] = _isPostSpecific == "false" ? false :... |
using Philae.CCC;
using Philae.Core;
using System.Collections.Generic;
using UnityEngine;
using UnityEssentials.Extensions;
namespace Philae.LD
{
/// <summary>
/// Kill any IKillable instance on contact
/// <summary>
public class NoGravityTrigger : MonoBehaviour
{
[SerializeField, Tooltip... |
//--------------------------------------------------------------
// Copyright (c) PTV Group
//
// For license details, please refer to the file COPYING, which
// should have been provided with this distribution.
//--------------------------------------------------------------
using System.Collections.Generic;
using... |
using System;
using Xunit;
using System.Runtime.CompilerServices;
using System.IO;
using NachaSharp;
using FSharp.Data.FlatFileMeta;
using System.Linq;
namespace TestNachaCSharp
{
public class Basic
{
private string LoadFile(string fileName, [CallerFilePath] string sourceFilePath = "")
... |
using Cafe.Domain.Views;
using System;
using System.Collections.Generic;
namespace Cafe.Api.Hateoas.Resources.Tab
{
public class TabResource : Resource
{
public Guid Id { get; set; }
public int TableNumber { get; set; }
public string CustomerName { get; set; }
public string ... |
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
namespace ExoCounter
{
/// <summary>
/// Interaction logic for LabeledCounter.xaml
/// </summary>
public partial class LabeledCounter : UserControl,... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TrackerDog.Configuration;
namespace TrackerDog.Test
{
[TestClass]
public class ProxyCreationTest
{
public class A
{
}
public class B
{
public B(int a, int b)
{
}
... |
namespace Kombit.Samples.Common
{
/// <summary>
/// An enum which defines supported signature hashing algorithm
/// </summary>
public enum SigningAlgorithmMethod
{
/// <summary>
/// Uses SHA256
/// </summary>
Sha256,
/// <summary>
/// Use... |
namespace AvpVideoPlayer.Subtitles.Tests;
using AvpVideoPlayer.Video.Subtitles;
using System;
using Xunit;
public class FileSubtitleContextTests : IDisposable
{
private readonly FileSubtitleContext _testClass;
private readonly TempSubtitle _subtitle;
private bool disposedValue;
public FileSubtitleC... |
namespace MarineLang.Models.Asts
{
public abstract class AstVisitor<T>
{
public virtual T Visit(ProgramAst ast) { return default; }
public virtual T Visit(FuncDefinitionAst ast) { return default; }
public virtual T Visit(StatementAst ast) { return default; }
public virtual T Vis... |
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace FreshBox.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Setting : ContentPage
{
public Setting()
{
InitializeComponent();
}
private async void AccountInfoNav... |
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace ModularAspNet.ModuleContracts.ViewEngine
{
public class PhysicalPathProvider : IPhysicalPathProvider
{
private string baseDir;
private VirtualPathMap[] virtualPaths;
public Ph... |
using System;
using System.Collections.Generic;
using System.Text;
namespace GameLibrary.Inventory
{
public enum ItemModel
{
NONE,
KNIGHT_HELM,
DEMONIC_LEGGINGS,
GOLDEN_ARMOR,
ICE_STAFF,
LEATHER_BOOTS,
MAGE_ROBE,
HOLY_SWORD,
ROGUE_HOOD,
... |
// Guids.cs
// MUST match guids.h
using System;
namespace yuzd.AntDeploy
{
static class GuidList
{
public const string guidAntDeployPkgString = "2f0edaeb-127f-4467-acd7-918195a1a583";
public const string guidAntDeployCmdSetString = "ebc2240c-7db6-400f-8ccc-d10d958a4dd9";
public static... |
using System;
using System.Windows.Forms;
namespace SnipInsight
{
public partial class TrayIconContextMenu : UserControl
{
SnipInsight.StateMachine.StateMachine AppStateMachine
{
get { return AppManager.TheBoss.ViewModel.StateMachine; }
}
public TrayIconContextMenu... |
using Microsoft.AspNetCore.Mvc;
using Site.ServiceModels;
using Site.Services;
namespace Site.Controllers
{
[Route("api/register")]
public class RegisterController : Controller
{
/// <summary>
/// Leverages S3 registration service to regiser a contact.
/// </summary>
/// <pa... |
// Copyright 2020 Energinet DataHub A/S
//
// Licensed under the Apache License, Version 2.0 (the "License2");
// 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 a... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace DataClasses
{
public class Event
{
public const string DEFAULT_CSV_HEADER = "Title,Date,Location,Description";
public string Title { get; set; }
public string Date { get; set; }
publi... |
namespace EPI.Strings
{
/// <summary>
/// Reverse all words in a sentence
/// e.g. "Alice likes Bob" transforms to "Bob likes Alice"
/// Preserve the sequence of whitespaces from the original string
/// e.g. " Hello World " transforms to " World Hello "
/// </summary>
public static class WordsReversal
{
pu... |
using System.Collections.Generic;
namespace ParserCSVFiles
{
// Интерфейс для реализации DI паттерна (Constructor Injection)
public interface IReadCsvFile
{
List<string> RawInputCsvList { get; set; }
List<string> ReadCsv(string path);
}
} |
using System;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.EntityFrameworkCore;
using SFA.DAS.CommitmentsV2.Data;
namespace SFA.DAS.CommitmentsV2.Application.Commands.UpdateAccountName
{
public class UpdateAccountNameCommandHandler : AsyncRequestHandler<UpdateAccountNameComm... |
using Microsoft.Extensions.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
namespace Intuit.Ipp.Utility.Test
{
/// <summary>
///This is a test class for IppConfigurationSection and is intended
///to contain all IppConfigurationSectionTest Unit Tests
///</summary>
... |
using UnityEngine;
namespace UnityGit.DiffView.State {
public abstract class BaseState {
protected bool isDirty = false;
private GUIStyle _header = null;
public GUIStyle header {
set { if(_header != value) { _header = value; isDirty = true; } }
get { return _header ?? Styles.Header; }
}
... |
using Umbraco.Core.Models;
namespace Mirabeau.uTransporter.Interfaces
{
public interface IPropertyManager
{
void RemovePropertyType(PropertyType propertyType, IContentType contentType);
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace ProCharts
{
public class PointHelper
{
private string m_channelname = string.Empty;
public string Channelname
{
get { return m_channelname; }
set { m_channelname = value; }
}
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace JT1078.FMp4
{
public class LevelAssignmentBox : FullBox
{
public LevelAssignmentBox(byte version=0, uint flags=0) : base("leva", version, flags)
{
}
public byte LevelCount { get; set; }
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LiveLisp.Core.BuiltIns.TypesAndClasses
{
/*
* каждый раз когда синтаксически ожидается имя типа строиться этот объект.
*
* Выяснение конкретного типа по имени:
* 1) Поиск по CLOS классам заданным п... |
using JetBrains.Annotations ;
namespace Selkie.DefCon.One.DotNetCore.Tests.Common
{
public class TestClass
{
[ UsedImplicitly ] private readonly int _value ;
public TestClass ( int value )
{
_value = value ;
}
}
} |
namespace Domain.Entities
{
public abstract class Code
{
public int Delayed { get; set; }
}
public class FreshCode : Code
{
}
public class HotCode : Code
{
}
public class SweetCode : Code
{
}
public class DeadCode : Code
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.