content stringlengths 23 1.05M |
|---|
using System.Text.Json.Serialization;
namespace TweetScraping.Models
{
public class GuestTokenAuth
{
[JsonPropertyName("guest_token")]
public string GuestToken { get; set; }
}
}
|
using OpenQA.Selenium.Firefox;
namespace Selenium.Contrib.Examples
{
public static class WebDriverFactory
{
public static FirefoxDriver GetWebDriver()
{
var profile = new FirefoxProfile();
var driver = new FirefoxDriver(profile);
driver.Manage().Window.Maxim... |
using Newtonsoft.Json;
namespace Umbraco.Forms.Integrations.Crm.Hubspot.Services
{
internal abstract class BaseTokenRequest
{
public abstract string GrantType { get; }
[JsonProperty("client_id")]
public string ClientId { get; set; }
[JsonProperty("redirect_uri")]
publ... |
using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Threading;
using MonoGame.Framework;
using MonoGame.Framework.Memory;
using MonoGame.Framework.Vectors;
using MonoGame.Imaging.Attributes.Coder;
using MonoGame.Imaging.Coders.Detection;
using MonoGame.Imaging.Utilities;
using StbSharp.I... |
using UnityEngine;
[RequireComponent(typeof(GamePiece))]
public class TimeBonus : MonoBehaviour
{
[Range(0, 5)]
public int bonusValue = 5;
[Range(0f, 1f)]
public float chanceForBonus = 0.1f;
public GameObject bonusGlow;
public GameObject ringGlow;
public Material[] bonusMaterials;
... |
namespace MiddlewareUtility.Tools
{
public static class DayIntervalFactoryMessages
{
public static string TIME_IN_UNSPECIFIED { get; } = "Time doesn't be unspecified.";
public static string OFFSET_MORE_THEN_MAXVALUE { get; } = "Offset more than maxvalue";
public static string OFFSE... |
namespace RedBlackTree.Tests.TimeTests
{
using NUnit.Framework;
[TestFixture]
class InsertFourth
{
[Test]
[Timeout(500)]
public void Insert_MultipleElements_ShouldBeFast()
{
RedBlackTree<int> rbt = new RedBlackTree<int>();
for (int i = 0; i < 10... |
//------------------------------------------------------------------------------
// <copyright file="IListSource.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//----------------------------------... |
using NUnit.Framework;
using VkNet.Enums.SafetyEnums;
using VkNet.Model;
using VkNet.Tests.Infrastructure;
namespace VkNet.Tests.Categories.Messages
{
[TestFixture]
public class MessagesSendMessageEventAnswerTests : MessagesBaseTests
{
[Test]
public void SendMessageEventAnswer()
{
Url = "https://api.vk.c... |
using System.Net;
using TimCodes.ApiAbstractions.Http.Sample.Models;
using TimCodes.ApiAbstractions.Http.Sample.Models.Responses;
using TimCodes.ApiAbstractions.Http.Server;
namespace TimCodes.ApiAbstractions.Http.Sample.Business;
public class RecipeService : IRecipeService
{
private readonly Dictionary<int, Rec... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using Xunit;
using JasonSoft.Net;
namespace JasonSoft.Tests.Net
{
public class IPAddressTest
{
[Fact]
public void GetIP()
{
UInt32 ipNumber = 3232235521;
Sy... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
enum DecoupledInputMode
{
Keyboard = 0,
TouchDPad = 1,
Joystick_fixed = 2,
Joystick_floating = 4,
Joystick_dynamic = 8,
Joystick_default = 16,
}
public class DecoupledControllerInputTest : Mon... |
using System;
using Avalonia.Media;
namespace Avalonia.Controls
{
/// <summary>
/// Viewbox is used to scale single child.
/// </summary>
/// <seealso cref="Avalonia.Controls.Decorator" />
public class Viewbox : Decorator
{
/// <summary>
/// The stretch property
/// </s... |
using NUnit.Framework;
namespace ValveKeyValue.Test
{
class InvalidSyntaxTestCase
{
[TestCase("empty")]
[TestCase("quoteonly")]
[TestCase("partialname")]
[TestCase("nameonly")]
[TestCase("partial_nodata")]
[TestCase("partial_opening_key")]
[TestCase("par... |
using System.Linq;
using System.Text.RegularExpressions;
namespace Octopus.CoreParsers.Hcl
{
/// <summary>
/// Represents a list
/// </summary>
public class HclListElement : HclElement
{
public override string Type => ListType;
public override string Value => ToString(-1);
... |
namespace DllImportX.Tests
{
public interface DllImportXNotImplementedMembersInterface
{
void NotImplementedVoid();
int NotImplementedPropertyInt { get; set; }
}
}
|
using System;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Instances = R5T.T0045.X001.Instances;
namespace System
{
public static class ClassDeclarationSyntaxExtensions
{
public static ClassDeclarationSyntax AddOmittedPrivateStaticVoidMethod(this ClassDeclarationSyntax @class,
stri... |
/*
* Copyright 2002-2020 Raphael Mudge
* Copyright 2020 Sebastian Ritter
*
* 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
... |
using System;
namespace CoreEscuela.Entidades
{
public class ObjetoEscuela
{
public string Id { get; set; }
public string Nombre { get; set; }
public ObjetoEscuela()
{
Id = Guid.NewGuid().ToString();
}
public ObjetoEscuela(string nombre)
{
... |
using Autofac;
using PVScan.Core;
using PVScan.Core.Services.Interfaces;
using PVScan.Mobile.Services;
using PVScan.Core.Services.Interfaces;
using PVScan.Mobile.Views;
using System;
using Xamarin.Essentials;
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration;
using Xamarin.Forms.PlatformConfiguration.iOSS... |
using Autofac;
using DDit.Core.Data.IRepositories;
using DDit.Core.Data.Repositories;
using DDitApplicationFrame.Service;
using DDitApplicationFrame.Service.Imp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DDitApplicationFrame.Common
{
public class RegisterModule... |
// Copyright (c) Tocsoft and contributors.
// Licensed under the Apache License, Version 2.0.
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using TestHelper;
using Xunit;
namespace Tocsoft.DateTimeAbstractions.Analyzer.Test
{
public class DateTimeA... |
using System;
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum)]
public class TypeAttribute : Attribute
{
private string type;
private string category;
private string description;
public TypeAttribute(string type, string category, string description)
{
this.Type = type;
... |
using System;
using System.Collections.Generic;
namespace CupsPuzzleSolver
{
public class NaiveSolver
{
// Store collection, foreach state: moves to reach, and the previous state
private readonly Dictionary<Cups, (int moves, Cups? prev)> _explored;
// List of states yet to be explored,... |
using A19.Messaging.Common;
namespace Mrh.Messaging.Json
{
/// <summary>
/// The json body encoder.
/// </summary>
public class JsonBodyEncoder : IBodyEncoder<string>
{
public T Decode<T>(string body)
{
return JsonHelper.Decode<T>(body);
}
public str... |
namespace Firebase.Sample {
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using UnityEngine;
using Firebase.TestLab;
public class AutomatedTestRunner {
// Function used to log the results of the tests. Defaults to UnityEngine.Debug.Log().
public Ac... |
using Drp.Data.Definitions;
using System;
using System.Collections.Generic;
namespace Drp.Data.Entities
{
public partial class SystemRole : IHaveIdentifier
{
public SystemRole()
{
#region Generated Constructor
#endregion
}
#region Generated Properties
... |
using MFlow.Core.Validation.Validators.Generic;
namespace MFlow.Core.Internal.Validators.Generic
{
/// <summary>
/// Required Validator
/// </summary>
class RequiredValidator<T> : IRequiredValidator<T>
{
public bool Validate (T input)
{
return input != null && !strin... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Barembo.Models
{
/// <summary>
/// An EntryReference holds information about an Entry, where it belongs to and where it can be found
/// </summary>
public struct EntryReference : IEquatable<EntryReference>
{
/// <... |
using System.Collections.Generic;
using System.Linq;
using BuildItEasy.Validation;
namespace BuildItEasy
{
public abstract partial class Builder<TResult, TSelf> : IBuilder<TResult>
where TSelf : Builder<TResult, TSelf>
{
public static implicit operator ValueProvider<TResult>(Builder<TR... |
// <copyright file="TransformationContextTest.cs" company="Oleg Sych">
// Copyright © Oleg Sych. All Rights Reserved.
// </copyright>
namespace T4Toolbox.Tests
{
using System;
using System.CodeDom.Compiler;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IslandConverter
{
public class ClipProperties
{
public float[] OffsetPivot { get; set; }
public int OffsetDirection { get; set; }
}
}
|
namespace Altairis.ShirtShop.Web {
public class ShopConfig {
public PaymentConfig Payment { get; set; }
public MailingConfig Mailing { get; set; }
public class PaymentConfig {
public string AccountNumber { get; set; }
public string VarSymbolFormat { get; set; }
}
public c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace Duality
{
/// <summary>
/// A log entry.
/// </summary>
public struct LogEntry
{
private Log source;
private LogMessage... |
using System;
using System.Collections.Generic;
namespace AIStudio.Wpf.Entity.Models
{
public partial class Subscription
{
public long PersistenceId { get; set; }
public string EventKey { get; set; }
public string EventName { get; set; }
public int StepId { get; set; }
... |
using Discord.Commands;
using System;
using System.Threading.Tasks;
namespace Mitternacht.Common.TypeReaders {
public class ModerationPointsTypeReader : TypeReader {
public override Task<TypeReaderResult> ReadAsync(ICommandContext context, string input, IServiceProvider services){
try {
return Task.FromResu... |
//
// Copyright (c) Antmicro
//
// This file is part of the Emul8 project.
// Full license details are defined in the 'LICENSE' file.
//
using System;
namespace Emul8.Exceptions
{
public class ConfigurationException : System.Exception
{
public ConfigurationException(String message) : base(message)
... |
using System;
using System.Threading.Tasks;
using Serilog;
using Araumi.Server.Services;
using Araumi.Server.Services.Servers.Game;
using Araumi.Server.Services.Servers.Static;
namespace Araumi.Server.Cli {
public static class Program {
public static async Task Main(string[] args) {
try {
Log.Lo... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.Linq;
using System.Web;
namespace storeme.Code
{
public static class AppSettings
{
public static int DaysToKeep
{
get
{
return Setting<in... |
using System.Collections.Generic;
using AspNetCoreSpa.Core.Entities;
namespace AspNetCoreSpa.Infrastructure
{
public interface ITourCategoryRepository : IRepository<TourCategory>,IEnumerable<TourCategory>
{
}
} |
using System;
using API.BLL.Base;
using API.BLL.UseCases.Memberships.Entities;
using API.BLL.UseCases.Memberships.Transformer;
namespace API.BLL.UseCases.Memberships.Daos
{
public interface IUserDao : IDao<User, UserIdent, UserTransformer>
{
User GetUserByUserName(string userName);
bool IsLogin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PoshSec.Framework.Interface
{
public class ProxyPreferenceGroupBox : GroupBox
{
public event EventHandler SelectedChanged = delegate { };
P... |
using System.Collections.Generic;
using Loon.Core;
using System;
using Loon.Utils;
namespace Loon.Media
{
public abstract class SoundImpl : Sound {
protected IList<Callback<object>> callbacks;
protected Exception error;
protected bool playing, looping;
protected float volume = 1;
protected object impl;
... |
using JudgeSystem.Workers.Common;
namespace JudgeSystem.Compilers
{
public interface ICompilerFactory
{
ICompiler CreateCompiler(ProgrammingLanguage programmingLanguage);
}
}
|
using System;
using System.Reflection;
namespace LOLCode.Compiler.Symbols
{
internal abstract class FunctionRef
: SymbolRef
{
// TODO: All of these should be readonly.
public int Arity;
public bool IsVariadic;
public Type ReturnType;
public Type[] ArgumentTypes;
public abstract MethodInfo Method { ge... |
using System.Collections.Generic;
namespace AntDesign.Docs
{
public class DemoComponent
{
public string Title { get; set; }
public string SubTitle { get; set; }
public string Type { get; set; }
public string Desc { get; set; }
public string ApiDoc { get; set; }
... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------... |
namespace GB.Unity.Editor {
using UnityEngine;
using UnityEditor;
public class GBMenuEditor {
[MenuItem ("GeBros/Documents/Start Guide...", false, 200)]
public static void ShowDocumentsStartGuide() {
Application.OpenURL("127.0.0.1");
}
[MenuItem ("Ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Autofac;
using UnityEngine;
namespace SceneJect.Common
{
/// <summary>
/// MonoBehaviour that can be inherited from to register dependencies
/// that aren't MonoBehaviour and thus don't exist in the scene or can't
/// exis... |
using System.Windows;
using System.Windows.Input;
namespace Cobalt.Views.Util
{
public class TextBoxUtil
{
public static readonly RoutedEvent EnterUpEvent = EventManager.RegisterRoutedEvent("EnterUp",
RoutingStrategy.Bubble,
typeof(RoutedEventHandler), typeof(TextBoxUtil));
... |
namespace Common.Lab
{
using System;
using System.Collections.Generic;
using System.Linq;
public class JournalLog
{
public List<EntryLog> EntryLogList { get; internal set; }
public int Count { get; internal set; }
public JournalLog()
{
this.EntryLogList... |
namespace PunchGame.Server.Room.Core.Output
{
public class GameStartedEvent : RoomBroadcastEvent
{
}
}
|
using WG.Entities;
using Common;
using System;
using System.Linq;
using System.Collections.Generic;
namespace WG.Controllers.stock.stock_master
{
public class StockMaster_ItemDTO : DataDTO
{
public long Id { get; set; }
public long ProductId { get; set; }
public long FirstVari... |
using Core.Model;
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace OnlineStore.Api.Extensions
{
public static class CommandResponseExtensions
{
public static void AddToModelState(
this CommandResponse commandResponse,
ModelStateDictionary modelStateDictionary)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using System.Linq;
namespace IndiePixel
{
public class IP_Track : MonoBehaviour
{
#region Variables
[Header("Track Properties")]
public IP_Track_Data trackData;
public List... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rocket : Bullet {
public float _explosionRadius;
public float _explosionTime;
public UnityEngine.Events.UnityEvent OnExplode;
void Start() {
Invoke("Explode", _explosionTime);
}
protected ov... |
using System;
namespace Logzio.NLog.Extensions
{
public class Options
{
public string Name { get; set; }
public string Token { get; set; }
public string LogzioType { get; set; }
public string ListenerUrl { get; set; }
public int BufferSize { get; set; }
public T... |
using System;
using System.Reflection;
using Castle.DynamicProxy;
namespace SharpAspect
{
/// <summary>
/// Encapsulates an invocation of a proxied method.
/// </summary>
public interface IInvocation
{
object[] Arguments { get; }
Type[] GenericArguments { get; }
object Invoc... |
namespace NewRelicSharp.Items
{
using System.Text;
/// <summary>
/// Represents base, not mandatory parameters for deployments.
/// Could not be used to record deployment
/// Do not use this base class directly
/// </summary>
public abstract class DeploymentsBase
{
internal con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Poke_Edit
{
public struct Time
{
public ushort hours;
public byte minutes, seconds;
};
public enum Gender {
Male = 0, Female = 1
};
public str... |
namespace Evelyn.Client
{
public interface IEvelynClient
{
bool GetToggleState(string toggleKey);
}
}
|
/*
* File: AgentDriver.cs
* Project: Unity 2018 AI Programming Cookbook
* Created Date: 2018-05-27 15:41:40
* Author: Jorge Palacios
* -----
* Last Modified: 2018-05-27 16:19:11
* Modified By: Jorge Palacios
* -----
* Copyright (c) 2018 Packt Publishing Ltd
*/
using UnityEngine;
public class AgentDriver : M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ES5.Script.EcmaScript.Internal
{
public class ArrayLiteralExpression : ExpressionElement
{
List<ExpressionElement> fItems;
public ArrayLiteralExpression(PositionPair aPositionPair, params Expressi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.DataTransferObjects
{
public class MeasurementDto
{
public double Value { get; set; }
public DateTime Time { get; set; }
public int SensorId { get; set; }
... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography.X509Certificates;
using System.Text.Json.Serialization;
using CommandLine;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
u... |
namespace Test.BridgeIssues.N447
{
using Bridge;
public class N447
{
public const int Five = 5;
public const string Another = "Another";
public const decimal Ten = 10m;
[InlineConst]
public const int InlineFifteen = 15;
[InlineConst]
public const st... |
using System.IO;
using UnityEditor.AssetImporters;
using UnityEngine;
namespace ANovel.Engine.Tools
{
[ScriptedImporter(1, "anovel")]
public class ANovelAssetImporter : ScriptedImporter
{
public override void OnImportAsset(AssetImportContext ctx)
{
var texts = File.ReadAllText(ctx.assetPath);
var asset = ... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
namespace IGeekFan.FreeKit.Modularity;
public class ModuleRoutingMvcOptionsPostConfigure : IPostConfigureOptions<MvcOptions>
{
private readonly IEnumerable<ModuleInfo> _modules;
public ModuleR... |
using UnityEngine;
using System.Collections;
public interface IInteract
{
/// <summary>
/// Called when the player wants to interact with the object implementing this interface
/// </summary>
void Interact();
/// <summary>
/// What is displayed on screen when the player is close en... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpBasic.Basic.BasicKnowledge
{
public class Demo
{
public static void TestDemo() {
/*
//属性和索引器
Person p1 = new Person();
Per... |
using System;
using System.Windows.Media;
using System.Windows.Threading;
using TETCSharpClient;
using TETCSharpClient.Data;
using TETWinControls;
namespace NetworkController.Plugin.EyeTribe
{
public partial class GazeDot : IGazeUpdateListener
{
public bool EnableCorrection;
public GazeDot(Color fillColor)
... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace YaR.Clouds.SpecialCommands
{
public class RemoveBadLinksCommand : SpecialCommand
{
public RemoveBadLinksCommand(Cloud cloud, string path, IList<string> parames): base(cloud, path, parames)
{
}
protected o... |
using GL.Events.Home;
using HK.Framework.EventSystems;
using UniRx;
using UnityEngine;
using UnityEngine.Assertions;
using DG.Tweening;
namespace GL.Home.UI
{
/// <summary>
/// フッターを制御するクラス
/// </summary>
public sealed class FooterController : MonoBehaviour
{
public enum Mode
{
... |
using SetBoxTV.VideoPlayer.Interface;
using Xamarin.Forms;
[assembly: Dependency(typeof(SetBoxTV.VideoPlayer.Droid.Controls.CloseApplication))]
namespace SetBoxTV.VideoPlayer.Droid.Controls
{
class CloseApplication : ICloseApplication
{
public void closeApplication()
{
MainActivity... |
using UnityEngine;
namespace Entia.Experimental.Unity
{
public abstract class NodeReference : ScriptableObject
{
public abstract Node Node { get; }
}
} |
using System;
using Xunit;
namespace SharpAdbClient.Tests
{
public class AdbServerStatusTests
{
[Fact]
public void ToStringTest()
{
AdbServerStatus s = new AdbServerStatus()
{
IsRunning = true,
Version = new Version(1, 0, 32)
... |
using NUnit.Framework;
using UnityAuxiliaryTools.Trigger;
using UnityAuxiliaryTools.Trigger.Factory;
namespace UnityAuxiliartyTools.Tests.Triggers
{
public class TriggerFactoryTests
{
[Test]
public void CreateRegularTrigger_RegularTriggerCreated()
{
// Arrange
v... |
using Xunit;
namespace DFC.ServiceTaxonomy.IntegrationTests.Helpers
{
[CollectionDefinition("GraphCluster Integration")]
public class GraphClusterIntegrationCollection : ICollectionFixture<GraphClusterCollectionFixture>
{
}
}
|
using System.Collections.Generic;
namespace SJP.Schematic.Core
{
/// <summary>
/// Defines a database index.
/// </summary>
/// <seealso cref="IDatabaseOptional" />
public interface IDatabaseIndex : IDatabaseOptional
{
/// <summary>
/// The index name.
/// <... |
using LmpClient.Base;
namespace LmpClient.Systems.VesselPositionSys
{
public class PositionEvents : SubSystem<VesselPositionSystem>
{
/// <summary>
/// When stop warping adjust the interpolation times of long running packets
/// </summary>
public void WarpStopped()
{
... |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Mimetick.WinApp.ViewModels;
namespace Mimetick.WinApp.Tests.ViewModels
{
[TestClass]
public class ShellViewModelTests
{
[TestMethod]
public void Should_CreateVM_When_ConstructorValid()
{
v... |
namespace Roton.Emulation.Conditions
{
public interface IConditionList
{
ICondition Get(string name);
}
} |
//
// TextureX.cs
//
// Copyright (c) 2014-2015, Candlelight Interactive, LLC
// 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 ... |
using System;
namespace PiRhoSoft.MonsterMaker
{
public class ExponentOperator : InfixOperatorExpression
{
public override ExpressionResult Evaluate(InstructionContext context)
{
var number = Left.Evaluate(context);
var exponent = Right.Evaluate(context);
if (number.Type == ExpressionResultType.Number... |
using System;
using System.Runtime.Caching;
using System.Threading.Tasks;
using DryIoc;
using VaraniumSharp.Attributes;
using VaraniumSharp.Interfaces.Caching;
namespace VaraniumSharp.Initiator.Caching
{
/// <summary>
/// Factory for creating <see cref="IMemoryCacheWrapper{T}"/> instances
/// </summary>
... |
namespace Windows.UI.Xaml.Controls.Maps;
public enum MapAnimationKind
{
Default,
None,
Linear,
Bow
}
|
using System;
using NUnit.Framework;
using WodiLib.Cmn;
using WodiLib.Sys.Cmn;
using WodiLib.Test.Tools;
namespace WodiLib.Test.Cmn
{
[TestFixture]
public class VariableAddressFactoryTest
{
private static WodiLibLogger logger;
[SetUp]
public static void Setup()
... |
namespace Monorepo2020.Tests.Solutions;
public class Day6Tests : SolutionTestBase<Day6, string[][]>
{
protected override long? Part1Solution => 6596;
protected override long? Part2Solution => 3219;
[Fact]
void Solve1() => TestSolve1ForInput("test1.txt", 11);
[Fact]
void Solve2() => ... |
//using System.Drawing;
//using System.Drawing.Imaging;
using ImageProcessorCore;
using ImageProcessorCore.Formats;
using Microservice.Library.Extension;
using System;
using System.IO;
using System.Text.RegularExpressions;
namespace Microservice.Library.File
{
/// <summary>
/// 图片操作帮助类
/// </summary>
... |
using Openfox.Foxnet.Client;
using Openfox.Foxnet.Common.Protocol;
using System;
using System.Threading;
namespace Openfox.Foxnet.ConsoleClient
{
class Program
{
static void Main(string[] args)
{
const string ip = "127.0.0.1";
const int port = 7800;
Console... |
using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace SourceGenerator.MediatR.Proxy.Internal
{
internal static class ResourceReader
{
public static string GetResource(string endWith, Type assemblyType = null)
{
var assembly = GetAssembly(assemblyType)... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using IntoTheCode.Buffer;
namespace Buffer
{
[TestClass]
public class BufferTest
{
[TestMethod]
public void ITC01GetLineAndColumn()
{
string str = @"Firstline
SecondlineX
Thirdline
Z";
int line, column;
... |
using System.IO;
using System.Linq;
using TankLib;
using TankLib.ExportFormats;
namespace DataTool.SaveLogic {
public static class Entity {
public class OverwatchEntity : IExportFormat {
public string Extension => "owentity";
protected readonly FindLogic.Combo.ComboInfo Info;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ConsTemperature : ConsObj
{
// Setup relevant properties
private enum Mode { On, Off }
private string[] modeNames = { "På", "Av" };
private enum Type { TwentyFour, TwentyTwo, Twenty, Eight... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
/******************************************************************************
* Copyright (C) Leap Motion, Inc. 2011-2018. *
* Leap Motion proprietary and confidential. *
* ... |
using System.Runtime.Serialization;
namespace MailChimp.Lists
{
[DataContract]
public class ListActivity
{
[DataMember(Name = "user_id")]
public string UserId
{
get;
set;
}
[DataMember(Name = "day")]
public string Date
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Datalayer.Gremlin
{
public class CosmosDBConfig
{
public string HostName { get; set; }
public int Port { get; set; }
public string AuthorityKey { get; set; }
public string DatabaseName { get; set; }
public string CollectionNa... |
namespace NVIDIA.PhysX.Unity
{
public class PxPlaneShape : PxSolidShape
{
#region Protected
protected override PxGeometry CreateGeometry()
{
return new PxPlaneGeometry();
}
protected override void ApplyProperties()
{
base.ApplyProperties(... |
using UnityEngine;
namespace PoolDesignPattern
{
public class Spawner : MonoBehaviour
{
public Pool pool;
public float frequency = 0.3f;
public float radius = 1f;
private float _lastTimeSpawned;
private void OnEnable()
{
_lastTimeSpawned = Time.time... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.