content stringlengths 23 1.05M |
|---|
using System;
using System.Collections.Generic;
using System.Text;
namespace MinuteManager
{
public interface IDataSource
{
event InternalErrorEventHandler OnInternalError;
List<int> YearsAvailable { get; }
Year CreateNewYear(int year);
int GetCurrentLsaYear();
List<int... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RestaurantReviews
{
public static class Converter
{
public static BLRestaurant
convertRestaurantFromDB(Restaurant dbRestaurant)
{
BLRestaurant r... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Conductor : MonoBehaviour
{
Song song;
//Song beats per minute
//This is determined by the song you're trying to sync up to
public float songBpm;
//The number of seconds for each song beat
public floa... |
using System.Collections.Concurrent;
using System.IO;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using QIES.Common.Records;
using QIES.Core;
using QIES.Core.Config;
namespace QIES.Infra
{
public class ValidServicesList : IServicesList
{
private readonly ILogger<ValidService... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TODOFilePickerSample.Models;
namespace TODOFilePickerSample.Repositories
{
public class TodoItemRepository
{
public Models.TodoItem Factory(string key = null, bool? complete = null, string title = nu... |
using UnityEngine;
namespace JVLBuiltInAsset.Editor {
public abstract class TabBase {
public abstract void Draw();
public abstract void ProccessEvent(Event e);
protected abstract void Init();
}
} |
using System.Runtime.InteropServices;
namespace Bindding.ExcuteClasses
{
internal delegate int InitCallBack(int _result);
internal static class IPDevices
{
/// <summary>
/// 初始化
/// </summary>
/// <param name="_name">用户名</param>
/// <param name="_pwd">密码</param>
... |
using Kingmaker.Blueprints.JsonSystem;
using Kingmaker.PubSubSystem;
using Kingmaker.RuleSystem;
using Kingmaker.RuleSystem.Rules.Damage;
using Kingmaker.UnitLogic;
using TabletopTweaks.NewUnitParts;
namespace TabletopTweaks.NewComponents {
[TypeId("03f55b5c7cb0445ab32ce2c8d44704ec")]
class AddOutgoingWeaponD... |
namespace AdaptiveRoads.Patches.AssetPatches {
using HarmonyLib;
using PrefabMetadata.API;
using PrefabMetadata.Helpers;
using KianCommons;
using AdaptiveRoads.Manager;
using System;
using System.Linq;
using AdaptiveRoads.Patches.metadata;
using ColossalFramework;
/// <summary>
... |
using System.Collections.Generic;
namespace Mirabeau.DatabaseReleaseTool.Arguments
{
public class ArgumentValidationResult
{
public ArgumentValidationResult()
{
ValidationMessages = new List<string>();
}
public ArgumentValidationStatus Status { get; set; }
... |
using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Timers;
namespace ThrottledApiCaller
{
public class ApiCaller
{
private int limit;
private int interval;
private ConcurrentQueue<HttpRequestMessage> q... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Game : MonoBehaviour {
// C#
public GameObject boatPrefab;
public float spawnTime = 3f;
void Start()
{
Cursor.visible = false;
Debug.Log("STARTING SPAWNER");
InvokeRepe... |
using EddiSpeechResponder.Service;
using EddiSpeechService;
using ICSharpCode.AvalonEdit.Search;
using System;
using System.Collections.Generic;
using System.Windows;
namespace EddiSpeechResponder
{
/// <summary>
/// Interaction logic for EditScriptWindow.xaml
/// </summary>
public partial class EditS... |
using System;
using Cake.Core.IO;
using Cake.SevenZip.Tests.Fixtures;
using Cake.SevenZip.Builder;
using Shouldly;
using Xunit;
using Cake.SevenZip.Switches;
namespace Cake.SevenZip.Tests.FluentBuilder;
public class ListCommandBuilderTests
{
[Fact]
public void List_throws_on_missing_archive()
{
... |
using Machine.Specifications;
using Machine.Specifications.Runner;
using NAntExtensions.TeamCity.Common.Helper;
using NAntExtensions.TeamCity.Common.Messaging;
namespace NAntExtensions.Machine.Specifications.RunListeners
{
internal class TeamCityRunListener : RunListener, ISpecificationRunListener
{
rea... |
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Edge.Hub.Mqtt
{
using System.Collections.Generic;
using Microsoft.Azure.Devices.Edge.Hub.Core;
class MqttFeedbackMessage : IFeedbackMessage
{
readonly IMessage message;
public MqttFeedbackMessage(IMessa... |
using Microsoft.AspNetCore.Mvc;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using VulnerableDeserialization.Helpers;
using VulnerableDeserialization.Models;
namespace VulnerableDeserialization.Controllers
{
[ApiController]
[Route("[controller]/... |
using Amazon.S3;
using Amazon.S3.Model;
using Nssol.Platypus.Infrastructure;
using Nssol.Platypus.ServiceModels;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Nssol.Platypus.Services.Interfaces
{
/// <summary>
/// オブジェクトストレージを使ってデータをCRUDするサービスクラスのインターフェース。
/// </s... |
namespace GroupService.Repo.EntityFramework.Entities
{
public class GroupNewRequestNotificationStrategy
{
public int GroupId { get; set; }
public byte NewRequestNotificationStrategyId { get; set; }
public int MaxVolunteer { get; set; }
public virtual Group Group { get; set; }
... |
using System.Linq;
using Abp.Collections.Extensions;
using Abp.Webhooks;
namespace Abp.WebHooks.Extensions
{
public static class WebhookSubscriptionExtensions
{
/// <summary>
/// checks if subscribed to given webhook
/// </summary>
/// <returns></returns>
public static ... |
using System;
using Barista.Contracts.Commands.PointOfSaleIntegration;
namespace Barista.Api.Commands.PointOfSaleIntegration
{
public class StartCleaning : IStartCleaning
{
public StartCleaning(Guid pointOfSaleId)
{
PointOfSaleId = pointOfSaleId;
}
public Guid Poin... |
using System;
// ReSharper disable once CheckNamespace
namespace dotnetCampus.Threading
{
/// <summary>
/// 为次数限制的异步等待操作提供操作。
/// </summary>
public class CountLimitOperationToken
{
private readonly long _countLimit;
private long _passed;
/// <summary>
/// 创建一个具有指定执... |
using System;
using Xamarin.Forms;
using System.Collections;
using System.Linq;
using System.Collections.ObjectModel;
using TekConf.Core.Data.Dtos;
namespace TekConf.Forms.Converters
{
public class EmptyCollectionVisibleLabelConverter : IValueConverter
{
public object Convert(object value, Type targetType, object ... |
namespace PossumLabs.DSL.Core.Logging
{
public interface IImageLogging
{
byte[] AddTextToImage(byte[] image, string text);
}
} |
namespace VeldridGen.Interfaces
{
public interface IUniformFormat { }
}
|
using System.Text.Json;
using System.Text.Json.Serialization;
namespace AzureMapsToolkit.Render
{
public class Region
{
/// <summary>
/// Copyrights array
/// </summary>
[JsonPropertyName("copyrights")]
public string[] Copyrights { get; set; }
/// <summary>
... |
using System;
namespace ATZ.MVVM.ViewModels.Utility
{
/// <summary>
/// Provides validity verification.
/// </summary>
public interface IVerifiable
{
/// <summary>
/// Is the object valid?
/// </summary>
bool IsValid { get; set; }
/// <summary... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VirtualPet.Objects;
namespace VirtualPetTests {
[TestClass]
public class UnitTest {
[TestMethod]
public void getHungerStateFull() {
Assert.AreEqual(PetHungerStates.GetPetHungerState("full"), PetHungerState.full);
... |
using Alabo.Test.Base.Core;
using Alabo.Test.Base.Core.Model;
using Xunit;
namespace Alabo.Test.Core.Themes.Domain.Services
{
public class IThemeOpenServiceTests : CoreTest
{
[Theory]
[InlineData(1)]
[InlineData(2)]
[InlineData(3)]
[InlineData(-1)]
[TestMethod("G... |
using System.Collections.Generic;
using System.Linq;
using CodeMetrics.Parsing.Contracts.NRefactory;
using ICSharpCode.NRefactory.CSharp;
namespace CodeMetrics.Parsing.NRefactory
{
public class AstConditionsVisitor : DepthFirstAstVisitor, IAstConditionsVisitor
{
private readonly IDictionary<string, Exp... |
#if UNITY_EDITOR
using UnityEditor;
using ParadoxNotion.Serialization;
namespace NodeCanvas.Editor{
///NC framework preferences
public static class NCPrefs {
[System.Serializable]
class SerializedData{
public bool showNodeInfo = true;
public bool isLocked = ... |
using Common;
using DataAccess;
using DataAccess.Entities;
using Microsoft.EntityFrameworkCore;
using System.Threading.Tasks;
namespace BusinessLogic.Loggers
{
public interface ILogger
{
Task AddLog(string message, EbsLoggerLevel level);
Task AddLog(string message, EbsLoggerLevel level, string... |
using System;
using System.IO;
namespace Com.Eyu.UnitySocketLibrary
{
public enum ChannelType
{
Connect,
Accept,
}
public abstract class BaseChannel : IncreasedId
{
protected ChannelType ChannelType { get; }
protected BaseService Service { get; }
public a... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace GoSharp.Impl
{
public abstract class SchedulingBase
{
protected readonly object _lock;
protected readonly TimeSpan _timeout;
protected readonly Channel<DateTime> _channel;
protected System.T... |
using Newtonsoft.Json;
namespace UnifiedAnime.AniList.Model
{
public class StatusDistributions
{
[JsonProperty("anime")]
public AnimeStatusDistribution Anime { get; set; }
[JsonProperty("manga")]
public MangaStatusDistribution Manga { get; set; }
}
} |
using System;
namespace XamarinAzure.Mobile.Controls
{
public class NavigationItemSelectedEventArgs : EventArgs
{
public NavigationItens SelectedItem { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using Windows.Win32;
using Windows.Win32.Foundation;
namespace TheLeftExit.Memory {
public static unsafe class RTTI {
private const int BUFFER_SIZE = ... |
using System;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Kudu.Services
{
public class Error404Controller : ApiController
{
[HttpGet, HttpPatch, HttpPost, HttpPut, HttpDelete]
public HttpResponseMessage Handle()
{
// Mock few paths. For develop... |
// Copyright 2020 EPAM Systems, 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Input.Events;
using osu.Framework.Utils;
using osu.Game.Graphics.Containers;
namespace osu.Game.Beatmaps.Drawables.Cards
{
... |
namespace RomMaster.Client.Database.Mappings
{
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using RomMaster.Client.Database.Models;
internal class GameMapping : IEntityTypeConfiguration<Game>
{
public void Configure(EntityTypeBuilder<Game> bui... |
using System.Web.Mvc;
namespace Msg.Web.App_Start
{
/// <summary>
/// 一般登陆拦截器
/// </summary>
public class AuthFilters : FilterAttribute, IActionFilter
{
public void OnActionExecuted(ActionExecutedContext ctx)
{
}
public void OnActionExecuting(ActionExecutingContext ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Reactive.Linq;
using System.Text;
namespace GoComics.Shared.Extensions.Reactive
{
public static class WebResponseExtensions
{
public static IObservable<byte[]> GetBytesAsObservable(this WebResponse respon... |
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... |
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
using Linq2TwitterDemos_WindowsPhone.ViewModels;
using LinqToTwitter;
using Microsoft.Phone.Controls;
namespace Linq2TwitterDemos_WindowsPhone.StreamingDemos
{
public partial class SampleStreamDemo : PhoneApplicationPage
... |
using Microsoft.Xna.Framework.Graphics;
using Starbound.UI.Resources;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Starbound.UI.XNA.Resources
{
public class XNAFontResource : IFontResource
{
public readonly SpriteFont Font;
public XNAFontReso... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Polly;
using Polly.Timeout;
namespace ConsoleTest
{
public class TimeOutDemo
{
public void Handle() {
var _timeOut = Policy.Timeout(TimeSpan.FromMilliseconds(1000*1),Ti... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Scallion.DomainModels.Components
{
/// <summary>
/// Represents a morph of a model used in MMD.
/// </summary>
public class Morph
{
/// <summary>
/// Gets or sets the name of this morph.
/// </summ... |
using System.Collections.Generic;
using System.Linq;
using BAGA;
using BAGA.Repository.Interfaces;
using BAGA.Repository.Repositories;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace POCOEFTests
{
/// <summary>
///This is a test class for BAEntitiesTest and is intended
///to contai... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Camera))]
[ExecuteInEditMode]
// ****************** Raymarching script that connects to the Shader ******************
public class RaymarchCam : SceneViewFilter
{
[SerializeField]
[Header("Global Settin... |
using System;
namespace listaenlazada
{
class linkedList
{
private static string z = null;
static void Main(string[] args)
{
String z;
Console.WriteLine("Hello World!");
z = Console.ReadLine();
Console.WriteLine(z);
Console.R... |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Ecs20140526.Models
{
public class ListTagResourcesResponse : TeaModel {
[NameInMap("RequestId")]
[Validation(Required=true)]
public... |
// Copyright © .NET Foundation and Contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace PInvoke
{
using System;
/// <content>
/// Contains the <see cref="PROCESS_MEMORY_EXHAUSTION_INFO"/> nested type.
/// </... |
using System;
using System.Collections.Generic;
using LaXiS.VantagePointTree;
namespace LaXiS.VantagePointTree.Examples
{
class Program
{
static void Main(string[] args)
{
var random = new Random();
// Create 1million random points (with values from 0 to 10million)
... |
using System;
using System.Collections.Generic;
using Klarna.Rest.Core.Common;
using Klarna.Rest.Core.Commuication;
using Klarna.Rest.Core.Model.Enum;
using Klarna.Rest.Core.Model;
namespace Klarna.Rest.Core.Examples
{
public class CustomerTokenApi
{
/// <summary>
/// Gets the customer token d... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FOS.Model.Dto;
namespace FOS.Model.Mapping
{
public interface IOrderDtoMapper
{
Model.Order ToModel(Dto.Order order);
Dto.Order ToDto(Model.Order order);
}
public ... |
using System.Collections.Generic;
using Semanticer.Common.Enums;
namespace Semanticer.TextAnalyzer
{
public interface ISematicEvaluator
{
IDictionary<MarkType, double> Evaluate (string msg);
}
} |
using System;
namespace Lexfy.Domain.Identity
{
public class User
{
public Guid UserId { get; set; }
public string UserName { get; set; }
public string PasswordHash { get; set; }
public Guid AccountId { get; set; }
public virtual Account Account { get; set; }
... |
#region Copyright 2018 Atif Aziz. 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.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... |
using System.Collections.Generic;
namespace CRUDreborn.Produto.Dtos
{
public class GetAllProdutosOutput
{
public List<GetAllProdutosItem> Produtos { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Neptuo
{
/// <summary>
/// Provides ability to clone object or clone to instance of another type.
/// </summary>
/// <typeparam name="T">Target object type.</typeparam>
pub... |
// Copyright 2020 Google LLC
//
// 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 to in ... |
namespace SharedTrip.App.Controllers
{
using SharedTrip.Services.Interfaces;
using SharedTrip.ViewModels.Trips;
using SIS.HTTP;
using SIS.MvcFramework;
public class HomeController : Controller
{
private readonly ITripsService tripsService;
public HomeController(ITripsService t... |
// ShowImagePopupAction
using ClubPenguin.UI;
using Disney.Kelowna.Common;
using Disney.LaunchPadFramework;
using Disney.MobileNetwork;
using HutongGames.PlayMaker;
using UnityEngine;
[ActionCategory("Quest")]
public class ShowImagePopupAction : FsmStateAction
{
[RequiredField]
public string PopupPrefabKey = "Prefab... |
using System.Diagnostics.CodeAnalysis;
using JetBrains.Annotations;
namespace CreativeCoders.Core
{
[PublicAPI]
[ExcludeFromCodeCoverage]
public class NullObject
{
public static object Instance { get; } = new();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FitnessTracker.Models
{
public enum ServingUnit
{
ea,
ml,
g
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Jpp.DesignCalculations.Calculations.Analysis.Bars;
using Jpp.DesignCalculations.Calculations.DataTypes;
using MathNet.Numerics.LinearAlgebra;
namespace Jpp.DesignCalculations.Calculations.Analysis.Solvers
{
public abstract... |
using System.ComponentModel;
using System.Linq;
using Spectre.Console.Cli;
namespace Spectre.Console.Tests.Data
{
[Description("The dog command.")]
public class DogCommand : AnimalCommand<DogSettings>
{
public override ValidationResult Validate(CommandContext context, DogSettings settings)
... |
using MyEngine2.Common.Logger;
namespace MyEngine2.Common.Service
{
/// <summary>
/// 全局日志管理器
/// </summary>
public class LoggerManager
{
/// <summary>
/// 日志输出器 - 单例
/// </summary>
public static Logger.Logger Logger
{
get
{
... |
using NUnit.Framework;
using WSCT.Helpers;
using WSCT.Helpers.BasicEncodingRules;
namespace WSCT.EMV.Objects
{
[TestFixture]
public class DataObjectListUnitTest
{
[Test]
public void BuildData()
{
var tlvs = new[] { new TlvData("88 01 03".FromHexa()), new TlvData("5F 2D ... |
namespace Questify.Builder.UI.Wpf.Presentation.Services
{
internal static class MediatorMessages
{
internal static class ItemEditor
{
public const string IsActive = "D71C931F-F8E8-408A-B0F2-E2FDD873AC35";
public const string Bank = "E868A1C5-82D2-4E5D-86B7-B6A21BF98902... |
namespace SharpData.Fluent {
public class RemovePrimaryKey : RemoveItemFromTable {
public RemovePrimaryKey(IDataClient dataClient, string primaryKeyName) : base(dataClient) {
ItemName = primaryKeyName;
}
protected override void ExecuteInternal() {
DataClient.RemoveP... |
namespace Locations.Data
{
using Migrations;
using Models;
using System.Data.Entity;
public class LocationsContext : DbContext
{
public LocationsContext()
: base("name=LocationsContext")
{
Database.SetInitializer
(new MigrateDatabaseToLatestVe... |
using Godot;
using System;
using System.Collections.Generic;
public class Player : Character<Player>
{
public override void _Ready()
{
base._Ready();
this.ChangeCurrentState(States["Idle"]);
}
public override void FetchStates()
{
States = new Dictionary<string, IState<Play... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security.Claims;
using System.Threading.Tasks;
using EntityGraphQL.Authorization;
using EntityGraphQL.Compiler;
using EntityGraphQL.Compiler.Util... |
using System;
namespace Xsolla.Store
{
[Serializable]
public class CartItems
{
public string cart_id;
public bool is_free;
public Price price;
public CartItem[] items;
}
} |
// SmartfoxCommandsAttribute
using System;
internal class SmartfoxCommandsAttribute : Attribute
{
public string Command
{
get;
private set;
}
internal SmartfoxCommandsAttribute(string command)
{
Command = command;
}
}
|
using Playground.ViewModels;
using System.Windows.Input;
using Xamarin.Forms;
namespace Playground.Features.Animation
{
public class AnimationItem : ObservableObject
{
public ICommand PlayCommand { get; }
public string Title { get; }
private bool _isRunning;
public bool IsRun... |
using FanOutClassLibrary;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace FanOutDeviceClientClassLibrary.ViewModels
{
public class ConnectToMothershipsViewModel
{
public... |
//-----------------------------------------------------------------------
// <copyright file="ModalViewHost.cs" company="Development In Progress Ltd">
// Copyright © 2012. All rights reserved.
// </copyright>
// <author>Grant Colley</author>
//-----------------------------------------------------------------------... |
namespace SerpoServer.Database.Models
{
public class spo_settings
{
public bool cache;
public bool compress;
public string connstring;
public string dbtype;
public string emailport;
public string emailpsw;
public string emailserver;
public string ... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace USI_MultipleMatch
{
class Kyokumen
{
enum Koma
{
s_Fu, s_Kyou, s_Kei, s_Gin, s_Kaku, s_Hi, s_Kin, s_Ou,
s_nFu, s_nKyou, s_nKei, s_nGin, s_nKaku, s_nHi,
g_Fu, g_Kyou, g_Kei, g_Gin, g_Kaku, g_Hi, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.DependencyInjection;
namespace LiveShot.UI
{
public static class Container
{
public static IServiceCollection ConfigureUI(this IServiceCollection services)
{
IEnum... |
using System;
using System.Collections.Generic;
using System.Text;
using PlatformAPI.Imaging;
namespace WinCity.Control
{
public interface IRCommand
{
bool Enabled { get;set;}
AlphaImage NormalImage { get;set;}
AlphaImage DisableImage { get;set;}
string Text { get;set;}
... |
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace AbakHelper.Integration
{
public class Settings
{
public Dictionary<string, object> ComponentSettings { get; private set; }
public string AbakUrl { get; set; }
... |
using Fusee.Math.Core;
using ProtoBuf;
namespace Fusee.Serialization
{
/// <summary>
/// Building block to set up User Interface hierarchies.
/// Use this as your first element in the Interface hierarchy.
/// </summary>
[ProtoContract]
public class CanvasTransformComponent : SceneComponentCont... |
#region License
/*
MIT License
Copyright (c) 2018 Mattias Edlund
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... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable AutoPropertyCanBeMadeGetOnly.Global
// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo
// ReSharper disable DelegateSub... |
// Copyright (c) Microsoft. All rights reserved.
namespace TestResultCoordinator
{
using System.Threading.Tasks;
/// <summary>
/// This defines methods for a test result report generator.
/// </summary>
interface ITestResultReportGenerator
{
Task<ITestResultReport> CreateReportAsync();
... |
namespace YiHan.Cms.Security
{
public class PasswordComplexitySetting
{
/// <summary>
/// Minimum lenght of password
/// </summary>
public int MinLength { get; set; }
/// <summary>
/// Maximum lenght of password
/// </summary>
public int MaxLengt... |
using System;
using MediatR;
using AdventureWorks.Application.DataEngine.HumanResources.Department.Queries.QueryManager;
using AdventureWorks.Application.DataEngine.HumanResources.Department.Queries.GetDepartments;
using AdventureWorks.BaseDomain.Enums;
using AdventureWorks.BaseDomain.Interfaces;
using AdventureWorks.B... |
using System;
using System.Text.Json;
namespace WebApiClientCore.Defaults
{
/// <summary>
/// 默认的json序列化工具
/// </summary>
public class JsonFormatter : IJsonFormatter
{
/// <summary>
/// 将对象列化为json
/// </summary>
/// <param name="obj">对象</param>
/// <param na... |
using System;
using System.Collections;
using System.Linq;
using Cadru.UnitTest.Framework.Resources;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Cadru.UnitTest.Framework
{
/// <summary>
/// A collection of helpers to test various conditions within unit tests.
/// If the condition being ... |
using System;
using System.Net;
using System.Security.Cryptography.X509Certificates;
using WebMoney.Services.Contracts;
using WebMoney.Services.Contracts.BasicTypes;
using WebMoney.XmlInterfaces;
using WebMoney.XmlInterfaces.BasicObjects;
namespace WebMoney.Services.BusinessObjects
{
internal sealed class Extende... |
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using CaixaEletronico.Data;
using CaixaEletronico.Models;
namespace CaixaEletronico.Controllers
{
[ApiController]
[Route("api/[controller]")]
public class ContaController : ControllerBase
{
private readonly IRepository... |
namespace ServerDemo
{
partial class ServerForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <pa... |
using Bam.Net.Schema.Org.DataTypes;
namespace Bam.Net.Schema.Org.Things
{
///<summary>A Category Code.</summary>
public class CategoryCode: DefinedTerm
{
///<summary>A short textual code that uniquely identifies the value.</summary>
public Text CodeValue {get; set;}
///<summary>A CategoryCodeSet that contains... |
using NUnit.Framework;
using SimplePrefix.PrefixTypes;
namespace SimplePrefixTests.PrefixTypesTests
{
public class DecimalPrefixTests
{
[Test]
public void InitializesToCorrectValueWithPositiveExponent()
{
var prefix = new DecimalPrefix(3);
Assert.AreEqual(1000m, ... |
namespace Dotnet.Expect.Actions
{
using System;
using Core.Abstractions;
using Action = Core.Abstractions.Action;
public class ExpectAction : Action
{
public ExpectAction(ActionContext context) : base(context)
{
}
public string Pattern { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WiimoteLib.DataTypes;
using WiimoteLib.Events;
using WiimoteLib.Util;
namespace WiimoteLib {
public partial class Wiimote : IDisposable {
/// <summary>Initialize the M... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.