content stringlengths 23 1.05M |
|---|
using Orchard.Autoroute.Settings;
namespace Orchard.Autoroute.ViewModels {
public class AutoroutePartEditViewModel {
public AutorouteSettings Settings { get; set; }
public bool PromoteToHomePage { get; set; }
public string CurrentUrl { get; set; }
public string CustomPattern { get... |
using SEDC.Adv.Class01.Task01.Logic.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SEDC.Adv.Class01.Task01.Logic.Services
{
public class SearchService
{
public Dictionary<string, int> CountAppearancesInText(string text, List<string> searchString... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class WaveController : MonoBehaviour {
public GameObject rhythmObj;
public GameObject ritualObj;
public GameObject waveInstances;
public GameObject playerPart;
public AudioClip audioLvlUp;
public AudioClip audioCCosaDead;
public Text ui... |
using System;
using System.Windows.Input;
using Jamiras.Commands;
using NUnit.Framework;
namespace Jamiras.Core.Tests.Commands
{
[TestFixture]
class CommandBaseTests
{
private class TestCommand : CommandBase
{
public bool IsExecuted { get; set; }
public override vo... |
namespace Rebus.Routing.TransportMessages
{
enum ActionType
{
/// <summary>
/// Doesn't do anything - dispatches the message as normally
/// </summary>
None,
/// <summary>
/// Forwards the message to one or more recipients
/// </summary>
Forward,... |
namespace LogicMonitor.Api.LogicModules;
/// <summary>
/// A DataSource DataPoint
/// </summary>
[DataContract]
public class DataSourceDataPoint : NamedItem
{
/// <summary>
/// The alertExprNote
/// </summary>
[DataMember(Name = "alertExprNote")]
public string AlertExpressionNote { get; set; }
/// <summary>
//... |
using System;
using System.ComponentModel;
namespace OpenRiaServices.Data.DomainServices
{
/// <summary>
/// Abstract base class that is responsible for loading data for the source collection
/// of the collection view.
/// </summary>
public abstract class CollectionViewLoader
{
#regio... |
using UnityEngine;
using System.Collections;
public class DayNightLightIntensity : MonoBehaviour {
public Gradient lightColor;
public float maxIntensity;
public float minIntensity;
public float minPoint;
public float maxAmbient;
public float minAmbient;
public float minAmbientPoint;
... |
using System;
using System.Collections.ObjectModel;
using Avalonia.Controls.Platform;
namespace Avalonia.Win32
{
public class WindowsMountedVolumeInfoProvider : IMountedVolumeInfoProvider
{
public IDisposable Listen(ObservableCollection<MountedVolumeInfo> mountedDrives)
{
Contract.R... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour{
public CharacterController2D controller;
public float runSpeed = 40f;
public Animator animator;
public Rigidbody2D rb;
GameManager gameManager;
bool collision = false;... |
using System;
using System.Collections.Generic;
using System.Linq;
using Amazon.S3;
using Amazon.S3.IO;
namespace Sync.Net.IO
{
public class S3DirectoryObject : IDirectoryObject
{
private readonly string _bucketName;
private readonly IAmazonS3 _s3Client;
private S3DirectoryInfo _s3Dire... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace Microsoft.CodeAnalysis
{
internal abstract class SymbolFac... |
using System;
using System.Collections.Generic;
using System.Text;
using Antlr.Runtime;
using Haskell.CoreParser.AbstractSyntaxTree.AtomicExpressionTree;
using Haskell.CoreParser.AbstractSyntaxTree.ArgumentTree;
namespace Haskell.CoreParser.AbstractSyntaxTree.ExpressionTree
{
public class ApplicationExpression :... |
using UnityEngine;
using System.Collections;
public class ColorRegistry {
public static Color backgroundColor = new Color32(0,0,0,255);
public static Color foregroundColor = new Color32(0, 0, 170, 255);
public static Color textColor = new Color32(170, 170, 170, 255);
}
|
using System.Diagnostics;
namespace NppNetInf
{
public abstract class PluginMain
{
public abstract string PluginName { get; }
public PluginMain()
{
#if RUN_DEBUGGER
Debugger.Launch();
#endif
}
public abstract void CommandMenuInit();
public virtual... |
using IRunes.App.Controllers;
using IRunes.App.Controllers.Contracts;
using IRunes.Data;
using IRunes.Services;
using IRunes.Services.Contracts;
using SIS.Framework.Api;
using SIS.Services.Contracts;
namespace IRunes.App
{
public class Startup : MvcApplication
{
public override void ConfigureServices(IServic... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
namespace Engine.Saving.Json
{
class JsonGuid : JsonValue<Guid>
{
public JsonGuid(JsonSaver xmlWriter)
: base(xmlWriter, "Guid")
{
}
publ... |
using System;
using System.ComponentModel.Composition;
using System.Windows;
namespace ColorPicker.Helpers
{
[Export(typeof(AppStateHandler))]
public class AppStateHandler
{
[ImportingConstructor]
public AppStateHandler()
{
Application.Current.MainWindow.Closed += Main... |
using System.IO;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace OwnID.Extensibility.Json
{
public static class OwnIdSerializer
{
private static readonly JsonSerializerOptions DefaultOptions = GetDefaultProperties();
public static string Se... |
using RedditSharp;
namespace SnooViewer
{
public static class DataContext
{
public static Reddit Reddit { get; set; }
public static string Token { get; set; }
public static string RefreshToken { get; set; }
}
}
|
using GenArt.Core.Classes;
namespace GenArt.Core.AST.Mutation
{
public static class DnaPointMutateExtension
{
public static void Mutate(this DnaPoint dnaPoint, DnaDrawing dnaDrawing)
{
if (Tools.WillMutate(Settings.ActiveMovePointMaxMutationRate))
{
dnaP... |
// Copyright 2021 Niantic, Inc. All Rights Reserved.
using System.Collections.Generic;
using Niantic.ARDK.AR;
using Niantic.ARDK.AR.Anchors;
using Niantic.ARDK.AR.ARSessionEventArgs;
using Niantic.ARDK.AR.HitTest;
using Niantic.ARDK.External;
using Niantic.ARDK.Utilities;
using Niantic.ARDK.Utilities.Logging;
using ... |
using Prism;
using Prism.DryIoc;
using Prism.Ioc;
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using XLojaDemo.App.Interfaces;
using XLojaDemo.App.Services;
using XLojaDemo.App.ViewModels;
using XLojaDemo.App.Views;
namespace XLojaDemo.App
{
public partial class App : PrismApplication
{
... |
using System;
public class NugetVersionChecker
{
public NugetVersionChecker()
{
//this class should check the items found by the MarkdownHelper and compare them with what the nuget API returns
}
}
|
using Unity.Entities;
namespace NSprites
{
public struct SpriteRenderID : ISharedComponentData
{
public int id;
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjSpike : MonoBehaviour {
// ========================================================================
// OBJECT AND COMPONENT REFERENCES
// ========================================================================... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ObjectPools
{
public class PoolObject : MonoBehaviour
{
bool active;
public static void AddToObject(GameObject g)
{
if (g.GetComponent<PoolObject>() == null)
{
... |
using GMap.NET;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace dajiangspider
{
public static class GMapEx
{
public static PointLatLng ToLatLng(this double[] p)
{
if (p.Length < 2) return new PointLatLng(... |
using DragonSpark.Model.Selection;
namespace DragonSpark.Application.Runtime.Operations;
public interface IReporter<T> : IReporter<T, T> {}
public interface IReporter<TIn, out TOut> : ISelect<Report<TIn>, TOut> {} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab_05_FolderSize
{
class folderSize
{
static void Main(string[] args)
{
MeasureFolder();
}
//Измерва размера на файловете... |
using System.Threading.Tasks;
using GreatWall.Service.Abstractions;
using GreatWall.Service.Dtos;
using GreatWall.Service.Dtos.Requests;
using GreatWall.Service.Queries;
using Microsoft.AspNetCore.Mvc;
using Util.Ui.Controllers;
namespace GreatWall.Apis.Systems {
/// <summary>
/// 模块控制器
/// </summary>
... |
using Archimedes.Patterns.CommandLine;
using NUnit.Framework;
namespace Archimedes.Patterns.Test
{
[TestFixture]
class CommandLineParserTest
{
[Test]
public void ParseTest()
{
string[] args = {"/simple.prop", "hellowurld"};
var options = CommandLineParser.... |
namespace HotChocolate.Types.Descriptors.Definitions
{
public interface IDefinitionFactory<out T>
: IDefinitionFactory
where T : DefinitionBase
{
new T CreateDefinition();
}
}
|
using System;
using System.Activities;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InfPro.Dotiga.Activities
{
public class CreateTaskActivity : NativeActivity<string>
{
public InArgument<string> ResponsibleUser { get; set; }
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace XLabs.ContentProvider
{
public class Query<T>
: IOrderedQueryable<T>
{
public Query(IQueryProvider provider)
{
this.provider = ... |
// This file is licensed to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Spines.Mahjong.Analysis.Classification
{
/// <summary>
/// Parses the shortha... |
namespace HardDev.Context
{
public enum ThreadContextType
{
UndefinedContext,
ThreadContext,
StaticThreadPool,
DynamicThreadPool,
UndefinedThreadPool
}
} |
using Clinicas.ViewModels.EstadoConsulta;
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Clinicas.Validations.EstadoConsulta
{
public class EstadoConsultaValidator: AbstractValidator<EstadoConsultaVM>
{
public EstadoConsultaValida... |
using System;
using System.Collections.Generic;
namespace ReduxSimple.Uwp.Samples.Pokedex
{
public class GetPokemonListAction { }
public class GetPokemonListFullfilledAction
{
public List<PokemonGeneralInfo> Pokedex { get; set; }
}
public class GetPokemonListFailedAction
{
pu... |
using System.Collections.Generic;
using Linux.FileSystem;
using Linux.IO;
namespace Linux.Configuration
{
public abstract class FileDatabase<T> {
protected VirtualFileTree Fs { get; set; }
public FileDatabase(VirtualFileTree fs) {
Fs = fs;
}
public abstract void A... |
using Silverback.Integration.OpenTracing;
using Silverback.Messaging.Configuration;
namespace Microsoft.Extensions.DependencyInjection
{
public static class SilverbackBuilderExtensions
{
public static ISilverbackBuilder UseOpenTracing(this ISilverbackBuilder builder)
{
builder.Servi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Maquina_de_Cafe_Virtual.Model
{
class Moedas
{
public enumMoedas valorMoeda;
public Moedas(enumMoedas valorMoeda)
{
this.valorMoeda = valorMoeda;
... |
using SqlRepoEx.Core;
namespace SqlRepoEx.MsSqlServer
{
public class FilterGroup : FilterGroupBase
{
}
}
|
using System.Collections.Generic;
using TRGE.Core;
namespace TRGE.View.Model.Data
{
public class FlaggedLevelData : List<FlaggedLevel>
{
public FlaggedLevelData(List<MutableTuple<string, string, bool>> unarmedLevels)
{
foreach (MutableTuple<string, string, bool> data in unarmedLeve... |
// #region File Annotation
//
// Author:Zhiqiang Li
//
// FileName:AppCacheKey.cs
//
// Project:RedisLock.AspNetCore
//
// CreateDate:2018/04/27
//
// Note: The reference to this document code must not delete this note, and indicate the source!
//
// #endregion
namespace RedisLock.AspNetCore.Config
{
public st... |
using System.Diagnostics.CodeAnalysis;
namespace TMFileParser.Models.tm7
{
[ExcludeFromCodeCoverage]
public class TM7Validations
{
}
} |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace CaptainHook.Api.Controllers
{
/// <summary>
/// Probe controller
/// </summary>
[Route("[controller]")]
[AllowAnonymous]
public class ProbeController : Controller
{
/// <summary>
/// Returns... |
using System;
using System.IO;
using System.Linq;
using kUMTE_2018.Models;
using SQLite;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
[assembly: XamlCompilation (XamlCompilationOptions.Compile)]
namespace kUMTE_2018
{
public partial class App : Application
{
public static string AppDataDir = string.Empty;
... |
using System;
using JetBrains.Annotations;
namespace UniFlow.Signal
{
[PublicAPI]
public class HandleEventSignal : SignalBase<HandleEventSignal, HandleEventType>
{
public HandleEventType HandleEventType { get; private set; }
public override HandleEventType ComparableValue
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using SF.Core.QueryExtensions.SearchExtensions.Levenshtein;
using SF.Core.QueryExtensions.SearchExtensions.Soundex;
namespace SF.Core.QueryExtensions.SearchExtensions.Helpers.ExpressionBuilders
{
... |
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Models.DTOs
{
public class DataEntity : BaseEntity
{
[DisplayName("XML"), Required]
public String Data { get; set; }
public DataEntity()
{
base.Id = Guid.NewGuid();
... |
namespace SSW.Ports.AzureStorage.Adapter.InMemory.PlatformTests.Blobs
{
public class BlobDirectoryTests : Definition.Tests.Blobs.BlobDirectoryTests
{
public BlobDirectoryTests()
{
BlobContainer =
new StorageAccountFactory().GetStorageAccount("UseInMemoryDevelopmentSto... |
namespace Nullspace
{
// 运行时间内
public class BTTimerLimitNode<Target> : BTDecoratorNode<Target>
{
private SequenceMultiple mTimerLimit;
public BTTimerLimitNode(float interval) : base()
{
mTimerLimit = SequenceManager.CreateMultiple();
mTimerLimit.PrependInter... |
using MSCorp.FirstResponse.Client.Helpers;
using MSCorp.FirstResponse.Client.Services.Cities;
using MSCorp.FirstResponse.Client.ViewModels.Base;
using System.Windows.Input;
using System.Linq;
using Xamarin.Forms;
namespace MSCorp.FirstResponse.Client.ViewModels
{
public class ConfigViewModel : ViewModelBase
{... |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AntChain.SDK.BLOCKCHAIN.Models
{
public class ReleaseBlockchainOrderPhysicalRequest : TeaModel {
// OAuth模式下的授权token
[NameInMap("auth_token")]
[Vali... |
using Moq;
using Xunit;
using Assert = Microsoft.TestCommon.AssertEx;
namespace System.Web.Mvc.Test
{
public class ValidateInputAttributeTest
{
[Fact]
public void EnableValidationProperty()
{
// Act
ValidateInputAttribute attrTrue = new ValidateInputAttribute(tr... |
namespace Autoccultist
{
using System;
using System.IO;
using System.Linq;
using Autoccultist.Brain;
using Autoccultist.Config;
using Autoccultist.GameState;
using Autoccultist.GUI;
using HarmonyLib;
using UnityEngine;
/// <summary>
/// The main entrypoint for Autoccultist, ... |
using System.CommandLine.Parsing;
using System.Linq;
namespace DotNetBlog.Cli
{
public static class ParseResultExtensions
{
public static string GetRootCommand(this ParseResult parseResult)
{
var symbol = parseResult.RootCommandResult.Children?.
Select(child => chil... |
// Copyright (c) Project Initium. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
using System;
using Initium.Portal.Core.Database;
using Initium.Portal.Core.MultiTenant;
using Initium.Portal.Domain.AggregatesModel.RoleAggregate;
using Microso... |
//-----------------------------------------------------------------------
// <copyright file="MurmurHash.cs" company="Akka.NET Project">
// Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
//---... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WorkRegistry.model;
namespace WorkRegistry.viewmodel
{
public class CarsViewModel : INotifyPropertyChanged
{
publ... |
using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
public class BackgroundCarDebugInfo : MonoBehaviour
{
#if UNITY_EDITOR
public Material PeakHoursMaterial;
public Material RegularHoursMaterial;
public Material MostHoursMaterial;
public Material AllHoursMaterial;
void Update ()
... |
namespace Lime
{
internal interface IStockCursors
{
MouseCursor Default { get; }
MouseCursor Empty { get; }
MouseCursor Hand { get; }
MouseCursor IBeam { get; }
MouseCursor SizeNS { get; }
MouseCursor SizeWE { get; }
MouseCursor SizeAll { get; }
MouseCursor SizeNWSE { get; }
MouseCursor SizeNESW { g... |
using System;
namespace SuccincT.Functional
{
/// <summary>
/// Extension methods for partially applying C# functions (ie, methods that return a value)
/// </summary>
public static class PartialFunctionApplications
{
/// <summary>
/// Partially applies f(p1,p2), via f.Apply(v1), in... |
using AutoMapper;
using TwitterBackup.Data.Models;
using TwitterBackup.Data.Models.Identity;
using TwitterBackup.Services.ViewModels;
using TwitterBackup.TwitterApiClient.Models;
namespace TwitterBackup.Services.Mapping
{
public class DomainToVMMappingProfile : Profile
{
public DomainToVMMappingProfil... |
using Newtonsoft.Json;
using System.Collections.Generic;
namespace OMDB_API_Wrapper.Models.API_Responses
{
/// <summary>
/// JSON-deserialized object received in response to a BySearchRequest.
/// </summary>
public class BySearchResponse : Response
{
[JsonProperty("Search")]
public... |
namespace Exrin.Abstraction
{
public interface IResult
{
/// <summary>
/// The resulting action of the execute
/// </summary>
ResultType ResultAction { get; set; }
/// <summary>
/// Arguments that may be required to pass to the next operation
/// Or for t... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LanternUI : MonoBehaviour {
GameObject playerSpriteMask;
float maxRadiusTransform;
float curRadiusTransform;
// Use this for initialization
void Start () {
}
// Update is called once per fram... |
using System.Data.Entity;
namespace ProjetoTCC.Models
{
public class UsuarioContext : DbContext
{
public UsuarioContext():base(Functions.Conexao())
{
}
public DbSet<Usuario> usuario { get; set; }
}
} |
using BurningKnight.assets;
using BurningKnight.assets.particle;
using BurningKnight.assets.particle.controller;
using BurningKnight.assets.particle.renderer;
using BurningKnight.entity.component;
using Lens.entity;
using Lens.util.math;
using Microsoft.Xna.Framework;
namespace BurningKnight.entity.buff {
public clas... |
namespace ARMeilleure.Decoders
{
class OpCodeSimdFcond : OpCodeSimdReg, IOpCodeCond
{
public int Nzcv { get; private set; }
public Condition Cond { get; private set; }
public OpCodeSimdFcond(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
{
... |
using NUnit.Framework;
namespace HFM.Log
{
[TestFixture]
public class LogLineDataParserErrorTests
{
[Test]
public void LogLineDataParserError_CopyConstructor_Test()
{
// Arrange
var data = new LogLineDataParserError { Message = "Foo" };
// Act
... |
using OpenTemenos.Transacts.Reference.AccountOfficers;
using OpenTemenos.Transacts.Reference.BalanceTypes;
using OpenTemenos.Transacts.Reference.Beneficiaries;
using OpenTemenos.Transacts.Reference.BICs;
using OpenTemenos.Transacts.Reference.Brokers;
using OpenTemenos.Transacts.Reference.BundleRates;
using OpenTemenos... |
using System;
using System.IO;
using System.Threading.Tasks;
using Blaise.Api.Tests.Helpers.Case;
using Blaise.Api.Tests.Helpers.Configuration;
using Blaise.Api.Tests.Helpers.Extensions;
using Blaise.Api.Tests.Helpers.Files;
using Blaise.Api.Tests.Helpers.Instrument;
using Blaise.Api.Tests.Helpers.RestApi;
using NUnit... |
using Definux.Emeraude.Domain.Entities;
namespace Definux.Emeraude.Domain.Abstractions
{
/// <summary>
/// Abstract class that represent helper for create object builder for creation domein entity with builder pattern.
/// </summary>
/// <typeparam name="TEntity">Target entity.</typeparam>
/// <ty... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CreatePrefabOnHit : HitTarget
{
public Transform prefab;
public int createOnlyOnHit = 0;
int numHits = 0;
void Start()
{
}
bool ShouldCreate()
{
return createOnlyOnHit == 0 || numHits ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Vta.Models;
namespace Vta.RequestModels
{
public static class FilterCollection
{
public static IQueryable<T> FilterBy<T>(this IQueryable<T> queryable, string id, Expression<Func<T, bool>> predi... |
using System.Windows.Forms;
namespace Mike.Utilities.Desktop
{
public static class AdapterScreen
{
public static void Adaptar(Form form)
{
int x = Screen.PrimaryScreen.Bounds.Size.Width;
int y = Screen.PrimaryScreen.Bounds.Size.Height;
form.Size = new Syste... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Windows.Devices.Gpio;
namespace HelloWorldIoTCS_2019.GpioControl
{
public class LedBlinking
{
public bool IsActive { get; private set; } = false;
public int GpioPinNumber { get; private set; }
public... |
#region << 版 本 注 释 >>
/*
* 项目名称 :BerryCore.BLL.SystemManage
* 项目描述 :
* 类 名 称 :DataBaseLinkBLL
* 类 描 述 :
* 所在的域 :DASHIXIONG
* 命名空间 :BerryCore.BLL.SystemManage
* 机器名称 :DASHIXIONG
* CLR 版本 :4.0.30319.42000
* 作 者 :赵轶
* 创建时间 :2019-12-17 18:33:34
* 更新时间 :2019-12-17 18:33:34
* 版 本 号 :V2.0.0.0
****************************... |
using Elsa.Activities.Http.Middleware;
using Elsa.Activities.Http.Options;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
// ReSharper disable once CheckNamespace
namespace Microsoft.AspNetCore.Builder
{
public static class ApplicationBuilderExtensions
{
public stat... |
using System;
using System.Collections.Generic;
using OpenTK;
namespace VRLib
{
public interface IGameObj
{
// Attributes
long Id { get; } // ID is guaranteed to be unique and not change over the object's lifetime.
Vector3d OldLoc { get; set; }
Vector3d Loc { get; set; }
Quaterniond OldFacing { get; set;... |
// Copyright 2018 Grigoryan Artem
// Licensed under the Apache License, Version 2.0
using System;
using System.Runtime.Serialization;
namespace Sockets.Chat.Model.Clients
{
public class ServerUnavailableException : Exception
{
public ServerUnavailableException() { }
public ServerUnavailableE... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Win32.SafeHandles;
using System.Security;
namespace System.IO.MemoryMappedFiles
{
internal partial class MemoryMappedView
{
[SecurityCr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class TurnManager
{
public static List<Enemy> Enemies = new List<Enemy>();
public static List<Enemy> PendingAdditions = new List<Enemy>();
public static List<Enemy> PendingRemovals = new List<Enemy>();
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ETModel;
using UnityEngine;
using UnityEngine.UI;
namespace ETHotfix
{
[ObjectSystem]
public class GetGoodsOneItemAwakeSystem : AwakeSystem<GetGoodsOneItem, GameObject, GetGoodsOne>
{
... |
using System;
namespace PushSharp.FirefoxOS
{
/// <summary>
/// Fluent extension for configuring FirefoxOS notification.
/// </summary>
public static class FirefoxOSFluentNotification
{
/// <summary>
/// Adds an endpoint url to the notification.
/// </summary>
///
... |
using System;
class NonGeneratedCode { }
// semmle-extractor-options: /r:System.Diagnostics.Tools.dll
|
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZapLib
{
/// <summary>
/// 自訂 SQL Param 處理方式的介面,可以實作這個介面來定義該如何處理 SQL Param
/// </summary>
public interface ISQLParam
{
/// <summary>
... |
using System;
using ConsoleFramework.Native;
using Xaml;
namespace ConsoleFramework.Events
{
[TypeConverter( typeof ( KeyGestureConverter ) )]
public class KeyGesture
{
private readonly string _displayString;
private readonly VirtualKeys _key;
private static readonly ITy... |
//===========================================
// MVC# Framework | www.MVCSharp.org |
// ------------------------------------------
// Copyright (C) 2008 www.MVCSharp.org |
// All rights reserved. |
//===========================================
using System;
using System.Text;
namespac... |
using System.Web.Mvc;
using BuildMonitor.Models;
using BuildMonitor.Models.Repository;
namespace BuildMonitor.Areas.Admin.Controllers
{
public class FeaturesController : Controller
{
private readonly IFeatureRepository _featureRepository;
public FeaturesController(IFeatureRepository featureRep... |
using System.Collections.Generic;
using UnityEngine;
using WhoLivesInThisHouse;
public class ClientStartup : MonoBehaviour {
public int maxOwners;
public GameObject cardCanvas;
public GameObject ownerCard;
private CharacterListApiCaller apiCaller;
private void Awake()
{
apiCaller = n... |
namespace Terka.FontBuilder
{
using System;
using NUnit.Framework;
// ReSharper disable InconsistentNaming
// ReSharper disable EqualExpressionComparison
// ReSharper disable ObjectCreationAsStatement
#pragma warning disable 252,253 // Possible reference comparison
// ReSharper disable Re... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using osu.Framework;
using osu.Framework.Extensions.ObjectExtensions;
using osu.Framework.Logging;
using osu.Framework.Platform;
namespace Aurora.Game.API
{
/// <summary>
/// Instanced plugin loadin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Kusto.ServiceLayer.Connection.Contracts;
namespace Microsoft.Kusto.ServiceLayer.Connection
{
/// <summary>
/// Used to uniquely identify a CancellationTokenSource associated with both
/// a str... |
namespace NuPattern.Runtime
{
/// <summary>
/// Definitions for URI's for solution items
/// </summary>
public static class SolutionUri
{
/// <summary>
/// The scheme of the URI
/// </summary>
public const string UriScheme = "solution";
}
}
|
using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
public class TemperatureAnalysisITests
{
[Test]
public void MyTest()
{
Assert.AreEqual(-8, TemperatureAnalysisI.LowestTemperature("-1 50 -4 20 22 -7 0 10 -8"));
Assert.AreEqual(10... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace Plugin.Beahat.Abstractions
{
/// <summary>
/// Interface for Beahat
/// </summary>
public interface IBeahat : INotifyPropertyChanged
{
/// <summary>
/// BeahatがiBeaconをスキャンしているかどうかを取得します。
/// </summary>
/// <va... |
using System.Collections.Generic;
using System.Threading.Tasks;
using AElf.Contracts.Configuration;
using AElf.CSharp.Core.Extension;
using AElf.Kernel.Blockchain.Application;
using AElf.Kernel.SmartContract.Application;
using AElf.Types;
using Google.Protobuf;
using Google.Protobuf.WellKnownTypes;
using Shouldly;
usin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.