content stringlengths 23 1.05M |
|---|
using UnityEditor;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Puppet3D
{
[ExecuteInEditMode]
[CustomEditor(typeof(IKControl))]
public class IKHandleEditor : Editor
{
public string[] IkType = { "Basic 3 Bone", "Multi Bone" };
public void OnEnable()
{
IKContro... |
using MvvmCross.ViewModels;
using System;
using System.Windows;
namespace MinoriEditorShell.Platforms.Wpf.ViewModels
{
public class MesStatusBarItemViewModel : MvxNotifyPropertyChanged
{
private Int32 _index;
private String _message;
public Int32 Index
{
get => _ind... |
using System;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
namespace TPP.ArgsParsing.TypeParsers
{
public class BoolParser : IArgumentParser<bool>
{
public Task<ArgsParseResult<bool>> Parse(IImmutableList<string> args, Type[] genericTypes) =>
Task.Fro... |
namespace Servant.Business.Objects.Enums
{
public enum InstanceState
{
Started,
Starting,
Stopped,
Stopping,
Unknown
}
} |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FaviconFetcher.Tests.Utility
{
class MockSource : ISource, IDisposable
{
private Dictionary<Uri, string> _textResourceMap = new Dictionar... |
using UnityEngine;
/// <summary>
/// Hurts human on fall.
/// </summary>
[RequireComponent(typeof (Sinner))]
public class FallDamage : MonoBehaviour {
public void Awake() {
// set things
_sinner = GetComponent<Sinner>();
_manager = FindObjectOfType<LevelManager>();
}
public void OnCollisionEnter... |
using System.IO;
using Arctium.Cryptography.HashFunctions.Hashes.Algorithms;
using Arctium.Shared.Helpers.Binary;
using Arctium.Shared.Helpers.Buffers;
namespace Arctium.Cryptography.HashFunctions.Hashes
{
public unsafe class SHA2_384 : HashFunction
{
static readonly ulong[] InitialHashValue = new ... |
using System;
using Nop.Core.Domain.Catalog;
using Nop.Tests;
using NUnit.Framework;
namespace Nop.Data.Tests.Catalog
{
[TestFixture]
public class ProductAttributeCombinationPersistenceTests : PersistenceTest
{
[Test]
public void Can_save_and_load_productAttributeCombination()
{
... |
//
// Constants.cs
//
// Author:
// M.A. (https://github.com/mkahvi)
//
// Copyright (c) 2019 M.A.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including ... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Collections;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Text;
using System.Threading;
using OpenLiveWriter.Inte... |
namespace KangaModeling.Compiler.SequenceDiagrams
{
internal class SimpleParticipantStatement : ParticipantStatement
{
public SimpleParticipantStatement(Token keyword, Token name)
: base(keyword, name, name)
{
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Raven.Client.Indexes;
namespace DumpMemorySummarizer.Indexes
{
public class HeapObjectStatisticsByType : AbstractIndexCreationTask<HeapObject,HeapObjectStatisticsByType.Result>
{
public class ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using X360.IO;
using X360.STFS;
namespace WillowTree
{
// Fun fun fun time. Okay, well after I decided to ditch using DJsIO I ran into a number of problems.
// 90% of them revolved around Microsofts total l... |
namespace Mint.Substrate.Construction
{
using System;
using System.Collections.Generic;
using Mint.Common;
public sealed class VariantConfigurationFile : PackageContainer
{
internal protected override bool ReadOnly => true;
public VariantConfigurationFile(string path) : base(path) ... |
using System;
using System.Numerics;
namespace Ray.Domain.Extensions
{
public static class VectorExtensionMethods
{
public static bool IsPoint(this Vector4 tuple)
{
return Math.Abs(tuple.W - 1.0F) <= Single.Epsilon;
}
public static bool IsVector(this Vector4 tuple)... |
[CompilerGeneratedAttribute] // RVA: 0x15B2C0 Offset: 0x15B3C1 VA: 0x15B2C0
private sealed class DOTweenModuleUI.<>c__DisplayClass22_0 // TypeDefIndex: 11777
{
// Fields
public RectTransform target; // 0x10
// Methods
// RVA: 0x1CA15E0 Offset: 0x1CA16E1 VA: 0x1CA15E0
public void .ctor() { }
// RVA: 0x1CA38B0 O... |
using Verse;
using HarmonyLib;
using static Flecker.ExtensionUtility;
namespace Flecker
{
public class Mod_Flecker : Mod
{
public Mod_Flecker(ModContentPack content) : base(content)
{
new Harmony(this.Content.PackageIdPlayerFacing).PatchAll();
LongEventHandler.QueueLongEvent(() => Setup(), n... |
using SystemDot.Messaging.Simple;
using Machine.Specifications;
namespace SystemDot.Specifications.messenger
{
[Subject(SpecificationGroup.Description)]
public class when_sending_a_message_asynchronously_with_a_handler_registered
{
static object message;
static TestAsyncHandler<object> hand... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigati... |
using UnityEngine;
using UnityEngine.UI;
public class PlayListItemController : BaseController
{
Button button;
void Awake()
{
EventManager.AddListener(GlobalEvent.UpdatePlayListItems, UpdateItem);
button = gameObject.GetComponent<Button>();
}
public void OnClick()
{
// Disable current button
butto... |
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Training20201012.Algorithms;
using Training20201012.Collection... |
// Copyright (c) Matteo Beltrame
//
// com.tratteo.gibframe -> GibFrame.Joystick : Joystick.cs
//
// All Rights Reserved
using UnityEngine;
using UnityEngine.EventSystems;
namespace GibFrame.Joystick
{
public abstract class Joystick : MonoBehaviour, IDragHandler, IPointerUpHandler, IPointerDownHandler
{
... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace NGA.Data.Migrations
{
public partial class B1NGA5 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Enrollment");
migr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class ElevatorManager : MonoBehaviour {
private int elevatorsCount;
public bool RandomStartFloor = true;
public int InitialFloor = 1;
public UnityAction WasStarted;
[HideInInspector]
public int _floo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GameSystem;
[AddComponentMenu("little Components/RemapFloatEvent")]
public class RemapFloatEvent : MonoBehaviour
{
public Vector2 inputRange;
public Vector2 outputRange;
public FloatEvent e;
public void InvokeEvent(... |
using System;
namespace scalus.Util
{
class UserInteraction : IUserInteraction
{
public void Error(string error)
{
Console.Error.WriteLine(error);
}
public void Message(string message)
{
Console.WriteLine(message);
}
}
//cl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace SemaphoreApp
{
class Reader
{
static Semaphore semaphore = new Semaphore(0, 3);
Thread thread;
int count = 3;
public Reader(in... |
using System.Linq;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Data;
using Avalonia.Media;
using Avalonia.Media.TextFormatting;
using Avalonia.Utilities;
namespace Consolonia.Themes.TurboVision.Templates.Controls.Helpers
{
public class SymbolsControl : Control
{
/// <summary>
/// ... |
using Newtonsoft.Json;
namespace ElectricityMap.DotNet.Client.Models.Common
{
public class BaseCarbonIntensity : BaseEntity
{
[JsonProperty("carbonIntensity")]
public int CarbonIntensity { get; set; }
}
} |
using System;
using System.ComponentModel;
using System.Globalization;
namespace DereTore.Apps.ScoreViewer.Model {
internal sealed class DescribedEnumConverter : EnumConverter {
public DescribedEnumConverter(Type type) : base(type) {
_enumType = type;
}
public override bool C... |
using RimWorld.Planet;
using System;
using Verse;
using Verse.Sound;
using static RimThreaded.RimThreaded;
using static System.Threading.Thread;
namespace RimThreaded
{
class SoundStarter_Patch
{
internal static void RunDestructivePatches()
{
Type original = typeof(SoundStarter);
Type patched = typeof(Sou... |
using Beloning.Model.Enum;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Beloning.Model
{
[Table(TableName)]
public class Patient : User
{
public const string TableName = "Patients";
public string Remarks { get; private set; }
public Gender Gender { g... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
using System;
using System.Reflection;
using UnityEngine;
using UnityEditor;
namespace Facebook.WitAi.Windows
{
// Handles layout... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Wavefront.SDK.CSharp.Entities.Tracing
{
/// <summary>
/// Data contract object used to serialize the span logs for a particular span to JSON for
/// sending to Wavefront.
/// </summary>
[DataContract]
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InteractionObject : MonoBehaviour
{
private Material normalSpriteMat;
private Material outlineSpriteMat;
private SpriteRenderer _spriteRenderer;
public string descriptionKey;
// Start is ca... |
using System.Collections.Concurrent;
using System.Runtime.Serialization;
using Sentry.Internal.Extensions;
// ReSharper disable once CheckNamespace
namespace Sentry.Protocol
{
/// <summary>
/// Represents Sentry's structured Context.
/// </summary>
/// <seealso href="https://develop.sentry.dev/sdk/even... |
namespace Samples.View
{
public partial class ContactsPage
{
public ContactsPage()
{
InitializeComponent();
}
}
}
|
using System;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.DataProtection;
using Microsoft.Owin.Security.Google;
using Owin;
using Office365Api.WebFormsD... |
namespace Nancy.Tests.Unit
{
using System;
using Xunit;
public class HttpLinkFixture
{
[Fact]
public void Add_duplicate_parameter_in_different_casing_throws_argument_exception()
{
// Given
var link = new HttpLink("http://nancyfx.org/", "home");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VideoLibrary.Helpers
{
internal static class EmptyArray<T>
{
public static readonly T[] Value = new T[0];
}
}
|
using System;
namespace GxClasses.Helpers
{
internal class EnvVarReader
{
private const string ENVVAR_PREFIX = "GX_";
public static bool GetEnvironmentValue(string name, out string value)
{
try
{
value = Environment.GetEnvironmentVariable($"{ENVVAR_PREFIX}{name.ToUpper()}");
if (!string.IsNullOrE... |
using System;
using System.IO;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using NLog.Web;
namespace AspNetCoreVueTypescriptStarter
{
public class Program
{
public static IConfiguration Configuration { ge... |
using Newtonsoft.Json;
namespace Taviloglu.Wrike.Core
{
public sealed class WrikeWebHookCommentEvent : WrikeWebHookEvent
{
[JsonProperty("commentId")]
public string CommentId { get; set; }
[JsonProperty("comment")]
public WrikeWebHookComment Comment { get; set; }
}
}
|
using System.ComponentModel;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Security.Claims;
using System.Threading.Tasks;
namespace Vidly.DataServices.Models
{
public c... |
using System;
using System.Activities;
using System.ServiceModel;
using System.Globalization;
using System.Runtime.Serialization;
using System.IO;
using System.Text;
using System.Net;
using Microsoft.Xrm.Sdk;
using Microsoft.Crm.Sdk.Messages;
using Microsoft.Xrm.Sdk.Workflow;
using Microsoft.Xrm.Sdk.Query;
using Syste... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Lab4.Elements
{
public partial class LED : Control
{
... |
using Microsoft.AspNetCore.SignalR.Client;
using Microsoft.Extensions.Configuration;
using MultiRegion.Client.Options;
Console.ForegroundColor = ConsoleColor.White;
Console.WriteLine("Reading configuration...");
var configuration = LoadConfiguration();
var signalrRegions = new List<SignalRRegionConfigOptio... |
using System.Collections.Generic;
namespace Core
{
public class AppIDs
{
public const string DOTA2_ID = "570";
// Contains vpk_linux32
public const string SOURCE_SDK_2013_MP_ID = "244310";
public const string SOURCE_SDK_2013_DS_ID = "243750";
public static IEnumerable<... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Shipbot.Controller.Core.ApplicationSources.Models;
namespace Shipbot.Controller.Core.ApplicationSources
{
internal interface IDeploymentManifestSourceParser<in TDeploymentManifest>
where TDeploymentManifest : DeploymentMan... |
namespace MyFemsApi.Services;
public interface IDialogsService
{
Task<List<DialogDto>> GetDialogs(int requestUserId);
Task<DialogUsersOnly> GetDialogUsers(int dialogId, int requestUserId);
Task<List<DialogLastModifiedOnly>> GetLastModificationDates(int requestUserId);
Task<DialogDto> Post(int contactI... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WinProj_Delegate
{
class Dolphin
{
public delegate void TrickType();
private TrickType dolphinTrick;
public TrickType Trick
{
set
{
dolphin... |
using System;
using log4net;
namespace VersionOne.TestComplete.V1Connector {
public class Logger {
private readonly ILog logger;
public Logger() {
logger = LogManager.GetLogger("Plugin");
}
public Logger(String name) {
logger = LogManager.GetLogger(name);
... |
namespace UrlShortener.Web.Dto
{
/// <summary>
/// General purpose UrlAlias DTO
/// </summary>
public class UrlAliasDto
{
/// <summary>
/// UrlAlias identity
/// </summary>
public long Id { get; set; }
/// <summary>
/// Original full-length URL
... |
using System;
using System.Collections.Generic;
using System.Text;
using MilitaryElite.Enums;
namespace MilitaryElite.Interfaces
{
public interface ISpecialisedSoldier
{
Corps Corps { get; }
}
}
|
namespace Kipon.Dynamics.Plugin.ServiceAPI
{
public interface IAccountService
{
void UppercaseName(Entities.Account target);
void Reassign(Entities.Account target);
}
}
|
using UnityEngine;
using UnityEngine.Events;
namespace HeathenEngineering.Events
{
[AddComponentMenu("System Core/Events/String Game Event Listener")]
public class StringGameEventListener : GameEventListener<string>
{
public StringGameEvent Event;
public UnityStringDataEvent Responce;
... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace ARMeilleure.IntermediateRepresentation
{
class BasicBlock : IEquatable<BasicBlock>, IIntrusiveListNode<BasicBlock>
{
private const uint MaxSuccessors = 2;
private int _succCount;
private Ba... |
using Json.LitJson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServiceClientGenerator
{
/// <summary>
/// Describes a Project file to be generated
/// </summary>
public class Project
{
/// <summary>
... |
namespace Pixlr
{
using System;
using System.Drawing;
using System.Drawing.Imaging;
using Pixlr.Lina;
public static class BitmapExtensions
{
public static LockedBitmapData Lock(
this Bitmap self,
ImageLockMode mode = ImageLockMode.ReadWrite,
PixelFor... |
using System;
using TurtleChallenge.Data.Retriever.Dto;
using TurtleChallenge.TestUtilities.xUnit.Settings;
using Xunit;
namespace TurtleChallenge.Data.Retriever.Tests
{
[Trait(Traits.Category, Categories.Unit)]
public class FileSequencesRetrieverTests
{
[Fact]
public void Constructor_Given... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace ScreenshotWrapperWPF.Commands
{
public class RelayCommand : ICommand
{
private Action<object> commandTask;
private Predicate<object> canExec... |
using System.Linq.Expressions;
namespace LinqToDB.Common
{
/// <summary>
/// Defines conversions from an object of one type in a model to an object of the same or
/// different type in the database.
/// </summary>
public interface IValueConverter
{
/// <summary>
/// Identifies that con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class VowelOrDgits
{
static void Main()
{
char symbol = char.Parse(Console.ReadLine());
switch (symbol)
{
case 'a': Console.WriteLine("vowel... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.9.2
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--------------... |
using EngineKit.Mathematics;
namespace UOStudio.Client.Worlds
{
interface IWorldProvider
{
WorldChunk GetChunk(int worldId, Point chunkPosition);
World GetWorld(int worldId);
}
}
|
using UnityEngine;
using UnityEngine.EventSystems;
public class StartSelectButton : MonoBehaviour
{
[SerializeField]
private EventSystem m_EventSystem;
[SerializeField]
private GameObject m_SelectedButton;
private bool m_ButtonSelected;
private void Start()
{
if (m_EventSystem)
... |
// Copyright (c) Amer Koleci and contributors.
// Distributed under the MIT license. See the LICENSE file in the project root for more information.
namespace Vortice.Vulkan
{
/// <summary>
/// Structure specifying an image subresource range.
/// </summary>
public partial struct VkImageSubresourceRange... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SPV.Models
{
public partial class Cliente
{
public Cliente()
{
Venta = new HashSet<Venta>();
}
[Key]
[... |
using System;
namespace Jimu.Diagnostic
{
public interface IErrorEventData
{
Exception Ex { get; }
}
}
|
/**
* (C) Copyright IBM Corp. 2016, 2021.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
/*
* The contents of this file are subject to MIT Licence. Please
* view License.txt for further details.
*
* The Original Code was created by Unknown
*
* Copyright (c) 2014 unknown
*
* Purpose: Cache Item, used in conjunction with CacheManager
*
*/
using System.Data;
namespace SharedControls.Classe... |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
///////////////////////////////////////////////////////... |
using OpenTracker.Models.Markings;
using OpenTracker.Utils;
namespace OpenTracker.ViewModels.ToolTips
{
public interface IMapLocationToolTipMarkingVM : IModelWrapper
{
delegate IMapLocationToolTipMarkingVM Factory(IMarking marking);
}
} |
using UnityEngine;
using System.Collections;
namespace Puppet2D
{
[System.Serializable]
public class AngleLimitNode
{
public Transform Transform;
public float min;
public float max;
}
} |
namespace libnl
{
public static class NLInterfaceFlags
{
public const int UP = 1 << 0;
public const int BROADCAST = 1 << 1;
public const int DEBUG = 1 << 2;
public const int LOOPBACK = 1 << 3;
public const int POINTOPOINT = 1 << 4;
public const int NOTRAILERS = 1 ... |
namespace Cpnucleo.Infra.Data.Repositories;
internal class WorkflowRepository : GenericRepository<Workflow>, IWorkflowRepository
{
public WorkflowRepository(CpnucleoContext context)
: base(context)
{
}
public async Task<int> GetQuantidadeColunasAsync()
{
System.Collections.Generi... |
namespace RegistrationService.Core.Interfaces
{
public interface IQueueService<T>
{
void Enqueue(T item);
bool TryDequeue(out T result);
}
} |
// ZFNewWindowHandler
using ClubPenguin.NativeWebViewer;
using ClubPenguin.UI;
using Disney.Kelowna.Common;
using Disney.LaunchPadFramework;
using Disney.MobileNetwork;
using UnityEngine;
using UnityEngine.UI;
using ZenFulcrum.EmbeddedBrowser;
public class ZFNewWindowHandler : INewWindowHandler
{
private PrefabConten... |
namespace VideoRentalSystem.Common.Contracts
{
public interface IGetFilmScore
{
double GetAvgFilmScore(string filmName);
}
}
|
using System;
class RectangleArea
{
static void Main()
{
double x1 = double.Parse(Console.ReadLine());
double y1 = double.Parse(Console.ReadLine());
double x2 = double.Parse(Console.ReadLine());
double y2 = double.Parse(Console.ReadLine());
double area = Math.Abs(x1 - x... |
using System;
using System.Windows;
using System.Collections.Generic;
using Grades.WPF.Services;
using System.Windows.Threading;
using System.Data.Services.Client;
using System.Threading.Tasks;
using Grades.WPF.GradesService.DataModel;
namespace Grades.WPF
{
public partial class MainWindow : Window
{
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------... |
namespace StrategyPatternOne.Interface
{
interface IFlyBehavior
{
void fly();
}
}
|
// Project: Daggerfall Tools For Unity
// Copyright: Copyright (C) 2009-2016 Daggerfall Workshop
// Web Site: http://www.dfworkshop.net
// License: MIT License (http://www.opensource.org/licenses/mit-license.php)
// Source Code: https://github.com/Interkarma/daggerfall-unity
// Origina... |
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DSA_CSharp.src.Linked_Lists
{
public class SingleLinkedListNode<T> where T:IComparable
{
public T value;
public SingleLinkedListNode<T> next;
public SingleLinkedListNode(T value)
{
... |
using System;
using Newtonsoft.Json;
namespace GLTF.Schema
{
/// <summary>
/// A perspective camera containing properties to create a perspective projection
/// matrix.
/// </summary>
public class CameraPerspective : GLTFProperty
{
/// <summary>
/// The floating-point aspect ratio of the field of view.
///... |
using Microsoft.Win32.SafeHandles;
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace SoundMetrics.Aris.SimplifiedProtocol
{
[DebuggerDisplay("{Handle} {ShortString}")]
public sealed class NativeBuffer : SafeHandleZeroOrMinusOneIsInvalid
{
public NativeBuffer(i... |
using Quick.Plugin;
using System;
using System.IO;
namespace Test
{
class Program
{
static void Main(string[] args)
{
Directory.SetCurrentDirectory(@"D:\Work\Wesan\Launcher\bin\Debug\netcoreapp2.0");
PluginManager.Instance.Init();
PluginManager.I... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MissileConfiguration : MonoBehaviour
{
// Missile
public float m_lifeTime;
// Detection
public float m_searchRange;
public int m_searchAngle;
public bool m_canLooseTarget;
// Guidance
public float m_guidanceIntensity... |
// Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using Markdig.Helpers;
using Markdig.Syntax.Inlines;
namespace Markdig.Parsers.Inlines
{
/// <summary>
/// An inline parser for... |
using System.Threading.Tasks;
using WebServer.Server;
namespace CustomMVC
{
class Startup
{
static async Task Main(string[] args)
{
var server = new Server("127.0.0.1", 8090);
await server.Start();
}
}
}
|
using System.Net;
using Z1Torrent.PeerWire.Interfaces;
namespace Z1Torrent.Interfaces {
public interface IPeerFactory {
IPeer CreatePeer(IMetafile meta, IPAddress address, short port);
}
}
|
using System;
namespace PaintApp
{
static class Program
{
static void Main( string[] args )
{
Client client = new Client();
if ( client.Connect( "127.0.0.1", 4444 ) == true )
client.Run();
else
Console.WriteLine( "Failed to co... |
using System;
using System.Threading.Tasks;
using Kickstart.Pass1.KModel;
namespace Kickstart.Wizard.View
{
public interface IProtoFileView : IView
{
Func<Object, EventArgs, Task> ProtoTextChanged { get; set; }
string ProtoFileText { get; }
}
} |
using System;
using MessageRouter.Models;
using NUnit.Framework;
namespace NetmqRouter.Tests.Models
{
[TestFixture]
public class SubscriberTests
{
#region Test Classes
internal class InputClass
{
}
internal class OutputClass
{
}
#endregi... |
// Copyright (c) SDV Code Project. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace SdvCode.Models.Enums
{
using System.ComponentModel.DataAnnotations;
public enum UserActionsType
{
[Display(Name = "Follow")]
... |
using DWGitsh.Extensions.Commands.Git;
using DWGitsh.Extensions.Commands.Git.Status;
using DWGitsh.Extensions.Models;
using DWGitsh.Extensions.Tests.Helpers;
using DWGitsh.Extensions.Utility.ConsoleIO;
using NSubstitute;
using NUnit.Framework;
using StaticAbstraction;
using System.Linq;
namespace DWGitsh.Extensions.T... |
using UnityEngine;
using UnityEngine.UI;
using QUIZ.EvetsSO;
using DG.Tweening;
using System.Collections;
namespace QUIZ.Tasks
{
public class TaskText : MonoBehaviour
{
[Header("Text Variable")]
[SerializeField] private Text text;
[Header("Custom Scriptable Event")]
[SerializeF... |
namespace NewRelic.Microsoft.SqlServer.Plugin.Core
{
public enum MetricTransformEnum
{
Simple = 0,
Delta = 1,
}
}
|
using API.Models;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Rolfin.Result;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace API.Controllers
{
public class BaseController: ControllerBase
{
IMediator _mediator;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.