content stringlengths 23 1.05M |
|---|
using Flurl.Http.Configuration;
using System.Net;
using System.Net.Http;
namespace CommonLib.Services
{
public class ProxyHttpClientFactory : DefaultHttpClientFactory
{
private string _address;
public ProxyHttpClientFactory(string address)
{
_address = address;
}
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Definux.Emeraude.Admin.ClientBuilder.Modules.Vue.Abstractions;
using Definux.Emeraude.Admin.ClientBuilder.Modules.Vue.Implementations.Constants.Templates;
using Definux.Emeraude.Admin.ClientBuilder.Scaffo... |
namespace Inventor.Semantics.Set.Attributes
{
public class IsSignAttribute : IAttribute
{
private IsSignAttribute()
{ }
public static readonly IsSignAttribute Value = new IsSignAttribute();
}
}
|
using System.Diagnostics.CodeAnalysis;
namespace CurlThin.Enums
{
/// <summary>
/// Reference: https://github.com/curl/curl/blob/master/include/curl/curl.h
/// </summary>
[SuppressMessage("ReSharper", "InconsistentNaming")]
internal static class CURLINFOTYPE
{
public const uint STR... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using UnityEngine.SceneManagement;
public class CharSelectionMenu : MonoBehaviour{
public CharSelectionMenuInput input;
public int chosen = -1;
public GameObject panelMain... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SoDim
{
public partial class SettingsWindow : Form
{
... |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by the ClassGenerator.ttinclude code generation file.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regene... |
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using System;
using Dungeon.Models;
namespace Dungeon.Controllers
{
public class RoomController : Controller
{
[HttpGet("/rooms")]
public ActionResult Index()
{
List<Room> allRooms = Room.GetAl... |
using System;
namespace Starcounter.Database.Extensions
{
public class OnCommitTransactorContext<TUserContextType>
{
public TUserContextType UserContext { get; set; }
}
}
|
using NUnit.Framework;
using System;
using System.Runtime.InteropServices;
using System.Text;
using Vanara.InteropServices;
using Vanara.PInvoke;
using Vanara.PInvoke.Tests;
using static Vanara.PInvoke.Shell32;
namespace Vanara.Windows.Shell.Tests
{
[TestFixture]
public class ShellSearchTests
{
[Test]
public v... |
using core.BusinessEntityCollection;
using System.Net.Sockets;
using System.Text;
using System.Threading;
namespace core.Base
{
public abstract class Client
{
public string Id { get; set; }
public string Name { get; set; }
public StringBuilder Data { get; set; }
public bool ... |
using System.Security.Claims;
using ArtPortfolio.Controllers;
using ArtPortfolio.Data.Models;
using ArtPortfolio.Models.Artists;
using ArtPortfolio.Services.Artists;
using ArtPortfolio.Tests.Mocks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Xunit;
namespace ArtPortfolio.Tests.Controllers
{... |
using Librame.Extensions;
using System;
using System.Collections.Generic;
using System.IO;
namespace LibramePlayer
{
public class PlaylistOptions
{
public string Title { get; set; }
public string Descr { get; set; }
public string Author { get; set; }
public string SinglePlay... |
using System.Collections.Generic;
using System.Threading.Tasks;
using DotNetRuServer.Meetups.BL.Entities;
namespace DotNetRuServer.Meetups.BL.Interfaces
{
public interface ICommunityProvider
{
Task<List<Community>> GetAllCommunitiesAsync();
Task<Community> GetCommunityOrDefaultAsync(string com... |
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан по шаблону.
//
// Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
// Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном с... |
using System;
using System.Globalization;
using System.Linq;
namespace ITGlobal.Fountain.Builder {
public static class Utils
{
public static string Ident(string str, int ident) {
var identstr = string.Concat(Enumerable.Repeat(" ", ident));
var normalized = str.Replace("\n\r", "\... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using PublicApi.Data.Interfaces;
namespace PublicApi.Data.Base
{
public abstract class BaseDatabaseProvider<TDbContext>
{
private readonly TDbContext databaseContext;
private readonly ILogger<BaseDatabaseProvider<TDbContext>> ... |
using System.Runtime.InteropServices;
namespace Netify.Core
{
[TypeIdentifier("dcb00d01-570f-4a9b-8d69-199fdba5723b", "NETWORKLIST.NLM_CONNECTIVITY")]
public enum NLM_CONNECTIVITY
{
NLM_CONNECTIVITY_DISCONNECTED = 0,
NLM_CONNECTIVITY_IPV4_NOTRAFFIC = 1,
NLM_CONNECTIVITY_IPV6_NOTRAF... |
namespace Uno.Compiler.API.Domain.IL
{
public enum NamescopeType
{
Other,
Namespace,
DataType,
BlockBase
}
} |
@{
ViewData["Title"] = "Demo";
}
<link rel="stylesheet" type="text/css" href="~/css/paintCanvas.css">
<h1>Demo of Painting</h1>
<h5>Instructions:</h5>
<p>To paint each frame, first click on the desired color and then click on the area you want to color.</p>
<div class="hor-center">
@await Html.PartialAsy... |
// Accord Statistics Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published ... |
#if GAMEBASE_ADD_NODECANVAS
using System;
using JetBrains.Annotations;
using NodeCanvas.Framework;
using ParadoxNotion.Design;
using UniRx;
namespace Gamebase.Scene.NodeCanvas.Actions
{
[PublicAPI]
[Name("Change Scene")]
[Category("✫ Gamebase/SceneManagement")]
public sealed class ChangeScene : ActionT... |
// Copyright © SoftAlgoTrade, 2014 - 2017.
//
// Web: https://softalgotrade.com
// Support: https://support.softalgotrade.com
//
// Licensed under the http://www.apache.org/licenses/LICENSE-2.0
//
// Examples are distributed in the hope that they will be useful, but without any warranty.
// It is provided "AS IS" with... |
using System;
namespace TFrengler.Selenium
{
public class UnsupportedOSException : Exception
{
public UnsupportedOSException()
{
}
public UnsupportedOSException(string message)
: base(message)
{
}
public UnsupportedOSException(string message... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace blqw
{
/// <summary> 使用事件方式触发的任务实体
/// </summary>
public sealed class EventWork : Work
{
/// <summary> 准备中
/// </summary>
/// <... |
using System;
using NUnit.Framework;
using Seterlund.CodeGuard.Validators;
namespace Seterlund.CodeGuard.UnitTests.Validators
{
[TestFixture]
public class IntegerValidatorTests : BaseTests
{
#region ----- Fixture setup -----
/// <summary>
/// Called once before first test is execut... |
using Microsoft.Azure.Cosmos.Table;
using VolleyM.Domain.Contracts;
using VolleyM.Domain.Players.PlayerAggregate;
namespace VolleyM.Infrastructure.Players.AzureStorage
{
public class PlayerEntity : TableEntity
{
public PlayerEntity()
{
}
public PlayerEntity(TenantId tenant, PlayerId id)
{
Partiti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Jojatekok.PoloniexAPI.TradingTools
{
/// <summary>
/// Describes a margin position
/// </summary>
/// <remarks>{"amount":"40.94717831","total":"-0.096713... |
@model DomainProduct.Filters
<div class="column" id="filter">
<div class="ui labels">
</div>
<div class="four wide column filtros" id="filtros">
<div class="ui grid one column">
<div class="row">
<div class="row filterbar">
<div class="eight wide col... |
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov
*
* 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 without limitation t... |
using Xunit;
namespace WebApiClientCore.Test.BuildinExtensions
{
public class StringExtensionsTest
{
[Fact]
public void RepaceIgnoreCaseTest()
{
var str = "WebApiClientCore.Benchmarks.StringReplaces.WebApiClientCore";
var newStr = str.RepaceIgnoreCase("core", "C... |
namespace Syrinj
{
public class InjectableObject
{
protected InjectableObject()
{
Construct();
}
private void Construct()
{
if (SceneInjector.IsSceneInjected)
{
Inject();
}
SceneInjector... |
using System;
using Xunit;
namespace PingDong.CleanArchitect.Core.UnitTests
{
public class TestEntity : Entity<int>
{
public string Name { get; }
public TestEntity(string name)
{
Name = name;
}
public void Save(int id)
{
Id = id;
... |
namespace WeekendRayTracer.Models.Textures
{
public readonly struct ColorTexture : ITexture
{
public Vec3 Value { get; }
public ColorTexture(Vec3 color)
{
Value = color;
}
public ColorTexture(float red, float blue, float green)
{
Value ... |
using System.ComponentModel.DataAnnotations;
using System.Xml.Serialization;
namespace UltraPlayApi.Data.Models
{
public class Odd
{
[Key]
public int Id { get; set; }
[XmlAttribute(AttributeName = "Name")]
public string Name { get; set; }
[XmlAttribute(AttributeName =... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace Adribot.config
{
public class Config
{
[JsonIgnore]
private const string ConfigPath = "config.json";
[JsonPropertyName... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Cqrs.Connections
{
public interface IConnectionFactory
{
IConnection CreateConnection();
}
public interface IConnection : IDisposable
{
void Open();
int Execute(string sql, object param... |
using System;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Serilog;
using Nami.Services;
namespace Nami.Modules.Search.Services
{
public class PetImagesService : NamiHttpService
{
private const string CatUrl = "http://aws.random.cat/meow";
private const string DogUrl = "http... |
using System;
using System.Collections.Generic;
using NQuery.Runtime;
namespace NQuery.Compilation
{
internal sealed class TableDeclarationFinder : StandardVisitor
{
private List<TableRefBinding> _tableRefBindingList = new List<TableRefBinding>();
public void Clear()
{
_tableRefBindingList.... |
@{
ViewData["Title"] = "Marketing";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<p>This is our marketing page where we talk about all the fishy goings-on.</p>
<p>What would you like to do?</p>
<p>Register as a user</p>
<p>@Html.ActionLink("Register", "Register", "Account")</p>
<p>Sign up for our Newsletter<... |
using System.Threading.Tasks;
namespace Mallet.Common.Shell.Hooks
{
/// <summary>
/// A hook that runs just after startup
/// </summary>
public interface IInitialiseHook
{
/// <summary>
/// Runs when initialised, after startup
/// </summary>
/// <returns></returns>
... |
namespace Exemplum.Infrastructure.Identity;
using Application.Common.Identity;
using System.Security.Claims;
public class UserIdentityService : IUserIdentityService
{
private readonly ICurrentUser _currentUser;
public UserIdentityService(ICurrentUser currentUser)
{
_currentUser = currentUser;
... |
using System;
using System.Collections.Generic;
// using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ServerSource;
namespace ServerTests
{
/// <summary>
/// Тесты, проверяющие корректность создания сервера
/// </summary>
[TestClass]
public class ServerCreatin... |
@page "{makeId?}/{makeName?}"
@model AutoLot.Web.Pages.Cars.IndexModel
@{
ViewData["Title"] = "Index";
}
@{
if (Model.MakeId.HasValue)
{
<h1>Vehicle Inventory for @Model.MakeName</h1>
var mode = new ViewDataDictionary(ViewData) { { "ByMake", true } };
<partial name="Partials/_Car... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ACM
{
class OrderItem
{
private Product product { get; set; }
private int Quantity { get; set; }
private decimal PurchasePrice { get; set; }
public void Validate()
{
}
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZimmerBot.Core.Knowledge;
namespace ZimmerBot.Core.WordRegex
{
public class GroupWRegex : WRegexBase
{
public WRegexBase Sub { get; protected set; }
public GroupWRegex(... |
namespace Terrasoft.Analyzers
{
internal static class ModifierNames {
internal const string Private = "Private";
internal const string Protected = "Protected";
internal const string Internal = "Internal";
internal const string ProtectedInternal = "ProtectedInternal";
internal const string Public = "Public"... |
namespace Disqord.WebSocket.Default
{
public class DefaultWebSocketClientFactory : IWebSocketClientFactory
{
public IWebSocketClient CreateClient()
=> new DefaultWebSocketClient();
}
}
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using System.Reflection;
namespace System.CommandLine
{
public class RootCommand : Command
{
public RootComman... |
using Colorspace;
using Q42.HueApi.ColorConverters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Litch.Lib.LightSystems
{
public interface ILightSystem
{
string AccessToken { get; set; }
IPEndPoi... |
using System.Text.RegularExpressions;
using NServiceBus;
using NServiceBus.Transport.AzureServiceBus;
#region Sha1SanitiazationStrategy
class Sha1Sanitization :
ISanitizationStrategy
{
public string Sanitize(string entityPathOrName, EntityType entityType)
{
// remove invalid characters
... |
//
// File generated by HDevelop for HALCON/.NET (C#) Version 18.11.1.1
// Non-ASCII strings in this file are encoded in UTF-8.
//
// Please note that non-ASCII characters in string constants are exported
// as octal codes in order to guarantee that the strings are correctly
// created on all systems, independent on a... |
namespace Machete.Values
{
using System;
/// <summary>
/// A not-present value, one that is not present in the source and does
/// not have a value.
/// </summary>
/// <typeparam name="TValue">The value type</typeparam>
public class MissingValue<TValue> :
Value<TValue>
{
... |
using System.Windows.Forms;
using SubCSS;
namespace Demo.WinForms
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
var stylesheets = new StyleSheets();
stylesheets.LoadCss(@"
* {
fore-color: red;
font-family: Tahoma;
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Traps : MonoBehaviour
{
public static float maxPots;
public float currentPots;
public static float maxIce;
public float currentIce;
public Text potText;
public Text iceText;
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Car.Data.Entities;
using Car.Domain.Services.Interfaces;
using Car.UnitTests.Base;
using Car.WebApi.Controllers;
using FluentAssertions;
using FluentAssertions.Execution;
using Microsoft.AspNetCore.Mvc;
using Moq;
using Xunit;
namespace Car.UnitTes... |
// SPDX-License-Identifier: MIT
// Copyright 2021 Lukas <lumip> Prediger
using System;
namespace AsyncCopyTo.Buffers
{
public class NoFreeBufferException : Exception
{
public NoFreeBufferException() : base("No free buffer was available!") { }
}
}
|
namespace DataFlow.EdFi.Models.EnrollmentComposite
{
public class Section_studentSectionAssociation
{
/// <summary>
///
/// </summary>
public string studentSectionAssociation_id { get; set; }
/// <summary>
///
/// </summary>
public string id {... |
namespace KelpNet.Common.Functions
{
public interface IParallelizable
{
void CreateKernel();
bool SetGpuEnable(bool enable);
}
}
|
using StartupManager.Models;
namespace StartupManager.Interfaces
{
internal interface IStartupItem
{
object Icon { get; }
string Name { get; }
string Path { get; }
string CmdArguments { get; }
StartupType StartupType { get; }
bool IsSignatureExists { get; }
... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace SWP391.Models
{
[Table("Topics")]
public class Topic
{
public string TopicId { get; set; }
public int TopicOrder { get; set; }
public string TopicName { get; set; }
public virtua... |
namespace TaskoMask.Application.Core.Extensions
{
/// <summary>
///
/// </summary>
public static class UtilityExtensions
{
/// <summary>
///
/// </summary>
public static string ToLowerFirst(this string str)
{
return str.Substring(0, 1).ToLower... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class CreditsManager : MonoBehaviour
{
PlayerInputs inputs;
[SerializeField] float time = 21;
private void OnEnable()
{
inputs.LogoControls.Enable();
}
private void ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AssasApi.Model.Payments
{
public class CreditCreditCardModel
{
public string HolderName { get; set; }
public string Number { get; set; }
public string ExpiryM... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Mu
{
public string name;
}
public class TetsMessage : MonoBehaviour
{
// Start is called before the first frame update
public event Callback x;
public event Callback <Mu>x1;
void Awake()
{... |
namespace DynamicTranslator.Core.Configuration.UniqueIdentifier
{
using System.Management;
using Extensions;
#pragma warning disable CA1416 // Validate platform compatibility
public class CpuBasedIdentifierProvider : IUniqueIdentifierProvider
{
public string Get()
{
var cpu... |
using Npgsql.EntityFrameworkCore.PostgreSQL.TestUtilities;
namespace Npgsql.EntityFrameworkCore.PostgreSQL;
public class NpgsqlFixture : ServiceProviderFixtureBase
{
public TestSqlLoggerFactory TestSqlLoggerFactory => (TestSqlLoggerFactory)ServiceProvider.GetRequiredService<ILoggerFactory>();
protected overr... |
// 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 System.Globalization;
using System.IO;
using Microsoft.AspNet.FileProviders;
using Microsoft.Framework.Internal;
... |
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace CleverCrow.Fluid.FSMs {
[Serializable]
public class Fsm : IFsm {
private readonly Dictionary<Enum, IState> _stateDic = new Dictionary<Enum, IState>();
public object Owner { get; }
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace JiraDashboard.Models.DTO
{
public class Login
{
[Required(ErrorMessage = "Username cannot be empty.")]
public string username { get; set; }
[Requ... |
using System;
using System.Data;
using Microsoft.Data.SqlClient;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions;
namespace Repositorios
{
public class Conexion
{
//private string cadenaConexion = @"SERVER=(localdb)\mssqllocaldb;
// DATABASE=viveroP3;... |
using Syncfusion.XForms.Buttons;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
namespace HeatApp.Models.Catalog
{
/// <summary>
/// Model for Event list page
/// </summary>
[Preserve(AllMembers = true)]
public class EventList
{
#region Public Properties
/// <summary>
... |
namespace DeepSleep.Tests
{
using FluentAssertions;
using Xunit;
public class ApiResponseInfoTests
{
[Fact]
public void apiresponseinfo___has_success_status_returns_false_for_null_response()
{
var responseInfo = null as ApiResponseInfo;
var result = res... |
namespace StandWorld.Definitions
{
[System.Serializable]
public enum SelectorType : ushort
{
Tile,
Area,
AreaTile,
Line,
}
} |
////////////////////////////////////////////////////////////////////////////////
//EF Core Provider for LCPI OLE DB.
// IBProvider and Contributors. 05.10.2018.
using System;
using System.Diagnostics;
using System.Linq.Expressions;
using System.Reflection;
using System.Collections.... |
using System.Threading.Tasks;
namespace AnalisadorDeBytes.IoC
{
public interface IBuscadorDeTextoWebFallback
{
Task<string> BuscarTextoAleatorio();
}
} |
using BulkCrapUninstaller.Controls;
namespace BulkCrapUninstaller.Forms
{
partial class BeginUninstallTaskWizard
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Xml.Linq;
using Microsoft.AspNetCore.Http;
using PlatformRacing3.Common.User;
using PlatformRacing3.Web.Controllers.DataAccess2.Procedures.Exceptions;
using PlatformRacing3.Web.Responses;
using PlatformRacing3.Web.Responses.Procedures;
names... |
using System.Collections.Generic;
namespace RandomFriendlyNameGenerator.Data
{
/// <summary>
/// Class Animals.
/// </summary>
public static class Animals
{
/// <summary>
/// The values
/// </summary>
public static readonly List<string> Values = new List<string>()
... |
using StudyCards.Data;
using StudyCards.Local.Repositories;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace StudyCards.Local.Services
{
public class GroupService : IGroupService
{
private readonly IGroupRepository groupRepository;
publ... |
using System;
using System.IO;
using System.Drawing;
using System.Windows.Forms;
using Zbx1425.PWPackMan;
namespace Zbx1425.OpenBveRegistry {
/// <summary>
/// Description of ConfigDialog.
/// </summary>
public partial class ConfigDialog : Form {
private OpenBveLocalRegistry registry;
privat... |
using BrickPi3.Utils;
using System;
using Xunit;
namespace BrickPi3.Tests
{
public class GeatUtilsTests
{
[Theory]
[InlineData(8, 16, 24, 40, 0.3)]
[InlineData(40, 8, 24, 8, 15)]
public void GearFactorResultTests(int gearOne, int gearTwo, int gearThree, int gearFour, double fact... |
using System;
using System.IO;
namespace Cottle.Documents.Simple.Nodes.AssignNodes
{
class ValueAssignNode : AssignNode
{
#region Attributes
private readonly IEvaluator expression;
#endregion
#region Constructors
public ValueAssignNode (string name, IEvaluator expression, StoreMode mode... |
using System;
using NRules.RuleModel;
namespace NRules.Fluent.Dsl
{
public static class ContextExtensions
{
/// <summary>
/// Updates existing fact in the rules engine's memory.
/// First the update action is applied to the fact, then the fact is updated in the engine's memory.
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PushableObject : RoomObject, IPhysicObjectContactReceiver, IFloorButtonActivator
{
protected static Color s_GizmoCubeColor = new Color(0, 1, 0, 0.7f);
protected readonly float PUSH_TIME = 0.5f;
prote... |
using System;
using System.Collections.Generic;
using Il2CppDummyDll;
using UnityEngine;
// Token: 0x020002B5 RID: 693
[Token(Token = "0x20002B5")]
public class ChatLanguageMenu : MonoBehaviour
{
// Token: 0x06000F65 RID: 3941 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000F65")]
[Address... |
// Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System;
using DotSpatial.Data;
namespace DotSpatial.Plugins.Taudem
{
/// <summary>
/// Used to support legacy style code. These are i... |
using System;
using System.Diagnostics.CodeAnalysis;
using NUnit.Framework;
namespace CQSplit.Tests
{
[TestFixture]
public class EventApplierTests
{
[Test]
public void Calls_apply_with_supplied_event()
{
var eventApplier = new EventApplier(new TypeInspector());
... |
using Glimpse.Core.Message;
using LightNode.Core;
using LightNode.Server;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Glimpse.LightNode
{
internal enum OperationPhase
{
Before, After, Operation, Exception, ReturnStatusCo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TropheesStat : MonoBehaviour
{
public static TropheesStat tropheeStatInstance;
public TropheeItem[] tropheeList;
public PopTropheeHelper tPop;
private Dictionary<string,TropheeItem> trophees = new Dictionary<s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SoulsFormats;
namespace StudioCore.MsbEditor
{
/// <summary>
/// Because fromsoft divided enemy placement into two params in DS2, this class exists
/// to combine them into a "superparam" that maintains the two par... |
using System;
namespace Rental
{
public class ClosedRangeValidator<T> : IRangeValidator<T> where T : IComparable, IComparable<T>
{
private T lowerBound;
private T upperBound;
public ClosedRangeValidator(T lowerBound, T upperBound)
{
if (lowerBound.CompareTo(upperBo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BulletScript : MonoBehaviour
{
float speed = 50f; // bullet speed;
float lifeTime = 2f; // bullet lifetime;
Rigidbody2D rb; //bullet rigidbody
//Animator anim; //bullet animato... |
using System.Runtime.InteropServices;
namespace FSX_EMPIRE
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
public struct SCoPilot
{
public double AIRSPEED_INDICATED;
public double INDICATED_ALTITUDE;
public double ENG_MANIFOLD_PRESSURE_1;
public do... |
using Com.TheFallenGames.OSA.Core.Data.Animations;
using System;
namespace Com.TheFallenGames.OSA.Core
{
public class OSAMath
{
public static double Lerp_SinSlowOut(double t01)
{
// Normal in, sin slow out
return Math.Sin(t01 * Math.PI / 2);
}
public static double Lerp_SqrtFastInSlowOut(double t01)
... |
namespace Mos6510.Instructions
{
public class AccumulatorArgument : Argument
{
public AccumulatorArgument() : base(0,0)
{
}
}
}
|
using System;
using System.Collections.Generic;
using Mine.Commerce.Domain.Common;
namespace Mine.Commerce.Domain.Features.Carts
{
public class CartDto
{
public Guid CustomerId { get; set; }
public IEnumerable<CartItem> CartItems { get; set; }
public string PromotionCode { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VeryCustomUI.Common;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace VeryCustomUI
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class SecondaryPage : ContentPage
{... |
namespace StringBuilderSubstring
{
using System.Text;
public static class StringBuilderExtensions
{
public static StringBuilder Substring(this StringBuilder input, int index, int count)
{
var result = new StringBuilder();
result.Append(input.ToString().Substring(ind... |
using System;
using System.Collections.Generic;
namespace _04._Students
{
class Student
{
public Student(string firstName, string lastName, int age, string homeTown)
{
this.FirstName = firstName;
this.LastName = lastName;
this.Age = age;
this.Hom... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.