content stringlengths 23 1.05M |
|---|
namespace Atc.Cosmos.EventStore.Events
{
public interface IEventNameProvider
{
string GetName(object evt);
}
} |
using System;
using System.Collections.Generic;
using System.Data.SQLite;
using System.IO;
using Microsoft.Extensions.Logging;
namespace Newbe.Claptrap.StorageProvider.SQLite
{
public class SQLiteDbFactory : ISQLiteDbFactory
{
private readonly ILogger<SQLiteDbFactory> _logger;
public SQLiteDbF... |
// Decompiled with JetBrains decompiler
// Type: ApplicationGlobals
// Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 5F8D6662-C74B-4D30-A4EA-D74F7A9A95B9
// Assembly location: C:\YandereSimulator\YandereSimulator_Data\Managed\Assembly-CSharp.dll
using UnityEngine;
public s... |
using System;
// Write a program that finds the biggest of five numbers by using only five if statements.
class TheBiggestOfFiveNumbers
{
static void Main()
{
Console.WriteLine("A program that finds the biggest of five numbers. ");
Console.Write("Enter number a: ");
... |
using System;
namespace Bb.OptionServer
{
internal class KeyItem
{
internal KeyItem(string name, object value)
{
this.Name = name;
this.Value = value;
}
public string Name { get; }
public object Value { get; }
public override int GetH... |
namespace AjErl.Forms
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AjErl.Expressions;
using AjErl.Language;
public class FunctionForm : IForm
{
private string name;
private IList<IExpression> parameterexpressi... |
namespace System.EventSourcing.Reflection
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class EventAttribute : Attribute
{
readonly string _subjectType;
readonly string _action;
// This is a positional argument
public Eve... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Text.Json.Serialization;
namespace MdatpPwsh.Models
{
public class InvestigationPkgDownload
{
[JsonPropertyName("value")]
public Uri DownloadUri { get; set; }
[JsonIgnore()]
pu... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using Xunit;
namespace System.Text.Json.Serialization.Tests
{
public static partial class OnSerializeTests
{
private class MyClass... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using System.Diagnostics.CodeAnalysis;
namespace Com.Atomatus.Bootstarter.Web
{
/// <summary>
/// API Versioning extensions.
/// </summary>
public static class VersioningExtensions
{... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Emphasis.OpenCL
{
public interface IComputeDispatcher
{
}
public class ComputeDispatcher
{
}
}
|
using Mirror;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Insight
{
public class GameRegistration : InsightModule
{
InsightClient client;
[SerializeField] NetworkManager networkManager;
[SerializeField] TelepathyTransport networkManagerTelepathyTransport;
[S... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BombermanMultiplayer
{
public partial class MainMenu : Form
{
public MainMenu(... |
using System;
using System.Collections.Generic;
namespace T3.Core.Operator
{
public static class SymbolRegistry //: IDisposable
{
public static Dictionary<Guid, Symbol> Entries { get; } = new Dictionary<Guid, Symbol>();
// public void Dispose()
// {
// foreach (var entry i... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using System.Text.Json.Serialization;
namespace BioDivCollector.DB.Models.Domain
{
public class User
{
[Key]
[DatabaseGenerated(Da... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Nop.Plugin.Api.DTO.Base;
using Nop.Plugin.Api.DTO.Customers;
using Nop.Plugin.Api.DTO.OrderItems;
using Nop.Plugin.Api.DTOs.Orders;
namespace Nop.Plugin.Api.DTO.Orders
{
[JsonObject(Title = "order")]
//[Validator(typeof(OrderDtoValid... |
using App.Domain.Features.Base;
using App.Domain.Models;
using System.Collections.Generic;
namespace App.Domain.Features.Places
{
public class Category : Entity
{
public Category()
{
Venues = new List<Venue>();
}
public string Name { get; set; }
public stri... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BAFactory.XEMail.ServiceClient
{
public delegate void ConfigChangedEventHandler(object sender, EventArgs e);
public class XEMailBaseConfigurationObject
{
internal protected event ConfigChangedEventHandler Config... |
using System;
using System.Collections.Generic;
using OpenRasta.Configuration;
namespace Tests.Plugins.Caching.contexts
{
public class TestConfiguration : IConfigurationSource
{
public List<Action> Has = new List<Action>();
public List<Action> Uses = new List<Action>();
public void Configur... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ImageMagickSharp
{
/// <summary> A pixel wand. </summary>
/// <seealso cref="T:ImageMagickSharp.WandBase"/>
/// <seealso cref="T:System.IDisposable"/>
public class PixelWand ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DragonBossSounds : MonoBehaviour
{
[SerializeField] private AudioClip dragonAwake;
[SerializeField] private AudioClip dragonAttack;
[SerializeField] private AudioClip dragonFlame;
[SerializeField] private Audio... |
namespace Incoding.Web.MvcContrib
{
public interface IIncodingMetaLanguageBehaviorDsl : IIncodingMetaLanguagePlugInDsl
{
void Lock();
void UnLock();
}
} |
namespace Heirloom
{
/// <summary>
/// Distortion shader.
/// </summary>
/// <category>Shaders and Effects</category>
public sealed class DistortionShader : Shader
{
private Image _distortionMap;
private float _strength;
private Vector _offset;
/// <summary>
... |
using System.Reflection;
namespace Conjure.NScribe.ScribanImpl
{
public class MethodCall
{
public object Target { get; set; }
public string MethodName { get; set; }
public MethodInfo Method { get; set; }
public override string ToString()
{
return $"[{Targe... |
using System.Collections.Generic;
using System.Linq;
namespace IronBrew2.Bytecode_Library.IR
{
public class Constant
{
public List<Instruction> BackReferences = new List<Instruction>();
public ConstantType Type;
public dynamic Data;
public Constant() { }
public Constant(Constant other)
{
Type =... |
// Copyright (c) Martin Costello, 2019. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System;
namespace MartinCostello.Testing.AwsLambdaTestServer
{
/// <summary>
/// A class representing a test request to an AWS La... |
//
// Copyright 2020 Google LLC
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Ver... |
// Copyright (c) Cratis. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Cratis.Compliance
{
/// <summary>
/// Defines a system for working with encryption.
/// </summary>
public interface IEncryption
{
///... |
using System.Collections.Generic;
namespace Model.Utils.Config
{
/// <summary>
/// CAS配置
/// </summary>
public class CASSetting
{
/// <summary>
/// 协议版本号
/// </summary>
public string ProtocolVersion { get; set; }
/// <summary>
/// 跨域地址
/// <... |
namespace Entoarox.Framework.Interface
{
internal static class Strings
{
internal static string KeyNotFound = "Component is not attached to this collection";
internal static string ComponentAttached = "Component is already attached to a collection";
internal static string ComponentNotAtt... |
namespace SampleTradier
{
public partial class PortfoliosWindow
{
public PortfoliosWindow()
{
InitializeComponent();
}
}
} |
using System;
using System.ComponentModel;
using System.Linq;
using System.Windows.Forms;
namespace GoodAI.School.GUI
{
public partial class LabelDescriptionControl : UserControl
{
private Type m_type;
public Type Type
{
get { return m_type; }
set
{... |
@model Grillbot.Models.Audit.MessageEditedAuditData;
<div class="row">
<div class="col-md-5">
<div class="row">
<div class="col-4 font-weight-bold">Kanál:</div>
<div class="col">#@(Model.Channel?.Name ?? "Neznámý kanál")</div>
</div>
</div>
<div class="col-md-7">
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Configuration;
namespace Humpback.ConfigurationOptions {
public class Configuration {
private void Parse(IEnumerable<string> options) {
var oset = new OptionSet()
... |
using Bogosoft.Testing.Objects;
using NUnit.Framework;
using Shouldly;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Bogosoft.Collections.Async.Fluent.Tests
{
[TestFixture, Category("Unit")]
public class ContainsM... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Three.Net.Core;
using Three.Net.Math;
using Three.Net.Renderers.GL4;
namespace Three.Net.Loaders
{
public class GeometryLoader : Loader
{... |
namespace AggregateSource.Testing
{
/// <summary>
/// Writes test specifications for human consumption.
/// </summary>
public interface IExceptionCentricTestSpecificationWriter
{
/// <summary>
/// Writes the specified test specification.
/// </summary>
/// <param nam... |
using System;
using Xamarin.Forms;
namespace SURA.Helpers
{
public class IAjustarLabel:RoutingEffect
{
public IAjustarLabel():base("efectoPersonalizado.IAjustarLabel")
{
}
}
}
|
using System;
namespace Meowtrix.PixivApi
{
public enum IllustSearchTarget
{
PartialTag,
ExactTag,
TitleCaption,
}
internal static class IllustSearchTargetExtensions
{
public static string ToQueryString(this IllustSearchTarget target)
=> target switch
... |
namespace ESchool.Web.ViewModels.Grade
{
using System;
using System.Collections.Generic;
using System.Text;
using ESchool.Data.Models;
using ESchool.Services.Mapping;
public class StudentGradeAtListViewModel : IMapFrom<ApplicationUser>
{
public string Id { get; set; }
pub... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System.Collections.Immutable;
using System.Reflection;
namespace Microsoft.Cci
{
/// <... |
using UnityEngine;
using System.Collections;
public class Room : MonoBehaviour {
public Obstacle[] obstacles;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public bool isSolved(){
foreach (Obstacle obstacle in obstacles) {
if (!obstacle.... |
using System.Collections.Generic;
using Intersect.Client.Core;
using Intersect.Client.Framework.File_Management;
using Intersect.Client.Framework.Gwen.Control;
using Intersect.Client.General;
namespace Intersect.Client.Interface.Game.Shop
{
public class ShopWindow
{
private static int sItemXPadding... |
using System.Collections.Generic;
using System.Drawing;
namespace HSDRawViewer.GUI
{
public static class ThemeColors
{
public static Color TabColor = Color.FromArgb(80, 80, 100);
public static Color TabColorSelected = Color.FromArgb(40, 40, 60);
public static List<Color> MainColorList... |
// <copyright file="GeoEvent.cs" company="Traced-Ideas, Czech republic">
// Copyright (c) 1990-2021 All Right Reserved
// </copyright>
// <author></author>
// <email></email>
// <date>2021-09-01</date>
// <summary>Part of Astro Observatory</summary>
namespace AstroSharedEvents.Geology {
using JetBrains.Annotation... |
using System;
using System.Linq;
using CoreAnimation;
using CoreGraphics;
using ObjCRuntime;
using Xamarin.PropertyEditing.Drawing;
namespace Xamarin.PropertyEditing.Mac
{
internal class CommonGradientBrushLayer : CALayer
{
public CommonGradientBrushLayer ()
{
}
public CommonGradientBrushLayer (NativeHandle... |
using FizzWare.NBuilder;
using FluentAssertions;
using FluentValidation.Results;
using NUnit.Framework;
using SFA.DAS.AssessorService.Api.Types.Models.ExternalApi.Epas;
using System.Threading.Tasks;
namespace SFA.DAS.AssessorService.Application.Api.UnitTests.Validators.ExternalApi.Epas.DeleteBatchEpaRequestValidator
... |
using System;
using SurvivorAI.Domain.Challenges;
using UnityEngine;
using SurvivorAI.Domain.Challenges.Coast;
public class CoastChallengeController : ChallengeControllerBase
{
private UnityEngine.Object m_survivorCubePrefab;
public CoastChallengeController()
: base(new CoastChallenge(), new CoastChr... |
namespace Wikia.Mercury
{
public class Opts
{
public bool adsInContent { get; set; }
public bool enableAdsInMaps { get; set; }
public string pageType { get; set; }
}
} |
using KraftWrapper.Interfaces;
using Sitecore.Data;
using System;
namespace KraftWrapper.Core
{
class SitecoreItemUri : ISitecoreItemUri
{
private readonly ItemUri _itemUri;
public SitecoreItemUri(ItemUri itemUri)
{
_itemUri = itemUri ?? throw new ArgumentNullException("In... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityStandardAssets.Characters.FirstPerson;
public class GameController : MonoBehaviour
{
public FirstPersonController player;
[HideInInspector]
public GameObject[] speedDownModifiers;
/** Events */
public deleg... |
namespace ZptSharp.Dom
{
/// <summary>
/// A provider for well-known namespaces related to ZPT.
/// </summary>
public interface IGetsWellKnownNamespace
{
/// <summary>
/// Gets the namespace for METAL.
/// </summary>
/// <value>The METAL namespace.</value>
Nam... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DParser.test
{
[TestClass]
public class StackTest
{
readonly SimpleStack<int> stack = null;
public StackTest()
... |
using System;
using System.Collections.Generic;
namespace DevTreks.Models
{
public partial class RateClass
{
public RateClass()
{
Rate = new HashSet<Rate>();
}
public int PKId { get; set; }
public string RateClassName { get; set; }
public DateTime R... |
using System;
using AutoPoco.Engine;
namespace AutoPoco.DataSources
{
public class DateTimeSource : DatasourceBase<DateTime>
{
private static readonly Random _random = new Random();
private readonly DateTime _min;
private readonly DateTime _max;
public DateTimeSource()
... |
using Bing.Biz.OAuthLogin.Core;
namespace Bing.Biz.OAuthLogin.Jd
{
/// <summary>
/// 京东授权提供程序
/// </summary>
public interface IJdAuthorizationProvider:IAuthorizationUrlProvider<JdAuthorizationRequest>
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EnginePrimeSync.DB
{
public class PlaylistManager : DbObjectManager<Playlist>
{
public PlaylistManager()
{
_idToObjectMap = new Dictionary<int, Playlist>();
}
}
}
|
//using System;
//using System.Collections.Generic;
//using System.Composition;
//using System.Diagnostics;
//using System.Reflection;
//using System.Threading.Tasks;
//using System.Windows;
//using Topics.Radical;
//using Topics.Radical.ComponentModel;
//using Topics.Radical.ComponentModel.Messaging;
//using Topics.R... |
using System;
using AdminCore.Constants.Enums;
using AdminCore.DataETL.Attributes;
namespace AdminCore.WebApi.Models.DataTransform
{
public class EventDataTransformModel
{
[ExportableRecordField(Name = "Event Id", ColumnPosition = 1)]
public int EventId { get; set; }
[ExportableRecordFi... |
using RestEase.Implementation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace RestEaseUnitTests.RequesterTests
{
public class PathParameterTests
{
private readonly PublicRequ... |
namespace ValveMultitool.Models.Formats.Lump
{
public class LumpElementHeaderInfo
{
public enum HeaderNameType
{
None,
String,
Char
}
public HeaderNameType Type = HeaderNameType.None;
public int CharLength = 0;
}
}
|
namespace Polkadot.DataFactory
{
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Polkadot.Data;
using System.Collections.Generic;
public class ParseNetworkState : IParseFactory<NetworkState>
{
public NetworkState Parse(JObject json)
{
dynamic djson = JsonCo... |
using Bridge.Interfaces;
namespace Bridge.Channels
{
public class Documentary : IChannel
{
public string Channel()
{
return "You're watching the documentary channel!";
}
public string Status()
{
return "'Ancient Aliens' is on.";
}
}
}
|
using static System.Console;
public class TestClassifiedAd
{
public static void Main()
{
var a = new ClassifiedAd
{
Category = "Used Cars",
Words = 100,
};
var b = new ClassifiedAd
{
Category = "Help Wanted",
Words = 60,
... |
using Microsoft.Phone.Controls;
using System;
using Todo.Client;
using Todo.Client.Models;
using WebApi.Client;
namespace Todo.WindowsPhone
{
public partial class AddTodoListPage : PhoneApplicationPage
{
public AddTodoListPage()
{
InitializeComponent();
}
private a... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using SimplTeslaCar.Models;
namespace SimplTeslaCar.Results.PostResults
{
/// <summary>
/// Requests the API to lock/unlock a car's doors. Extends BasePostResult
/// </summary>
internal cl... |
using JetBrains.Annotations;
namespace Lykke.Service.IndexHedgingEngine.Client.Models.Settlements
{
/// <summary>
/// Specifies a status of settlement.
/// </summary>
[PublicAPI]
public enum SettlementStatus
{
/// <summary>
/// Unspecified status.
/// </summary>
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
// MUX Reference AnimatedVisualPlayer.idl, commit c6174f1
using System;
using System.Numerics;
using Windows.UI.Composition;
namespace Microsoft.UI.Xaml.Controls
{
... |
using System;
namespace DtronixPackage
{
public class ChangelogEntry
{
/// <summary>
/// Contains the type of change for this entry.
/// </summary>
public ChangelogEntryType Type { get; set; }
/// <summary>
/// Username active while saving.
/// </summar... |
using System;
using System.Net;
using System.Web;
using System.Web.Mvc;
using NLog;
namespace mvcapp.Filters
{
public class WebExceptionFilter : IExceptionFilter
{
const string XmlHttpRequest = "XMLHttpRequest";
const string XRequestedWith = "X-Requested-With";
public void OnException... |
using FruitWars.Core.Models.GameState;
namespace FruitWars.Contracts
{
public interface IFrameCreator
{
IFrame CreateFrame(GameStateBase gameState);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ThreeClasses
{
class Pyramid
{
double pyramidLength;
double pyramidWidth;
double pyramidHeight;
double baseArea;
double pyramidVol... |
namespace TuVotoCuenta.Functions.Domain.Models.CosmosDB
{
public class MongoDBConnectionInfo
{
public string ConnectionString { get; set; }
public string DatabaseId { get; set; }
public string UserAccountCollection { get; set; }
public string RecordItemCollection { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// Script to emit particles for muzzle flash effect when firing blasters
public class BL_MuzzleFlash : MonoBehaviour {
// Private variables
private ParticleSystem _particleSystem;
public void Flash()
{
... |
using DFC.Personalisation.CommonUI.Interfaces;
namespace DFC.Personalisation.CommonUI.ViewComponents.Components.AutoComplete
{
public interface IAutoComplete : IAdditional
{
string Source { get; set; }
string Element { get; set; }
string Id { get; set; }
bool AutoSelect { get; ... |
using System;
namespace Cassette
{
class FileSearchProvider : IFileSearchProvider
{
readonly Func<Type, IFileSearch> getFileSearchForBundleType;
public FileSearchProvider(Func<Type, IFileSearch> getFileSearchForBundleType)
{
this.getFileSearchForBundleType = getFi... |
namespace ShaderTools.CodeAnalysis.Hlsl.Binding.BoundNodes
{
internal sealed class BoundDoStatement : BoundLoopStatement
{
public BoundDoStatement(BoundExpression condition, BoundStatement body)
: base(BoundNodeKind.DoStatement)
{
Condition = condition;
... |
// <copyright file="TracerBuilderConfigurationTests.cs" company="OpenTelemetry Authors">
// Copyright 2018, OpenTelemetry Authors
//
// 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
//
// ... |
using System;
using System.Collections.Generic;
#nullable disable
namespace Talagozis.Website.Models.Cv
{
public class Project
{
public string name { get; set; }
public string typeOfBusiness { get; set; }
public DateTime startDate { get; set; }
public DateTime? endDate { get; ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Lab_06_Interfaces.Classes.Mammal
{
public class Cat : Feline
{
public override bool AvoidHumans { get; set; } = false;
public bool OwnsHumans { get; set; } = true;
public override string Sound()
{
... |
using System.Runtime.Serialization;
using HalKit.Models.Response;
using HalKit.Json;
namespace GogoKit.Models.Response
{
[DataContract]
public class PurchasePreview : Resource
{
[DataMember(Name = "number_of_tickets")]
public int? NumberOfTickets { get; set; }
[DataMember(Name = "... |
using System;
namespace Triangles
{
public static class Program
{
public static void Main(string[] args)
{
Console.Write("Enter the length of the first side of the triangle: ");
string firstSide = Console.ReadLine();
Console.Write("Enter the length of the s... |
using MarkoPapic.AspNetCoreSecurityHeaders.XssProtection;
using Xunit;
namespace MarkoPapic.AspNetCoreSecurityHeaders.UnitTests.XssProtection
{
public class XssProtectionOptionsBuilder_ReportTo
{
[Fact]
public void Called_FilterEnabledAndReportSet()
{
//Arrange
XssProtectionOptionsBuilder builder = new ... |
public interface IReceiverHandleElementNavigation {
IUIElementNavigation SetUIElementNavigationStrategy {
set;
}
}
|
namespace DOTGraphTracerExample.Interfaces
{
public interface IGreeter
{
string Greet(string name);
}
}
|
namespace Company.StateMachines
{
using Automatonymous;
using Contracts;
public class OrderProcessingStateMachine :
MassTransitStateMachine<OrderProcessingState>
{
public OrderProcessingStateMachine()
{
InstanceState(x => x.CurrentState, Created);
Event... |
using System;
using System.Threading.Tasks;
namespace Rikarin.Network.ServiceBus.Kafka {
public class KafkaMessageHandlerContext : IMessageHandlerContext {
readonly KafkaServiceBus _serivceBus;
readonly ICommand _receivedMessage;
internal KafkaMessageHandlerContext(
KafkaServic... |
//
// Copyright (C) DataStax 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 applicable la... |
/*----------------------------------------------------------------
* Copyright (c) ThoughtWorks, Inc.
* Licensed under the Apache License, Version 2.0
* See LICENSE.txt in the project root for license information.
*----------------------------------------------------------------*/
using System.Collections.Gene... |
namespace Krafteq.ElsterModel
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using LanguageExt;
class MaskReplacer
{
internal readonly string inputMask;
internal readonly string outputMask;
Option<int>[] re... |
using System;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
namespace Outracks.Fuse.Designer
{
using Fusion;
using Simulator.Protocol;
static class SimulatorNotifications
{
public static IControl Create(IObservable<IBinaryMessage> fromSimulator, Command rebuild, IProperty<bool> logViewIsExpande... |
using Sharpen;
namespace android.text
{
[Sharpen.Stub]
public class AndroidCharacter
{
public const int EAST_ASIAN_WIDTH_NEUTRAL = 0;
public const int EAST_ASIAN_WIDTH_AMBIGUOUS = 1;
public const int EAST_ASIAN_WIDTH_HALF_WIDTH = 2;
public const int EAST_ASIAN_WIDTH_FULL_WIDTH = 3;
public const int EA... |
using System;
using System.Collections.Generic;
namespace ImageOptimiser
{
public class Constants
{
public const string ApiKeyEnvironmentVariable = "TINYPNG_APIKEY";
public static ISet<string> SupportedExtensions { get; } = new HashSet<string>(StringComparer.OrdinalIgnoreCase)
{
... |
// FILE AUTOGENERATED. DO NOT MODIFY
namespace Starfield.Core.Item.Items {
[Item("minecraft:purple_concrete_powder", 490, 64, 568)]
public class ItemPurpleConcretePowder : BlockItem { }
} |
namespace Gu.Reactive.Demo
{
public class IsBackDoorOpen : Condition
{
public IsBackDoorOpen()
: base(
ConditionState.Instance.ObservePropertyChanged(x => x.IsBackDoorOpen),
() => ConditionState.Instance.IsBackDoorOpen)
{
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DangerActivateCol : MonoBehaviour
{
public GameObject DangerPosObj;
void OnTriggerEnter2D(Collider2D trcol)
{
if (trcol.gameObject.tag == "DestroyEnemy")
{
GearDengerMethod();
}... |
namespace RequirementsLab.Core.Entities
{
public class PoorWordTask : IEntity
{
public int Id { get; set; }
public Task Task { get; set; }
public int? TaskId { get; set; }
public PoorWord PoorWord { get; set; }
public int? PoorWordId { get; set; }
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class CanvasController : MonoBehaviour
{
public Animator backgroundAnimator;
public Animator tryAgainAnimator;
[SerializeField] float sceneLoadDelay;
private bool isPla... |
#region Usings
using System;
using JetBrains.Annotations;
#endregion
namespace Extend
{
/// <summary>
/// Class containing some extension methods for <see cref="Random" />.
/// </summary>
public static partial class RandomEx
{
/// <summary>
/// Returns rand... |
///-----------------------------------------------------------------
/// Author : Knose1
/// Date : 17/09/2019 11:38
///-----------------------------------------------------------------
using UnityEngine;
using UnityEditor;
using System.IO;
namespace Com.GitHub.Knose1.Common.File {
public class FileGetter {
publ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.