content stringlengths 23 1.05M |
|---|
using System;
using System.Windows.Forms;
namespace AuctionGame_Admin
{
public partial class FrmRole : Form
{
private bool _edit;
private readonly ChildMainRole _father;
private Role _role;
public FrmRole(Role role, ChildMainRole father)
{
InitializeComponen... |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.UI.Extensions;
public class WallHint : MonoBehaviour
{
public Wall wall;
public Image image;
public SnapRotation hintRotation;
public TextMeshProUGUI hint;
public Can... |
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using XliffLib.Model;
namespace XliffLib.Utils
{
public static class JsonExtensions
{
public static string ToJson(this Bundle bundle)
{
var contractResolver = new DefaultContractResolver
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MarkdownGenerator
{
public class ReferencedModelContainer
{
private readonly HashSet<Type> _types = new HashSet<Type>();
private readonly ILookup<string, XmlDocumentComment> _commentLookup;
... |
using System;
using TLS.DesignLibrary.Calculations.Attributes;
using TLS.DesignLibrary.Calculations.DataTypes;
namespace TLS.DesignLibrary.Calculations.Design.Connections.Parts
{
[HiddenCalculation]
class SupportingColumn : ContextualCalculation
{
public double Orientation { get; set; }
p... |
using Constellation.Foundation.ModelMapping.FieldModels;
using Sitecore.Data;
using System.Web;
namespace Feature.Content.Models
{
public class ImageWithCaptionModel
{
public ID ID { get; set; }
public HtmlString Heading { get; set; }
public ImageModel FullSizeImage { get; set; }
public Htm... |
using System;
using System.Collections.Generic;
using System.Reflection;
using Castle.Core.Logging;
#if !bcad
using Autodesk.AutoCAD.Runtime;
#else
using Teigha.Runtime;
#endif
namespace KojtoCAD.Ui.Interfaces
{
public abstract class UiGenerator : IUiGenerator
{
private ILogger _logger = NullLogger.In... |
using System.Collections.Generic;
using QFramework;
using UnityEngine.UI;
namespace FlappyBird
{
public class ScoreWindow : BaseController , IUnRegisterList
{
private Text highscoreText;
private Text scoreText;
private void Awake()
{
scoreText = transf... |
using Codeless.Ecma.InteropServices;
using System;
namespace Codeless.Ecma {
public sealed class ObjectLiteral : ObjectLiteralBuilder {
public EcmaValue ToValue() {
return CreateObject();
}
public static implicit operator EcmaValue(ObjectLiteral source) {
return source.CreateObject();
}... |
using System.Collections.Generic;
namespace FMData.Xml.Responses
{
/// <summary>
/// Create response instance
/// </summary>
public class CreateResponse : ICreateResponse
{
/// <summary>
/// The response object from the create request.
/// </summary>
public ActionRe... |
using Microsoft.ML.Runtime.Api;
namespace ML.NET.Iris
{
public class IrisFlower
{
[Column("0")] public float SepalLength;
[Column("1")] public float SepalWidth;
[Column("2")] public float PentalLength;
[Column("3")] public float PentalWidth;
[Column("4")] [ColumnNam... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Threading.Tasks;
using System.Web.Http;
using ImproperInstantiation.UserProfileServiceWebRole.Models;
namespace ImproperInstantiation.UserProfileServiceW... |
using PhoenixPointModLoader.Config;
using SimpleInjector;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PhoenixPointModLoader.Infrastructure
{
public static class CompositionRoot
{
public static void ConfigureContainer(Container conta... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Symbioz.Enums.HomeMade
{
public enum MountStableEnum
{
InventoryToPaddockStock = 5,
EquipedToInventory = 13,
ToEquiped = 15,
}
}
|
using System.Linq;
using System.Security.Claims;
using Microsoft.ApplicationInsights.Channel;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.AspNetCore.Http;
namespace LinkyLink.Infrastructure
{
public class HeaderTelemetryInitializer : ITeleme... |
/*
dotNetRDF is free and open source software licensed under the MIT License
-----------------------------------------------------------------------------
Copyright (c) 2009-2013 dotNetRDF Project (dotnetrdf-developer@lists.sf.net)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this ... |
namespace NurserySchoolWebPortal.Data.Models
{
using System.Collections.Generic;
using NurserySchoolWebPortal.Data.Common.Models;
public class PersonalInfo : BaseDeletableModel<int>
{
public PersonalInfo()
{
this.Immunizations = new HashSet<PersonalInfoImmunization>();
... |
using System;
using Newtonsoft.Json.Linq;
namespace DevLab.JmesPath.Functions
{
public class AbsFunction : JmesPathFunction
{
public AbsFunction()
: base("abs", 1)
{
}
public override void Validate(params JmesPathFunctionArgument[] args)
{
... |
using BattleOfTheBots.State;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BattleOfTheBots.Logic
{
public class BotMove
{
public BotMove(Bot bot, Move move)
{
Bot = bot;
Move = move;
... |
/*
Huerate - Mobile System for Customer Feedback Collection
Master Thesis at BUT FIT (http://www.fit.vutbr.cz), 2013
Available at http://huerate.cz
Author: Bc. Jakub Kadlubiec, xkadlu00@stud.fit.vutbr.cz or jakub.kadlubiec@gmail.com
*/
namespace Huerate.Services.Contacts
{
internal interface IContactPe... |
using System;
namespace connsearch
{
class PrefixedVersion
{
public string VersionString { get; private set; }
public string Prefix { get; private set; }
public int Major { get; private set; }
public int Minor { get; private set; }
public int MajorRevision { get; priva... |
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(Route))]
public class RouteEditor : Editor {
public override void OnInspectorGUI() {
Route route = (Route)target;
for (int i = 0; i < route.checkpoints.Count; i++) {
EditorGUILayout.BeginHorizontal();
EditorGUILayout.BeginVertical();
ro... |
using NUnit.Framework;
namespace NTemplate.Tests.EndToEnd
{
[TestFixture]
public class MarkupAndCodeBlocksTests : EndToEndTests
{
[Test]
public void MarkupOnly()
{
AssertRendered("Hello", "Hello");
}
[Test]
public void CodeBlock()
{
AssertRendered("<%Write(1+1);%>", "2");
}
... |
using CommonTools.Lib11.ExceptionTools;
using System;
namespace CommonTools.Lib11.DataStructures
{
public class ExceptionReport
{
public ExceptionReport() { }
public ExceptionReport(string context, Exception ex)
{
Context = context;
Message = ex.Info(true, ... |
using System.Linq;
namespace Aptacode.Expressions.List.ListOperators
{
/// <summary>
/// The class for operation of concatenating two list expressions.
/// </summary>
/// <typeparam name="TType"></typeparam>
/// <typeparam name="TContext"></typeparam>
public class ConcatList<TType, TContex... |
using Autofac;
using OpenBots.Core.Command;
using OpenBots.Core.Enums;
using OpenBots.Core.Project;
using OpenBots.Core.Script;
using OpenBots.Core.Settings;
using OpenBots.Core.UI.Controls;
using OpenBots.UI.CustomControls.CustomUIControls;
using OpenBots.Utilities;
using System;
using System.Collections.Generic;
usi... |
using System;
using Topocat.Common;
using Topocat.Domain.Entities.Files;
namespace Topocat.Services.Services
{
[RegisterScoped(typeof(IFileReferencesFactory))]
public class FileReferencesFactory : IFileReferencesFactory
{
private const string AttachmentsFolder = "upload";
public F... |
using MealAPI.RESTAPI;
using MyBaseLib.Network;
using dimigo_meal.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading;
using dimigo_meal.View.Common;
using MealAPI.Model;
namespace dimigo_meal.Model
{
public static class... |
using handshake.Contexts;
using handshake.Entities;
using handshake.Extensions;
using handshake.Interfaces;
using handshake.PostData;
using handshake.Repositories;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Data;
using System.Data.SqlClient;
using System.Thread... |
using Configuration_Tool.Controls.Comparisons;
using System;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Forms;
namespace Configuration_Tool.Controls.CustomProcesses
{
/// <summary>
/// Interaction logic for ControlCustomProcessOutput.xaml
/// </summary>
... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace BlazorAuth0Bff.Server.Controllers
{
[ValidateAntiForgeryToken]
[Authorize(AuthenticationSchemes = CookieAuthenticationDefaults.Authentica... |
using Cake.Core.IO;
namespace Cake.Xamarin.Build
{
public class Component
{
public Component ()
{
OutputDirectory = null;
ManifestDirectory = "./component/";
BuildsOn = BuildPlatforms.Windows | BuildPlatforms.Mac | BuildPlatforms.Linux;
}
pu... |
using CommonTools.Lib.ns11.LoggingTools;
using CommonTools.Lib.ns11.SignalRClients;
using CommonTools.Lib.ns11.StringTools;
using System;
using System.Collections.ObjectModel;
namespace CommonTools.Lib.fx45.UserControls.CurrentHubClients
{
class CurrentHubClientsUI1DesignData
{
public CurrentHubClient... |
using System.Windows.Input;
namespace DragonSpark.Commands
{
public class AdapterCommand<T> : CommandBase<T>
{
readonly ICommand command;
public AdapterCommand( ICommand command )
{
this.command = command;
}
public override void Execute( T parameter ) => command.Execute( parameter );
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Rancher.DotNet
{
public class Lookup
{
public const string APIV2Beta = "v2-beta";
public const string CattleProjectTemplateId = "1pt5";
}
}
|
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Text
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
public enum MarkerType
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ ... |
using System;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using Zyan.InterLinq.Expressions.Helpers;
using Zyan.InterLinq.Types;
namespace Zyan.InterLinq.Expressions
{
/// <summary>
/// A serializable version of <see cref="LambdaExpression"/>.
/// </summary>
[Serializable]
[Data... |
using SmtpPilot.Server.Communication;
using System;
namespace SmtpPilot.Server
{
public class MailClientEventArgs : EventArgs
{
public MailClientEventArgs(IMailClient client)
{
Client = client;
ClientId = Client.ClientId;
}
public Guid ClientId { get; }... |
using System;
namespace FeatureToggle
{
public class FixedTimeCacheDecorator : IFeatureToggle
{
private readonly TimeSpan _cacheDuration;
private bool _cachedValue;
public FixedTimeCacheDecorator(IFeatureToggle toggleToWrap, TimeSpan cacheDuration,
Func<DateTime> alternati... |
using System.Threading.Tasks;
namespace TestDataDefinitionFramework.Testing.ExampleSut.Abstractions
{
public interface ISummaryDescriptionRepository
{
Task<SummaryDescription> GetSummaryDescription(string summaryName);
}
} |
using System;
using System.Runtime.InteropServices;
namespace FreeTypeBindings
{
[StructLayout(LayoutKind.Sequential)]
public readonly struct FTVector26Dot6 : IEquatable<FTVector26Dot6>
{
private readonly IntPtr _x, _y;
public FTVector26Dot6(Fixed26Dot6 x, Fixed26Dot6 y)
{
... |
using System.Diagnostics.CodeAnalysis;
namespace Howatworks.SubEtha.Journal.Startup
{
[ExcludeFromCodeCoverage]
public class ClearSavedGame : JournalEntryBase
{
public string Name { get; set; } // NOTE: Commander name
[SuppressMessage("ReSharper", "InconsistentNaming")]
public s... |
// Copyright (c) KhooverSoft. All rights reserved.
// Licensed under the MIT License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Text;
namespace Khooversoft.Toolbox.Configuration
{
public class OptionHelp
{
pu... |
namespace Late4dTrain.CosmosDbStorage.Strategies;
using Configuration;
using Polly;
public class ExponentialRetryStrategy<T> : IRetryStrategy<T> where T : class, IResiliencePolicyConfiguration, new()
{
public ExponentialRetryStrategy(T configuration) =>
Policy =
Polly.Policy
... |
using System;
namespace Microsoft.Maui.Graphics.Win2D
{
public class W2DBitmapExportService : IBitmapExportService
{
public BitmapExportContext CreateContext(int width, int height, float displayScale = 1)
{
throw new NotImplementedException();
}
}
}
|
namespace BlockchainSharp.Tests.Dsl
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BlockchainSharp.Core;
using BlockchainSharp.Processors;
public class BlockProcessorDsl
{
private static char[] separators = new char[] { ... |
using System;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using PageObjects;
namespace Tests
{
[TestFixture]
class LoginTest
{
private static string VendorDirectory = System.IO.Directory.GetParent(
System.AppContext.BaseDirectory).
Parent.Pa... |
using NUnit.Framework;
using O2DESNet.Standard;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace O2DESNet.RCQueues.UnitTest
{
public class PriorityLoad : ILoad
{
public int Index { get; set; }
public string Id { get; set; }
public DateTi... |
using System.Collections.Generic;
using System.Threading;
namespace AElf.CSharp.CodeOps.Validators
{
public interface IValidator
{
bool SystemContactIgnored { get; }
}
public interface IValidator<T> : IValidator
{
IEnumerable<ValidationResult> Validate(T item, CancellationToken ct)... |
using Upgrade;
using System.Collections.Generic;
using Ship;
using SubPhases;
namespace UpgradesList.FirstEdition
{
public class SwarmTactics : GenericUpgrade
{
public SwarmTactics() : base()
{
UpgradeInfo = new UpgradeCardInfo(
"Swarm Tactics",
Upgr... |
using System.Collections.Generic;
using Preparation.Domain.Entities;
namespace Preparation.Domain.Abstract
{
public interface IPreparationStore
{
List<Medicament> GetAll();
Medicament GetById(int id);
List<Medicament> FilterMedicaments(string filter,string value);
void Save(... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Wordfrequency.APP.src;
namespace Wordfrequency.APP
{
class Program
{
static int Main(string[] args)
{
if(args.Length == 0)
{
Console.WriteLine("Para execução é espe... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Extra.Tests
{
public static class Constants
{
public static readonly string PathToChrome = @"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe";
public static readonly bool Headless = true;
}
}
|
// <copyright file="Lwm2mResource.cs" company="Arm">
// Copyright (c) Arm. All rights reserved.
// </copyright>
namespace MbedCloudSDK.Common.Tlv
{
using System;
using System.IO;
using System.Text;
/// <summary>
/// Lwm2mResource
/// </summary>
public class Lwm2mResource
{
/// ... |
using System.Reflection;
[assembly: AssemblyTitle("xUnit.net remote unit test runner for " + ProductInfo.Product + " " + ProductInfo.Version)]
|
using System;
namespace Towel.Diagnostics
{
public static class Performance
{
public static TimeSpan Time_DateTimNow(Action action)
{
DateTime a = DateTime.Now;
action();
DateTime b = DateTime.Now;
return b - a;
}
public static T... |
using System;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
namespace KeyblangChanger
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.textBox1.GotFocus += TextBox1OnGotFocus;
this.text... |
using UnityEngine;
using UnityEngine.UI;
public static class ImageHelper
{
public static GameObject CreateImage(Sprite sprite, Transform parent, string name)
{
GameObject imageObject = new GameObject();
imageObject.name = name;
imageObject.transform.SetParent(parent);
imageOb... |
using KeyboardSim.Model;
namespace KeyboardSim.Parser
{
public interface IParser
{
string Name { get; }
string Format { get; }
string[] Exts { get; }
Diractive Parse(string data);
}
}
|
using System.Collections.Generic;
using System.Linq;
namespace Gschwind.Lighthouse.Example.Models.Data {
/// <summary>
/// Sortierte Liste von Werten zu einem Datum mit einer definierten Periode
/// </summary>
public record PeriodValues {
/// <summary>
/// Liste von Zahlungsflüssen
... |
using SpiceSharp.Components;
namespace SpiceSharp.Validation.Components
{
/// <summary>
/// Describes a rule for an <see cref="IComponent"/>.
/// </summary>
/// <seealso cref="IRule" />
public interface IComponentRule : IRule
{
/// <summary>
/// Applies the specified component.... |
using System.Collections;
using System.IO;
using UnityEngine;
#if UNITY_2017_4_OR_NEWER
using UnityEngine.Networking;
#endif
[System.Serializable]
public class DiscordUser
{
/// <summary>
/// Caching Level. This is a flag.
/// </summary>
[System.Flags]
public enum CacheLevelFlag
{
///... |
using UnityEngine;
namespace GameSystem.Weapons.Projectiles
{
public abstract class TurnableProjectile : Projectile
{
[HideInInspector] public float TurnSpeed = 0;
protected virtual void Turn()
{
transform.Rotate(transform.forward * TurnSpeed * Time.fixedDeltaTime);
... |
using GameModule.Class;
using ItemModule.Class.Data;
using Photon.Pun;
namespace ItemModule.Class.Component
{
public class BruteForce : HackerItem
{
public override void Create()
{
SetItemState(ItemState.Player);
}
public override ItemType GetItemType()
{
... |
using SimpleLearn.TicTacToe.Memory;
namespace SimpleLearn.TicTacToe.Training
{
public class GameFinishedTrainer : ITrainer
{
private readonly IMemory memory;
private readonly FrontalLobe frontalLobe;
public GameFinishedTrainer(IMemory memory, FrontalLobe frontalLobe)
{
... |
using System;
namespace CockyGrabber
{
public static partial class Blink
{
public class Download
{
public enum Header
{
id,
guid,
current_path,
target_path,
start_time,
recei... |
using Microsoft.AspNetCore.Mvc;
namespace cbn.es2017.sample.Controllers
{
public class TestController : Controller
{
public IActionResult Index()
{
return View();
}
[HttpGet]
public string Get()
{
return "success!";
}
}
} |
namespace NewsPortal.Infrastructure.CrossCutting.Constants
{
public class NewsPortalConstants
{
public static class Folders
{
public const string Uploads = "Uploads";
public const string Article = "Article";
public static readonly string Arti... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace CCIA.Models
{
public partial class VarietyBlendComponents
{
public int Id { get; set; }
public int ... |
namespace Marathon.Core.ViewModel.ManageUser.Models
{
/// <summary>
/// Type of user management to select functional in one page
/// </summary>
public enum UserManagementType
{
Add,
Edit
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using SpaceShooterEngine;
public class Spawner : MonoBehaviour
{
public GameObject toSpawn;
public bool isOnline = true;
private TimedAction spawn;
private bool canSpawn = false;
void Start()
{
spawn = new ... |
using System.Collections;
using UnityEngine;
public class PlaySoundOnKeypress : MonoBehaviour
{
public AudioSource Jump;
public AudioSource FlyWalk;
public AudioSource Quack;
// Start is called before the first frame update
void Start()
{
}
//Plays an audio clip after but... |
using System;
namespace DesignTE.View.NoteEditing
{
/// <summary>
/// Struct used to define a Html Table
/// Html Defaults are based on FrontPage default table
/// </summary>
[Serializable]
public struct HtmlTableProperty
{
// properties defined for the table
public string... |
#pragma warning disable 612, 618
using System.Data.Common;
using System.Data.Entity;
namespace Wivuu.DataSeed.Tests.Domain
{
public class DataSeedTestContext : SeededDbContext
{
public DataSeedTestContext() { }
public DataSeedTestContext(DbConnection conn): base(conn, false) { }
prot... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Bakery.Models;
using System.Collections.Generic;
using System;
namespace Bakery.Tests
{
[TestClass]
public class PastryTest
{
[TestMethod]
public void PastryConstructor_CreateInstanceOfPastry_Pastry()
{
Pastry newPastry = new Pastry(2);
... |
using NUnit.Framework;
namespace Codewars._7kyu
{
/// <summary>
/// Growth of a Population
/// https://www.codewars.com/kata/563b662a59afc2b5120000c6/train/csharp
/// </summary>
public class Arge
{
public static int NbYear(int p0, double percent, int aug, int p)
{
v... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using ExemploJS.Models;
namespace ExemploJS.Controllers
{
public class HomeController : Controller
{
static string usuario;
public IActionR... |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
///////////////////////////////////////////////////////... |
using System.Collections.Generic;
using Xunit;
namespace Honeycomb.OpenTelemetry
{
public class EnvironmentOptionsTests
{
[Fact]
public void Can_get_options_from_env_vars()
{
var values = new Dictionary<string, string>
{
{"HONEYCOMB_AP... |
using ServiceStackWithDocker.ServiceInterface;
using ServiceStackWithDocker.ServiceModel;
namespace ServiceStackWithDocker
{
public class LogEmailSender : ISmsSender
{
public State SendSms(SendSms smsToSend)
{
throw new System.NotImplementedException();
// todo: write s... |
using Reactive.Streams;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Reactive4.NET.operators
{
sealed class FlowableAmbEnumerable<T> : AbstractFlowableSource<T>
{
readonly IEnumerable<IPublisher<T>... |
using System;
namespace cSharp.Beginner
{
public class VariablesExample {
// this variable primitive types exists in C#
public int aInt = 23;
public bool aBool = true;
public float aFloat = 1.22f;
public double aDouble = 2.2125151561561351561651;
public string aString = "I'm a String.";... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.... |
using System;
namespace RssExtractor.Rss {
public class BoilerplateRemovalModule : IModule {
public void ApplyTo (INews news) {
// TODO
}
}
}
|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.Composition.VSMefx
{
using System;
using System.Collections.Generic;
using System.Globalization;
using Sys... |
using System;
using System.IO;
using System.Windows.Media.Imaging;
using Microsoft.Win32;
namespace NekuSoul.PhantomTool
{
internal static class Helper
{
internal static string GetInstallPath()
{
const string registryPath = @"HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Wizards of the Coast\MTGArena";
const st... |
/*
Copyright 2012 Zoran Maksimovic (zoran.maksimovich@gmail.com
http://www.agile-code.com)
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/LIC... |
using System;
using System.Net.Http;
using System.Threading.Tasks;
using HwProj.AuthService.API.Models;
using HwProj.Utils.HttpUtils;
namespace HwProj.AuthService.Client
{
public class AuthServiceClient : IAuthServiceClient
{
private readonly HttpClient _httpClient;
private readonly Uri _authS... |
using NUnit.Framework;
using vCardLib.Enums;
using vCardLib.Models;
namespace vCardLib.Tests.ModelTests
{
[TestFixture]
public class EmailAddressTests
{
[Test]
public void EmailAddressIsStable()
{
Assert.DoesNotThrow(delegate
{
var emailAddre... |
using Lykke.SettingsReader.Attributes;
namespace MAVN.Service.NotificationSystemAdapter.Client
{
/// <summary>
/// NotificationSystemAdapter client settings.
/// </summary>
public class NotificationSystemAdapterServiceClientSettings
{
/// <summary>Service url.</summary>
[HttpCheck... |
using System.Linq;
using Solid.Practices.Middleware;
// ReSharper disable once CheckNamespace
namespace LogoFX.Bootstrapping
{
/// <summary>
/// Registers the collection of <see cref="IBootstrapperCompositionModule"/> modules.
/// </summary>
/// <seealso cref="Solid.Practices.Middleware.IMiddleware{IBo... |
using FluentWebUITesting.Accessors;
using OpenQA.Selenium;
namespace FluentWebUITesting.Controls
{
public interface IFieldControl
{
IWebDriver Browser { get; }
IWebElement Element { get; }
string HowFound { get; }
IReadOnlyBooleanState Enabled()
//// ReSharper restore MemberCanBeProtected.Global
;
IR... |
/*
********************************************************************
*
* 曹旭升(sheng.c)
* E-mail: cao.silhouette@msn.com
* QQ: 279060597
* https://github.com/iccb1013
* http://shengxunwei.com
*
* © Copyright 2017
*
********************************************************************/
using System;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Epam.Task3.VectorGraphicsEditor
{
public class Ring : Shape
{
public Ring()
{
}
public Ring(double outerRadius, double innerRadius, double x, double y)... |
namespace Middleend.Types
{
public abstract class BaseType
{
public abstract T AcceptVisitor<T>(IModuleVisitor<T> visitor);
}
} |
using System;
using System.Collections.Generic;
namespace Resgrid.Config
{
/// <summary>
/// General system behavior configs like determining if to broadcast messages, if
/// the cache is enabled, etc.
/// </summary>
public static class SystemBehaviorConfig
{
/// <summary>
/// The Environment context Resgri... |
using System.Runtime.Serialization;
namespace ArtifactAPI.Enums
{
/// <summary>
/// Contains all types, including subtypes. For information on what they do, refer to an Artifact Wiki ;)
/// </summary>
public enum CardType
{
[EnumMember(Value = "Hero")]
Hero,
[EnumMember(Val... |
using System.ComponentModel.DataAnnotations;
namespace Skoruba.IdentityServer4.Admin.Api.Dtos.Roles
{
public class RoleClaimApiDto<TRoleDtoKey>
{
public int ClaimId { get; set; }
public TRoleDtoKey RoleId { get; set; }
[Required]
public string ClaimType { get; set; }
... |
using OpenTracing;
using OpenTracing.Util;
namespace NetRpc.OpenTracing
{
public static class TracerScope
{
public static IScope BuildChild(string name)
{
var span = GlobalTracer.Instance.ActiveSpan;
if (span != null)
{
return GlobalTracer.In... |
using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace Core.Framework
{
public interface IEntityPropertyInfo
{
[DataMember(Name = "name")]
string Name { get; set; }
[DataMember(Name = "isNullable")]
bool? IsNullable { get; set; }
[DataMembe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.