text stringlengths 1 932k |
|---|
using System.Threading.Tasks;
using Voodoo.Messages;
using Web.Infrastructure.ExecutionPipeline.Models;
namespace Web.Infrastructure.ExecutionPipeline
{
internal class ModelStateVerificationStep<TRequest, TResponse> : Step<TRequest, TResponse>
where TResponse : class, IResponse, new()
where TReque... |
using System;
using System.IO;
using IniParser.Model;
using IniParser.Parser;
using IniParser.Model.Formatting;
namespace IniParser
{
/// <summary>
/// Represents an INI data parser for streams.
/// </summary>
public class StreamIniDataParser
{
/// <summary>
/// This instan... |
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2021 Jiang Yin. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:ellan@gameframework.cn
//------------------------------------------------------------
namespace GameFramework
{
/// <... |
// 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.Collections.Generic;
using System.Linq.Expressions;
using Microsoft.AspNetCore.Components.Rendering;
namespace Microsoft.Asp... |
using System;
using System.Collections.Generic;
namespace ConsoleApp4
{
public class Game
{
private int totalPlayers;
private int totalComputers;
private Random _randomPercent;
private Random _randomScore;
private List<Player> _playersList;
private int arrow1;... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using Android.Content;
using Android.Graphics;
using Android.Opengl;
using Android.Support.Design.Widget;
using Google.AR.Core;
using MvvmCross;
using RetroGamesGo.Core.Repositories;
using RetroGamesGo.Droid.Activities;
namespace Retr... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
// <copyright file="SkillListViewPlugIn095.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.GameServer.RemoteView.Character;
using System.Runtime.InteropServices;
using MUnique.OpenMU.DataModel.Config... |
@using ImplicitMVC.Core.Extensions;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - ImplicitMVC.Core</title>
<environment include="Development">
<link rel="stylesheet" href="~/lib/boots... |
using System;
using System.IO;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using SuperResolution.API.PythonExecutor;
namespace SuperResolution.API.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ImageController : ControllerBase
{
// GET: api/Image
... |
/*
* Copyright 2010-2014 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 "l... |
using System.Windows.Controls;
using GitCredentialManager.UI.Controls;
namespace Atlassian.Bitbucket.UI.Views
{
public partial class OAuthView : UserControl, IFocusable
{
public OAuthView()
{
InitializeComponent();
}
public void SetFocus()
{
okBu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using System.IO;
using Spectrum.Framework.Graphics;
using System.Windows.Forms;
using Spectrum.Framework.Network;
using Spect... |
using System;
using System.Collections.Generic;
using ElectronicObserver.ReplayJSON;
using Newtonsoft.Json;
using System.IO;
using System.Linq;
using ElectronicObserver.Utility.Mathematics;
using System.Threading.Tasks;
namespace ElectronicObserver.Data
{
public class ReplayManager : ResponseWrapper
{
public stat... |
using System;
namespace BinarySerialization
{
/// <summary>
/// Used to specify multiple possible derived types.
/// </summary>
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = true)]
public sealed class SubtypeAttribute : SubtypeBaseAttribute
{
/... |
// %BANNER_BEGIN%
// ---------------------------------------------------------------------
// %COPYRIGHT_BEGIN%
//
// Copyright (c) 2018-present, Magic Leap, Inc. All Rights Reserved.
// Use of this file is governed by the Creator Agreement, located
// here: https://id.magicleap.com/creator-terms
//
// %COPYRIGHT_END%
... |
using GameStore;
using Microsoft.EntityFrameworkCore;
using System;
namespace GameStoreTest.Data
{
public static class DatabaseMock
{
public static GameShopDbContext Instance
{
get
{
var dbContextOptions = new DbContextOptionsBuilder<GameShopDbContext>()... |
using AzureNaPratica.Serverless.Domain.Base.Entity;
using System.Threading.Tasks;
namespace AzureNaPratica.Serverless.Domain.Base.Interfaces.MessageBroker
{
public interface IBaseMessageBroker<TEntity, Tid>
where TEntity : BaseEvent<Tid>
{
Task SendMessage(TEntity requestHttp);
}
} |
namespace WS.Database.Bootstrap.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Add_ForeignKey_ProductTagValue_TagType : DbMigration
{
public override void Up()
{
RenameIndex(table: "dbo.ProductTagValues", name: "IX_TagType_Id", newNa... |
// 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.
namespace Microso... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using WordPressPCL.Utility;
namespace WordPressPCL.Tests.Selfhosted.Utility
{
[TestClass]
public class CapabilitiesJsonConverter_Tests
{
/*"capabilities": {
"switch_themes... |
using BFSettings;
using JSMBase;
using JSMBase.Medicine.RWServices.Excel;
using JSMBase.RNK;
using Ninject;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XlsxReader4_6;
namespace JSMBase.Medicine.DAL
{
public sea... |
namespace Forum.App.Contracts.MenuContracts
{
using Forum.App.Contracts.ModelContracts;
public interface IIdHoldingMenu : IMenu
{
void SetId(int id);
}
} |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Marketplace.Migrations
{
public partial class Stats : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... |
using System;
namespace EnergyEndpointManager.Repository.Exceptions
{
public class NonExistentEndpointException : Exception
{
private readonly string serialNumber;
public NonExistentEndpointException(string serialNumber)
{
this.serialNumber = serialNumber;
}
... |
using System;
using System.Runtime.Serialization;
namespace Reddit.Exceptions
{
[Serializable]
public class RedditUserBlockedException : Exception
{
public RedditUserBlockedException(string message, Exception inner)
: base(message, inner) { }
public RedditUserBlockedException(... |
using HomeCtl.Events;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace HomeCtl.Connection
{
public class EndpointConnectionManager
{
protected readonly EventBus EventBus;
private readonly IEndpo... |
//
// XmlLicenseTransformTest.cs - Test Cases for XmlLicenseTransform
//
// Author:
// original:
// Sebastien Pouliot <sebastien@ximian.com>
// Aleksey Sanin (aleksey@aleksey.com)
// this file:
// Gert Driesen <drieseng@users.sourceforge.net>
//
// (C) 2003 Aleksey Sanin (aleksey@aleksey.com)
// (C) 2004 Novell (http... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... |
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace ExpandableNavigationDrawer
{
public partial class App : Application
{
public App()
{
InitializeComponent();
MainPage = new MainPage();
}
protected override void OnStart()
{
... |
namespace Atata
{
/// <summary>
/// Specifies the match approach for the term finding.
/// </summary>
public enum TermMatch
{
/// <summary>
/// Checks whether the text equals the specified term.
/// </summary>
Equals,
/// <summary>
/// Checks whether... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics.HealthChecks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using Microsoft.Extensio... |
//Contributor: Nicholas Mayne
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace Invenio.Services.Authentication.External
{
/// <summary>
/// Authorize state
/// </summary>
public partial class AuthorizeState
{
public AuthorizeState(string returnUrl, Open... |
using System;
using System.Data;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
namespace RepoDb
{
/// <summary>
/// A base object for all entity-based repositories.
/// </summary>
public abstract partial class BaseRepository<TEntity, TDbConnection> : IDisposable
... |
// 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.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Xunit.Abstractions;
using Xunit.Sdk;
names... |
using System;
using System.Collections.Generic;
using System.Threading;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Ray.BiliBiliTool.Agent.BiliBiliAgent.Dtos;
using Ray.BiliBiliTool.Application.Attributes;
using Ray.BiliBiliTool.Application.Contracts;
using Ray.BiliBiliTool.Config;
us... |
using System.Collections.Generic;
using UnityEngine;
namespace Coral_iMD
{
internal class HarmonicPotential : PotentialBase
{
private float m_V0;
private float m_2ScaledK;
internal HarmonicPotential(float v0, float k, float timescale)
{
m_V0 = v0;
m_2ScaledK = 2.0f * k * timesca... |
namespace Guidelines.Core.Specifications
{
internal class AndSpecification<TEntity> : ISpecification<TEntity>
{
private readonly ISpecification<TEntity> _spec1;
private readonly ISpecification<TEntity> _spec2;
internal AndSpecification(ISpecification<TEntity> s1, ISpecification<TEntity>... |
using System.Reflection;
using System.Runtime.CompilerServices;
using Android.App;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("SwitchDemo")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfigura... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by \generate-code.bat.
//
// Changes to this file will be lost when the code is regenerated.
// The build server regenerates the code before each build and a pre-build
// step ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PDTools.GrimPFS
{
public class GrimPatchFile
{
public GrimPatchFileType FileType { get; set; }
public uint FileIndex { get; set; }
public string GamePath { ge... |
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("Ac... |
/*
* Copyright (c) 2010-2021 Achim Friedland <achim.friedland@graphdefined.com>
* This file is part of Styx <https://www.github.com/Vanaheimr/Styx>
*
* 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 ... |
// -----------------------------------------------------------------------
// Licensed to The .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// -----------------------------------------------------------------------
// This is a generated file.
//... |
using Newtonsoft.Json;
using System;
using System.ComponentModel;
using System.IO;
using System.Reflection;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
namespace EFCore.Sharding.Tests.Util
{
internal static partial class Extention
{
/// <summary>
/... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using Microsoft.EntityFrameworkCore.Utilities;
namespace Microsoft.EntityFrameworkCo... |
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("2.I... |
using System.Globalization;
using RestSharp.Authenticators;
namespace RestSharp.Tests;
public class JwtAuthTests {
readonly string _testJwt;
readonly string _expectedAuthHeaderContent;
public JwtAuthTests() {
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
Thread.C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace ngpvanapi
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pat... |
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("TransportCostsRebalanced")]
[assembly: AssemblyDescription("Transport Costs Rebalanced for Rise ... |
namespace Damk.Core;
public interface IOutputFilenameBuilder
{
string Build(Driver driver);
} |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using UnityEngine;
using Object = UnityEngine.Object;
namespace Litchi.AssetManagement
{
public class BundleAgent : TimeAssetAgent
{
private AssetBundleCreateRequest m_Request;
public AssetBundle assetBundle { get; priva... |
using KyivSmartCityApi.Models;
using System.Text.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Http.Json;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using KyivSmartCityApi.Settings;
using KyivSmar... |
using Trowel.Common.Transport;
namespace Trowel.BspEditor.Primitives.MapObjects
{
public interface IMapElement
{
/// <summary>
/// Convert this object into a serialised object
/// </summary>
/// <returns></returns>
SerialisedObject ToSerialisedObject();
/// <su... |
// *** 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 System.Collections.Generic;
namespace OpenCqrs.Dependencies
{
public interface IResolver
{
T Resolve<T>();
IEnumerable<T> ResolveAll<T>();
object Resolve(Type type);
IEnumerable<object> ResolveAll(Type type);
}
} |
using System;
using Microsoft.Xna.Framework;
namespace Nez
{
/// <summary>
/// while technically not a ray (rays are just start and direction) it does double duty as both a line and a ray.
/// </summary>
public struct Ray2D
{
public Vector2 start;
public Vector2 end;
public Vector2 direction;
public... |
using Khooversoft.Actor;
using Khooversoft.Net;
using Khooversoft.Security;
using Khooversoft.Toolbox;
using System.Threading.Tasks;
namespace Khooversoft.Services
{
/// <summary>
/// Token client actor, cache and retrieve updated token from authorization server
/// </summary>
public class TokenClient... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Contracts.BLL.App;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace WebApp.ApiControllers.v1_0
{
[Authorize(Roles = "DbAdmin")]
[ApiVersion("1.0")]
[R... |
using Microsoft.OData.UriParser;
using System;
using System.Linq;
namespace Microsoft.AspNet.OData.Query
{
public static class ODataQueryOptionsExtensions
{
public static string[] GetExpandedProperties(this ODataQueryOptions oDataQueryOptions)
{
return oDataQueryOptions.SelectExpan... |
using System.Linq;
using Abp.Authorization;
using Abp.Authorization.Roles;
using Abp.Authorization.Users;
using Abp.MultiTenancy;
using shenhx.FirstAbpDemo.Authorization;
using shenhx.FirstAbpDemo.Authorization.Roles;
using shenhx.FirstAbpDemo.Authorization.Users;
using shenhx.FirstAbpDemo.EntityFramework;
using Micros... |
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.Assertions;
namespace ReadyGamerOne.EditorExtension
{
[CustomPropertyDrawer(typeof(StringChooser))]
public class StringChooseDrawer : PropertyDrawer
{
private List<string> values;
public override voi... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/ntsecapi.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.Windows... |
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Edge.Test
{
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Devices.Client;
using Microsoft.Azure.Devices.Client.Exceptions;
using Mi... |
using ProjectsTM.Model;
using ProjectsTM.ViewModel;
using System.Collections.Generic;
using System.Linq;
namespace ProjectsTM.Service
{
public class CalculateSumService
{
private readonly Dictionary<Member, int> _sumCache = new Dictionary<Member, int>();
public int Calculate(ViewData viewData... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dep... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Engine.Saving
{
/// <summary>
/// The CopySaver saves an object by creating a copy of it using the
/// save/load mechanism. This allows for nice copies to be made of objects
/// using the same interface for... |
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
#if !NOJSONNET
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bitcoin3.RPC
{
/// <summary>
/// RPC error code thrown by the <see cref="RPCClient"/>
/// </summary>
public enum RPCErrorCode
{
//! Standard JSON-RPC 2.0 errors
/// ... |
using Interfaces;
using System;
namespace NationalCreditUnion
{
// ProductA2
public class NationalSavingsAccount : ISavingsAccount
{
public NationalSavingsAccount()
{
Console.WriteLine("Returned National Savings Account");
}
}
// ProductB2
public class Nati... |
using Day2Code;
using NUnit.Framework;
namespace Day2Test {
public class Tests {
[SetUp]
public void Setup() {
}
[Test]
[TestCase("1-1 a: a")]
[TestCase("2-2 a: aa")]
[TestCase("2-2 a: baab")]
[TestCase("2-2 a: abba")]
[TestCase("1-3 a: abcde")]
[TestCase("2-9 c: ccccccccc")]
public void Valid_... |
using System;
using System.Collections.Generic;
#if DOUBLE
using Real = System.Double;
#elif NETSTANDARD2_1
using Real = System.Single;
using Math = System.MathF;
#else
using Real = System.Single;
using Math = KelpNet.MathF;
#endif
namespace KelpNet
{
#if !DOUBLE
public class AmsBound<T> : Adam<T> where T : unman... |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Get a list of users that can be assigned to a Call Pickup group.
/// The avai... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Microsoft.Bot.Schema
{
/... |
using System;
using System.Windows;
using System.Windows.Media;
namespace Appercode.UI.Controls
{
public partial class Control
{
protected bool NativeIsEnabled { get; set; }
protected double NativeFontSize { get; set; }
protected TextWrapping NativeTextWrapping { get; set; }
... |
using System;
namespace Store
{
public class Book
{
public int Id { get; }
public string Title { get; }
public Book(int id, string title)
{
Id = id;
Title = title;
}
}
} |
namespace PaketLoadScripts
#load "/home/justin/code/fsharp/GiraffeWebApp/GiraffeWebApp/.paket/load/win8/Microsoft.CodeAnalysis.Razor.csx" |
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("Co... |
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license or other governing licenses that can be found in the LICENSE.md file or at
* https://raw.githubusercontent.com/Krypton-Suite/Extended-Toolkit/master/LICENSE
*/
#endregion
namespace Krypton.Toolkit.Suite.Extended.Software.Updater... |
//Copyright (c) 2018 Yardi Technology Limited. Http://www.kooboo.com
//All rights reserved.
using Kooboo.Data.Models;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using Kooboo.Extensions;
using System.Linq;
namespace Kooboo.Data.Context
{
public class RequestManager
{
//... |
/*
* Copyright 2010-2014 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 "l... |
using Microsoft.Management.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using SimCim.Core;
namespace SimCim.Root.V2
{
public abstract class CIMNetworkAdapter : CIMLogicalDevice
{
protected CIMNetworkAdapter()
{
}
protected CIMNetworkAdapte... |
using System.IO;
using System.Threading.Tasks;
namespace Etg.Yams.Utils
{
public static class FileUtils
{
public static Task CopyDir(string srcPath, string destPath, bool overwrite)
{
return Task.Run(() =>
{
if (!Directory.Exists(destPath))
... |
/*
* convertapi
*
* Convert API lets you effortlessly convert file formats and types.
*
* OpenAPI spec version: v1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using NUnit.Framework;
using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
using Cloudme... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Xml.Serialization;
namespace CSE.WebValidate.Model
{
/// <summary>
/// Failure message - if multiple errors are reported - they are joined as si... |
@page
@model Wms.Pages.Registrar.UserModel
@{
ViewData["Title"] = "User list";
int lineItemCount = 1;
// We want to write try multiple implementation
// Choices:
// jQuery
// Knockout
// Vue
// Backbone/Underscore
// React
}
<table class="table table-striped">
<thead>
... |
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width"/>
<title>Error</title>
</head>
<body>
<hgroup>
<h1>Error.</h1>
<h2>An error occurred while processing your request.</h2>
</hgroup>
</body>
</html> |
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("Rou... |
//-----------------------------------------------------------------------------
// Copyright : (c) Chris Moore, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0.Asm
{
using System;
using System.Runtime.CompilerServices;
using static ... |
using System;
using System.Collections.Generic;
using System.Text;
using Cosmos.Hardware2;
using Cosmos.Hardware2.PC.Bus;
using Cosmos.Kernel;
namespace Cosmos.Hardware2.Network.Devices.RTL8139.Register
{
/// <summary>
/// The InterruptStatusRegister is used to indicate why an IRQ was raised. Used in conjunct... |
namespace KinaUnaWeb.Models
{
public class FileItem
{
public string FileName { get; set; }
public string FileAddress { get; set; }
public string UserId { get; set; }
}
} |
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Diagnostics;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Auth0app.Pages.Exception
{
public partial class Index
{
[Inject]
public IHt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ParserCombinators
{
public static class ParserCombinatorsExtensions
{
//public static Parse<T2> Bind<T1, T2>(this Parse<T1> parse1,
// Parse<T2> parse2)
//{
// return value => ... |
using System;
using System.Collections.Generic;
using HealthChecks.UI.Client;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics.HealthChecks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions... |
using Content.Shared.GameObjects.Components.Markers;
using Content.Shared.Roles;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespace Content.Server.GameObjects.Components.Markers
{
... |
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("IT... |
using System;
using UnityEngine;
namespace UnityUIPlayables
{
[Serializable]
public class RectTransformAnimationBehaviour : AnimationBehaviour
{
[SerializeField] private bool _controlPosition;
[SerializeField] private bool _controlSize;
[SerializeField] private bool _controlRotati... |
// 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.Collections;
using System.Reflection;
using System.Runtime.InteropServices;
namespace dia2
{
[DefaultMember("Item"), Gui... |
using RLib.DB;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ruanal.WebDomain.DAL
{
public class ManagerDal
{
#region Manger相关
public Model.Manager GetManagerDetail(RLib.DB.DbConn dbconn, int managerid)
{... |
// Copyright (c) Lex Li. All rights reserved.
//
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace JexusManager.Features.Certificates.Wizards.CertificateRequestWizard
{
using System;
using System.IO;
using System.Security.Cryptography;
us... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.