content stringlengths 23 1.05M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "New Arrow", menuName = "Arrow")]
public class ArrowScriptable : ScriptableObject
{
public CardColor Color;
public Sprite Art;
public ArrowScriptable(CardColor color)
{
Color = color;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace BpToolsLib
{
public class StageSet : HashSet<Stage>, IBaseElement, IExpressionHolder, IDataNameHolder
{
public MutableExpressionSet Expre... |
namespace Chakad.Core
{
public class ServiceSpecification
{
public static string ServiceId { get; set; }
public static string InstanceId { get; set; }
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace de.JochenHeckl.Unity.DataBinding.Example
{
public class TwoWayDataBindingView : ViewBehaviour
{
public Action<int> HandleSelectionChangedCallback { get; set; }
public void HandleD... |
using System;
using UnityObject = UnityEngine.Object;
namespace Vexe.Runtime.Types
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter)]
public class ResourcePathAttribute : DrawnAttribute
{
public Type ResourceType { get; set; }
public Resour... |
namespace BankOrganization
{
using System;
public class Individual : Customer
{
public Individual(string custName, string custID, string customerNumber)
:base(custName, custID, customerNumber)
{
}
public override string ToString()
{
... |
using NaughtyAttributes;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GameplayIngredients.Logic
{
[AddComponentMenu(ComponentMenu.logicPath + "Global Logic")]
[HelpURL(Help.URL + "globals")]
[Callable("Data", "Logic/ic-generic-logic.png")]
public class Globa... |
using System.Collections.Generic;
namespace Smartling.Api.Model
{
public class RecentlyPublished
{
public List<PublishedItem> items { get; set; }
public int totalCount { get; set; }
}
}
|
using System.ComponentModel.DataAnnotations;
namespace Foyer.Families.Dto
{
public class GetFamilyInput
{
[Range(1, int.MaxValue)]
public int FamilyId { get; set; }
}
} |
using UnityEngine;
using Bachelor.Utilities;
using System.Collections.Generic;
using Object = System.Object;
using Handler = System.Action<System.Object, System.Object>;
using SenderTable = System.Collections.Generic.Dictionary<
System.Object,
System.Collections.Generic.List<System.Action<
System.Objec... |
namespace Rhinobyte.Extensions.TestTools;
/// <summary>
/// Wait/delay configuration item values for a given category key
/// </summary>
public class WaitConfigurationItem
{
/// <summary>
/// The value to use for the delay or the initial delay value to use before first checking the wait condition
/// </summary>
p... |
using System;
using NUnit.Framework;
using static procdiag.tests.RunUtility;
namespace procdiag.tests.integration
{
[TestFixture]
[Category("Integration")]
internal class MemoryStatsTests
{
[Test]
public void X86_ShouldPrintMemoryStats()
{
// arrange
usi... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using ProtoBuf;
namespace Mediator
{
public interface IData
{
//Weeell, let client be creating new da... |
using Hashtables.Classes;
using System;
using Xunit;
namespace HashtablesTest
{
public class UnitTest1
{
/// <summary>
/// Testing that a value can be added
/// </summary>
/// <param name="test">Value to add</param>
[Theory]
[InlineData("Test")]
[InlineDa... |
using TMPro;
using UnityEngine;
[RequireComponent(typeof(TextMeshProUGUI))]
public class ScoreTextDisplay : MonoBehaviour
{
[SerializeField]
private LevelSpec levelSpec;
[SerializeField]
private FloatReference charactersReachedGoal;
private TextMeshProUGUI textField;
private void Awake()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OmmitedDTOModel3
{
public class EntityDTO12 : BaseEntity
{
public EntityDTO12()
{
//this.Entities20 = new EntityDTO20();
//this.Entities14 = new... |
/*******************************************************
*
* 作者:CodeProject
* 创建时间:2009
* 说明:此文件只包含一个类,具体内容见类型注释。
* 运行环境:.NET 4.0
* 版本号:1.0.0
*
* 历史记录:
* 创建文件 CodeProject 2009
*
*******************************************************/
using System;
using System.Data;
using Rafy.Domain.ORM.Query;
using Ra... |
/*
* ImageAttributes.cs - Implementation of the
* "System.Drawing.Imaging.ImageAttributes" class.
*
* Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*... |
using System.Threading.Tasks;
using BookLovers.Base.Infrastructure;
using BookLovers.Librarians.Domain.TicketOwners;
using BookLovers.Librarians.Domain.Tickets;
using BookLovers.Librarians.Domain.Tickets.TicketReasons;
using BookLovers.Librarians.Events.TicketOwners;
namespace BookLovers.Librarians.Domain.Librarians.... |
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Microsoft.AspNetCore.Mvc.Rendering;
using MovieRating.Movies;
using System;
using System.Collections.Generic;
namespace MovieRating
{
[AutoMapFrom(typeof(MovieDetails))]
public class MovieListDto : IEntityDto
{
public string Title { ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Assertions;
using Unity.Entities;
using Unity.Mathematics;
using Unity.Transforms;
using Unity.Jobs;
using Unity.Collections;
using Unity.Physics;
using Unity.Physics.Systems;
public class RaycastHitJob : MonoBehaviour
{
... |
using System;
using System.Collections.Generic;
namespace Xyperico.Agres.MessageBus.Subscription
{
public interface ISubscriptionService
{
QueueName InputQueueName { get; }
/// <summary>
/// Local process making a subscription request to remote service
/// </summary>
/// <param ... |
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using InventoryPoc.Data.Models.Profile;
namespace InventoryPoc.Data.Mappings.Profile
{
public class GroupMapping : EntityTypeConfiguration<Group>
{
public GroupMapping()
{
ToTable("Group");
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
namespace PropCalc
{
public static class DrawFormula
{
public static PictureBox pbDraw = null;
private static Font fntXr = new Font("Microsoft Sans Serif", 18,
Font... |
using System;
using Foundation;
using UIKit;
using Plugin.SimpleAudioPlayer;
namespace SAPlayerSample.tvOS
{
public partial class ViewController : UIViewController
{
Plugin.SimpleAudioPlayer.Abstractions.ISimpleAudioPlayer player;
public ViewController(IntPtr handle) : base(handle)
{
... |
using FubuMVC.Core.ServiceBus.Runtime.Routing;
using NUnit.Framework;
using Shouldly;
namespace FubuMVC.Tests.ServiceBus.Runtime.Routing
{
[TestFixture]
public class LambdaRoutingRuleTester
{
[Test]
public void positive_match()
{
var rule = new LambdaRoutingRule(type =>... |
#region Copyright
// ****************************************************************************
// <copyright file="CompiledExpressionInvoker.cs">
// Copyright (c) 2012-2017 Vyacheslav Volkov
// </copyright>
// ****************************************************************************
// <author>Vyacheslav Volkov... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Data;
using System.IO;
using dolphindb;
using dolphindb.data;
namespace DolphinDBForExcel
{
public class DbObjectInfo
{
public string name;
public string type;
public s... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace tezcat.Framework.Definition
{
public abstract class TezDefinitionSystemContainer
{
public abstract void addPrimaryNode(int id, TezDefinitionNode node);
public abstract void addSecondaryNode(int id, TezDefinitionLeaf n... |
using Quasardb.Exceptions;
using Quasardb.Native;
using Quasardb.TimeSeries;
namespace Quasardb
{
class QdbEntryFactory
{
readonly qdb_handle _handle;
public QdbEntryFactory(qdb_handle handle)
{
_handle = handle;
}
public QdbEntry Create(string alias)
... |
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Variables/Float List Variable")]
public class GlobalFloatListVariable : GlobalVariable<List<float>> { }
|
//Problem 1. Sum of 3 Numbers
//Write a program that reads 3 real numbers from the console and prints their sum.
//Examples:
//a b c sum
//3 4 11 18
//-2 0 3 1
//5.5 4.5 20.1 30.1
using System;
class SumOf3Numbers
{
static void Main()
{
Console.WriteLine("Enter a");
... |
using CompoundInterestBackend.Common.Contracts;
using CompoundInterestBackend.Common.Shared;
namespace CompoundInterestBackend.Utilities
{
public class UtilityFactory : FactoryBase
{
public UtilityFactory(AmbientContext context) : base(context)
{
}
public T CreateUt... |
using System;
using HyperFastCgi.Interfaces;
using System.Threading;
using System.Collections.Generic;
namespace HyperFastCgi.Transports
{
public class TransportRequest
{
private static int nreq;
public ulong Hash;
public uint fd;
public ushort RequestId;
public int RequestNumber;
public bool StdOutSen... |
using UnityEngine;
public class ExitDetector : MonoBehaviour
{
public GameDirector director;
private void OnTriggerEnter(Collider col)
{
if (col.gameObject.TryGetComponent<PlayerController>(out _))
{
director.EnterNextRoom();
Destroy(this.gameObject);
}
... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using MessageBoard;
namespace MessageBoard.Migrations
{
[DbContext(typeof(DataContext))]
partial class DataContex... |
using OfficeAppointmentSoftware.Entities.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeAppointmentSoftware.BLL.Abstracts.AdminServices
{
public interface IBannerService
{
void BannerAdd(Banner banner) ;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BombInBoxApp
{
public partial class PictureBoxWithTimer : System.Windows.Forms.PictureBox
{
public delegate void ptrMethod(bool flag = true);
public ptrMethod CallBack... |
using UnityEngine;
namespace UniSkin
{
internal static class Texture2DExtensions
{
public static Texture2D ToDecompressedTexture(this Texture2D source)
{
var renderTexture = RenderTexture.GetTemporary(source.width, source.height);
Graphics.Blit(source, renderTexture);
... |
using System.Threading.Tasks;
using Todo.Core.Queries;
using Xunit;
namespace ToDo.Tests.Integration.Data.Queries
{
public class ToDoItemsByOwnerQueryShould
{
[Fact]
public async Task xxx()
{
ToDoItemsByOwnerQuery query = new ToDoItemsByOwnerQuery("wouterdekort");
var repository = RepositoryHelper.GetR... |
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using Xenko.Core.Assets;
namespace Xenko.Assets.Sprite
{
public class SpriteSheetSprite2DFactory... |
namespace MiCake.Serilog.ExceptionHanding
{
/// <summary>
/// log error info with serilog
/// </summary>
//public class SerilogErrorHandlerProvider : ILogErrorHandlerProvider
//{
// private SerilogConfigureOption _serilogConfigure;
// public SerilogErrorHandlerProvider(SerilogConfigur... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
namespace Xms.Web.Framework
{
/// <summary>
/// 图片结果视图
/// </summary>
public class ImageResult : ActionResult
{
public byte[] Image { get; set; }
public string ContentType ... |
@model StepViewModel
<div class="content-container">
<div class="grid-row">
<div class="column-desktop-two-thirds" style="list-style: none;">
@Html.Raw(Model.Content)
</div>
</div>
</div>
|
//
// Automatically generated by JSComponentGenerator.
//
using UnityEngine;
public class JSComponent_TransChange_Visible : JSComponent
{
int idOnTransformChildrenChanged;
int idOnTransformParentChanged;
int idOnBecameInvisible;
int idOnBecameVisible;
protected override void initMemberFunction()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleWeather.TomorrowIO
{
public class AlertRootobject
{
public AlertData data { get; set; }
}
public class AlertData
{
public Event[] events { get; set; ... |
namespace FirebirdDbComparer.DatabaseObjects
{
public enum ContextTypeType
{
Table = 0,
View = 1,
Procedure = 2,
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Looker.RTL
{
/// <summary>
/// Base type for all generated SDK models
/// </summary>
/// <remarks>
/// This is where general-purpose type ... |
using System;
using System.Text.Json;
using Shouldly;
using Xunit;
namespace DeltaSight.Statistics.Tests;
public class SimpleStatisticsTrackerTests
{
[Fact]
public void Remove_FromEmpty_ShouldThrow()
{
Assert.Throws<StatisticsTrackerException>(() =>
{
var tracker = new SimpleSt... |
using UnityEngine;
namespace CybSDK
{
/// <summary>
///
/// </summary>
public static class IVirtDeviceUnityExtensions
{
/// <summary>
/// Returns the movement direction as a speed scaled vector relative to the current player orientation.
/// </summary>
public static Vector3 GetMovementVector(this IVi... |
// Requires Json.Net for Unity
/*
using UnityEngine;
using UnityEngine.Events;
namespace Playcraft.Saving
{
public class RespondToFlagValue : MonoBehaviour
{
[SerializeField] StringSO flag;
[SerializeField] UnityEvent True;
[SerializeField] UnityEvent False;
public vo... |
namespace Edgar.Unity.Editor
{
public interface IDoorModeInspector
{
void OnInspectorGUI();
void OnSceneGUI();
}
} |
using System.Collections.Generic;
namespace DataKit.Mapping
{
public interface IObjectMapper
{
/// <summary>
/// Map from <see cref="from"/> to a new instance of <see cref="TTo"/>.
/// </summary>
TTo Map<TFrom, TTo>(TFrom from)
where TFrom : class
where TTo : class;
/// <summary>
//... |
//-----------------------------------------------------------------------------
// EditCurveKeyCollection.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
using System;
using System... |
using JustSaying.Models;
namespace JustSaying.UnitTests.Messaging.Serialization.SerializationRegister
{
public class CustomMessage : Message
{
}
}
|
using StaticClasses.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StaticClasses
{
// This static class is serving as a temporary database
// While the app is running, the static members of this class will keep their data
// It can also be accessed from an... |
using System;
namespace NimatorCouchBase.NimatorBooster.L.Parser.Storage
{
public interface IMemorySlot
{
IMemorySlotKey Key { get; }
Type ValueType { get; }
object Value { get; }
bool IsEmpty();
}
} |
//----------------------------------------------------------------
// <copyright company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//----------------------------------------------------------------
namespace System.Activities.Presentation.View
{
usin... |
using Equinor.ProCoSys.Preservation.Domain.AggregateModels.ProjectAggregate;
using MediatR;
using ServiceResult;
namespace Equinor.ProCoSys.Preservation.Command.TagCommands.DuplicateAreaTag
{
public class DuplicateAreaTagCommand : AbstractAreaTag, IRequest<Result<int>>, ITagCommandRequest
{
public Dup... |
namespace Elicon.Domain.GateLevel.Contracts.DataAccess
{
public interface INetlistFileReaderProvider
{
INetlistFileReader GetReaderFor(string source);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServiceLibrary.DependencyInjection
{
public class ServiceHost : System.ServiceModel.ServiceHost
{
public ServiceHost()
{ }
public ServiceHost(object singletonI... |
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
namespace MiniTerm.Native
{
/// <summary>
/// PInvoke signatures for win32 console api
/// </summary>
static class ConsoleApi
{
internal const int STD_OUTPUT_HANDLE = -11;
internal const uint ENABLE_VIRTUAL_TE... |
using System;
using BTCPayServer.Configuration;
using Microsoft.Extensions.Configuration;
using NBitcoin;
namespace BTCPayServer
{
public static class ConfigurationExtensions
{
public static string GetDataDir(this IConfiguration configuration)
{
var networkType = DefaultConfiguratio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TeammatesMatchupLibrary
{
public enum RegionsEnum
{
euw1,
na1,
br1,
eun1,
jp1,
kr,
la1, la2,
oc1,
... |
// <copyright company="Aspose Pty Ltd">
// Copyright (C) 2011-2020 GroupDocs. All Rights Reserved.
// </copyright>
namespace GroupDocs.Parser.Examples.CSharp.AdvancedUsage.WorkingWithZipArchivesAndAttachments
{
using System;
using System.Collections.Generic;
using System.Text;
using GroupDocs.Parser.... |
using System;
using VidlyConsoleApp01.Examples;
namespace VidlyConsoleApp01
{
class Program
{
static void Main(string[] args)
{
var custExamples = new CustomerExamples();
var codeTableExamples = new CodeTableExamples();
var movieExamples = new MovieExamples(... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleAppWebJob.Constants
{
public class Format
{
public const string DateTimeStr = "yyyy-MM-ddTHH:mm:ss";
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WaveManager : MonoBehaviour
{
public List<Wave> waves = new List<Wave>();
public Transform[] waypoints;
public bool shouldStartImmediately;
int currentWaveIndex;
public float waitBeforeSpawn... |
// Copyright (c) Samuel Cragg.
//
// Licensed under the MIT license. See LICENSE file in the project root for
// full license information.
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
[assembly: InternalsVisib... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DefaultState : IState {
private bool spawnEnemy;
public DefaultState()
{
this.spawnEnemy = true;
}
public DefaultState(bool spawnEnemy)
{
this.spawnEnemy = spawnEnemy;
}
pub... |
@model ControlGroup
@{
if (Model == null || !Model.Visible)
{
return;
}
}
<li class="control-group">
<h3 class="semi-bold">@Model.GroupName</h3>
<ul>
@foreach (var control in Model.Controls)
{
if (string.IsNullOrEmpty(control.Link))
{
... |
namespace GeocodeApi.Geocode.DrivingDependencies
{
public class GeocodeRequest
{
public string Street { get; set; }
public string City { get; set; }
public string StateCode { get; set; }
public string ZipCode { get; set; }
}
}
|
using Editor_Mono.Cecil.Cil;
using Editor_Mono.Cecil.Metadata;
using System;
namespace Editor_Mono.Cecil.PE
{
internal sealed class Image
{
public ModuleKind Kind;
public string RuntimeVersion;
public TargetArchitecture Architecture;
public ModuleCharacteristics Characteristics;
public string FileName;
pu... |
namespace Minotaur.Classification.Rules {
using System;
using System.Diagnostics.CodeAnalysis;
using Minotaur.Collections;
public sealed class Rule: IEquatable<Rule> {
public readonly int NonNullTestCount;
public readonly Antecedent Antecedent;
public readonly Consequent Consequent;
private readonly int _... |
using System;
namespace ESFA.DC.ILR.ValidationService.Data.External.LARS.Interface
{
/// <summary>
/// the lars framework aim
/// </summary>
public interface ILARSFrameworkAim
{
/// <summary>
/// Gets the framework code.
/// </summary>
int FworkCode { get; }
... |
using System.Collections.Generic;
namespace Plus.EventBus
{
/// <summary>
/// Defines an interface for factories those are responsible to create/get and release of event handlers.
/// </summary>
public interface IEventHandlerFactory
{
/// <summary>
/// Gets an event handler.
... |
namespace OpenDND.Data.Repositories.DND
{
public class SpellsRepository : RepositoryBase
{
public SpellsRepository(OpenDNDContext openDndContext) : base(openDndContext)
{
}
}
} |
using System;
class EqualWord
{
static void Main()
{
var word1 = Console.ReadLine().ToLower();
var word2 = Console.ReadLine().ToLower();
if (word1==word2)
{
Console.WriteLine("yes");
}
else
{
Console.WriteLine("no");
}
... |
namespace Johnny.Controls.Windows.ListBoxSelector
{
partial class GenericListBoxSelector<T>
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using MegaSolucao.Infraestrutura;
using Raven.Client.Documents;
using Raven.Client.Documents.Conventions;
using Raven.Client.Documents.Operations.Indexes;
using Raven.Cl... |
using UnityEngine;
using System.Collections.Generic;
using VRDF.Core.SetupVR;
namespace VRDF.Core.Raycast
{
public static class ControllersRaycastOffset
{
public static Dictionary<EDevice, Vector3> RaycastPositionOffset = new Dictionary<EDevice, Vector3>
{
{ EDevice.GEAR_VR, Vector... |
using System;
using System.Collections.Generic;
using System.Linq;
using Fact.Extensions.States;
namespace Fact.Extensions.Collection
{
/// <summary>
/// A State Accessor is a more powerful type of session/state bag. It adds the following abilities:
///
/// 1) queryable type awareness of contents o... |
namespace WebApi.Infra
{
public interface IEnumnerableUser
{
}
} |
@page
@using Microsoft.AspNetCore.Mvc.Localization
@using Acme.BookStore.Localization
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal
@using Acme.BookStore.Web.Pages.Books
@using Acme.BookStore.Books;
@using System.Globalization
@inject IHtmlLocalizer<BookStoreResource> L
@model CreateModalModel
@{
Lay... |
using System;
using System.Collections.Generic;
using System.Linq;
using AutoFixture;
using Lucene.Net.DocumentMapper.FieldMappers;
using Lucene.Net.DocumentMapper.Helpers;
using Lucene.Net.DocumentMapper.Interfaces;
using Lucene.Net.DocumentMapper.Tests.Models;
using Lucene.Net.DocumentMapper.Tests.Models.NestedObject... |
using EasyRoslynScript;
using FlexibleConfigEngine.Core.Graph;
using FlexibleConfigEngine.Core.Script.Fluent;
namespace FlexibleConfigEngine.Core.Script
{
public static class FluentScriptMethods
{
public static IGraphManager GraphManager { private get; set; }
public static GatherFluent Gather... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text;
using System.Threading.Tasks;
using Telegram.Bot;
using Telegram.Bot.Types.Enums;
namespace Dictionary.Services.Services
{
public class BotService
{
public static ITelegramBotClient GetBot()
{
... |
using Autolib.Helpers;
using Autolib.Modeles;
using Autolib.Modeles.DAO;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=39786... |
namespace Pat.Subscriber.UnitTests.Events
{
public class Eventv2 : Eventv1
{
}
} |
// Copyright (c) 2021-2021 Jean-Philippe Bruyère <jp_bruyere@hotmail.com>
//
// This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
using System;
using Crow;
using Crow.Text;
using System.Diagnostics;
using System.Collections;
namespace CrowEditBase
{
public abstract class Source... |
/********************************************************************************
Copyright (c) jiniannet (http://www.jiniannet.com). All rights reserved.
Licensed under the MIT license. See licence.txt file in the project root for full license information.
***********************************************************... |
// File generated from our OpenAPI spec
namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class PersonFutureRequirements : StripeEntity<PersonFutureRequirements>
{
/// <summary>
/// Fields that are due and can be satisfied by providing the corresponding ... |
using System;
using IbanLib.Countries;
using Moq;
using NUnit.Framework;
namespace IbanLib.Test.Common
{
public static class TestUtil
{
public static ICountry MockNotNullCountry = new Mock<ICountry>().Object;
public static void ExpectedException<TException>(Action action)
{
... |
using System.Data.SqlClient;
using System.Data.SQLite;
using EtlLib.Pipeline;
using FluentAssertions;
using Xunit;
namespace EtlLib.UnitTests.EtlPipeline
{
public class DbConnectionFactoryTests
{
[Fact]
public void Can_register_typed_connections()
{
const string cs1 = "Data... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Net;
using System.Net.Sockets;
namespace Microsoft.Azure.WebJobs.Script.Workers
{
public static class WorkerUtilities
{
public static int... |
using System;
using System.Collections;
using System.Collections.Generic;
using Telerik.Core;
namespace Telerik.Data.Core.Layouts
{
internal abstract class BaseLayout
{
private double defaultItemLength;
private double defaultItemOppositeLength;
public BaseLayout()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MLAgents;
using System.Linq;
public class StyleTransfer001Agent : Agent, IOnSensorCollision {
public List<float> SensorIsInTouch;
StyleTransfer001Master _master;
StyleTransfer001Animator _styleAnimator;
List<GameObj... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security;
using System.Reflection;
using System.Web;
namespace CHystrix.Utils.CFX
{
[SecurityCritical]
internal static class CommonAssemblies
{
internal static readonly Assembly MicrosoftWebInfrastru... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PaperMarioBattleSystem
{
/// <summary>
/// The Sequence for the Bobbery Bombs' Blink Faster action.
/// </summary>
public sealed class BlinkFasterSequence : Sequence... |
using System;
using RapidCMS.Core.Models.Setup;
namespace RapidCMS.Core.Models.UI
{
public class CustomExpressionFieldUI : ExpressionFieldUI
{
internal CustomExpressionFieldUI(CustomExpressionFieldSetup field) : base(field)
{
CustomType = field.CustomType;
}
public... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.