content stringlengths 23 1.05M |
|---|
namespace Its.K8SUtils.Utils
{
public class Executor : IExecutor
{
public string Run(string cmd, string argv)
{
return Utils.Exec(cmd, argv);
}
}
}
|
namespace AppForEach
{
class Program
{
static void Main(string[] args)
{
//Variables
int[] sueldos = new int[5];
Console.WriteLine("Programa Sentencia For Each");
for (int contador = 0; contador < 5; contador++)
{
... |
using OfficeOpenXml;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using ThreewoodBatch.Extensions;
using ThreewoodBatch.Models;
using Umbraco.Core.Logging;
namespace ThreewoodBatch.Helper
{
static publ... |
using System;
using System.Linq;
using System.Threading.Tasks;
using HelloWorld.Interfaces;
using Orleans;
using Orleans.Runtime.Configuration;
using Orleans.TestingHost;
using Xunit;
namespace SiloTests
{
/// <summary>
/// How this works:
///
/// 1. The class fixture will create an in-process test si... |
namespace Rollbar.NetStandard
{
using System;
using Rollbar.Telemetry;
/// <summary>
/// Class RollbarConfigUtility.
/// </summary>
[Obsolete("Use Rollbar.NetStandard.RollbarConfigurationLoader class instead")]
public static class RollbarConfigUtility
{
private readonly static... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Reactive.Threading.Tasks;
using System.Threading.Tasks;
using F2F.ReactiveNavigation.ViewModel;
using F2F.Testing.Xunit.FakeItEasy;
using FakeItEasy;
using F... |
namespace Microsoft.ApplicationInsights.Wcf.Tests.Service
{
using System;
using System.ServiceModel;
using System.Threading.Tasks;
[ServiceContract]
public interface IAsyncService
{
[OperationContract]
Task<string> GetDataAsync();
[OperationContract]
Task<string... |
using Elsa.Activities.Startup.HostedServices;
using Elsa.Runtime;
namespace Elsa.Activities.Startup.Extensions
{
public static class ServiceCollectionExtensions
{
public static ElsaOptions AddStartupActivities(this ElsaOptions options)
{
options.Services.AddStartupTask<RunSt... |
using Orleans;
using Orleans.Core;
using Orleans.Runtime;
using Orleans.Streams;
using System;
using System.Threading.Tasks;
using UnitTestingAGrain.Interfaces;
namespace UnitTestingAGrain.Grains
{
public class MyGrain : Grain<int>, IMyGrain
{
public MyGrain(IGrainIdentity identity, IGrainRuntime runt... |
namespace Disboard.Server.AniList.Models
{
/// <summary>
/// User's staff statistics
/// </summary>
public class StaffStats
{
/// <summary>
///
/// </summary>
public int? Amount { get; set; }
/// <summary>
///
/// </summary>
... |
using System.Collections.Generic;
using SolidRpc.NpmGenerator.Types;
using System.Runtime.Serialization;
namespace SolidRpc.NpmGenerator.Types {
/// <summary>
/// successful operation
/// </summary>
public class NpmPackage {
/// <summary>
/// The files within the package
/// </su... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PopulateSqlData.ReadMeta.Domain.Column
{
public enum ColumnType
{
Reference = 0,
PrimaryUnique,
ReferenceUnique,
Normal
}
}
|
using UnityEngine;
namespace Playcraft
{
[CreateAssetMenu(menuName = "Playcraft/Data Types/Int Array", fileName = "Int Array")]
public class IntArray : ScriptableObject
{
public int[] values;
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using XELibrary;
namespace TunnelVision
{
public sealed class StartMenuState : BaseGameState, IStartMenuState
{
private Texture... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hatzap.Utilities;
using OpenTK;
using OpenTK.Input;
namespace Hatzap.Input
{
public class AccurateMouse : IMouseInputProvider
{
GameWindow gameWindow;
... |
namespace River.Orqa.Editor.Common
{
using System;
using System.Windows.Forms;
public class ErrorHandler
{
// Methods
static ErrorHandler()
{
ErrorHandler.errorBehaviour = River.Orqa.Editor.Common.ErrorBehaviour.Message;
}
public ErrorHandler()
... |
namespace PCMarket.Services.IdentityOperators
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Managers;
using Models.Entities.Users;
public class IdentityUserOperator : IDisposable
{
p... |
using System;
namespace Alabo.Extensions {
public static class DecimalExtension {
/// <summary>
/// Equalses the specified value2.
/// 判断两个数字,在多少位范围内是否相等
/// </summary>
/// <param name="value1">The value1.</param>
/// <param name="value2">The value2.</para... |
using DotNetNuke.Web.Mvc.Routing;
namespace Dnn.ContactList.Mvc
{
public class RouteConfig : IMvcRouteMapper
{
public void RegisterRoutes(IMapRoute mapRouteManager)
{
mapRouteManager.MapRoute("ContactList", "ContactList", "{controller}/{action}", new[]
{"Dnn.ContactList... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class People : MonoBehaviour {
[SerializeField]
public HealthBase health;
public List<People> enemys;
public void Attack(People other,float damage)
{
other.GetDamage(damage);
}
protected void Ge... |
// File generated from our OpenAPI spec
namespace Stripe
{
using Newtonsoft.Json;
public class PaymentMethodFpx : StripeEntity<PaymentMethodFpx>
{
/// <summary>
/// Account holder type, if provided. Can be one of <c>individual</c> or <c>company</c>.
/// One of: <c>company</c>, or <c... |
using System;
using System.Collections.Generic;
namespace MyMovieServer.Models
{
public partial class Pelicula
{
public Pelicula()
{
Calificacion = new HashSet<Calificacion>();
}
public int IdPelicula { get; set; }
public string NombrePelicula { get; set; }... |
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace Lab09LinqInManhattan.Tests
{
public class Lab09LinqInManhattanTests
{
[Fact]
public void Json_data_retrieved_from_file()
{
// Act
var result = Program.GetNeighborhoods();
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebVella.Erp.Web.Models
{
public class ErpTranslationDictionary
{
[JsonProperty(PropertyName = "key")]
public string Key { get; set; } = "";
[JsonProperty(... |
using Raywaster.Math;
namespace Raywaster.Render
{
public class Camera
{
public Vector2 Position { get; private set; }
public float Rotation { get; private set; }
public Camera()
: this(Vector2.Zero, 0.0f)
{
}
public Camera(Vector2 position, float ... |
namespace NatureShot.Web.Controllers
{
using System;
using System.Threading.Tasks;
using CloudinaryDotNet;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using NatureShot.Data.Models;
using NatureShot.Services.Data;
us... |
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(WebcamSource))]
public class WebcamSourceInspector : Editor
{
private WebcamSource script;
private void Awake()
{
this.script = (WebcamSource)target;
}
public override void OnInspectorGUI()
{
Rect rect = EditorGUILayout.GetControlRect(false);
if(... |
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.... |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Omnifactotum.NUnit;
namespace Omnifactotum.Tests
{
[TestFixture(TestOf = typeof(FixedSizeDictionary<,,>))]
internal sealed class FixedSizeDictionaryTests
{
[Test]
public void TestBasicScenario()
... |
using System.Collections.Generic;
using System.Xml;
using EltraCommon.ObjectDictionary.Common.DeviceDescription.Common;
using EltraCommon.ObjectDictionary.Common.DeviceDescription.Profiles.Application.Parameters;
using EltraCommon.ObjectDictionary.Xdd.DeviceDescription.Common;
using EltraCommon.ObjectDictionary.Xdd.De... |
using NHL.NET.Exceptions;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
namespace NHL.NET.Test
{
public class DivisionTests
{
private readonly NHLClient _nhlClient = new NHLClient();
[Fact]
public async Task Test_GetAllAsync_ReturnsAllDivisions()
... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using SmartSolution.Utilities.Win.Controls;
namespace Smart.Win.Controls
{
/// <summary>
/// 加载窗体
/// </summary>
public partial class SplashForm : XtraForm
{
private r... |
using System;
namespace Zinc.WebServices.RestClient
{
/// <summary />
internal static class Extensions
{
/// <summary />
internal static string EnsureEndsWith( this string str, string value )
{
#region Validations
if ( str == null )
throw ne... |
// -----------------------------------------------------------------------
// <copyright file="OAuthRequestData.cs" company="Ting-Yu Lin">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using Sy... |
using System;
using FubuCore.Conversion;
using FubuTestingSupport;
using NUnit.Framework;
namespace FubuCore.Testing.Conversion
{
[TestFixture]
public class TimeSpanConverterTester
{
[Test]
public void happily_converts_timespans_in_4_digit_format()
{
TimeSpa... |
using System;
using System.ComponentModel.DataAnnotations;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
namespace sage.poc_001.SDI.Application.Dto
{
[AutoMapTo(typeof(SDI_User))]
public class SDI_UserDto : EntityDto<int>
{
public SDI_UserDto() { }
[Required]
[StringLen... |
using M.Executables.Executors.SimpleInjector;
using M.Repository;
using SimpleInjector;
namespace SentencesHost.Infrastructure
{
public class ExecutorScopeEndHandler : IScopeEndHandler
{
private readonly IUnitOfWork unitOfWork;
public ExecutorScopeEndHandler(IUnitOfWork unitOfWork)
{
... |
// Copyright (c) zhenlei520 All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
using EInfrastructure.Core.Configuration.Ioc.Plugs.Storage.Config;
namespace EInfrastructure.Core.Configuration.Ioc.Plugs.Storage.Params.S... |
using System;
using System.Collections.Generic;
namespace XenAspects
{
/// <summary>
/// An alternative to .net events that does not generate garbage when adding/removing/invoking
/// callback handlers that removes all subscribers after the event has triggered
/// </summary>
public class FireOnceE... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Repart.Common.Exceptions;
namespace Repart.Services.Formations.Domain.Models
{
public class Formation
{
public Guid Id { get; protected set; }
public string Name { get; protected set; }
... |
/* Copyright (c) 2017 Rick (rick 'at' gibbed 'dot' us)
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,... |
using BattleTech;
using Harmony;
// ReSharper disable InconsistentNaming
// ReSharper disable UnusedMember.Global
namespace AbilityRealizer.Patches
{
[HarmonyPatch(typeof(Pilot), "InitAbilities")]
public static class Pilot_InitAbilities_Patch
{
public static void Prefix(Pilot __instance)
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Radical.Model;
using SharpTestsEx;
using System;
namespace Radical.Tests.Model
{
[TestClass()]
public class PredicateEntityItemViewFilterTest
{
[TestMethod]
public void predicateEntityItemViewFilter_ctor_predicate_should_set_expecte... |
namespace ProtoSim.OmniTwitch {
/// <summary>
/// Provides a set of parameters related to a client disconnect event.
/// </summary>
public class ClientDisconnectedArgs : EventArgs {
internal ClientDisconnectedArgs() { }
}
} |
using System;
using System.ComponentModel.DataAnnotations;
namespace ChickenSoftware.WorkingHard
{
public class Customer2
{
[Required]
public Guid Id { get; set; }
[MinLength(2)]
[MaxLength(30)]
public String FirstName { get; set; }
[MinLength(2)]
[MaxLe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class carChangeButtons : MonoBehaviour
{
GameObject manager;
private void Start() {
manager = GameObject.Find("GarageManager");
}
public void nextCarButtonClick(){
manager.GetComponent<GarageMana... |
using Newtonsoft.Json;
using System;
namespace Messenger.Lib.Helpers
{
//public class MessengerRequest
//{
// [JsonProperty("teamId")]
// public int TeamId { get; set; }
// [JsonProperty("userId")]
// public string UserId { get; set; }
// [JsonProperty("connectionId")]
... |
using Microsoft.Extensions.DependencyInjection;
using Mvp.Feature.BasicContent.Services;
using Sitecore.DependencyInjection;
namespace Mvp.Feature.BasicContent
{
public class ServicesConfigurator : IServicesConfigurator
{
public void Configure(IServiceCollection serviceCollection)
{
... |
@using Mindgaze.Languages.Web
@using Mindgaze.Languages.Web.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Mindgaze.Languages.AspNetCore |
////////////////////////////////////////////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using EnsureThat;
using Core;
using ExistsAcceptingPath;
///////////////////////////////////////////////////... |
namespace Synnotech.EntityFrameworkCore
{
/// <summary>
/// Represents the different Entity Framework Core logging modes.
/// </summary>
public enum LoggingBehavior
{
/// <summary>
/// Indicates that EF logging is turned off.
/// </summary>
Off = 0,
/// <sum... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.ModelBinding;
namespace Microsoft.AspNet.Mvc
{
public cl... |
using System;
using System.Collections.Generic;
using System.Data.Services.Providers;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Formall.Data
{
internal class PagingProvider : IDataServicePagingProvider
{
public object[] GetContinuationToken(System.Collect... |
using System.Collections.Generic;
namespace NHLStats.Dtos
{
public class PlayerStatisticsDto
{
public StatTypeDto Type { get; set; }
public IList<PlayerStatDto> Splits { get; set; }
}
}
|
using System.Collections.Generic;
using static CodeFirst.Program;
namespace CodeFirst.Entidades
{
public class Course
{
public int Id { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public float FullPrice { get; set; }
public Aut... |
//MIT, 2016-2017 ,WinterDev
using System;
namespace BridgeBuilder
{
class TypeSymbolWalk
{
public void Walk(TypeSymbol typeSymbol)
{
switch (typeSymbol.TypeSymbolKind)
{
default:
throw new NotSupportedException();
ca... |
// <copyright file="OwinResponseTests.cs" company="Microsoft Open Technologies, Inc.">
// Copyright 2013 Microsoft Open Technologies, Inc. All rights reserved.
//
// 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 ... |
using System;
using System.Threading;
using System.Threading.Tasks;
using TumblThree.Applications.DataModels;
namespace TumblThree.Applications.Downloader
{
public interface IDownloader
{
Task Crawl(IProgress<DownloadProgress> progress, CancellationToken ct, PauseToken pt);
Task IsBlogOnline... |
namespace TwitterSharp.Response.RTweet
{
public enum ReplySettings
{
Everyone,
MentionnedUsers,
Followers
}
}
|
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.PlayerLoop;
namespace ProjectBuilder
{
[Serializable]
[CreateAssetMenu(menuName ="Build/Build Profile", order = 40)]
public class BuildProfile : ScriptableObject
{
/// <summary>
/// 비활성화시 프로젝트 단위 프로필 검색에 노출... |
namespace BackOffice.Jobs.Interfaces
{
public interface IJobWorker
{
void Start();
}
}
|
namespace OpenTriviaSharp.Models
{
/// <summary>
/// Question type.
/// </summary>
public enum TriviaType
{
Any,
/// <summary>
/// Multiple choice.
/// </summary>
Multiple,
/// <summary>
/// True or False.
/// </summary>
Boolean
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Xml.XPath;
namespace TimeZoneConverter.DataBuilder
{
public static class DataExtractor
{
public static List<string> LoadMapping(string cldrDirectoryPath)
{
var li... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EntityLayer.Concrate
{
public class Articles
{
[Key]
public int ArticlesID { get; set; }
public string ArticlesTitle... |
using System;
using System.Collections.Generic;
using System.Linq;
using PRISM;
using PSI_Interface.MSData;
namespace PPMErrorCharter
{
public sealed class MzMLReader : EventNotifier
{
// Ignore Spelling: psmResults
private readonly string _mzMLFilePath;
/// <summary>
... |
namespace System.Speech.Recognition
{
public class AudioStateChangedEventArgs : EventArgs
{
private AudioState _audioState;
public AudioState AudioState => _audioState;
internal AudioStateChangedEventArgs(AudioState audioState)
{
_audioState = audioState;
}
}
}
|
using System;
using Unity.Collections;
using Unity.Entities;
using Unity.Mathematics;
[GenerateAuthoringComponent]
public struct WorldMapViewData : IComponentData
{
public int x;
public int y;
public int width;
public int height;
}
|
using System;
using System.Collections.Generic;
using Frau.Models.Internal;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Frau.Models
{
public class Costream
{
[JsonProperty("channels")]
public List<CostreamChannel> Channels { get; set; }
[JsonProperty("startedA... |
using System;
using System.Collections.Generic;
namespace FeatureFlags.APIs.Models
{
public class TreeNode<TValue> where TValue : class
{
public int Id { get; set; }
public string Name { get; set; }
public TValue Value { get; set; }
public ICollection<TreeNode<TValue>> Child... |
using ImageProcessor.Web.Helpers;
using ImageProcessor.Web.HttpModules;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using Umbraco.Core;
using Umbraco.Core.Composing;
using UC = Umbraco.Core;
namespace Our.Umbraco.NonProfitFramew... |
using LiveSplit.Web;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace LiveSplit.Model.RunSavers
{
public class JSONRunSaver : IRunSaver
{
private string CreateImageElement(Image image)
{
... |
using Application.Common.Models;
using System;
using System.Threading.Tasks;
namespace Client.App.Services
{
public interface IExceptionHandler
{
Task HandlerRequestTaskAsync(Func<Task> task);
Task<IResult> HandlerRequestTaskAsync(Func<Task<IResult>> task);
Task<IResult<TResult>> Handl... |
using System;
namespace TrainingLab
{
internal class Program
{
static void Main(string[] args)
{
double lenghtMeters = double.Parse(Console.ReadLine());
double widthMeters = double.Parse(Console.ReadLine());
double lenghtCentimeters = lenghtMeters * 100;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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;
using System.Data;
namespace Remnant.DataGateway.Core
{
public class DbLogEntry
{
/// <summary>
/// The thread that made the call
/// </summary>
public int ThreadId { get; set; }
/// <summary>
/// The sql command with any bind parameters
/// </summary>
public IDbComma... |
/**
* Unlicensed code created by A Softer Space, 2019
* www.asofterspace.com/licenses/unlicense.txt
*/
using System.Collections.Generic;
using System.Collections;
using System;
using UnityEngine;
public class RocketLaunchCtrl : UpdateableCtrl, ResetteableCtrl {
private GameObject hostRoom;
private GameObject... |
using System;
using System.Threading;
using RI.Framework.Threading;
namespace RI.Test.Framework.Threading
{
public sealed class Mock_HeavyThread : HeavyThread
{
#region Instance Constructor/Destructor
public Mock_HeavyThread (Action action)
{
this.Action = action;
this.TestValue = string.Empty;
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace Microsoft.Research.DynamicDataDisplay.Filters
{
public sealed class CountFilter : IPointsFilter
{
private int maxCount = 300;
public int MaxCount
{
get { return maxCount; }
set { maxCoun... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using EIDSS.RAM_DB.Common;
using EIDSS.RAM_DB.Common.EventHandlers;
using EIDSS.RAM_DB.DBService.Models.Export;
using bv.common.Core;
namespace EIDSS.RAM_DB.DBService.Models
{
public delegate DataTable GetMap... |
using System;
using System.Net;
namespace ApartmentReservation.Common.Exceptions
{
public class AlreadyLoggedInException : CustomExceptionBase
{
public AlreadyLoggedInException() : base("You are already logged in.")
{
}
public AlreadyLoggedInException(string message) : base(me... |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Threading.Tasks;
using System.Linq;
using Akka.Actor;
using Xunit.Abstractions;
using Xunit;
namespace Akka.Interfaced
{
public class MessageDispatchTest : TestKit.Xunit2.TestKit
{
public MessageDispatchTest(ITestOut... |
using System.Collections;
using System.Collections.Generic;
using Entitas;
public class MatchStartSystem : ReactiveSystem<GameEntity>
{
private readonly GameContext _context;
public MatchStartSystem(Contexts contexts) : base(contexts.game)
{
_context = contexts.game;
}
protected override... |
using SD = System.Drawing;
using SWF = System.Windows.Forms;
using Eto.Forms;
using System;
namespace Eto.WinForms.Forms.ToolBar
{
public class SeparatorToolBarItemHandler : ToolItemHandler<SWF.ToolStripSeparator, SeparatorToolItem>, SeparatorToolItem.IHandler, IToolBarItemHandler
{
public SeparatorToolBarItemHand... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TrackingProjectile : EnemyProjectile {
[Range(0f, 1f)]
public float rotationSpeed;
[Range(0f, 15f)]
public float speed;
private void FixedUpdate() {
Vector3 thisToPlayer = (Player.Instan... |
using Microsoft.Identity.Client;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace EmbravaTeamsPresenceNotifications
{
/// <summary>
/// Interaction logic for... |
using System;
using System.IO;
using System.Security;
using SquawkBus.Authentication;
using SquawkBus.Messages;
namespace SquawkBus.Extensions.PasswordFileAuthentication
{
public class PasswordFileAuthenticator : IAuthenticator
{
private readonly FileSystemWatcher _watcher;
private PasswordMan... |
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.IO;
namespace Tetrominoes.Graphics
{
public class GamePadFonts
{
public SpriteFont NormalWeight { get; }
public GamePadFonts(FontSize size, ContentManager contentManager)
{
... |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... |
using System.Collections.Generic;
using System.Text;
using FairyUGUI.Core;
using UnityEngine;
namespace FairyUGUI.Event
{
public class PointerEventData : BaseEventData
{
public enum InputButton
{
Left = 0,
Right = 1,
Middle = 2
}
public enum FramePressState
{
Pressed,
Released,
PressedA... |
using System.Collections.Generic;
namespace Eliza
{
/// <summary>
/// The YOU pattern.
/// </summary>
/// <seealso cref="Eliza.ComplexPattern" />
public class YouPattern : ComplexPattern
{
#region Constructor
/// <summary>
/// Initializes a new instance of... |
// Created by Ronis Vision. All rights reserved
// 12.04.2021.
using System;
using System.Linq;
using System.Reflection;
#if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine;
using Object = UnityEngine.Object;
namespace RVModules.RVUtilities
{
/// <summary>
/// Stick this on a method
/// </summary... |
using System;
using Plugin.Calendars.Abstractions;
using CalendarsTester.Core.Helpers;
using CalendarsTester.Core.Enums;
using System.Windows.Input;
using Xamarin.Forms;
using System.Collections.Generic;
namespace CalendarsTester.Core.ViewModels
{
public class ReminderEditorViewModel : ModalViewModelBase
{
... |
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Text;
namespace Boxters.Application.ShoppingCart
{
public class CartRequestValidator : AbstractValidator<CartRequest>
{
public CartRequestValidator()
{
RuleFor(x => x.Session).NotNull();
}
... |
using System;
using Axoom.Extensions.Logging.Layouts;
using NLog.Layouts;
namespace Axoom.Extensions.Logging
{
internal static class LogTargetExtensions
{
private static readonly Lazy<GelfLayout> _gelfLayout = new Lazy<GelfLayout>(() => new GelfLayout());
private static readonly Lazy<L... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
using ProtoBuf.Meta;
using System.IO;
namespace ProtoBuf.unittest.Meta
{
public class SubItems
{
static RuntimeTypeModel CreateModel()
{
var model = RuntimeTypeModel.Create();
... |
using Clarity.Common.Numericals.Algebra;
using Clarity.Common.Numericals.Geometry;
namespace Clarity.App.Worlds.Interaction.Placement
{
public interface IPlacementSurface
{
bool TryFindPlace(Ray3 globalRay, out Transform localTransform);
bool TryFindPoint2D(Ray3 globalRay, out Vector2 point2D)... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
namespace SimpleWebBrowser
{
public class BrowserUI : MonoBehaviour
{
[SerializeField]
public Canvas MainCanvas = null;
[SerializeField]
public InputField UrlField;
[SerializeField]
public Ima... |
/* $Id$
* ======================================================================
*
* Copyright 2010-2018 EMBL - European Bioinformatics Institute
*
* 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 ... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using NUnit.Framework;
using UnstableSort.Crudless.Configuration;
using UnstableSort.Crudless.Requests;
using UnstableSort.Crudless.Tests.Fakes;
namespace UnstableSort.Crudless.Tests.RequestTests
{
[TestFixture]
... |
using SampleBrowser.ViewModel.Page;
namespace SampleBrowser.View.Page;
/// <summary>
/// OpenFilePage.xaml の相互作用ロジック
/// </summary>
public partial class OpenFilePage
{
public OpenFilePage()
{
InitializeComponent();
}
}
public class DesignOpenFileViewModel : OpenFileViewModel
{
public DesignO... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.