content stringlengths 23 1.05M |
|---|
using System;
using System.Collections.Generic;
namespace WebApi.ViewModels
{
public class PassageGroupList
{
public string? CopyrightNotice { get; }
public IEnumerable<PassageGroup> PassageGroups { get; }
public PassageGroupList(string? copyrightNotice, IEnumerable<PassageGroup> pas... |
using Newtonsoft.Json;
using System.Web.Http;
using Vstack.Api.General;
using Vstack.Api.Web.General;
using Vstack.Common.Extensions;
using Vstack.Services.Web.General;
namespace WebApi.App_Start
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
... |
using ReactiveWebsocket.Model;
namespace ReactiveWebsocket.Abstractions
{
public interface IConnectionProfile
{
MessageType MessageType { get; }
ISerializer Serializer { get; }
IDeserializer Deserializer { get; }
}
} |
using UnityEngine;
namespace Gamekit3D.GameCommands
{
public class ToggleGameObjectActive : GameCommandHandler
{
public GameObject[] targets;
public override void PerformInteraction()
{
foreach (var g in targets)
g.SetActive(!g.activeSelf);
}
}
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using EssentialTraning;
namespace EssentialTraningTest
{
[TestClass]
public class AwesomeSauceTest
{
[TestMethod]
public void IsSauceAwesomTest()
{
var testInstance = new AwesomSauce();
testIn... |
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Text.RegularExpressions.Capture))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Text.RegularExpressions.CaptureCollection))]
[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Text.RegularExpressions.... |
using Aspose.Cells.Charts;
using System;
using Aspose.Cells.Drawing;
namespace Aspose.Cells.Examples.CSharp.Charts
{
public class InsertCheckboxInChartSheet
{
//Output directory
static string outputDir = RunExamples.Get_OutputDirectory();
public static void Run()
{
... |
using NBi.Core.ResultSet.Combination;
using NBi.Core.ResultSet.Resolver;
using NBi.Core.Scalar.Resolver;
using NBi.Core.Sequence.Resolver;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NBi.Core.Injecti... |
using System.Threading.Tasks;
namespace Pds.Contracts.ContractEventProcessor.Services.Interfaces
{
/// <summary>
/// It will read a list and download a file from the sahrepoint.
/// </summary>
public interface ISharePointClientService
{
/// <summary>
/// Check and download file for... |
using System.Collections.Generic;
using Orchard.ContentManagement.MetaData.Models;
using Orchard.MediaLibrary.Models;
namespace Orchard.MediaLibrary.ViewModels {
public class MediaManagerEditApiViewModel {
public int[] Ids { get; set; }
}
} |
using System.Collections.Generic;
namespace Dynamo.Session
{
/// <summary>
/// Represents a session object for current execution.
/// </summary>
public interface IExecutionSession
{
/// <summary>
/// File path for the current workspace in execution. Could be null or
/// emp... |
using uTinyRipper.Converters;
using uTinyRipper.YAML;
namespace uTinyRipper.Classes.ParticleSystems
{
public struct ParticleSystemEmissionBurst : IAssetReadable, IYAMLExportable
{
public ParticleSystemEmissionBurst(float time, int minValue, int maxValue)
{
Time = time;
CycleCount = 1;
RepeatInterval = 0... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Amazon.DNXCore.IntegrationTests
{
public sealed class TestExecutionContext : IDisposable
{
private Action _teardown;
public TestExecutionContext(Action setup, Action teardown)
{
... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace JoinRpg.Web.Models.FieldSetup
{
public class GameFieldCreateViewModel : GameFieldViewModelBase
{
[Display(Name = "Тип поля")]
public ProjectFieldViewType FieldViewType { get; set; }
[Display(Name =... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using LooseLeaf.Business.Models;
namespace LooseLeaf.Web.DTOs
{
public class OwnedBookData : IValidatableObject
{
[Required]
public string Isbn { get; s... |
using System;
using System.Globalization;
namespace Jojatekok.XmrToAPI.Demo
{
class Program
{
private static readonly CultureInfo InvariantCulture = CultureInfo.InvariantCulture;
static void Main()
{
var conversionInfo = XmrToClient.QueryConversionInfo();
Cons... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using Microsoft.Templates.Core;
using Microsoft.Templat... |
using System.ComponentModel;
using System.Runtime.Serialization;
using Prime.Infrastructure;
namespace Prime.Models.Api
{
[TypeConverter(typeof(EnumTypeConverter<SubmissionAction>))]
public enum SubmissionAction
{
Approve,
[EnumMember(Value = "accept-toa")]
AcceptToa,
[EnumM... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Firebase.Auth;
using Firebase.Database;
using Firebase.Firestore;
using Firebase.Extensions;
using Query = Firebase.Firestore.Query;
[System.Serializable]
public class JsonPlay
{
public string book_number;
public string questi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using System;
public class Score_Display : MonoBehaviour
{
public TMP_Text test;
public static Score_Display instance;
public bool isSoloGame;
public int latest_SoloScore=0,latestDuoScore=0;
private Solo_Gam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Archimedes.Framework.Context.Annotation;
using Archimedes.Framework.SampleApp.Mock;
using Archimedes.Framework.SampleApp.Model;
namespace Archimedes.Framework.SampleApp
{
[Configuration] // Marks this class as a configrua... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Core;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Animat... |
using System.Threading.Tasks;
using ApiService.Contracts.ManagerApi;
using CartService.Contracts;
using FeedbackService.Contracts;
using HistoryService.Contracts;
using MassTransit;
using Microsoft.Extensions.Logging;
namespace OrderOrchestratorService.Consumers
{
public class GetArchivedOrderConsumer : IConsumer... |
using PackUtils;
namespace AspNetScaffolding.Extensions.JsonSerializer
{
public static class CaseUtility
{
public static JsonSerializerEnum JsonSerializerMode { get; set; }
public static string GetValueConsideringCurrentCase(this string value)
{
switch (JsonSerializerMode)... |
using Avalonia.Controls;
using QuestPatcher.Core;
using QuestPatcher.Models;
using QuestPatcher.Services;
using QuestPatcher.Views;
using ReactiveUI;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Reflection;
using System.Threading.Tasks;
namespace QuestPatcher.ViewModels
{
publi... |
using AspNetCore.Identity.CouchDB.Models;
using FluentAssertions;
using System;
using System.Security.Claims;
using System.Threading.Tasks;
using Xunit;
namespace Tests.Integration.Roles
{
public class RoleClaimStoreTests : BaseTest<CouchDbUser, CouchDbRole>
{
private const string ClaimType = "role_cl... |
using UnityEngine;
using UnityEngine.SceneManagement;
public class PlayerNetwork : MonoBehaviour {
public static PlayerNetwork Instance;
public string PlayerName { get; private set; }
private PhotonView PhotonView;
private int PlayersInGame = 0;
private void Awake()
{
Instance = this... |
//-----------------------------------------------------------------------------
// Copyright : (c) Chris Moore, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
partial class fma... |
using Kzrnm.Competitive;
using Kzrnm.Competitive.IO;
namespace AtCoder.Solvers.MathN
{
public class ConvolutionSolver : ISolver
{
public string Name => "convolution_mod";
public void Solve(ConsoleReader cr, ConsoleWriter cw)
{
int n = cr;
int m = cr;
... |
using System;
using NUnit.Framework;
using Ripple.Testing.Utils;
namespace Ripple.Testing.NUnit3
{
public class NUnitFixtureScopedRippledBase : FixtureScopedRippledBase
{
[SetUp]
public override void PerformSetUp()
{
SetUpTest();
}
[TearDown]
public ... |
using System;
using System.Buffers.Binary;
/*
Copyright 2015-2021 Richard S. Tallent, II
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 r... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UiBotonIconoID : MonoBehaviour {
public GameObject Duenio;
public string Id;
public string EtiquetaMensaje;
[SerializeField]
private Image IconoImage;
[SerializeField]
private... |
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
namespace Rebalanser.RabbitMQTools;
internal class Program
{
private static void Main(string[] args)
{
if (args.Length == 0)
{
Console.WriteLine("Invalid command");
Environment.Ex... |
namespace Babel.Core.ViewModels
{
public class SecondViewModel
: BaseViewModel
{
}
} |
@using Microsoft.AspNetCore.Identity
@using CommunityFitChallenge.Web
@using CommunityFitChallenge.Web.Data
@namespace CommunityFitChallenge.Web.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
using System;
using System.Collections.Generic;
using System.Linq;
using Haruair.Command.Interface;
namespace Haruair.Command
{
public class Commander
{
protected IList<Type> Commands
{
get;
set;
}
public IRequestParser RequestParser
{
get;
set;
}
public IPrompter Prompter
{
get;
... |
using SFA.DAS.ApprenticeAccounts.Infrastructure.Mediator;
using System;
#nullable disable
namespace SFA.DAS.ApprenticeAccounts.Application.Commands.CreateRegistrationCommand
{
public class ChangeEmailAddressCommand : IUnitOfWorkCommand
{
public ChangeEmailAddressCommand(Guid apprenticeId, string emai... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DataSorcererNet.Schema
{
public class SchemaNodeDateTime : SchemaNode
{
public SchemaNodeDateTime() : this(SchemaNodeDateTimeFormat.DateTime, null, null)
{
}
public SchemaNodeDateTime(SchemaNodeDateTi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ReorderableList : MonoBehaviour {
public Transform[] sockets;
public GameObject nodePrefab;
public List<Node> nodes = new List<Node>();
void Start() {
foreach(Transform socket in sockets) {
createNode(socke... |
namespace CognitiveServices.FaceApi.Models.Services
{
public class HairColor
{
public string Color { get; set; }
public double Confidence { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using ShoutBook.Models;
namespace ShoutBook.Data
{
public class ApplicationDbContext : IdentityDbContext
{
public ApplicationDbContext(DbCont... |
using static System.Console;
namespace ExploringCS72
{
public class AccessModifiers
{
private int InTypeOnly;
internal int InSameAssembly;
protected int InDerivedType;
internal protected int InSameAssemblyOrDerivedType;
private protected int InSameAssemblyAndDerivedType... |
using ServiceStack.DataAnnotations;
namespace iayos.flashcardapi.Domain.Concrete.MsSql.Tables
{
public abstract class AuditableTable
{
//public Guid Id { get; set; }
public bool IsDeleted { get; set; }
[RowVersion]
public ulong RowVersion { get; set; }
}
}
|
//[?] var 키워드: 암시적으로 형식화된 로컬 변수
using System;
class Var
{
static void Main()
{
var name = "C#"; // string 형식으로 변환해줌
Console.WriteLine(name); // C#
var version = 8.0; // double 형식으로 변환해줌
Console.WriteLine("{0:0.0}", version); // 8.0
}
}
|
namespace Common.Kafka.Tests.Fakes
{
[MessageTopic("fake-messages")]
public class FakeMessage : IMessage
{
public FakeMessage(string key, string someProperty)
{
Key = key;
SomeProperty = someProperty;
}
public string Key { get; set; }
public ... |
using Akroma.Web3.Model.HexTypes;
using Newtonsoft.Json;
namespace Akroma.Web3.Model
{
public class Transaction
{
[JsonProperty(PropertyName = "hash")]
public string Hash { get; set; }
[JsonProperty(PropertyName = "nonce")]
public HexBigInteger Nonce { get; set; }
[Jso... |
using BenchmarkDotNet.Portability;
namespace BenchmarkDotNet.Helpers
{
internal static class UserInteractionHelper
{
/// <summary>
/// If you are going to show a command example which should be typed by user in a terminal,
/// all asterisk symbols ('*') should be escaped with the help o... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NarrativeWorldCreator.Models.NarrativeRegionFill
{
public class Predicate
{
public PredicateType PredicateType { get; set; }
// Holds a string representation of entika ... |
using System;
using System.Collections.Generic;
using System.Linq;
using Lpp.Dns.Data;
using Lpp.Dns.Portal.Models;
namespace Lpp.Dns.Portal
{
public interface IRequestService
{
RequestHeader CreateHeader( Request request );
IRequestContext CreateRequest( Project project, Lpp.Dns.Portal.Plugin... |
namespace Casimodo.Lib.Web.Auth
{
public enum BasicAuthResult
{
Ok,
NotAttempted,
MissingCredentials,
InvalidCredentials,
InvalidUserNameOrPassword,
InvalidHeader
}
}
|
using System;
using Legacy.Core.Entities.Items;
namespace Legacy.Core.PartyManagement
{
public struct InventorySlotRef : IEquatable<InventorySlotRef>
{
public static InventorySlotRef Empty = new InventorySlotRef(null, -1);
public IInventory Inventory;
public Int32 Slot;
public InventorySlotRef(IInventory... |
namespace Evans.Utility
{
public static class EvansConst
{
public static string Indent = " ";
}
} |
using System;
using System.Text.RegularExpressions;
namespace MvcFramework.Attributes.Validation
{
public class RegexAttribute : ValidationAttribute
{
private readonly string pattern;
public RegexAttribute(string pattern, string errorMessage = DefaultErrorMessage) : base(errorMessage)
{
this.pattern = pat... |
namespace NgxLib.Collisions
{
/// <summary>
/// The masks of two components that can collide and
/// the message id to fire when the collision occurs.
/// </summary>
public struct CollisionPair
{
public readonly Mask Left;
public readonly Mask Right;
public readonly int... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AGS.CScript.Compiler
{
/// <summary>
/// Represents a non-local variable (ie. a global var or struct member)
/// </summary>
internal class FixedOffsetVariable : ScriptVariable, IComparable<FixedOffsetVariable>
{
... |
using System;
using System.IO;
using System.Reflection;
namespace Gherkin.Specs.Helper
{
internal static class TestFolders
{
public static string InputFolder
{
get
{
var inputFolder = Path.GetDirectoryName(typeof(TestFolders).GetTypeInfo().Assembly.Loc... |
using System;
using System.Collections.Generic;
using System.Globalization;
namespace OCP.Class
{
public class CashierLoggerDecorator : ICashier
{
private ISession _Session;
private ILogger _Logger;
private ICashier _Decorated;
public CashierLoggerDecorator(ICashier decorated,... |
using System;
namespace DiaryScheduler.ScheduleManagement.Core.Models
{
/// <summary>
/// The calendar event domain model.
/// </summary>
public class CalEventDm
{
/// <summary>
/// Gets or sets the calendar entry id.
/// </summary>
public Guid CalendarEntryId { get... |
using System;
using System.Collections.Generic;
using DNTProfiler.Common.Logger;
using DNTProfiler.Common.Models;
using DNTProfiler.Common.Mvvm;
namespace DNTProfiler.Infrastructure.ScriptDomVisitors
{
public static class CommandStatisticsRun
{
private static readonly Dictionary<string, CommandStatist... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Utilities;
namespace Tests
{
public class FakeTextSnapshot : ITextSnapshot
{
private readonly string _text;
private readonly string[] _lines;
... |
using System;
namespace NiceHashMiner.Interfaces
{
public interface IMainFormRatesComunication
{
void ClearRatesAll();
void AddRateInfo(string groupName, string deviceStringInfo, ApiData iApiData, double paying, double power,
DateTime StartMinerTime, bool isApiGetException, string P... |
using FluentValidation;
using ReadItLater.Infrastructure.Queries.Tags;
namespace ReadItLater.Infrastructure.DataValidators.Queries.Tags
{
public class GetTagsListQueryValidator : AbstractValidator<GetTagsListQuery>
{
public GetTagsListQueryValidator()
{
RuleFor(p => p.Key)
... |
using System.IO;
using System.Linq;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Replica.Core.Controllers;
using Replica.Core.Entity;
using Replica.Core.Utils;
using Attachment = Replica.Core.Entity.Attachments.Attachment;
using DAttachment... |
using PersonalPortal.Models.Models;
using PersonalPortal.Service.Contracts;
namespace PersonalPortal.Service.Services
{
public class ContactInfoService : IContactInfoService
{
public Task<bool> DeleteContactInfo(int id)
{
throw new NotImplementedException();
}
publ... |
namespace LearningSystem.Services.Data.Contracts
{
using System.Linq;
using AutoMapper;
using LearningSystem.Data.Models;
using Web.Models.ViewModels.Users;
public interface IUsersService
{
IQueryable<User> GetUsersByRoleName(string roleName);
IQueryable<User> GetAllUsers();
... |
using System;
using Rylogic.Common;
namespace Csex
{
public abstract class Cmd :CmdLine.IReceiver
{
/// <summary>Run the command</summary>
public abstract int Run();
/// <summary>Display help information in the case of an invalid command line</summary>
public abstract void ShowHelp(Exception ex =... |
using FluentAssertions;
using Super.Model.Sequences.Collections;
using Super.Runtime;
using Xunit;
namespace Super.Testing.Application.Model.Sequences.Collections
{
public class HasAnyTests
{
[Fact]
public void Has() => HasAny.Default.Get(new[] {new object()})
.Should()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace cba.Util
{
public class HashSetExtras<T>
{
public static HashSet<T> Difference(HashSet<T> a, HashSet<T> b)
{
HashSet<T> ret = new HashSet<T>(a);
ret.ExceptWith(b);
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class powerup_script: MonoBehaviour {
public GameObject bomb;
public GameObject kick;
public GameObject life;
public GameObject power;
public GameObject speed;
private GameObject text;
public GameObject curr;
public POWER... |
@{
ViewData["Title"] = "Error404";
}
<div class="col-md-4 offset-3">
<br />
<br />
<img src="~/images/notfound.png" style="width: 600px; height:auto;" />
</div>
|
using System;
// Структуры. Наследование.
// От структур нельзя наследоваться.
namespace Inheritance
{
struct MyStruct
{
// Структуры не могут иметь protected членов.
//protected int field;
}
class MyClass //: MyStruct
{
}
class Program
{
static void Main()... |
using System;
namespace AZMapper
{
public class MapperException : ApplicationException
{
public MapperException()
{
}
public MapperException(string message)
: base(message)
{
}
public MapperException(string message, Exception innerExcetptio... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CodeProject.RESTRepository.Data.Entities
{
[Table("StockItemTransactions", Schema = "Warehouse")]
public partial class StockItemTransactions
{
... |
using UnityEngine;
namespace EventManagement
{
public class EventsBrokerInjector : MonoBehaviour
{
private IMessageHandler eventsBroker;
// Start is called before the first frame update
void Start()
{
eventsBroker = gameObject.AddComponent<EventsBroker>();
... |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... |
using BlubLib.Serialization;
using System;
using System.Collections.Generic;
using System.Text;
namespace WebZen.Serialization
{
public class WZContractAttribute : BlubContractAttribute
{
public bool Serialized { get; set; }
public bool LongMessage { get; set; }
public WZContractAttr... |
//by Fhiz
using OpenMMO;
using OpenMMO.Debugging;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Reflection;
using System;
namespace OpenMMO
{
/// <summary>
/// This component can be attached to any MonoBehaviour and will preload all templates (based on ScriptableTempl... |
using System;
using JetBrains.Annotations;
using Newtonsoft.Json;
namespace Crowdin.Api.StringComments
{
[PublicAPI]
public class StringComment
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("text")]
public string Text { get; set; }
... |
using Newtonsoft.Json;
using System;
namespace DFC.App.MatchSkills.Application.LMI.Models
{
public class CachedLmiData
{
[JsonProperty("id")]
public string SocCode { get; set; }
public JobGrowth JobGrowth { get; set; }
public DateTimeOffset DateWritten { get; set; }
}
}
|
namespace NanoFlags.Interfaces
{
public interface IFlag { }
public interface IFlag<T> : IFlag
{
T GetValue();
void SetValue(T value);
}
}
|
// Copyright (c) Benjamin Proemmer. All rights reserved.
// See License in the project root for license information.
using System;
namespace Dacs7
{
public static class ItemExtensions
{
public static WriteItem From(this ReadItem ri, Memory<byte> data)
{
WriteItem result = ri.Clon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TrainingAutoFixture
{
public class CustomParserWrapper : ICustomParser
{
private readonly ICustomParser customParser;
public CustomParserWrapper(ICustomParser customPa... |
// (C) Copyright 2018 ETAS GmbH (http://www.etas.com/)
using Microsoft.WindowsAPICodePack.Dialogs;
using System;
namespace SonarLink.TE.Utilities
{
/// <summary>
/// UI modal dialog which allows selection of directories
/// </summary>
public class FolderSelectDialog : IDisposable
{
/// <s... |
using System;
using System.Collections.Generic;
using System.Text;
using Sinqia.CoreBank.Dominio.Core.Attributes;
namespace Sinqia.CoreBank.Dominio.Corporativo.Modelos
{
public class tb_gerente
{
public const string tip_gerenteDefault = "G";
public const string sit_gerenteDefault = "A";
... |
namespace EasyCaching.Core
{
using EasyCaching.Core.Internal;
using System;
public class EasyCachingMessage
{
public string CacheKey { get; set; }
public object CacheValue { get; set; }
public TimeSpan Expiration { get; set; }
public NotifyType NotifyType { g... |
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
using System;
namespace Leap.Unity.Attributes {
public class DisableIf : CombinablePropertyAttribute, IPropertyDisabler {
public readonly string propertyName;
public readonly object testValue;
public readonly bool disableResult;
/// <su... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Xml.Linq;
using Beyova;
using Beyova.ExceptionSystem;
namespace ifunction.ReflectionCommand
{
/// <summary>
/// Class ReflectionCommander. This class cannot be inher... |
using System.Collections.Generic;
using System.Linq;
namespace Wolfe.FluentCli.Core
{
/// <summary>
/// Represents an argument passed to a CLI command.
/// </summary>
public class CliArgument
{
/// <summary>
/// Initializes a new instance of <see cref="CliArgument"/> with a scalar ... |
namespace RpgEngine {
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
public static class Texture2DExtensions {
public static List<Rectangle> GenerateUVs(this Texture2D texture, int tileWidth, int tileHeight) {
var uvs ... |
namespace MASA.PM.Service.Admin.Infrastructure
{
/// <summary>
/// Simulate authorized user data,this will be change
/// </summary>
public static class MasaUser
{
public static Guid UserId => Guid.Empty;
}
}
|
using Amazon.Runtime;
using Amazon.SimpleNotificationService;
using Amazon.SimpleNotificationService.Model;
using Amazon.SQS;
using Amazon.SQS.Model;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using SNSMessageAttributeValue = Amazo... |
using System.Linq;
using Xunit;
namespace KD.FakeDb.XUnitTests.DatabaseTests
{
public class DatabaseTests
{
[Fact]
public void Test_if_table_record_was_added_successfully()
{
var db = FakeDatabaseData.GetDatabaseWithData();
var accTable = db["Accounts"];
... |
//---------------------------------------------------------------------
// <copyright file="IDatabaseReverseEngineer.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//----------------------------... |
namespace KGY.Watch.Conway.Renderers
{
public interface IRenderer
{
void Render(ConwayGame game);
}
}
|
using PenguinSteamerSecondSeason.Models.Enums;
using PenguinSteamerSecondSeason.Models.RawData;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace PenguinSteamerSecondSeason.Data
{
/// <summary>
/// Ticker
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.Tracing;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Securit... |
using ColossalFramework.IO;
namespace ABLC
{
/// <summary>
/// Savegame (de)serialisation for district level settings.
/// </summary>
public class DistrictSerializer : IDataContainer
{
/// <summary>
/// Serialise to savegame.
/// </summary>
/// <param name="serial... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using FrameworkLibrary;
namespace WebApplication.Admin.Views.PageHandlers.FileEditor
{
public partial class Default : AdminBasePage
{
protected vo... |
using System.Threading.Tasks;
using GraphQL.Execution;
using GraphQL.Types;
namespace GraphQL.Privacy
{
public static class ExecutionStrategyExtensions
{
// ExecutionStrategy.cs, ExecuteNodeAsync
// https://github.com/graphql-dotnet/graphql-dotnet/blob/master/src/GraphQL/Execution/ExecutionStra... |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AsyncIntro;
using System.Threading;
namespace AsyncIntroTests
{
/// <summary>
/// Summary description for UnitTest1
/// </summary>
[TestClass]
public clas... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.