content stringlengths 23 1.05M |
|---|
namespace Veldrid
{
/// <summary>
/// A structure describing several common properties of a GraphicsDevice.
/// </summary>
public struct GraphicsDeviceOptions
{
/// <summary>
/// Indicates whether the GraphicsDevice will support debug features, provided they are supported by the hos... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PuzzleTimer.Models {
interface ICloseWindow {
Action Close { get; set; }
}
}
|
namespace ContosoUniversity.Infrastructure.Factories
{
public interface IDbFactory
{
Db NewDb();
}
}
|
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Senparc.Core.Models
{
[Serializable]
public partial class SystemConfig
{
[Key]
public int Id
{
get;
set;
}
[Required]
... |
using UnityEngine;
using FrameConversions;
public class FrameHelper : MonoBehaviour {
[Header("Gizmos")]
public bool AlwaysDraw = false;
public bool DrawRotations = false;
public float Scale = 1;
[Header("Coordinate Frame")]
public string Axes = "XY-Z";
public string RotationOrder = "-Z-X... |
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
namespace Moryx.Workflows
{
internal class RestoredState : EngineState
{
public RestoredState(WorkflowEngine context, StateMap stateMap) : base(context, stateMap)
{
}
/// <sum... |
namespace Assetxport.Cli
{
using System.IO;
using System.Linq;
using Args;
using System;
using System.ComponentModel;
using System.Collections.Generic;
class MainClass
{
[ArgsModel(SwitchDelimiter = "-")]
[Description("Assertxport")]
public class ExportArgs
{
[Description("A path to an option confi... |
namespace Windows.UI.Xaml.Controls;
public sealed class SplitViewPaneClosingEventArgs
{
public bool Cancel { get; set; }
}
|
using System;
using System.Windows.Forms;
namespace VisioForge.Controls.UI.Dialogs
{
/// <summary>
/// Handle wrapper to show WinForms dialog in WPF app.
/// </summary>
public class WPFWindowWrapper : IWin32Window
{
/// <summary>
/// Creates new WPFWindowWrapper.
/// </summ... |
using System;
namespace Tallinn.Models.References
{
[Flags]
public enum TypedCrefFlags
{
IsByRef = 1 << 0,
IsIn = IsByRef | 1 << 1,
IsOut = IsByRef | 1 << 2,
IsPrimitive = 1 << 3
}
} |
namespace Kean.Infrastructure.SignalR
{
/// <summary>
/// SignalR 配置项
/// </summary>
public sealed class SignalROptions
{
/// <summary>
/// Hub 集合
/// </summary>
public HubCollection Hubs { get; set; }
}
}
|
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Reflection;
using System.Web.Http.Dispatcher;
namespace Microsoft.AspNet.WebHooks
{
/// <summary>
... |
using System;
using FluentAssertions;
using GetIntoTeachingApi.Services;
using Xunit;
namespace GetIntoTeachingApiTests.Services
{
public class DateTimeProviderTests
{
[Fact]
public void UtcNow_ReturnsDateTimeUtcNow()
{
var provider = new DateTimeProvider();
... |
//Copyright 2019 Volodymyr Podshyvalov
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed t... |
using apr.Entities;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Transactions;
namespace apr.Repository
{
public class PedidosRepository
{
public bool create(Pedidos pedidos)
{
bool result = false;
using (... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Input;
using Acolyte.Assertions;
using Prism.Commands;
using Prism.Events;
using Prism.Mvvm;
using ProjectV.DesktopApp.Domain;
using ProjectV.DesktopApp.Domain.Commands;
using ProjectV.Desk... |
using System.Collections;
using UnityEngine;
public class AnimationPlayer : MonoBehaviour
{
[SerializeField]
private Animation animation;
[SerializeField]
private float delay;
private void Start()
{
StartCoroutine(PlayAfterSeconds(delay));
}
private IEnumerator PlayAfterSec... |
using Autofac;
namespace DataBaseSeeder
{
public class Ioc_Register
{
public static void Load(ContainerBuilder builder)
{
builder.RegisterType<DbSeeder>().As<IDbSeeder>();
builder.RegisterType<ReadJsonFromFile>().As<IReadJsonFromFile>();
}
}
} |
using GameFramework.Fsm;
using GameFramework.Procedure;
namespace FlappyBird
{
/// <summary>
/// 主流程
/// </summary>
public class ProcedureMain : ProcedureBase
{
protected override void OnEnter(IFsm<IProcedureManager> procedureOwner)
{
base.OnEnter(procedureOwner);
... |
using System;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using CustomEventSystem;
public class ShopManager : MonoBehaviour
{
[SerializeField] private List<TextMeshProUGUI> _upgradeTexts;
[SerializeField] private List<TextMeshProUGUI> _upgradeButtonTexts;
private Config shopSettings;
privat... |
using System.Net.Http;
using System.Threading.Tasks;
namespace Neo4jClient
{
public class HttpClientWrapper : IHttpClient
{
readonly HttpClient client;
public HttpClientWrapper() : this(new HttpClient()) {}
public HttpClientWrapper(HttpClient client)
{
... |
namespace Application.IntegrationTests
{
using System;
using System.Collections.Generic;
using System.Web.Http.Dependencies;
using Application.Data.Contracts;
using Application.WebServices.Controllers;
internal class TestBugsDependencyResolver : IDependencyResolver
{
public IAppli... |
namespace Toolbox.Geometry
{
public struct Location
{
public readonly Orientation Orientation;
public readonly Translation Translation;
public static readonly Location Identity =
new Location(Orientation.Identity, Vector.Zero);
public Location(Orientation orientation, Translation translation)
... |
namespace GraphQLCore.Type.Translation
{
using Exceptions;
using Execution;
using GraphQLCore.Type.Directives;
using Scalar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Utils;
public class SchemaRepository : ISchemaRepositor... |
/*
Exemplary file for Chapter 8 - Internet-based Scenarios.
Recipe: Presenting a website within a page.
*/
using System;
using Windows.UI;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
namespace CH08
{
public sealed partial class MainPage : Page
{
... |
// Copyright 2010 Oliver Sturm <oliver@sturmnet.org> All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Scripting.Hosting;
using IronPython.Hosting;
using System.Dynamic;
namespace Dynamic {
class Program {
static void Main(st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Genus.Migrator.Model.Internal
{
internal class Association : IAssociation
{
public Association(IField field, IField referenceField)
{
if (field == null)
throw ... |
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
public class PathNodeCreateEditor : MonoBehaviour
{
public int mRefeshIndex = 1;
[MenuItem("Tools/PathNode Create Root")]
public static void CreateRoot()
{
GameObj... |
using System;
using System.IO;
using EnsureThat;
namespace Brick.IO
{
internal class FileSystemVirtualFile : VirtualFile
{
protected FileInfo BackingFileInfo;
public FileSystemVirtualFile(
IVirtualPathProvider owningProvider,
IVirtualDirectory directory,
Fi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Threading;
using System.Threading.Tasks;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using Newtonsoft.Json;
using WebMVC.Models;
namespace WebMVC
{
public class pwgService
{
pub... |
using JabberNet.bedrock.net;
using JabberNet.jabber.protocol.stream;
namespace JabberNet.jabber.connection
{
class BindingStanzaStream : HttpStanzaStream
{
public BindingStanzaStream(IStanzaEventListener listener) : base(listener)
{
}
protected override BaseSocket CreateSocket()
{
... |
using Calculadora;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AcessandoDLLMarlon
{
class Program
{
static void Main(string[] args)
{
var usandoCaluladoraMarlon = new Operador();
Console.... |
using MISD.Client.Model;
using System.Windows;
using System.Windows.Controls;
namespace MISD.Client.ViewModel.Selectors
{
public class TreeViewTemplateSelector : DataTemplateSelector
{
public DataTemplate OrganizationalUnitTemplate { get; set; }
public DataTemplate MonitoredSystemTemp... |
using RestUtil.Mapping;
using RestUtil.Request.Attributes;
namespace NotionApi.Rest.Request.Parameter
{
[Mapping("sort", Strategy = typeof(ToNestedObjectStrategy))]
public class SortParameter
{
public SortDirection Direction { get; set; } = SortDirection.Ascending;
public SortTimestamp Tim... |
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
namespace UserRegistrationAndLoginDemo.Common.Helpers
{
public static class JsonHelper
{
static readonly JsonSerializerSettings _jsonSettings;
static JsonHelper()
{
_jsonSettings ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Picture2Logic : MonoBehaviour {
public AudioClip notificationSound;
public Camera mainCamera;
public Camera observeCamera;
public float observeDistance;
public GameObject infoText;
public Ga... |
using System.Collections.Generic;
namespace CommonMarkSharp.Inlines
{
public class Emphasis: InlineList
{
public Emphasis(params Inline[] inlines)
: base(inlines)
{
}
public Emphasis(IEnumerable<Inline> inlines)
: base(inlines)
{
... |
using System.ComponentModel;
using System.Data;
using bv.common.db.Core;
using bv.winclient.Core;
using eidss.model.Core;
using eidss.model.Reports.Common;
namespace EIDSS.Reports.BaseControls.Filters
{
public sealed partial class RegionAZFilter : RegionFilter
{
private readonly ComponentRe... |
using System;
using System.Collections.Generic;
namespace Models.DB
{
public partial class Etrain
{
public Etrain()
{
Etrains = new HashSet<Etrains>();
}
public short EtrainId { get; set; }
public short TrainPartSequence { get; set; }
public short T... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Rofl.Reader.Models
{
public class LprOldResults
{
public int NumberOfPlayers { get; set; }
//public int PlayerNameLength { get; set; }
public string PlayerName { get; set; }
//public int Cham... |
using System;
using System.Collections.Generic;
namespace Nethereum.Contracts.Standards.ERC20.TokenList
{
public class Root
{
public string Name { get; set; }
public DateTime Timestamp { get; set; }
public List<string> Keywords { get; set; }
public Version Version { get; set; }... |
using Knyaz.Optimus.ScriptExecuting;
using Knyaz.Optimus.Tools;
namespace Knyaz.Optimus.Dom.Elements
{
/// <summary>
/// https://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/html2/HTMLTableCellElement.html
/// </summary>
[JsName("HTMLTableCellElement")]
public sealed class HtmlTableCellElement : HtmlElem... |
using UnityEngine;
namespace UnityGoogleDrive.Data
{
/// <summary>
/// The metadata for an audio file stored in Google Drive.
/// Unity-specific data to use with <see cref="GoogleDriveFiles.DownloadAudioRequest"/>.
/// </summary>
public class AudioFile : File
{
[Newtonsoft.Json.JsonIgn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.IO;
using System.Net;
using System.Net.Sockets;
namespace Connections_Server
{
public class Server
{
Thread serverThread;
TcpListener tListen... |
using System;
using System.Security.Cryptography;
using Microsoft.AspNetCore.Cryptography.KeyDerivation;
namespace HexMaster.DomainDrivenDesign.Helpers
{
public static class PasswordHasherHelper
{
private const int SaltSize = 16;
public static string Hash(this string password, string salt, i... |
using System;
namespace DiiagramrAPI.Editor.Interactors
{
/// <summary>
/// Applied to implementations of <see cref="Node"/> to hide them from the node selector.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class HideFromNodeSelectorAttribute : Attribute
{
}
} |
using System;
namespace Urho {
public partial class BillboardSet
{
public BillboardWrapper GetBillboardSafe (uint index)
{
Runtime.ValidateRefCounted(this);
unsafe {
Billboard* result = BillboardSet_GetBillboard (handle, index);
if (result == null)
return null;
return new BillboardWrapper(... |
using Microsoft.AspNetCore.Identity;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace BanqueSI.Model.Entities
{
[Table("Perso... |
using System.Xml.Linq;
using ZebraDeploy.Core.Extensions;
namespace ZebraDeploy.Core.Configuration.Reporters {
public abstract class StripeReporterConfiguration {
public bool ReportSuccess { get; set; }
public bool ReportFailure { get; set; }
protected StripeReporterConfiguration(XElement... |
using CryptSharp.Internal;
using CryptSharp.Utility;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace CryptSharp
{
/// <summary>
/// Lets you customize the list of crypt algorithms your program will accept.
/// </summary>
public class CrypterEnviro... |
/*
* 2011 Sizing Servers Lab, affiliated with IT bachelor degree NMCT
* University College of West-Flanders, Department GKG (www.sizingservers.be, www.nmct.be, www.howest.be/en)
*
* Author(s):
* Dieter Vandroemme
*/
using System;
using System.Windows.Forms;
using vApus.SolutionTree;
namespace vAp... |
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml.Linq;
using ReportUnit.Extensions;
using ReportUnit.Model;
using ReportUnit.Utils;
namespace ReportUnit.Parser
{
internal class JUnit : IParser
{
public Report Parse(string fileP... |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Clave.BackgroundUpdatable.Tests
{
public class Spy
{
public static Spy1<T> On<T>(Func<T> func)
{
return new Spy1<T>(func);
}
public class Spy1<T>
{
private int _counte... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
using System;
using System.Collections.Generic;
using System.Data.Services;
using System.Data.Services.Common;
using System.Linq;
using System.ServiceModel.Web;
using System.Web;
namespace AdventureWorksService
{
//<Snippet1>
public class AdventureWorksService : DataService<AdventureWorksLTEntities>
{
... |
using System.Collections.Generic;
using System.Linq;
namespace AdvancedRuleMatcher.Impl
{
/// <summary>
/// Extremely inefficient but simple implementation
/// </summary>
[System.Obsolete("Please use AdvancedRuleMatcher.Impl.FourFilterRuleSearchEngine instead")]
public class BruteForceSearchEngine... |
namespace KentriosiPhotosContests.Services.Contracts
{
using KentriosiPhotoContest.Data;
public interface IBaseService
{
IKentriosiPhotoData Data { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
// ReSharper disable HeapView.ObjectAllocation.Evident
namespace NetFabric.Hyperlinq
{
public static partial class ArrayExtensions
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static List<TSour... |
using System.Reflection;
using HarmonyLib;
using QModManager.API.ModLoading;
using Logger = QModManager.Utility.Logger;
// ### Enhancing the mod ###
using SMLHelper.V2.Json;
using SMLHelper.V2.Options.Attributes;
using SMLHelper.V2.Handlers;
namespace KnifeDamageMod_BZ
{
[QModCore]
public static class QMod
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayANim : MonoBehaviour
{
public Animator pla1;
public Animator pla2;
public string anim1;
public string anim2;
public string anim3;
public string anim4;
// Start is called before the first frame ... |
using System.Diagnostics;
using JetBrains.Annotations;
using JetBrains.Util;
namespace GammaJul.ForTea.Core.TemplateProcessing.CodeGeneration.Reference
{
[DebuggerDisplay("{" + nameof(FullName) + "}")]
public readonly struct T4AssemblyReferenceInfo
{
[NotNull]
public string FullName { get; }
[NotNull]
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace V308CMS.Data.Helpers
{
public class Email
{
public static string SendEmail(string to, string subject, string body)
{
var emailSender = new V308CMS.Common.EmailSender(
Con... |
using cAlgo.API;
using System;
namespace cAlgo.Helpers
{
public static class ChartTrendLineCenterExtensions
{
public static DateTime GetLineCenterTime(this ChartTrendLine line)
{
return line.Time1.AddMilliseconds((line.Time2 - line.Time1).TotalMilliseconds / 2);
}
... |
namespace Monry.Unity1Weeks.Binary.Application
{
public static partial class Const
{
public const int TotalDigit = 1 << 4;
public const int TotalDuration = 1 << 6;
public const int BitMargin = 4;
public const float SpawnInterval = 2.0f;
public const float MoveInterval = 1... |
using CalcState;
using Defines;
using System;
using System.Windows.Forms;
namespace CalcApplication
{
#region メイン画面クラス
/// <summary>
/// メイン画面クラス
/// </summary>
internal partial class MainForm : Form
{
#region コンストラクタ
/// <summary>
/// <see cref="MainForm"/>クラスの新しいインス... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UIModule
{
public class UIStack
{
public string UIName { get; private set; }
public IView View { get; private set; }
private Stack<UIStack> _uiStack;
private UILayer _subLayer;
public UIStack(string uiName,IView vie... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenuController : MonoBehaviour
{
public void PlayGame()
{
int selectedCharacter =
int.Parse(UnityEngine.EventSystems.EventSystem.current.currentSelec... |
using System;
namespace GFDLibrary.Textures.DDS
{
[Flags]
public enum DDSHeaderCaps
{
Complex = 0x8,
MipMap = 0x400000,
Texture = 0x1000,
}
} |
using Kritner.AdventOfCode2018.Common;
using Kritner.AdventOfCode2018.Day2;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Kritner.AdventOfCode2018.Tests.Day2
{
public class PrototypeFabricFinderTests
{
private readonly PrototypeFabricFinder _subject =
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Asa.DbContexts;
using Asa.Models;
using Microsoft.AspNetCore.Mvc;
namespace Asa.Controllers
{
[ApiController]
public abstract class RestControllerBase<T, TViewModel, TTransformer>
where T : class, IModel
where TTransformer : ... |
namespace OpenQA.Selenium.DevTools.Target
{
using Newtonsoft.Json;
/// <summary>
/// Detaches session with given id.
/// </summary>
public sealed class DetachFromTargetCommandSettings : ICommand
{
private const string DevToolsRemoteInterface_CommandName = "Target.detachFromTarget";
... |
namespace CodeBase.Off.Website.Models {
public sealed class UserShowModel {
public int Id { get; set; }
public string UserName { get; set; }
public string FriendlyName { get; set; }
public string JoinDate { get; set; }
public string PrettyJoinDate { get; set; }
public... |
namespace MHLab.Patch.Core.Client.Localization
{
public interface IUpdaterLocalizedMessages
{
string UpdateDownloadingArchive { get; }
string UpdateDownloadedArchive { get; }
string UpdateDecompressingArchive { get; }
string UpdateDecompressedArchive { get; }
string Up... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using OpenCvSharp;
using OpenCvSharp.Extensions;
using OpenCvSharp.XImgProc;
namespace RepeatImageDelete
{
class ImageHashUtils
{
public static double CalcSimilarDegree(string f... |
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using Object = UnityEngine.Object;
namespace UGF.Module.Serialize.Utf8Json.Editor.Tests
{
public class Utf8JsonMathTypeGenerator : ScriptableObject
{
[SerializeField] private Object m_folder;
[SerializeField] ... |
using UnityEngine;
using Popcorn.Bases;
using Errors = Popcorn.Metadatas.Strings.Errors;
using ErrorsAuxs = Popcorn.Metadatas.Strings.ErrorsAuxs;
using CombineCharacters = Popcorn.Metadatas.Strings.CombineCharacters;
namespace Popcorn.Managers
{
public sealed class AudioManager : ManagerBase<AudioManager>
{
... |
// <copyright file="NameHashBenchmarks.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
using BenchmarkDotNet.Attributes;
using Corvus.Storage.Azure.BlobStorage;
namespace Corvus.Storage.Benchmarks
{
[MemoryDiagnoser]
[System.Diagnostics.CodeAnalysis.Suppre... |
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using System.Collections.Generic;
using System.Text;
using... |
// This file is a part of DiabloSpeech and is under the MIT license.
// See the LICENSE file at the root of the project for more information.
using System;
using System.Windows.Input;
namespace DiabloSpeech
{
public class RelayCommand : ICommand
{
Action<object> action;
#pragma warning disable 67
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TKGameUtilities.Graphics
{
/// <summary>
///
/// </summary>
/// <typeparam name="S">Shader</typeparam>
/// <typeparam name="O">Additional options</typeparam>
public in... |
using Assets.Scripts.Resources;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using Assets.Scripts.Barricade;
using Assets.Scripts.TimeManagment;
namespace Assets.Scripts.Waves
{
public class Wave : MonoBehaviour
{
public float Power = 1;
public ... |
using System.Net;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Newtonsoft.Json;
namespace AirView.Api.Core.ProblemDetails
{
public class UnprocessableEntityProblemDetails : Microsoft.AspNetCore.Mvc.ProblemDetails
{
public UnprocessableEntityProblemDetails(ModelSta... |
using System;
namespace MonoDevelop.FSharp.Gui
{
[System.ComponentModel.ToolboxItem(true)]
public partial class FSharpSettingsWidget : Gtk.Bin
{
public FSharpSettingsWidget ()
{
this.Build ();
}
public Gtk.CheckButton CheckInteractiveUseDefault { get { return checkInteractiveUseDefault; } }
public... |
using System;
using System.Linq;
using Core;
using Core.Bookings;
using Infrastructure;
using Xunit;
namespace UnitTests
{
public class BookRoomsTests
{
[Fact]
public void BookRoom_WithEmptyStore_ShouldBeSuccessful()
{
var store = new InMemoryStore();
Assert.Emp... |
//
// Copyright (c) 2006 Mainsoft Co.
//
// 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, publ... |
namespace B2CGraphClient
{
public class B2CGraphClientSettings : IB2CGraphClientSettings
{
public string aadGraphEndpoint { get; set; }
public string aadGraphResourceId { get; set; }
public string aadGraphSuffix { get; set; }
public string aadGraphVersion { get; set; }
p... |
using CSharpFunctionalExtensions;
using MediatR;
using System.Threading;
using System.Threading.Tasks;
using VRT.Resume.Application.Common.Abstractions;
namespace VRT.Resume.Application.Common.Commands.SetUserLanguage
{
public sealed class SetUserCultureCommand : IRequest<Result>
{
public SetUserCultu... |
/*
* File Name: Tree.cs
* Creat Date: 2017-3-22
* Description:
* Modify Content:
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tool.DAL
{
/*
* Description: Base class for combination mode
*/
public abstract class... |
@model TicketSystem.DatabaseRepository.Model.Venue
@if (TempData["notice"] != null)
{
<h4>@Html.Raw(TempData["notice"])</h4>
}
<h1>Venue tools</h1>
<h3>Add new venue</h3>
@using (Html.BeginForm("VenueAdd", "Home"))
{
@Html.LabelFor(m => m.VenueName, "Name")<br />
@Html.TextBoxFor(m => m.VenueName)<br /... |
using ExtendedXmlSerializer.Core.Specifications;
using System;
using System.Reflection;
namespace ExtendedXmlSerializer.ReflectionModel
{
sealed class IsAssignableGenericSpecification : ISpecification<TypeInfo>
{
readonly static GenericDefinitionCandidates Candidates = GenericDefinitionCandidates.Default;
reado... |
/*
| Version 10.1.84
| Copyright 2013 Esri
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law o... |
using AutoMapper;
using GrillMaster.Application.Common.Interfaces;
using GrillMaster.Application.GrillMenu.Commands.CalculateSchedule;
using GrillMaster.Application.GrillMenu.Interfaces;
using GrillMaster.Infrastructure.BinPack;
using GrillMaster.Infrastructure.BinPack._2D;
using GrillMaster.Infrastructure.BinPack.Enu... |
using System.ComponentModel.DataAnnotations;
using Adnc.Infr.Common.Exceptions;
namespace Adnc.Core.Shared.Entities
{
public abstract class EfEntity : IEfEntity<long>
{
/// <summary>
/// 唯一标识
/// </summary>
[Key]
public long Id { get; set; }
//private long _id;
... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Resgrid.Model.Repositories
{
/// <summary>
/// Interface IShiftSignupTradeRepository
/// Implements the <see cref="Resgrid.Model.Repositories.IRepository{Resgrid.Model.ShiftSignupTrade}" />
/// </summary>
/// <seealso cref="Resgrid.Model.R... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class Fader : MonoBehaviour
{
[HideInInspector]
public bool start = false;
[HideInInspector]
public float fadeDamp = 0.0f;
[HideInInspector]
public string fadeScene;
[Hi... |
/*
Sniperkit-Bot
- Status: analyzed
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common
{
public abstract class Cache<TKey, TValue> : IDisposable
where TValue : class
{
private readonly IDictionary<... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BlackJack.model
{
class Game
{
private model.Dealer m_dealer;
private model.Player m_player;
public Game()
{
m_dealer = new Dealer(new rules.RulesFactory());
... |
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System;
using System.Collections.Generic;
u... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lesson8
{
public class Bank
{
private static int Id;
public static double CreditPercent { get; set; }
private string _state;
public string Name { get;... |
// World Conquer Online Project 2.5517 - Phoenix Project Based
// This project has been created by Felipe Vieira Vendramini
// Source Infrastructure based on Phoenix Source, written by Gareth Jensen
// This source is targeted to Conquer Online, client version 5517
//
// Computer User: Felipe Vieira
// File Created by... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.