content stringlengths 23 1.05M |
|---|
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Touhou.Judgements;
namespace osu.Game.Rulesets.Touhou.Objects
{
/// <summary>
/// Used only for hit-sounds purposes. Will no affect combo/score.
/// </summary>
public class SoundHitObject : TouhouHitObject
{
public override Judgem... |
using System;
namespace Lykke.Service.Stellar.Api.Core.Domain.Transaction
{
public class TxHistory
{
public string FromAddress { get; set; }
public string ToAddress { get; set; }
public string AssetId { get; set; }
public long Amount { get; set; }
public string Hash... |
using Infrastructure.Commands;
namespace eShop.Configuration.Setup.Entities.Ordering.Commands
{
public class Seed : StampedCommand
{
}
}
|
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
using Microsoft.VisualStudio.Text;
using VsChromium.ChromiumEnlistment;
using VsChromium.Core.Files;
namespace VsChromium.Features.ChromiumCodin... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace DotNetty.Buffers.Tests
{
using System;
using System.Threading.Tasks;
using Xunit;
public partial class ReadOnlyByteBufferStreamTests
{
... |
@{
ViewBag.PageTitle = PopForums.Resources.EmailUsers;
Layout = "~/Areas/PopForums/Views/Admin/AdminMaster.cshtml";
}
<h1>@PopForums.Resources.EmailUsers</h1>
@if (ViewBag.Result != null)
{<p class="bg-danger callout">@ViewBag.Result</p>}
@using (Html.BeginForm())
{
<div role="form">
<div class... |
using System.Collections.Generic;
using UnityEngine;
namespace Edgar.Unity
{
/// <summary>
/// Base class for room in a level graph.
/// </summary>
public abstract class RoomBase : ScriptableObject
{
/// <summary>
/// Position of the room in the graph editor.
/// </summary>... |
namespace Service.Contract {
public class MovieContract : ProviderContract {
public override bool UserCheck(IUser user) {
return base.UserCheck(user);
}
public override bool PreContract(IUser user, IGoods goods) {
return true;
}
public override bool... |
[UsesVerify]
public class LinesScrubberTests
{
[Fact]
public Task ScrubLinesContaining()
{
var settings = new VerifySettings();
settings.ScrubLinesContaining("c", "D", "F");
return Verify(
settings: settings,
target: @"a
b
c
D
e
f");
}
... |
using System;
public abstract class Elem
{
public abstract Type getType<T>();
}
public sealed class TextElem : Elem
{
public override Type getType<T>()
{
return typeof(T);
}
}
public class OtherTextElem : Elem
{
public sealed override Type getType<T>()
{
return typeof(T);
... |
namespace GW2BuildLibrary
{
/// <summary>
/// The available professions.
/// </summary>
public enum Profession : byte
{
None = 0,
Guardian = 1,
Dragonhunter = (TemplateHelper.HeartOfThorns << 4) | Guardian,
Firebrand = (TemplateHelper.PathOfFire << 4) | Guardian,
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UniRx;
public class Legislator : MonoBehaviour
{
// Start is called before the first frame update
private void Awake()
{
}
void WatchGameEnd()
{
GameEvents.Sigton.onGameEnd += () =>
{
... |
//-----------------------------------------------------------------------
// <copyright company="CoApp Project">
// Copyright (c) 2010-2012 Garrett Serack and CoApp Contributors.
// Contributors can be discovered using the 'git log' command.
// All rights reserved.
// </copyright>
// <license>
// ... |
using FluentAssertions;
using SqlFu.Mapping.Internals;
using Xunit;
namespace Tests.Mapping
{
public class MapperFactoryTests
{
private MapperFactory _sut;
public MapperFactoryTests()
{
_sut = Setup.MapperFactory();
}
[Fact]
public void same_reader... |
using System;
using System.Net.Http;
using System.Threading.Tasks;
using VetMarkets.Business.Services.Contracts;
using VetMarkets.Data.Services;
using VetMarkets.Models.ApiResponse;
namespace VetMarkets.Business.Services
{
public class MagazineBusinessService : IMagazine
{
private VetMarkets.Data.Serv... |
using System;
using System.Collections.Generic;
using System.Linq;
using Castle.DynamicProxy;
using ThirdPartyExtension.LockService;
namespace ThirdPartyExtension
{
public class LockerInterceptor : IInterceptor
{
private readonly ISysLog _log;
public LockerInterceptor(ISysLog log)
{
... |
using Models.CLEM.Resources;
using System;
using System.Collections.Generic;
using System.Linq;
using DocumentFormat.OpenXml.Spreadsheet;
using DocumentFormat.OpenXml.Packaging;
namespace Reader
{
public partial class IAT
{
/// <summary>
/// Fodder pools used in the simulation.
/// Key... |
using Manufaktura.Controls.Extensions;
using Manufaktura.Controls.Model;
using Manufaktura.Controls.WinForms;
using Manufaktura.Music.Model;
using Manufaktura.Music.Model.MajorAndMinor;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threadin... |
namespace StackFlow.Controllers
{
/// <summary>
/// AggregateController has a bunch of controllers
/// </summary>
public class AggregateController : IController
{
private readonly IController[] _BabyControllers;
public void Initialize(IStackFlowForm form)
{
for (... |
// 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;
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Features
{
/// <summary>
/// Feature for efficiently handling connection time... |
using System.Collections.Generic;
namespace Chest.Client.Models.Responses
{
/// <summary>
/// Response model to get all localized values by locale
/// </summary>
public class GetLocalizedValuesByLocaleResponse
{
/// <summary>
/// Localized values as a flat object
... |
using Plugin.Battery.Abstractions;
using UIKit;
using Foundation;
namespace Plugin.Battery
{
/// <summary>
/// Implementation for Battery
/// </summary>
public class BatteryImplementation : BaseBatteryImplementation
{
NSObject batteryLevel, batteryState;
/// <summary>
/// D... |
using System;
namespace GraduatedCylinder
{
public class Time : Dimension,
IDimension<TimeUnit>,
IEquatable<Time>,
IComparable<Time>
{
public Time(double value, TimeUnit units)
: base(value, units) { }
public T... |
using System.IO;
using System.Threading.Tasks;
namespace Documentor.Services
{
public interface ICacheManager
{
DirectoryInfo GetCacheDirectory();
Task SaveToCacheAsync(string cachename, string cache);
Task<string> LoadFromCacheAsync(string cachename);
void ClearCache();
... |
namespace RobloxFiles.DataTypes
{
public class NumberSequenceKeypoint
{
public readonly float Time;
public readonly float Value;
public readonly float Envelope;
public override string ToString()
{
return $"{Time} {Value} {Envelope}";
}
publi... |
using System;
using System.IO;
using System.Text;
using UnityEngine;
using UnityEngine.UI;
namespace BeatThat.Serializers.Examples
{
/// <summary>
/// Another simple example just uses async read call
/// </summary>
public class Examples_JsonReader_Async : MonoBehaviour
{
[Serializable]
... |
using System.Collections.Generic;
namespace MyVSTSFunction
{
public class WorkItemList
{
public int count { get; set; }
public List<Value> value { get; set; }
}
} |
#region License
// // Разработано: Коротенко Владимиром Николаевичем (Vladimir N. Korotenko)
// // email: koroten@ya.ru
// // skype:vladimir-korotenko
// // https://vkorotenko.ru
// // Создано: 20.06.2020 9:51
#endregion
using System;
namespace NAddressGen.Code
{
public class Parent
{
public Guid A... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Buffers;
using System.Buffers.Binary;
using System.Diagnostics;
using System.IO;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Thread... |
@using VendorAndOrderTracker.Models;
<h1>List of Vendors</h1>
<p>Here is a list of all of your current vendors:<p>
@if (Model.Count == 0)
{
<p>No vendors added yet.</p>
}
else
{
<ul>
@foreach (Vendor vendor in Model)
{
<li><a href="/vendors/@vendor.Id">@vendor.Name</a></li>
}
</ul>
}
<a href="/... |
using Xunit;
namespace TodoList
{
public class TodoControllerTests
{
[Fact]
public void CanAddItems()
{
var repo = new MemoryRepository();
var todo = new TodoList(repo);
var controller = new TodoController(todo);
controller.Input("add it... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using RazorSharp.Interop.Utilities;
using RazorSharp.Memory.Pointers;
namespace RazorSharp.Interop
{
public static partial class Functions
{
/// <summary>
/// Provides methods for dynamic function invocation.
/// ... |
using System.Collections.Generic;
using NCR.Internal;
namespace NCR.Models
{
/// <summary>
/// 运算结果
/// </summary>
public class ComputeResult
{
public ComputeResult()
{
Infos = new List<ComputeResultInfo>();
}
/// <summary>
/// 是否命中
/// <... |
using System;
using System.Collections;
using System.Collections.Generic;
using Whathecode.System.Algorithm;
namespace Whathecode.System.Algorithm.Interpolation
{
/// <summary>
/// A collection of key points to be used by AbstractInterpolation.
/// The key points are accessible by index.
/// </summary>
/// <typ... |
using Foundation;
using System;
using UIKit;
using JASidePanels;
namespace TechTalk.iOS
{
public partial class MainMenuViewController : JASidePanelController
{
public MainMenuViewController (IntPtr handle) : base (handle)
{
}
public override void AwakeFromNib() {
... |
namespace ErsatzTV.Core.Domain.Filler;
public enum FillerMode
{
None = 0,
Duration = 1,
Count = 2,
Pad = 3
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Wyszukiwarka {
public class Flight {
private string carrier;
private string departure_time;
private string departure_city;
private string stops;
pri... |
using System;
using SqlRepo.Model;
namespace GettingStarted.SqlServer.Shared
{
public class ToDo : Entity<int>
{
public DateTime CreatedDate { get; set; }
public bool IsCompleted { get; set; }
public string Task { get; set; }
}
} |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using TeamBins.Common;
using TeamBins.Common.ViewModels;
using TeamBins.Infrastrucutre;
using TeamBins.Infrastrucutre.Filters;
usin... |
namespace InfoReaderPlugin.I18n
{
public interface ILanguageFileUpdater: ILanguageFileWriter
{
bool NeedUpdate(string languageId);
}
}
|
using Amplify.Web.Custom.Services;
using Umbraco.Web.Mvc;
using Umbraco.Web.PublishedModels;
namespace Amplify.Web.Custom.Controllers
{
public class BaseController : RenderMvcController
{
protected readonly SiteConfig SiteConfig;
public BaseController(ISiteService siteConfigService)
{... |
using System;
using System.Text;
class AnyBaseSToAnyBaseD
{
static void Main()
{
Console.WriteLine("Enter a numeral system base 's': ");
int sBase = int.Parse(Console.ReadLine());
Console.WriteLine("Enter a numeral system base 'd': ");
int dBase = int.Parse(Console.ReadLine());... |
using System;
using SFA.DAS.Reservations.Domain.Entities;
namespace SFA.DAS.Reservations.Functions.LegalEntities.AcceptanceTests
{
public class TestData
{
public AccountLegalEntity AccountLegalEntity { get; set; }
public Course Course { get; set; }
public Guid ReservationId { ... |
using GDAPI.Application.Editors.Delegates;
namespace GDAPI.Application.Editors.Actions.EditorActions
{
/// <summary>Represents an editor action that changes the value of a <see langword="double"/> property.</summary>
public abstract class DoubleEditorAction : EditorActionNewOldValue<double>
{
/// ... |
@using Peachpie.AspNetCore.Mvc;
@{
ViewData["Title"] = "Home Page";
}
<h1>Razor View</h1>
@Html.Php("test.php") |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Acs3;
using Acs7;
using AElf.Contracts.CrossChain;
using AElf.Contracts.MultiToken.Messages;
using AElf.Contracts.ParliamentAuth;
using AElf.Contracts.TestBase;
using AElf.CrossChain;
using AElf.Cryptography.ECDSA;
us... |
using System;
using System.Collections.Generic;
namespace MassiveKnob.Plugin.SerialDevice
{
[MassiveKnobPlugin]
public class MassiveKnobSerialDevicePlugin : IMassiveKnobDevicePlugin
{
public Guid PluginId { get; } = new Guid("276475e6-5ff0-420f-82dc-8aff5e8631d5");
public string Name { get... |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using FluentValidation;
using GraphQL;
using VerifyXunit;
using Xunit;
#region QueryTests
[UsesVerify]
public class QueryTests
{
[Fact]
public Task RunInputQuery()
{
var field = new Query().GetField("inputQuery... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ISAAR.MSolve.Matrices;
using ISAAR.MSolve.Solvers.Interfaces;
using ISAAR.MSolve.Matrices.Interfaces;
using System.Threading;
using System.Threading.Tasks;
using System.IO;
using System.Diagnostics;
namespace ISAAR.MSolve.Solv... |
// 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.Globalization;
using System.Reflection;
using System.Text;
using System.Threading;
namespace System.Web... |
using System;
using System.Text;
namespace Clarity.Common.CodingUtilities.Sugar.Extensions.Common
{
public static class ExceptionExtensions
{
public static string GetCompleteMessage(this Exception ex)
{
var builder = new StringBuilder();
var currentEx = ex;
... |
using System;
using UnityEngine;
public class GrenadeClient : MonoBehaviour
{
public GameObject geometry;
public SpatialEffectTypeDefinition explodeEffect;
public SoundDef bounceSound;
[NonSerialized] public bool exploded;
[NonSerialized] public int bounceTick;
}
|
using System;
using Xunit;
using Xunit.Extensions;
using Xunit.Abstractions;
using SafelyUnsafe;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using static test.Platform;
namespace test
{
public unsafe partial class UnsafeExtraTest
{
[Fact]
public void ElementOf... |
using System;
#nullable enable
namespace EventStore.Client {
/// <summary>
/// The exception that is thrown when <see cref="System.Net.EndPoint"/> discovery fails.
/// </summary>
public class DiscoveryException : Exception {
/// <summary>
/// The configured number of discovery attempts.
/// </summary>
pub... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DgInitEFCore
{
/// <summary>
/// EF Core 入门
/// https://docs.microsoft.com/zh-cn/ef/core/get-started/?tabs=netcore-cli
///
/// </summary>
public ... |
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.Controls;
using PrimeInputActions;
using Touch = UnityEngine.InputSystem.EnhancedTouch.Touch;
public static class InputUtils
{
public const float DoubleClickThresholdInSeconds = 0.3f;
public static EKeyboardModifier GetCurrent... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AssignmentOne.Interfaces
{
public interface IGeometricalThings
{
public float GetArea();
public float GetPerimeter();
}
}
|
using ExtendedXmlSerializer.ContentModel.Format;
using ExtendedXmlSerializer.Core.Sources;
namespace ExtendedXmlSerializer.ContentModel
{
sealed class GenericReaderAdapter<T> : IReader
{
readonly IReader<T> _serializer;
public GenericReaderAdapter(IReader<T> serializer) => _serializer = serializer;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ManiaPlanetSharp.GameBox.Classes.Map
{
public class GbxCustomMusicClass
: Node
{
public FileReference CustomMusic { get; set; }
}
public class GbxCustomMusicClassParser
: ClassParser<GbxCustomMusicCla... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Oni.Utilities
{
public class CheckValue
{
public static void NotNullOrEmpty<T>(Action action, T value)
{
if (value == null || IsEmptyString(value))
... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Text;
namespace Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.Utility
{
internal class ParamValidator
{
intern... |
using System;
namespace Mono.Debugger.Soft
{
public class VMDeathEvent : Event
{
public VMDeathEvent (VirtualMachine vm, int req_id) : base (EventType.VMDeath, vm, req_id, -1) {
}
}
}
|
using HoloToolkit.Unity.InputModule;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GetHigh : MonoBehaviour, IInputClickHandler
{
public GameObject objHigh;
private Vector3 high=Vector3.zero;
public Vector3 High
{
get
{
if(!isCl... |
namespace SheepReaper.GameSaves.Klei.Schema.Oni
{
public class WorldDetail
{
public int GlobalNoiseSeed { get; set; }
public int GlobalTerrainSeed { get; set; }
public int GlobalWorldLayoutSeed { get; set; }
public int GlobalWorldSeed { get; set; }
public object[] Overwo... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... |
using Nancy;
using OmniSharp.Solution;
namespace OmniSharp.ReloadSolution
{
public class ReloadSolutionModule : NancyModule
{
public ReloadSolutionModule(ISolution solution)
{
Post["/reloadsolution"] = x =>
{
solution.Reload();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace JasterValidate
{
public class RulesetEntry
{
public string Name { get; set; }
public IList<string> Params { get; set; }
public RulesetEntry()
{
this.Params... |
using Assertive.Interfaces;
namespace Assertive.Analyzers
{
internal class FriendlyMessage
{
internal FriendlyMessage(string? message, IFriendlyMessagePattern pattern)
{
Message = message;
Pattern = pattern;
}
public string? Message { get; set; }
public IFriendlyMessagePattern Pat... |
namespace EA.Iws.Core.TransitState
{
using System;
using Shared;
using TransportRoute;
public class TransitStateData
{
public Guid Id { get; set; }
public CountryData Country { get; set; }
public CompetentAuthorityData CompetentAuthority { get; set; }
public Entr... |
using System;
namespace Clipboard_History.DL
{
class ClipObject
{
public DateTime Time { get; set; }
public string Content { get; set; }
}
}
|
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows.Controls;
using System.Windows.Media;
using FacePalm.Annotations;
namespace FacePalm {
public abstract class LineBase : IGeometryObject,
INotifyPropertyChanged {
private string _des... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DurableFileProcessing.Tests.ActivityFunctions
{
public class HashGeneratorTests
{
public class RunMethod : HashGeneratorTests
{
}
}
}
|
using IdentityServer4.Models;
using IdentityServer4.Postgresql.Mappers;
using Xunit;
namespace IdentityServer4.Postgresql.UnitTests
{
public class PersistedGrantMapperTests
{
[Fact]
public void PersistedGrantAutomapperConfigurationIsValid()
{
var model = new PersistedGrant(... |
// DigitalesSchaufenster (C) 2020 DIH-OST
using System;
namespace WebRestApi.Helper
{
/// <summary>
/// <para>Helper for processing images</para>
/// Klasse ImageHelper. (C) 2019 FOTEC Forschungs- und Technologietransfer GmbH
/// </summary>
public static class ImageHelper
{
pu... |
namespace Stats.Config
{
public class ConfigurationItemData
{
public ConfigurationItemData(ItemData itemData, bool enabled, int criticalThreshold, int sortOrder)
{
ItemData = itemData;
Enabled = enabled;
CriticalThreshold = criticalThreshold;
Sort... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace tspHandler
{
public static partial class tspProcessor
{
private const string reserved_lazyLoad = "reserved_lazyLoad";
public static HtmlDocumentFacade ProcessLazyElements(this HtmlDocumentFacade d... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Domain.Repositories;
using Domain.Entities;
using Domain.Entities.Interfaces;
using Domain.Entities.Roles;
using Microsoft.EntityFrameworkCore;
using Domain.UseCase.UserServices;
using Domain.ViewModel.Users;
namespace Infra.Datab... |
// ReSharper disable UnusedMember.Global
namespace TextrudeInteractive.Monaco.Messages
{
/// <summary>
/// Sent TO Monaco to set up initial formatting
/// </summary>
public record Setup : MonacoMessages
{
public Setup(bool isReadOnly, string format)
{
IsReadOnly =... |
using CompleteProject;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ItemMagnet : MonoBehaviour {
public float speed;
EmotionManager emotionManager;
public Transform player;
public PlayerHealth playerHealth;
public bool moving;
// Use this f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WebDemo.Infrastructure.ModelMetadata
{
public interface ModelMetadataConvention
{
void Apply(System.Web.Mvc.ModelMetadata metadata);
}
}
|
using System;
using System.Collections.Generic;
using System.Drawing;
namespace gvaduha.Common
{
public struct BBox
{
public int Top { get; set; }
public int Left { get; set; }
public int Bottom { get; set; }
public int Right { get; set; }
public BBox(int top, int left,... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Linq;
namespace UniRx.Tests
{
[TestClass]
public class ObservableConcatTest
{
[TestMethod]
public void Concat()
{
var a = Observable.Range(1, 5, Scheduler.Th... |
using System.Text.RegularExpressions;
using Potato.Net.Protocols.Objects;
namespace Potato.Net.Protocols.CallOfDuty.Objects {
public interface ICallOfDutyObject {
NetworkObject Parse(Match match);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
namespace BizHawk.Emulation.Common
{
/// <summary>
/// A generic implementation of IEmulatorService provider that provides
/// this functionality to any core.
/// The provider will scan an IEmulator and register all IEmulatorServices
//... |
/// <summary>
/// <para>
/// This struct represents a parsed user input in prompt app.
/// TODO Unify this structure with the predefined commands in
/// the prompt app. Then it maybe better should be a class rather
/// than a struct.
/// </para>
/// </summary>
public struct PromptCommand
{
public readonly string c... |
using System.Collections.Generic;
using KDBush;
namespace BojkoSoft.Transformations.ControlPoints
{
internal class BGS1970K9 : ControlPointsClass
{
public BGS1970K9() : base()
{
this.InitPoints();
this.InitTree();
}
internal void InitPoints()
{
... |
namespace EA.Iws.Domain
{
using System;
using Prsd.Core;
public class Percentage
{
public decimal Value { get; private set; }
protected Percentage()
{
}
public Percentage(decimal value)
{
if (value > 100)
{
throw... |
@*
*@
<div class="col-lg-3">
<div class="alert alert-info">
<h6>@ViewBag.User</h6>
</div>
</div> |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ratchet.Audio
{
public abstract class RecordingClient
{
public abstract int ChannelCount { get; }
public abstract Type Format { get; }
public abstract uint SampleRate { get; }
publi... |
using System;
namespace CondeJem2020Qualify
{
public class ConsoleInputProvider: IInputProvider
{
public string ReadLine()
{
return Console.ReadLine();
}
}
}
|
//
// Copyright (c) .NET Foundation and Contributors
// See LICENSE file in the project root for full license information.
//
using Mono.Cecil;
using System;
namespace nanoFramework.Tools.MetadataProcessor.Core.Extensions
{
internal static class TypeDefinitionExtensions
{
public static bool IncludeInS... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System... |
using System;
using System.ComponentModel.Design;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using Xamarin.Forms.Player.Diagnostics;
namespace Xamarin.Forms.Player
{
[PackageRegistration... |
using System;
using System.ComponentModel.Composition;
using BattleInfoPlugin.Models.Repositories;
using BattleInfoPlugin.ViewModels;
using BattleInfoPlugin.Views;
using BattleInfoPlugin.Models;
using Grabacr07.KanColleViewer.Composition;
namespace BattleInfoPlugin
{
[Export(typeof(ILocalizable))]
[Export(typ... |
using class02.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace class02.Controllers
{
//route https://localhost:5001/api/orders
[Route("api/[controller]")]
[ApiController]
... |
namespace SD {
public class Sd {
static public void F (bool b) { }
}
}
namespace Foo {
using SD;
partial class Bar {
delegate void f_t (bool b);
f_t f = new f_t (Sd.F);
}
}
namespace Foo {
partial class Bar
{
public Bar () {}
static void Main ()
{
if (new Bar ().f == null)
throw new System.E... |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace Bonsai.Designer
{
/// <summary>
/// Emits inputs events for the editor.
/// </summary>
public class BonsaiInput : IDisposable
{
private readonly GenericMenu nodeTypeSelectionMenu = new Gen... |
using Microsoft.Xna.Framework.Graphics;
using Xen2D;
namespace PlatformerXen
{
public enum TexId : int
{
[ContentIdentifier( "sprites\\gem" )]
Gem,
[ContentIdentifier( "tiles\\blockb0" )]
BlockB0,
[ContentIdentifier( "sprites/player/idle" )]
Player_Id... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xunit;
namespace AustrianTvScrapper.Services.IO
{
public class OrfTvSeriesSubscriptionReaderWriterTests
{
[Fact]
public void ReadWrite()
{
var data = new List<OrfTvSeriesSubscription>()... |
using System;
using MovementNEW;
using ScriptableDialogueSystem.Editor.DialogueTypes;
using UnityEngine;
namespace Pages
{
public class Page : DialogueObject, IInteract
{
[Header("Page Information")]
[SerializeField] private int _pageClass;
[SerializeField] private bool _pureEvil;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.