text stringlengths 1 932k |
|---|
using System;
using UnityEngine;
using KSPe;
namespace TweakScale.GUI
{
internal static class ShowStopperAlertBox
{
private static readonly string MSG = @"Unfortunately TweakScale found {0} **FATAL** issue(s) on your KSP installment! This probably will corrupt your savagames sooner or later!
The KSP.... |
using MicroServicesDemo.Api.Orders.Provider;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace MicroServicesDemo.Api.Orders.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class OrderController : ControllerBase
{
private readonly IOrderProvider orders;
... |
#pragma checksum "C:\Users\minhk\Dev\final-project-ktucalvin\URC\Views\Shared\Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b8a2c9cdd871f41336443982896d7bc2731b88d3"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNet... |
using System.Collections.Generic;
using YesSql.Data;
using YesSql.Indexes;
namespace YesSql
{
internal class SessionState
{
public readonly Dictionary<IndexDescriptor, List<MapState>> Maps = new Dictionary<IndexDescriptor, List<MapState>>();
public readonly IdentityMap IdentityMap = new Identi... |
@{
Layout = "_Layout";
}
<div class="container">
@model PierresAuth.Models.Treat;
<h2>Add Baked Good</h2>
<hr />
@using (Html.BeginForm())
{
@Html.HiddenFor(model => model.TreatId)
@Html.Label("TreatType")<br>
@Html.TextBoxFor(model => model.TreatType)<br>
<br><input type="submit" value="... |
using ComposerCore.Attributes;
namespace ComposerCore.Tests.FluentRegistration.Components
{
[Component]
public class ComponentTwo : IComponentTwo
{
}
} |
// ---------------------------------------------------------------------------------------
// <copyright file="KeypadConstants.cs" company="Corale">
// Copyright © 2015-2021 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this soft... |
using LitJson;
using LinqToTwitter.Common;
using System.Xml.Serialization;
namespace LinqToTwitter
{
[XmlType(Namespace = "LinqToTwitter")]
public class Media
{
public const string StatusCommand = "STATUS";
public Media() { }
public Media(JsonData media)
{
if (... |
#region License
//
// Command Line Library: DebugStringUtil.cs
//
// Author:
// Giacomo Stelluti Scala (gsscoder@ymail.com)
//
// Copyright (C) 2005 - 2010 Giacomo Stelluti Scala
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace HoloToolkit.Unity.Collections
{
/// <summary>
/// Collection node is a data storage class for individual data about an object i... |
// ***********************************************************************
// Copyright (c) Charlie Poole and TestCentric contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// ***********************************************************************
using System.Collections;
namespace T... |
using AutoMapper;
using Gildemeister.Cliente360.Transport;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Gildemeister.Cliente360.Application
{
public interface IProcesoEjecucionService : IServiceBase<ProcesoEjecucionDTO>
{
}
public class Pr... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Formatting;
using System.Reflection;
using System.Web.Http.Metadata;
namesp... |
namespace Fluxera.Guards
{
using System;
using System.ComponentModel;
using JetBrains.Annotations;
[PublicAPI]
public static class ExceptionHelpers
{
private const string MissingParameterName = "(missing param)";
/// <summary>
/// Helper to create an instance of <see cref="ArgumentNullException" />.
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http;
namespace goo.Passenger.Results
{
public class ChallengeResult : IHttpActionResult
{
public ChallengeResult(string lo... |
namespace WinFormsDemos
{
partial class FormMultiY
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespac... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Media;
using LateralMenu.Model;
namespace LateralMenu.Control
{
/// <summary>
/// Logique d'interaction pour ExpanderButton.x... |
using System;
using System.Collections.Generic;
using System.Linq;
using Oracle.DataAccess.Client;
namespace AspNet.Identity.Oracle
{
/// <summary>
/// Class that represents the Role table in the Oracle Database
/// </summary>
public class RoleTable
{
private OracleDatabase _database;
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by CSGenerator.
// </auto-generated>
//------------------------------------------------------------------------------
using UnityEngine;
using System;
using System.Collections;
using System.... |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 27.01.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... |
using System;
using DevOps.Util;
using DevOps.Util.DotNet;
using DevOps.Util.DotNet.Triage;
using Microsoft.Azure.Functions.Extensions.DependencyInjection;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Configuration.UserSecrets;
using Microsoft.Extensions.Depe... |
namespace Theatre.Data.Configurations
{
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Models;
public class TicketConfig : IEntityTypeConfiguration<Ticket>
{
public void Configure(EntityTypeBuilder<Ticket> builder)
{
bu... |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Chang... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
//#if UNITY_EDITOR
using System;
using UnityEditor;
using UnityEngine;
namespace WeChat {
class StandardLitGUI : ShaderGUI {
public override void AssignNewShaderToMaterial (Material material, Shader oldShader, Shader newShader) {
material.shader = newShader;
material.EnableKeyword (... |
using UnityEngine;
using System.Collections;
public class DestroyAfterTimeout : MonoBehaviour {
public float timeout;
// Use this for initialization
void Start () {
StartCoroutine ("DestroyMe");
}
IEnumerator DestroyMe() {
yield return new WaitForSeconds(5);
Destroy (this.gameObject);
}
} |
using System;
namespace RainbowFart_VisualStudio.src
{
public static class Consts
{
/// <summary> MainCommandPackage GUID string. </summary>
public const string PackageGuidString = "808b4f12-291b-462d-819d-e9f81f4f62c5";
public const string Guid = "199d68e1-de36-4a7f-beb9-cacff086f594"... |
// Copyright 2021 Niantic, Inc. All Rights Reserved.
using System.Collections.Generic;
using Niantic.ARDK.AR.Networking;
using Niantic.ARDK.AR.Networking.ARNetworkingEventArgs;
using Niantic.ARDK.Networking;
using Niantic.ARDK.Networking.MultipeerNetworkingEventArgs;
using UnityEngine;
using UnityEngine.UI;
namespa... |
using TomsAbp.Sessions.Dto;
namespace TomsAbp.Web.Views.Shared.Components.SideBarUserArea
{
public class SideBarUserAreaViewModel
{
public GetCurrentLoginInformationsOutput LoginInformations { get; set; }
public bool IsMultiTenancyEnabled { get; set; }
public string GetShownLoginName... |
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using BusLane.Exceptions;
using Microsoft.Extensions.Logging;
using STAN.Client;
namespace BusLane.Transport.NatsStreaming.Consuming
{
/// <summary>
/// A <see cref="IMessageReceiver"/> that reads transien... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics;
using osu.Framework.Input;
using osuTK;
using osu.Framework.Alloc... |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
// ====================================================
// More Templates: https://www.ebenmonney.com/templates
// Email: support@ebenmonney.com
// ====================================================
using System;
using System.Collections.Generic;
using System.Text;
namespace DAL.Models.Interfaces
{
public inte... |
using UnityEngine;
namespace RapidGUI
{
public static partial class RGUIUtility
{
static readonly GUIContent s_tempContent = new GUIContent();
public static GUIContent TempContent(string text)
{
s_tempContent.text = text;
s_tempContent.tooltip = null;
... |
using System;
using System.Linq;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using EventStore.Client.Streams;
using Microsoft.Extensions.Logging;
#nullable enable
namespace EventStore.Client {
public partial class EventStoreClient {
private async Task<StreamMetadataResult> GetStrea... |
using System;
using System.Threading.Tasks;
namespace EasyNetQ
{
public static class RabbitBusExtensions
{
private static IScheduler Scheduler(this IBus bus)
{
return bus.Advanced.Container.Resolve<IScheduler>();
}
/// <summary>
/// Schedule a message to be... |
using Microsoft.AspNetCore.Cryptography.KeyDerivation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EcoServiceApi.Helpers
{
public static class PasswordEncryptor
{
private static string _salt = "f1nd1ngn3m0";
priv... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace UnityEditor.ShaderGraph.Drawing
{
[AttributeUsage(AttributeTargets.Method)]
class BuiltinKeywordAttribute : Attribute
{
}
} |
//
// System.Security.Cryptography.RNGCryptoServiceProvider
//
// Authors:
// Mark Crichton (crichton@gimp.org)
// Sebastien Pouliot (sebastien@ximian.com)
//
// (C) 2002
// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy ... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System;
using Xunit;
using myLib;
namespace myTests
{
public class MathHelper_MaxShould
{
private readonly MathHelper _mathHelper;
public MathHelper_MaxShould()
{
_mathHelper = new MathHelper();
}
[Theory]
[InlineData(89,89, 89)]
[Inl... |
// Copyright (c) .NET Foundation. 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.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Analyzer.Testing;
using Microsoft.CodeAnalysis;
namespace Micro... |
#if (UNITY_EDITOR)
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System;
public static class SGEditorHelpers
{
/// <summary>
/// Creates a dynamic, completly enclosed grid on the inspector.
/// This doesn't make checks for matching typedata of the... |
namespace CarrierLink.Controller.Engine.Subscribers
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Results;
using Workers;
using Yate;
using Yate.Messaging;
/// <summary>
/// This class queries Yate for engine parameter information
/// </summary>
... |
namespace ReportService.ReportGenerator
{
public class PdfArguments
{
public PdfArguments(string fileName)
{
FileName = fileName;
}
public string FileName { get; set; }
public Orientation Orientation { get; set; } = Orientation.Portrait;
public ob... |
using System;
using Player;
using UnityEngine;
namespace Projectile
{
public class Flame : MonoBehaviour
{
[SerializeField] private GameObject _owner;
[SerializeField] private float _fuseTime = 2f;
[SerializeField] private float _shakeTime = 0.5f;
[SerializeField] private GameO... |
using Framework.Game;
using TMPro;
using UnityEngine;
using Zenject;
namespace Framework.Views.Default
{
/// <summary>
/// Default start view
/// </summary>
public class DefaultStartView : StartView
{
private IGameManager _gameManager;
[SerializeField] private TMP_Text curr... |
/*
* Location Intelligence APIs
*
* Incorporate our extensive geodata into everyday applications, business processes and workflows.
*
* OpenAPI spec version: 8.5.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you m... |
@model DemoPaypal.Identity.Models.RegisterUserDTO
@{
ViewBag.Title = "Register";
}
<head>
<link href="~/css/register/register.css" rel="stylesheet" />
</head>
@*Credits for the form register: https://www.bootdey.com/snippets/view/Register-Form#js*@
<link rel="stylesheet" href="https://stackpath.bootstrap... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestProject
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
var chatservice = new ChatSample.ChatService(new ChatSample.Repository());
chatservic... |
using System.Threading.Tasks;
using MariCommands.Executors;
using MariCommands.Results;
using Moq;
using Xunit;
namespace MariCommands.Tests.Executors
{
public class ResultValueTaskExecutorTests
{
[Fact]
public async Task CanExecuteResultAsync()
{
var type = typeof(ResultVal... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// TaskSchedulerException.cs
//
//
// An exception for task schedulers.
//... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MS... |
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets
{
using System.Management.Automation;
/// <summary>
/// <para type="synopsis">Retriev... |
using System;
namespace Game.RoutedStates.StateExceptions
{
/// <summary>
/// Exception thrown when some route has no states defined in it.
/// </summary>
public class EmptyRouteException : Exception
{
public EmptyRouteException() : base() { }
public EmptyRouteException(string messa... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class MainMenuBehavior : MonoBehaviour {
public Image blinkImage;
public Image moveImage;
// Power Animation
public float pulseSineAmplitude = 5.0f;
public float pulseSinePeriod = 3.0f;
private bool _shouldPuseImage;
private string _p... |
using DFC.Digital.Data.Model;
using FakeItEasy;
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Telerik.Sitefinity.DynamicModules.Model;
using Telerik.Sitefinity.GenericContent.Model;
using Telerik.Sitefinity.Model;
using Xunit;
namespace... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.AwsN... |
// Copyright 2018, Google 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 copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... |
using Goo.Helpers;
using System;
using System.Configuration;
using System.Data.Common;
namespace Goo
{
public class OrmConfiguration
{
#region Private Members
private static Lazy<DbProviderFactory> provider = new Lazy<DbProviderFactory>(() => DbProviderFactories.GetFactory(OrmHelper.getInstanc... |
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (C) 2009-2020 Michael Möller <mmoeller@openhardwaremonitor.org>
*/
using System;
using System.Colle... |
using AcTools.Kn5File;
using AcTools.Render.Base;
using AcTools.Render.Base.Objects;
using AcTools.Render.Base.Shaders;
using AcTools.Render.Kn5Specific.Materials;
using AcTools.Render.Shaders;
using SlimDX;
namespace AcTools.Render.Kn5SpecificForwardDark.Materials {
public class Kn5MaterialDarkMirror : Kn5Materi... |
using System;
namespace FDK
{
/// <summary>
/// The LoudnessMetadata structure is used to carry, and assist with
/// calculations related to, integrated loudness and true peak
/// loudness.
/// </summary>
[Serializable]
public struct LoudnessMetadata
{
public readonly Lufs Integrated;
public readonly Lufs... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Spe... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("in... |
//
// Copyright (C) Microsoft. All rights reserved.
//
using Microsoft.PowerShell.Activities;
using System.Management.Automation;
using System.Activities;
using System.Collections.Generic;
using System.ComponentModel;
namespace Microsoft.PowerShell.Utility.Activities
{
/// <summary>
/// Activity to invoke... |
using LiteNetLib;
using LiteNetLib.Utils;
namespace Core.Systems.Network
{
public interface INetworkIdentity
{
ushort PeerId { get; }
ushort NetworkObjectId { get; }
bool IsLocalEntity { get; }
bool IsHost { get; }
}
public interface ISerializableComponent : INetworkIde... |
using FreeSql.Internal;
using FreeSql.Internal.Model;
using Kdbndp;
using KdbndpTypes;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Globalization;
using System.Linq;
using System.Text;
namespace FreeSql.KingbaseES
{
class KingbaseESUtils : CommonUtils
{
publi... |
using UnityEngine;
public class RaycastController
{
private Camera _cam;
private LayerMask _layer;
private Vector3 _hitVectorPoint;
public RaycastController(Camera camera, LayerMask layer)
{
_cam = camera;
_layer = layer;
}
public bool IsHit()
{
Ray ray = _cam... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using NAA.FleetService.Domain;
using NAA.FleetServi... |
using System;
using System.Collections.Generic;
using System.Linq;
class PopulationCounter
{
static void Main()
{
string input = Console.ReadLine();
var statistic = new Dictionary<string, Dictionary<string, long>>();
while (input != "report")
{
var line = input.Spli... |
using System;
using System.Collections.Generic;
namespace ToPage
{
/// <summary>
/// A page with generic page items, an item count, and a page count.
/// </summary>
/// <typeparam name="T">Type of the items on the page.</typeparam>
public class PageWithCounts<T> : Page<T>, IPageWithCounts<T>
{... |
using System;
namespace Logic.NotionTypes
{
class CollectiveNotion : Notion
{
CollectiveNotion() { }
}
} |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Nature.Data;
namespace Nature.Data.Migrations
{
[DbContext(typeof(Applicatio... |
using NUnit.Framework;
namespace DynamicData.Tests.ListFixtures
{
[TestFixture]
public class MergeManyChangeSetsFixture
{
[Test]
public void MergeManyShouldWork()
{
var a = new SourceList<int>();
var b = new SourceList<int>();
var c = new SourceLi... |
using System;
using Org.BouncyCastle.Math;
namespace Org.BouncyCastle.Asn1.IsisMtt.X509
{
/**
* Monetary limit for transactions. The QcEuMonetaryLimit QC statement MUST be
* used in new certificates in place of the extension/attribute MonetaryLimit
* since January 1, 2004. For the sake of backward compatibility w... |
// Copyright (c) 2018-2021 dotBunny Inc.
// dotBunny licenses this file to you under the BSL-1.0 license.
// See the LICENSE file in the project root for more information.
using K9.Utils;
namespace K9.Reports
{
public class Agent
{
private readonly bool _usedDefaultValues;
public readonly str... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EventArgs_Example
{
class Program
{
static void Main(string[] args)
{
// Instantiate an event publisher object
EvtPublisher ep = new EvtPublishe... |
// 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Semantics;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xuni... |
//
// Copyright 2018 AppRopio
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... |
using Cluster.Node.Connection;
using Cluster.Node.Filter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cluster.Node.Authenticate
{
public class NoneAuthenticateGatewayFilter : IGatewayFilter
{
private readonly IAuthentica... |
/*
Copyright 2008 The 'A Concurrent Hashtable' development team
(http://www.codeplex.com/CH/People/ProjectPeople.aspx)
This library is licensed under the GNU Library General Public License (LGPL). You should
have received a copy of the license along with the source code. If not, an online copy
of the licen... |
using System;
namespace James.Testing.Pdf
{
public struct Point : IEquatable<Point>
{
public double X { get; set; }
public double Y { get; set; }
public bool Equals(Point other)
{
return this.X == other.X && this.Y == other.Y;
}
public override boo... |
using UnityEngine;
using System.Collections;
[RequireComponent(typeof(Rigidbody2D))]
public class Gold : MonoBehaviour {
private float left, right, coef;
private float horizontal = 400f;
private Rigidbody2D potBody;
private float counter;
void Start()
{
left = GameObject.Find ("LeftWall").transform.positio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dao
{
public class DaoKPIFinanceiroFaturamentoHojeDuplicatasEmitidasColecao : List<DaoKPIFinanceiroFaturamentoHoje>
{
}
} |
// Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
//
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free... |
#pragma warning disable IDE0051
#pragma warning disable IDE0060
using Neo.IO;
using Neo.IO.Json;
using Neo.Ledger;
using Neo.Network.P2P.Payloads;
using Neo.SmartContract;
using Neo.SmartContract.Native;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Neo.Plugins
{
partial class RpcSe... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace System.Data.Entity.Core.Common.Internal.Materialization
{
using System.Collections.Generic;
using System.Data.Entity.Core.Objects.Internal;
using System... |
using MedLaunch.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MednaNetAPIClient;
using MednaNetAPIClient.Models;
using System.Threading;
using System.Windows;
using System.Windows.Threading;
using MedLaunch.Classes.MednaNet.db;
using S... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Newtonsoft.Json;
namespace NoteBookApp.Server.Infrastructure
{
public interface IJsonAttribute
{
object? TryConvert(string modelValue, Type targertType, out bool success);
}
publi... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceManager;... |
// Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Threading.Tasks;
namespace SmartDisplay.Contracts
{
public interface IIoTDmService : ISmartDisplayService
{
bool IsDmClientConnected { get; }
Task SetMethodHandlerAsync(string methodName, Func<string, Tas... |
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using NumatoRelayHelper;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BBPRMonitor
{
public class WindsorInstaller : IWindsorInstaller
{
... |
@model Fpm.ProfileData.Entities.Profile.ContentItem
@{ Layout = "~/Views/Shared/_LayoutPage.cshtml"; }
@{
ViewBag.Title = "FPM";
}
@(new MvcHtmlString(Model.Content)) |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
namespace Host
{
public class Program
{
public static void Main(string[] args)
{
var host = new ... |
@model BES.Models.Data.Indicator
@{
ViewData["Title"] = "Details";
}
<h2>Details</h2>
<div>
<h4>Indicator</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.IndicatorName)
</dt>
<dd>
@Html.DisplayFor(model => model.Indicato... |
using System;
using System.Security;
namespace NuGet.CommandLine
{
public interface IConsole : Common.ILogger
{
int CursorLeft { get; set; }
int WindowWidth { get; set; }
Verbosity Verbosity { get; set; }
bool IsNonInteractive { get; set; }
void Write(object value);
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.