content stringlengths 23 1.05M |
|---|
using Microsoft.Kinect;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GesturalMusic
{
enum PartitionType
{
Single,
DoubleLeftRight,
DoubleFrontBack,
Quad
}
static class PartitionManager
... |
using System;
namespace SimUDuck
{
internal class RealQuack : IQuackBehaviour
{
public void Quack()
{
Console.WriteLine("Quack, quack, quack");
}
}
} |
using Utils;
namespace City.Tools
{
public interface ICityUnitOfWork : IUnitOfWork
{
}
} |
using MediatR;
namespace Objective.Core.Application.Queries.Objectives.GetObjective
{
public interface IGetObjectiveQueryHandler : IRequestHandler<GetObjectiveQuery, GetObjectiveQueryResult>
{
}
}
|
// Copyright (c) 2008-2021, Hazelcast, Inc. 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... |
namespace Byndyusoft.Dotnet.Core.Infrastructure.CQRS.Abstractions.Commands
{
/// <summary>
/// Interface for synchronous commands
/// </summary>
/// <typeparam name="TCommandContext">Command context type</typeparam>
public interface ICommand<in TCommandContext> where TCommandContext : ICommandConte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.Configuration;
using NetCoreKit.Utils.Extensions;
namespace NetCoreKit.Infrastructure
{
public static class ConfigurationExtensions
{
public static IEnumerable<Assembly> LoadFullAssemblies(thi... |
using System.Linq;
using System.Text.RegularExpressions;
using Markdig;
using Markdig.Syntax;
using Markdig.Syntax.Inlines;
using cloudscribe.SimpleContent.Models;
namespace cloudscribe.SimpleContent.Web.Services
{
public class MarkdownProcessor : IMarkdownProcessor
{
private MarkdownPipeline _mdPipel... |
using Newtonsoft.Json;
namespace Alexa.NET.Request
{
public class LoadTokenListDataRequest : Request.Type.Request
{
public const string RequestType = "Alexa.Presentation.APL.LoadTokenListData";
[JsonProperty("token", NullValueHandling = NullValueHandling.Ignore)]
public string Token {... |
using System;
using System.Net;
using System.Net.Cache;
using System.Net.Security;
using System.Reflection;
using System.Security.Cryptography.X509Certificates;
using System.Security.Principal;
namespace Downloader
{
public class RequestConfiguration
{
public RequestConfiguration()
{
... |
// HangarResourceUser.cs
//
// Author:
// Allis Tauri <allista@gmail.com>
//
// Copyright (c) 2015 Allis Tauri
using System;
using System.Linq;
using System.Collections.Generic;
using AT_Utils;
namespace AT_Utils
{
public abstract class AnimatedResourceConsumer : AnimatedConverterBase, IResourceConsume... |
using Assets.Kanau.UnityScene.Containers;
using Assets.Kanau.Utils;
using System;
namespace Assets.Kanau.ThreeScene.Textures {
public class ImageElem : BaseElem
{
public override string Type {
get {
throw new NotImplementedException("not need");
}
}
... |
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ServerAPIs.Authentication.Common
{
// This abstract class is used for user storage and authentication of all authentication schemes
public abstract class UserStoreBase<TUser>
where TUser : Use... |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Xml;
using NUnit.Framework;
using Xamarin.Forms.Core.UnitTests;
namespace Xamarin.Forms.Xaml.UnitTests
{
[TestFixture]
public class MarkupExpressionParserTests : BaseTestFixture
{
IXamlTypeResolver typeResolver;
public static... |
using static System.Console;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ch05Monitoring
{
class Program
{
static void Main(string[] args)
{
Write("Press ENTER to start the timer: ");
ReadLine();
... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Codestellation.Galaxy.Domain;
using Nejdb.Bson;
namespace Codestellation.Galaxy.WebEnd.Models.DeploymentManangement
{
public class DeploymentEditModel
{
public ObjectId Id { get; set; }
[Display(Name = "Feed"... |
using System;
using System.Collections.Generic;
using GroupDocs.Assembly;
using NUnit.Framework;
namespace AssemblyExamples
{
[TestFixture]
public class GenerateSpecificReport : AssemblyExamplesBase
{
[Test]
public void LazilyAndRecursively()
{
//ExStart:LazilyAndRecurs... |
using System;
using Akka.Actor;
using MovieStreaming.Exceptions;
using MovieStreaming.Messages;
namespace MovieStreaming
{
public class PlaybackActor : ReceiveActor
{
public PlaybackActor()
{
Context.ActorOf(Props.Create<UserCoordinatorActor>(), "UserCoordinator");
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BoxPuzzle : MonoBehaviour {
public Transform floorTiles;
private bool active;
private bool prevActive;
public List<TogglableObject> affectedObjects;
void Start() {
active = false;
prevAc... |
using System;
namespace Calculator
{
class RangeWarningEventArgs : EventArgs
{
public int Value { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using FluentAssertions;
using Moq;
using Warden.Integrations.Cachet;
using Warden.Watchers;
using Machine.Specifications;
using It = Machine.Specifications.It;
namespace Warden.Integrations.Cachet.Tests
{
public class CachetIntegration_specs
{
protected s... |
using System.ComponentModel;
namespace Portal.CMS.Web.Areas.Profile.ViewModels.Manage
{
public class BioViewModel
{
[DisplayName("Bio")]
public string Bio { get; set; }
}
} |
//
// 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.Threading.Tasks;
using Microsoft.SqlTools.Hosting.Protocol;
using Microsoft.SqlTools.ServiceLayer.ExecutionPlan.Contracts;
using Micros... |
using Bridge.Html5;
using Bridge.React;
namespace Demo
{
public static class Program
{
private static void Main()
{
var container = Document.CreateElement("div");
Document.Body.AppendChild(container);
React.Render(
DOM.Div("This was rendered by React!"),
container
);
}
}
}
|
using System;
using FlubuCore.Services;
namespace FlubuCore.BuildServers
{
public class GitLab
{
public static bool RunningOnGitLabCi => Environment.GetEnvironmentVariable("CI_SERVER")?.Equals("yes", StringComparison.OrdinalIgnoreCase) ?? false;
/// <summary>
/// Indicates whether bui... |
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace LinqToWiki.Codegen
{
/// <summary>
/// Contains LinqToWiki-specific Roslyn extension methods.
/// </summary>
static class LinqToWikiRoslynExtensions
{
/// <summary>
/// Returns the given class... |
using UnityEngine;
using UnityEditor;
[CanEditMultipleObjects]
[CustomEditor(typeof(SgtEllipticalStarfield))]
public class SgtEllipticalStarfield_Editor : SgtStarfield_Editor<SgtEllipticalStarfield>
{
protected override void OnInspector()
{
base.OnInspector();
EditorGUI.BeginChangeCheck();
{
DrawDefault(... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Blade : MonoBehaviour
{
public GameObject bladeTrailPrefab;
GameObject currentBladeTrail;
bool isCutting = false;
Rigidbody2D rb;
Camera cam;
CircleCollider2D circle;
Vector2 previousPosition;
p... |
// 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;
using System.Web;
using System.Web.Routing;
using Moq;
using Xunit;
namespace NuGetGallery.Helpers
{
public class ObfuscationHelperF... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
namespace ReferenceApp.Models
{
public class Customer
{
private readonly List<Order> _orders = new List<Order>();
[Required]
public string Code { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
namespace Tynamix.ObjectFiller
{
/// <summary>
/// The collectionizer can be used to create <see cref="List{T}"/> based on a <see cref="IRandomizerPlugin{T}"/>.
/// </summary>
/// <typeparam name="T">Typeparameter of of the target List</typep... |
namespace Easy.Common.Tests.Unit.TypeExtensions
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Easy.Common.Extensions;
using NUnit.Framework;
using Shouldly;
[TestFixture]
public sealed class GettingArgumentTypeOfGenericTypeTests
{
... |
using esencialAdmin.Data.Models;
using System;
namespace esencialAdmin.Models.SubscriptionViewModels
{
public class SubscriptionPeriodesGoodiesViewModel
{
public int ID { get; set; }
public bool Received { get; set; }
public DateTime? ReceivedAt { get; set; }
public int SubPer... |
namespace Dynatrace.Net.Environment.ActiveGates.Models
{
public enum VersionCompareTypes
{
Equal,
Greater,
GreaterEqual,
Lower,
LowerEqual
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UniRx;
using Zenject;
namespace PianoToRhythmGame.Input
{
public class MidiInputProviderDebugger : MonoBehaviour
{
[Inject]
IMidiInputProvider _inputProvider;
// Start is called before the first frame... |
namespace BinarySerializer.Ray1
{
/// <summary>
/// Sound file entry data
/// </summary>
public class PC_SoundFileEntry : BinarySerializable
{
/// <summary>
/// The sound file offset
/// </summary>
public uint FileOffset { get; set; }
/// <summary>
/... |
using System;
using System.Collections.Generic;
using AntData.ORM.Dao;
using AntData.ORM.DbEngine.Configuration;
using AntData.ORM.DbEngine.Sharding;
namespace AntData.DbEngine.Sharding
{
class ShardingStrategyFactory
{
public static readonly ShardingStrategyFactory Instance = new ShardingStrategyFact... |
using System.Collections.Generic;
using HFMaracay.Entities;
namespace HFMaracay.Business.Process
{
public interface ILocalidadesProcess
{
void DeleteByID(int id);
Localidad GetByDescripcion(string nombre);
List<Localidad> ListAll();
Localidad ListById(int id);
Localidad... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TEABot.TEAScript
{
/// <summary>
/// Defines the script's control flow after a statement's execution
/// </summary>
public interface ITSControlFlow
{
}
... |
using MerchantGuideToGalaxyApp;
using MerchantGuideToGalaxyApp.Mapper;
using MerchantGuideToGalaxyApp.Roman.Expressions;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace MerchantGuideToGalaxyTest
{
public class ExpressionTest
{
[Fact]
public void Pseud... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using Microsoft.Extension... |
namespace PactNet.Matchers
{
internal enum MatcherCheckFailureType
{
AdditionalItemInArray,
AdditionalPropertyInObject,
ValueDoesNotMatch
}
} |
namespace Kigg.Web
{
using System.Collections.Generic;
using DomainObjects;
public class TagTabsViewData
{
public ICollection<ITag> PopularTags
{
get;
set;
}
public ICollection<ITag> UserTags
{
get;
... |
using ChilliSource.Core.Extensions;
using Moq;
using System;
using System.IO;
using System.Threading.Tasks;
using Xunit;
namespace ChilliSource.Cloud.Core.Tests
{
public class StorageTests
{
private readonly Mock<IRemoteStorage> _remoteStorage;
private readonly FileStorage _fixture... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.WebSockets;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.ServiceModel.Channels;
namespace WCFWebSocketConsole
{
// 참고: http://stackov... |
/////////////////////////////////////////////////////////////////////////////
// <copyright file="DbxFile.cs" company="James John McGuire">
// Copyright © 2021 - 2022 James John McGuire. All Rights Reserved.
// </copyright>
/////////////////////////////////////////////////////////////////////////////
using Common.Log... |
namespace ShuffleWallpaper.Adapters
{
using System.IO;
using System.Threading;
using System.Threading.Tasks;
public class FileStreamAdapter : IFileStreamAdapter
{
public async Task SaveAsync(Stream stream, string outputPath, CancellationToken cancellationToken)
{
await u... |
using System;
using Monocle;
using Celeste.Mod.SorbetHelper.Entities;
namespace Celeste.Mod.SorbetHelper {
public class SorbetHelperModule : EverestModule {
public static SorbetHelperModule Instance;
public SorbetHelperModule() {
Instance = this;
}
public over... |
using OpenCvSharp.Demo;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.IO;
using SFB;
public class TextureConverterGUI : MonoBehaviour
{
private TextureConverter textureConverter;
public Text textureInfo;
void Awake()
{
t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/*Problem 9. Sorting array
Write a method that return the maximal element in a portion of array of integers starting at given index.
Using it write another method that sorts an array in ascending / de... |
using System;
[Serializable]
public class ParamModel
{
public string param_name;
public int param_id;
} |
// Copyright (C) 2018 Fievus
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
using Carna;
namespace Charites.Windows.Samples.SimpleTodo.Presentation
{
[Specification("TodoItem Spec")]
class TodoItemSpec : FixtureSteppable
{
... |
using System;
using System.IO;
using System.Numerics;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using SubstrateNetApi;
using SubstrateNetApi.Model.Rpc;
using SubstrateNetApi.Model.Types.Base;
using SubstrateNetApi.Model.Types.Struct;
using SubstrateNetWallet;
namespace SubstrateNetWa... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using BitSharp.Common.ExtensionMethods;
using BitSharp.Common.Test;
namespace BitSharp.Common.Test
{
[TestCl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SharpINI
{
public class ParseOptions
{
public static ParseOptions Default => new ParseOptions();
public char[] lineStartCommentChars;
public char[] spaceChars;
public string[] lineBreaks;
public bool tr... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace TDNPGL.Core.Gameplay.Assets
{
public abstract class ContentFile
{
[JsonProperty("content_type")]
public abstract string ContentType { get; set; }
public ContentFile(string C... |
using System;
namespace General.Repository
{
/// <summary>
/// Repository interface which offers basic CRUD method implementations, along with a Prepare() method
/// from the IPreparable interface.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <typeparam name="ID"></typeparam>
pu... |
//------------------------------------------------------------------------------
// <copyright>
// Copyright (c) Cyberknights 4911 FRC Robotics team. All Rights Reserved.
// </copyright>
//------------------------------------------------------------------------------
using System.Collections.Generic;
using Newtons... |
using Microsoft.EntityFrameworkCore;
namespace MyNUnitWeb.Models
{
public class History : DbContext
{
public History(DbContextOptions<History> options) : base(options)
{
}
public DbSet<AssemblyReport> Assemblies { get; set; }
public DbSet<TestReport> Tests { get; set;... |
using Checkout.Common;
using Shouldly;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
namespace Checkout.Sessions
{
public class RequestAndGetSessionsIntegrationTest : AbstractSessionsIntegrationTest
{
[Theory]
[MemberData(nameof(SessionsTypes))]
private a... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
namespace DataStorage.Mappers
{
public class MessageDTOMapper : IMapper<MessageDTO>
{
public MessageDTO ReadItem(SqlDataReader rd)
{
... |
namespace NeoDebug.VariableContainers
{
public interface IVariableContainerSession
{
int AddVariableContainer(IVariableContainer container);
}
}
|
using BurgerMonkeys.Services;
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
namespace BurgerMonkeys
{
public partial class App : Xamarin.Forms.Application
{
public App()
{
InitializeComponent();
R... |
using System.Numerics;
using Hunter.Model.Entities;
namespace Hunter.Model.Behaviours
{
public class HerdBehaviour
{
private static float _distance = 2f;
private static float _cohesionCoef = 0.2f;
private static float _alignmentCoef = 0.25f;
public static Vector2 GetHerdVeloc... |
using Steamworks;
public class TestConstants {
public readonly CSteamID k_SteamId_Group_SteamUniverse = new CSteamID(103582791434672565);
public readonly CSteamID k_SteamId_rlabrecque = new CSteamID(76561197991230424);
public readonly AppId_t k_AppId_TeamFortress2 = new AppId_t(440);
public readonly AppId_t... |
using MetalCore.CQS.Common;
using MetalCore.CQS.Common.Results;
using MetalCore.CQS.Validation;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace MetalCore.CQS.Query
{
/// <summary>
/// This decorator class is used to keep track of how long queries take to run.
/// ... |
// Copyright (c) Alexandre Mutel. All rights reserved.
// Licensed under the BSD-Clause 2 license.
// See license.txt file in the project root for full license information.
using System;
using System.Globalization;
using Newtonsoft.Json.Linq;
using Tomlyn.Model;
namespace Tomlyn.Tests
{
public static class ModelH... |
using System;
using System.Collections.Generic;
using System.Text;
using KusaMochiAutoLibrary.NativeFunctions;
namespace KusaMochiAutoLibrary.Recorders
{
internal class TimeIntervalCounter
{
internal TimeIntervalCounter()
{
NativeMethods.QueryPerformanceFrequency(ref _frequency);
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AdventOfCode.Puzzles.CalculateTotalAmoutOfRequiredFuel
{
public class CalculateTotalAmountOfRequiredFuelInput
{
public readonly IReadOnlyList<int> ModuleMasses;
public CalculateTotalAmountOfRequiredFuelInput(IReadOnl... |
// dotBunny licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Text;
using GDX;
using NUnit.Framework;
// ReSharper disable HeapView.ObjectAllocation.Evident
namespace Runtime
{
/// <summary>
/// A collection of unit tests to v... |
using System.Collections.Generic;
using UnityEditor;
using System.IO;
using System.Linq;
namespace RedCouch.ProjectTreeGenerator {
class FolderPath {
public List<string> segments { get; set; }
public string parentPath {
get {
var list = new List<string>(segments);
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OscilloscopeKernel.Wave
{
public class WaveFixer
{
public double VoltageTimes
{
get => voltage_times;
set => voltage_times = value;
}
public double PeriodTimes
{
... |
using Dapper;
using SqlSchema.Library.Models;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
namespace SqlSchema.SqlServer
{
public partial class SqlServerAnalyzer
{
private async Task AddProceduresAsync(IDbConnection connection, List<DbObject> re... |
namespace MassTransit.ActiveMqTransport
{
/// <summary>
/// Configures a queue/exchange pair in ActiveMQ
/// </summary>
public interface IQueueConfigurator
{
/// <summary>
/// Specify the queue should be durable (survives broker restart) or in-memory
/// </summary>
/... |
using Outracks.Fuse.Inspector.Editors;
using Outracks.Fusion;
namespace Outracks.Fuse.Inspector.Sections
{
enum Dock
{
Left,
Right,
Top,
Bottom,
Fill,
}
class DockEditor
{
public static IEditorControl Create(IAttribute<Dock> attribute, IEditorFactory editors)
{
var padding = Optional.Some(new P... |
using KnowledgeManagement.Models;
using KnowledgeManagement.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace KnowledgeManagement.Controllers
{
public class LoginController : ApiController
{
Knowledge... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace Renko.Legacy.Effects
{
public partial class FateFX {
/// <summary>
/// An encapsulated class for handling the update processes.
/// </summary>
private class Updater {
/// <summary>
/// List of fate items to process.
/// <... |
using Agridea.Diagnostics.Contracts;
using Agridea.Diagnostics.Logging;
using Agridea.Threading;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Agridea.Threading
{
public class Counter
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IntersectionVoxelBounds2 : IVoxelBounds2
{
public readonly IVoxelBounds2 a, b;
public IntersectionVoxelBounds2(IVoxelBounds2 a, IVoxelBounds2 b)
{
this.a = a;
this.b = b;
}
p... |
//<Snippet1>
using System;
using System.Globalization;
namespace GlobalizationLibrary
{
public class CultureInfoTest
{
public void BadMethod(String string1, String string2, String string3)
{
if(string.Compare(string1, string2, false) == 0)
{
Console.Write... |
using UnityEngine;
using Random = UnityEngine.Random;
namespace Model
{
public class RandomRune : MonoBehaviour
{
private MergeInventory mergeInventory;
public int[] mergeTable1 = {
800, //80 % chance to drop or same rarity
200 //20 % chance to drop upgrade
};
... |
using FubuMVC.Core.Assets;
using FubuMVC.Core.Continuations;
using FubuMVC.Core.UI;
using FubuValidation;
using HtmlTags;
namespace FubuMVC.Validation.StoryTeller
{
[NotValidated]
public class IgnoredModel
{
[Required]
public string Name { get; set; }
}
public class IgnoredEndpoint
{
pr... |
public class HttpStatusPush
{
public string targetUrl { get; set; }
public string principal { get; set; }
public string credentials { get; set; }
public string authMethod { get; set; }
} |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace chapter10
{
[AttributeUsage(AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
public sealed class CacheRes... |
// 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.Diagnostics;
using System.Linq;
using Microsoft.Azure.WebJobs.Host.Bindings;
using Microsoft.Azure.WebJobs... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace MessagePack
{
public sealed class CombinedDecoder : ICustomDecoder
{
private readonly ICustomDecoder[] _decoders;
public CombinedDecoder(IEnumerable<ICustomDecoder> decoders)
{
if (decoders is null... |
namespace Sheet {
/// <summary>
/// 全域設定資料
/// </summary>
public class SettingGlobal {
/// <summary>
/// 檢查是否正確
/// </summary>
/// <returns>true表示正確, false則否</returns>
public bool Check() {
if (excelPath == null)
return Output.Error("... |
using System;
using Azuria.Api.Builder;
using Azuria.Requests.Builder;
using NUnit.Framework;
namespace Azuria.Test.Api.Builder
{
[TestFixture]
public class ApiRequestBuilderTest
{
private readonly IApiRequestBuilder _apiRequestBuilder;
private readonly IProxerClient _client;
... |
using System.Text;
namespace Zyborg.Firebase
{
public static class DbKey
{
private static bool[] _dbKeyBadChars = new bool[128];
static DbKey()
{
for (int i = 0; i <= 31; ++i)
_dbKeyBadChars[i] = true;
_dbKeyBadChars[127] = true;
_dbK... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace MathContestManager
{
public class ViewFinishedEventArgs : EventArgs
{
public object Data { get; private set; }
... |
using System.Collections.Generic;
using System.Linq;
namespace Athene.Inventory.Abstractions.Models
{
public abstract class Article
{
// private List<Matchcode> _matchcodes = new List<Matchcode>();
public int ArticleId { get; set;}
public abstract string Name { get; }
public s... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using static LeetCode._0339_NestedListWeightSum;
namespace LeetCode.Test
{
[TestClass]
public class _0339_NestedListWeightSum_Test
{
[TestMethod]
public void DepthSum_1()
{
var input1 =... |
using System;
using UnityEngine;
public class SurfaceGraph : Graph
{
public SurfaceFunctionName function = 0;
public override int functionIndex
{
get => (int)function;
set { function = (SurfaceFunctionName)value; }
}
public override string[] functionNames => Enum.GetNames(typeof(S... |
//
// System.Web.UI.Adapters.PageAdapter
//
// Author:
// Dick Porter <dick@ximian.com>
//
// Copyright (C) 2005-2010 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to dea... |
using System;
using System.Collections.Generic;
using System.Text;
namespace FlubuCore.Targeting
{
public enum TargetAction
{
AddDependency,
Other,
AddTask
}
}
|
using System;
namespace EnergonSoftware.Core.Net.Sessions
{
/// <summary>
/// Emitted when a NetworkSession is connected
/// </summary>
public sealed class ConnectedEventArgs : EventArgs
{
/// <summary>
/// Gets or sets the event timestamp.
/// </summary>
/// <value... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LaserShot : BaseWeapon
{
public override void Shoot()
{
var countOfExistingBullets = GameObject.FindGameObjectsWithTag("Bullet").Length;
if (countOfExistingBullets < 1 && Input.GetMouseButtonDown(0))
... |
using Godot;
using System;
using System.Collections.Generic;
using ai4u.ext;
namespace ai4u
{
public abstract class Agent : Node
{
protected Brain brain;
protected string[] desc;
protected byte[] types;
protected string[] values;
protected List<Sensor> sensors;
protected List<Actuator> actuators;
... |
using Atlas.Core;
using Atlas.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Atlas.Tabs
{
public class ListField : ListMember, IPropertyEditable
{
public FieldInfo FieldInfo;
[HiddenColumn]
public override bool Editable => true;
[Hidden]
... |
namespace UiPath.Shared.Localization
{
class SharedResources : UiPathTeams.Synap.OCR.Design.Properties.Resources
{
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.