content stringlengths 23 1.05M |
|---|
[Serializable]
public class NumberKeyframeGroup : KeyframeGroup<NumberKeyframe> // TypeDefIndex: 9642
{
// Fields
public float minValue; // 0x2C
public float maxValue; // 0x30
// Methods
// RVA: 0x22B5100 Offset: 0x22B5201 VA: 0x22B5100
public void .ctor(string name, float min, float max) { }
// RVA: 0x22B518... |
using System;
namespace Drexel.Terminal.Source
{
/// <summary>
/// Represents an event which is associated with a request to "exit". The request can be denied by setting the
/// <see cref="Allow"/> property to <see langword="false"/> on an instance of this class.
/// </summary>
public sealed class... |
using System;
using DesignPattern.Observer.Subject;
namespace DesignPattern.Observer.Observer
{
/// <summary>
/// 具体观察者类:战队成员
/// </summary>
public class Player : IObserver
{
public string Name
{
get;
set;
}
public void BeAttacked(AllyContro... |
using System.Windows;
using System.Windows.Forms;
using Elreg.WindowsFormsView;
using Form = Elreg.Controls.Forms.Form;
namespace Elreg.WindowsFormsPresenter.RaceControl
{
public static class FormHelper
{
public static void HideForm(ISimpleView form)
{
if (form.Visible)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ScoutChess.Model
{
internal class GameCompletedEventArgs
{
internal GameInformation CompletedGameInfo { get; private set; }
internal GameCompletedEventArgs(GameInforma... |
using wimm.Secundatives.Extensions;
using Xunit;
namespace wimm.Secundatives.UnitTests.Extensions
{
public class VariantMap_Test
{
[Fact]
public void MapValue_ValueInt_ReturnsIntFuncResult()
{
var underTest = ConstructInt();
Assert.Equal(43, underTest.MapValue((... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Utilities
{
using System.Linq;
using Xunit;
public class IEnumerableExtensionsTests
{
[Fact]
public void Each_shou... |
/*
Copyright (C) 2010
Daniel Mueller <daniel@danm.de>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of cond... |
using System;
using Sodium;
namespace ncryptf
{
/// <summary>
/// Represents a API token
/// </summary>
public class Token
{
/// <summary>
/// Access token
/// </summary>
private readonly String _accessToken;
/// <summary>
/// Refresh token
/... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SineDistributionDrawer : MonoBehaviour {
public float Alpha = 1.0f;
public Vector3 Direction = Vector3.up;
public float RadiusOffset = 0.01f;
public float RadiusCount = 2;
public float CircleCount = 4;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SoundObjectManager : MonoBehaviour
{
//---Singleton-Pattern-----------------------
public static SoundObjectManager instance;
private void Awake()
{
if (instance != null)
{
Debug.L... |
namespace Stl.Channels;
[Flags]
public enum ChannelCompletionMode
{
PropagateCompletion = 1,
PropagateError = 2,
PropagateCancellation = 4,
Full = PropagateCompletion + PropagateError + PropagateCancellation,
}
|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading;
using Azure.Core;
namespace Azure.Search.Documents.Models
{
/// <summary>
/// Provides data for <see cref="SearchIndexingBufferedSender{T}.ActionAdded"/>
/// and <see cref="SearchIndexi... |
using UnityEngine;
using System.Collections;
public class MouseWheelZoom : MonoBehaviour
{
public float camZoom = 30f;
public float camZoomSpeed = 2f;
void Update()
{
camZoom -= Input.GetAxis("Mouse ScrollWheel") * camZoomSpeed;
// Makes the actual change to Field Of View
Ca... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace P01_StudentSystem.Data.Models.Configuration
{
public class StudentConfiguration : IEntityTypeConfiguration<Student>
{
public void Configure(EntityTypeBuilder<Student> builder)
{
bu... |
namespace WorldCupMovies.Model
{
public sealed class Final
{
public Final(Filme campeao, Filme vice)
{
Campeao = campeao;
Vice = vice;
}
public Filme Campeao { get; private set; }
public Filme Vice { get; private set; }
}
} |
namespace MultipleDbEf.DataTest;
public class PersonContextTest
{
[Fact]
public void Can_PersonContext_InsertData()
{
DbContextOptions<PersonContext> dbContextOptions =
new DbContextOptionsBuilder<PersonContext>().UseInMemoryDatabase("TestPersonDb").Options;
using (PersonContex... |
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.LayerTree
{
/// <summary>
/// Rectangle where scrolling happens on the main thread.
/// </summary>
[SupportedBy("Chrome")]
public class ScrollRect
{
/// <summary>
/// G... |
using Stardust.Paradox.Data.Annotations;
namespace Stardust.Paradox.Data.CodeGeneration.Sample
{
public interface IClass1:IVertex
{
string Name { get; set; }
long Age { get; set; }
string Email { get; set; }
bool ValidatedEmail { get; set; }
IEdgeCollection<IClass1... |
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class LevelManager : MonoBehaviour
{
public static LevelManager Instance;
[SerializeField] private GameObject _loaderCanvas;
[Seriali... |
// <copyright file="IResourceHelper.cs" company="Drastic Actions">
// Copyright (c) Drastic Actions. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using System.Text;
namespace Drastic.Common.Interfaces
{
/// <summary>
/// Resource Helper.
/// </summary>
public i... |
using System;
using Microsoft.EntityFrameworkCore;
using WellBot.Domain.Chats.Entities;
using WellBot.Domain.Users.Entities;
namespace WellBot.Infrastructure.Abstractions.Interfaces
{
/// <summary>
/// Application abstraction for unit of work.
/// </summary>
public interface IAppDbContext : IDbContext... |
using NotImplementedException = System.NotImplementedException;
namespace Script.Game.System.Entity
{
/// <summary>
/// 空白事件,打开完毕即可移动
/// </summary>
public class CopyEventEmptyEntityImp:CopyEventEntityImp
{
protected override void _OnOpenTimeDone()
{
base._OnOpenTimeDo... |
namespace GitLfs.Core.File
{
public enum FileLocation
{
Temporary,
Permenant,
Metadata
}
}
|
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Graph;
using Microsoft.Identity.Web.Resource;
namespace AspNetCoreMicrosoftIdentityWebProjectTemplates.templates.ComponentsWebAssembly_CSharp.Server.Controllers
{
[Authorize]
[ApiController]... |
namespace AqualityTracking.Integrations.Core
{
public static class AqualityConstants
{
public static readonly string SettingsFileName = "aqualityTracking.json";
}
}
|
namespace Stripe
{
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
public class FileLinkDataOptions : BaseOptions, IHasMetadata
{
/// <summary>
/// Set this to <c>true</c> to create a file link for the newly created file. Creating a
/// link is only po... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace Assets.Scripts
{
public class ButtonInput : MonoBehaviour, IPointerDownHandler, IPointerUpHandler
{
private Image _img;
private bool _touching = false... |
using System.Text.Json.Serialization;
namespace HexGridInterfaces.Structs
{
public struct BoundingClientRect
{
[JsonInclude] public readonly double Width;
[JsonInclude] public readonly double Height;
[JsonInclude] public readonly double OffsetLeft;
[JsonInclude] public readonl... |
namespace Atom.Scene.Tiles.Specifications.TileMatrixLayerSpecifications
{
using System.Linq;
using Machine.Specifications;
[Subject( typeof( TileMatrixLayer ) )]
public class when_newly_created
{
static TileMatrix matrix;
static TileMatrixLayer layer;
Establish context = ... |
using System.ComponentModel;
using ActiproSoftware.Windows;
namespace ActiproSoftware.ProductSamples.GridsSamples.QuickStart.PropertyGridMultipleObjects {
/// <summary>
/// Represents a third object.
/// </summary>
public class ThirdObject : ObservableObjectBase {
private string name;
private string thirdO... |
using System.Threading.Tasks;
namespace EawXBuild.Steam
{
public interface ISteamWorkshop
{
void Init(uint appId);
void Shutdown();
Task<WorkshopItemPublishResult> PublishNewWorkshopItemAsync(IWorkshopItemChangeSet settings);
Task<IWorkshopItem> QueryWorkshopItemByIdAsync(ulo... |
using Ical.Net.Interfaces.Components;
using Ical.Net.Interfaces.Evaluation;
using Ical.Net.Interfaces.General;
namespace Ical.Net.Interfaces
{
public interface ICalendar : ICalendarComponent, IGetOccurrencesTyped, IGetFreeBusy, IMergeable
{
/// <summary>
/// Gets/sets the calendar version. De... |
using Me20.Contracts.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Me20.ApiGateway.Commands
{
public class SubscribeToTagCommand : ICreateTagCommand
{
public string TagName { get; set; }
}
} |
using System.Threading.Tasks;
namespace CQRS.Light.Contracts
{
public interface ICommandHandler<T>
{
Task HandleAsync(T command);
}
} |
namespace PxStat.Workflow
{
/// <summary>
///
/// </summary>
internal class Comment_DTO
{
/// <summary>
///
/// </summary>
public string CmmValue { get; set; }
/// <summary>
///
/// </summary>
public int CmmCode { get; set; }
... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TylerMart.Domain.Models {
/// <summary>
/// Order-Product Pair Model
/// </summary>
[Table("OrderProducts")]
public class OrderProduct : Model, IValidatableObject {
/// <s... |
namespace MahApps.Metro.IconPacks
{
#if !(NETFX_CORE || WINDOWS_UWP)
using System.ComponentModel;
#endif
/// ******************************************
/// This code is auto generated. Do not amend.
/// ******************************************
/// <summary>
/// List of available icons for u... |
# CS_ARCH_ARM64, 0, None
0x82,0x00,0x25,0x8b = add x2, x4, w5, uxtb
0xf4,0x23,0x33,0x8b = add x20, sp, w19, uxth
0x2c,0x40,0x34,0x8b = add x12, x1, w20, uxtw
0x74,0x60,0x2d,0x8b = add x20, x3, x13, uxtx
0x31,0x83,0x34,0x8b = add x17, x25, w20, sxtb
0xb2,0xa1,0x33,0x8b = add x18, x13, w19, sxth
0x5f,0xc0,0x23,0x8b = add... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DMSGrpc
{
public enum gRPCMessageType
{
HeartBeat,
UpdateRequest,
UpdateResponse
}
}
|
namespace BirthdayReminder.Utilities
{
public interface IDocumentManager
{
string ReadFile(string path);
void WriteFile(string path, string text);
}
} |
using JetBrains.Annotations;
namespace ImplicitNullability.Samples.CodeWithIN.NullabilityAnalysis
{
public unsafe class UnsafeCodeSample
{
public static void Method(int* a)
{
ReSharper.TestValueAnalysisUnsafe(a, a == null /*Expect:ConditionIsAlwaysTrueOrFalse[MIn]*/);
}
... |
using System;
using CoreGraphics;
using UIKit;
namespace SectionListMvvmCross.iOS.SupportViews
{
public class SampleFlowLayout : UICollectionViewFlowLayout
{
public override bool ShouldInvalidateLayoutForBoundsChange(CGRect newBounds)
{
return false;
}
public overr... |
/*
* 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.Linq;
using System.Text;
using AllenCopeland.Abstraction.Slf.Abstract;
using AllenCopeland.Abstraction.Slf.Abstract.Members;
using AllenCopeland.Abstraction.Slf.Ast.Members;
/*---------------------------------------------------------------------\
|... |
using System;
namespace PepperDash.Essentials.Displays
{
public class SerialCommandBuilder:ICommandBuilder
{
public string Delimiter
{
get { return "\x03"; }
}
private readonly string _id;
private const string CommandWithParameterFormat = "AD{0};{1}:{2}";
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BankApi.Models;
namespace BankApi.Services
{
public interface IAccountService
{
Account CreateAccount(Account account);
List<Account> Read();
Account Read(string IBAN);
Accoun... |
using System;
using Serilog.Configuration;
using Serilog.Events;
namespace Serilog.Sinks.EmailPickup
{
public static class EmailPickupSinksExtensions
{
public static LoggerConfiguration EmailPickup(this LoggerSinkConfiguration loggerConfiguration,
string pickupDirectory,
string ... |
using System;
namespace Dto.Inventory
{
public class InventoryControlJournal : BaseDto
{
public decimal? In { get; set; }
public decimal? Out { get; set; }
public string Item { get; set; }
public string Measurement { get; set; }
public DateTime Date { get; set; }
}
... |
// Copyright (c) Alexandre Beauchamp. All rights reserved.
// Licensed under the MIT license.
using Microsoft.Extensions.Diagnostics.HealthChecks;
using Pandora.Utility.Health.Resources;
namespace Pandora.Utility.Health.Mappers
{
public static class ComponentHealthReportMapper
{
public static Compone... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace S3
{
public class GameManager_GameOver : MonoBehaviour
{
private GameManager_Master gameManagerMaster;
public GameObject panelGameOver;
private void OnEnable()
{
SetInitialReferences();
gameManage... |
namespace ApexCharts
{
public class LegendClicked<TItem> where TItem : class
{
public Series<TItem> Series { get; set; }
public bool Collapsed { get; set; }
}
}
|
namespace TCGPrimus.Entities.Enumerations
{
public enum AccountType
{
Domestic,
Savings,
Foreign
}
}
|
using System;
class LongSeq
{
static void Main()
{
for (int i = 2; i < 1002; i++)
{
if (i % 2 == 0)
{
Console.WriteLine(i);
}
else
{
Console.WriteLine(-i);
}
}
}
}
/*
Print Long... |
namespace ImgPogCrypt
{
public class CliCommand
{
public CliAction Action { get; set; }
public string Value { get; set; }
public CliCommand(CliAction action, string value)
{
Action = action;
Value = value;
}
}
} |
namespace Eventus.CosmosDB
{
using Newtonsoft.Json;
using System;
public abstract class CosmosDBEventBase
{
[JsonProperty("id")]
public Guid Id { get; set; }
public Guid AggregateId { get; set; }
public string ClrType { get; set; } = string.Empty;
publi... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.ServiceBus
{
using System;
using Primitives;
/// <summary>
/// RetryPolicy implementation where the delay between retries wi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MusicHub.Filtering.Operators
{
public class OperatorMetadata
{
public string Label { get; set; }
public string Operator { get; set; }
}
}
|
using System;
using Glimpse.Server;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Options;
namespace Glimpse.Server.Configuration
{
public class AllowClientAccessOptions : IAllowClientAccess
{
private readonly Func<HttpContext, bool> _allowAccess;
public AllowClientAccessOptions(... |
using System;
using DotSpatial.Data;
using DotSpatial.Projections;
namespace ClimateAnalysis
{
public class AreaSettings
{
public bool HasAnyArea
{
get
{
return AreaRectangle != null ||
(Polygons != null && Polygons.Features.Count ... |
using System;
using System.IO;
using Pablo.BGI;
using System.Collections.Generic;
using Eto.Drawing;
namespace Pablo.Formats.Rip.Commands
{
public class WriteMode : RipOptionalCommand
{
public class Type : RipCommandType<WriteMode>
{
public override string OpCode { get { return "W"; } }
}
public override... |
namespace EFS_Professional
{
using EFS_Professional.COMPortManager;
using System;
using System.Collections.Generic;
using System.IO.Ports;
using System.Runtime.CompilerServices;
public class QualcommDeviceInstance : IDisposable
{
[AccessedThroughProperty("_commandQueue")]... |
using Amazon.DynamoDBv2.Model;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.DataTransfer.DynamoDb.Client.Query
{
interface IDataPageProvider : IDisposable
{
Task<DataPage> LoadPageAsync(Dictionary<string, AttributeValue> cont... |
namespace Lime {
public interface NotificationExtension<T> {
}
}
|
using Lutra.Utility;
namespace Lutra.Graphics;
/// <summary>
/// Internal class for managing characters in RichText.
/// </summary>
internal class RichTextCharacter
{
#region Private Fields
float finalShakeX;
float finalShakeY;
float finalSinX;
float finalSinY;
float activeScaleX = 1;
fl... |
using Foundation.Core;
using System;
public class OOVipBtn : ObservableObject
{
public class Names
{
public const string Attr_BtnName = "BtnName";
public const string ImageGreyVisibility = "ImageGreyVisibility";
public const string Event_OnButtonClick = "OnButtonClick";
}
public Action callback;
private... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using Windows.Foundation.Collections;
using Uno.UI.Extensions;
namespace Windows.UI.Xaml.Controls
{
public sealed partial class ItemCollection : IList<object>, IEnumerable<object>, IObservableVector<object>
{
public event... |
namespace Jacobi.Zim80.CpuZ80.States.Instructions
{
internal abstract class ReadIndirectInstruction : ReadParametersInstruction
{
public ReadIndirectInstruction(CpuZ80 cpu)
: base(cpu)
{ }
protected ushort GetAddress()
{
var z = ExecutionEngine.Opcode.De... |
using Loris.Common.Domain.Entities;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace Loris.Common.Test.Domain
{
[TestClass]
public class BasicModelTest
{
private List<HierarchyModel> models = new List<HierarchyModel>();
public B... |
using GenFu;
using Microsoft.AspNetCore.Mvc;
using System;
namespace compression_cache_demo.Controllers
{
[Route("api/[controller]")]
public class PersonController : Controller
{
// GET: api/values
[HttpGet]
[ResponseCache(VaryByHeader = "User-Agent", Duration = 30)]
public... |
namespace ELFSharp.ELF
{
public enum FileType : ushort
{
None = 0,
Relocatable,
Executable,
SharedObject,
Core
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
namespace ProjectXenocide.Research
{
[TestFixture]
public class PrerequisitesTest
{
public class UnlockedTechPrerequisite : ITechPrerequisite
{
public bool Evaluate()
... |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using System.Linq;
namespace PuppetCat.AspNetCore.Core
{
public class EntityUtils
{
/// <summary>
/// Copy value to another List<Model>, their fields name must be same
/// </summary>
///... |
using System;
using ServiceStack.Redis;
namespace RevStack.Redis
{
public class RedisDataContext
{
private const string DEFAULT_HOST= "localhost";
private const int DEFAULT_PORT = 6379;
private readonly string _host;
private readonly int _port;
public RedisDa... |
/*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
namespace Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability
{
internal class InstrumentationWmiPublish... |
public class PackageInfo
{
public string PackageVersion { get; set; }
public string Package32Url { get; set; }
public string Package64Url { get; set; }
#region BuildFolders
public string BinDir { get => "bin"; }
public string TempDir { get => "temp"; }
#endregion
#region PackageSetti... |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Channels;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR.Client;
using SignalR.Strong;
using SignalR.Strong.Samples.Common.Hubs;
namespace SignalR.Strong.Samples.SourceGenerator
{
class Prog... |
// Mileage Tracker: Unit Tests
// Copyright (c) bfren - licensed under https://mit.bfren.dev/2022
using Jeebs.Auth.Data;
using Mileage.Persistence.Common;
using Mileage.Persistence.Common.StrongIds;
using Mileage.Persistence.Entities;
using Mileage.Persistence.Repositories;
namespace Mileage.Domain.SaveSettings.Inter... |
using Microsoft.Extensions.Caching.Memory;
using System.Collections.Generic;
using System.Threading.Tasks;
using wmsDataAccess.UserManagement.Entities;
using WMSDataAccess.UserManagement.Entities;
using wmsShared.Model;
namespace WMSDataAccess.UserManagement
{
public interface IUserManager
{
WMSUser G... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR;
using Server.models;
using Newtonsoft.Json;
namespace Server
{
public class AgentHub : Hub
{
Server.models.myContext dbContext;
public AgentHub(Server.... |
[Serializable]
public class MobDeployTypeDataTable : ScriptableObject // TypeDefIndex: 6998
{
// Fields
[SerializeField] // RVA: 0x1626A0 Offset: 0x1627A1 VA: 0x1626A0
public List<HairType> Types; // 0x18
private static MobDeployTypeDataTable _MobDeployTypeDataTable; // 0x0
// Methods
// RVA: 0x1CBCCB0 Offset: ... |
using System.Collections.Generic;
namespace Nordril.Collections
{
/// <summary>
/// A read-only store which has the same interface as a dictionary, but which can create mutable copies of itself.
/// </summary>
/// <typeparam name="TKey">The key of the stored elements.</typeparam>
/// <typeparam na... |
namespace CerealBox
{
public static class DynamicExtensions
{
public static dynamic ToDynamic(this string input)
{
input = input.FlattenXml();
if (input.StartsWith("<"))
return new DynamicXml(input);
return new DynamicJson(input);
}
... |
using System;
using System.Windows.Forms;
using MikuMikuPlugin;
namespace Linearstar.MikuMikuMoving.Framework
{
public abstract class PluginBase : IBasePlugin, IHaveScenePlugin
{
Scene scene;
public IWin32Window ApplicationForm
{
get;
set;
}
public Scene Scene
{
get
{
... |
//
// Encog(tm) Core v3.1 - .Net Version
// http://www.heatonresearch.com/encog/
//
// Copyright 2008-2012 Heaton Research, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// htt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace KLib
{
public class EndianBinaryWriter : BinaryWriter
{
private Endian endian = Endian.LittleEndian;
public Endian Endian
{
get { return endian;... |
using System;
using System.Collections.Generic;
using System.Text;
using FluentAssertions;
using Microsoft.Extensions.Caching.Memory;
using Moq;
using CacheFactory.Memory;
using Xunit;
namespace CacheFactory.Test.Memory
{
public class MemoryCacheDecoratorTests
{
private Mock<IMemoryCache>... |
using System.Threading.Tasks;
namespace Muplonen.SessionManagement
{
/// <summary>
/// Interfaces for managers that manage player sessions.
/// </summary>
public interface IPlayerSessionManager
{
/// <summary>
/// Dictionary holding all sessions.
/// </summary>
Sess... |
using System;
using System.Drawing;
using System.Windows.Forms;
namespace FORCEBuild.UI.WinForm.Cluster
{
/// <summary>
/// 组织控件形成flat形式按钮
/// </summary>
public class ColorButtonCollection
{
public Color DefaultColor { get; set; }
public Color MouseIn { get; set; }
public C... |
using Carrent.BaseData.CarBrandManagement.Domain;
using Carrent.Common.Interfaces;
using System;
using System.Collections.Generic;
namespace Carrent.BaseData.CarBrandManagement.Application
{
public class CarBrandService : ICarBrandService
{
private readonly IRepository<CarBrand, Guid> _repository;
... |
// Copyright (c) Lex Li. All rights reserved.
//
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace JexusManager.Features.RequestFiltering
{
using System;
using System.Collections;
using System.Reflection;
using System.Windows.Forms;
u... |
using System.ComponentModel.DataAnnotations;
using MvcContrib.FluentHtml.Behaviors;
using MvcContrib.FluentHtml.Elements;
using MvcContrib.FluentHtml.Html;
namespace MvcContrib.Samples.UI.Views
{
public class RangeBehavior: IBehavior<IMemberElement>
{
public void Execute(IMemberElement element)
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Amazon.GameLift.Model;
using System.Threading;
public class GameLiftInterface : MonoBehaviour
{
public GameObject AdminInterfacePanel;
public GameObject SelectGameSessionButton;
public GameLiftClie... |
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("UniversalGraphicsTests")]
[assembly: InternalsVisibleTo("Unity.RenderPipelines.Universal.Editor.Tests")]
[assembly: InternalsVisibleTo("Unity.GraphicTests.Performance.Universal.Editor")]
|
using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.TypedURLs
{
public class TypedURL:IValueOut
{
public TypedURL(string url, DateTimeOffset? timestamp, string slack)
{
Url = url;
Timestamp = timestamp;
Slack = slack;
}
... |
namespace Chinchilla.Topologies.Model
{
public class Exchange : Bindable, IExchange
{
public Exchange(string name, ExchangeType exchangeType)
{
Name = name;
Type = exchangeType;
}
public ExchangeType Type { get; set; }
public Durability Durabilit... |
namespace RethinkDb.Driver.Net
{
internal interface IConnectionBuilder<TBuilder>
{
/// <summary>
/// The default DB for queries.
/// </summary>
TBuilder Db(string val);
/// <summary>
/// The authorization key to the server.
/// </summary>
... |
using HCore.Identity.Models;
namespace HCore.Identity.Services
{
public interface IAuthServices
{
IAuthInfo AuthInfo { get; }
}
}
|
using Awesome.FeedParser.Models.Common;
using System;
namespace Awesome.FeedParser.Interfaces.Atom
{
/// <summary>
/// Interface to access common feed and Atom feed properties.
/// </summary>
internal interface ICommonAtomFeed : ICommonAtom
{
#region Optional
/// <summary>
... |
using JeoAppardy.Client.Api;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace JeoAppardy.Tests.GameSetupTests
{
[TestClass]
public class When_setup_the_Player
{
private Round _sut;
private Board oneBoard;
[TestInitialize]
public void Setup()
{
oneBoard = Board.FromJson(Te... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.