text stringlengths 1 932k |
|---|
// *** 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 HtmlAgilityPack;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Net;
namespace GoogleImageDetector
{
public static class Detector
{
private static string URL = "https://www.google.se/searchbyima... |
#region references
using acDb = Autodesk.AutoCAD.DatabaseServices;
using AeccLabelStyle = Autodesk.Civil.DatabaseServices.Styles.LabelStyle;
#endregion
namespace Camber.Civil.Styles.Labels.Profile
{
public sealed class ProfileLineLabelStyle : LabelStyle
{
#region properties
internal AeccLabelS... |
using System.Runtime.Serialization;
using Akka.Actor;
using Akka.Event;
using Akka.Hosting;
using Akka.Streams;
using Akka.Streams.Amqp.RabbitMq;
using Akka.Streams.Amqp.RabbitMq.Dsl;
using Akka.Streams.Dsl;
using ReliableRabbitMQ.Shared.Messages;
using ReliableRabbitMQ.Shared.Queues;
namespace ReliableRabbitMQ.Consu... |
using DMCIT.Core.Interfaces;
using Microsoft.AspNetCore.Mvc;
namespace DMCIT.Web.Controllers
{
public class ToDoController : Controller
{
private readonly IRepository _repository;
public ToDoController(IRepository repository)
{
_repository = repository;
}
... |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Netptune.Core.Relationships;
using Netptune.Core.Repositories.Common;
namespace Netptune.Core.Repositories
{
public interface IProjectTaskTagRepository : IRepository<ProjectTaskTag, int>
{
Task<List<int>> DeleteAllByTaskId(IEnumerab... |
using System.Collections.Generic;
using System;
using System.Reflection;
using System.Data;
using UnityEngine;
using Oxide.Core;
using Oxide.Core.Configuration;
using Oxide.Core.Plugins;
namespace Oxide.Plugins {
[Info("SkipNightVote", "Mordenak", "1.1.0", ResourceId = 1014)]
class SkipNightVote : RustPlugin ... |
using System.Collections.Generic;
using Dapr.CleanArchitecture.Domain.Entities;
using Mapster;
namespace Dapr.CleanArchitecture.Application.Dto
{
public class CityDto : IRegister
{
public CityDto()
{
Districts = new List<DistrictDto>();
}
public int Id { get; set; ... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using ES.Ascom.Alpaca.Client.Logging;
using ES.Ascom.Alpaca.Client.Request;
using ES.Ascom.Alpaca.Client.Responses;
using ES.Ascom.Alpaca.Devices;
using ES.Ascom.Alpaca.Responses;
using RestSharp;
namespace ES.Ascom.Alpaca.Client.Devices
{
... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using Xunit;
namespace GitHubLabelSync.Tests;
public class FactoryTests
{
[Fact]
public void CanCreateApp()
{
//act
var app = Factory.App("abc123", _ => { }, _ => { });
//assert
Assert.IsType<App>(app);
}
} |
namespace NewPlatform.Flexberry.ORM.ODataService.Functions
{
using System;
using ICSSoft.STORMNET.Business;
using Microsoft.AspNet.OData;
using Microsoft.AspNet.OData.Interfaces;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Internal;
using Microsoft.OData;
using N... |
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// SsdataDataserviceRiskAudioSetModel Data Structure.
/// </summary>
public class SsdataDataserviceRiskAudioSetModel : AlipayObject
{
/// <summary>
... |
using Microsoft.AspNetCore.Components;
namespace OneContainerDemo.Options
{
public class ModalOption
{
public RenderFragment? RenderFragment { get;set; }
}
} |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.Symbols;
using Microsoft... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EvaluadorRH.Classes.Tests
{
public class TextSolution : Solution
{
public string Languaje { get; set; }
private string _Answer;
public string Answer
{
... |
namespace MefContrib.Hosting.Interception
{
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition.Hosting;
using System.ComponentModel.Composition.Primitives;
using System.Linq;
using MefContrib.Hosting.Interception.Configuration;
/// <summary>
/// Def... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using AllenCopeland.Abstraction.Slf.Abstract;
namespace AllenCopeland.Abstraction.Slf.Cli
{
/// <summary>
/// Defines properties and methods for working with information about a
/// specific common langu... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
namespace PdfReactorTestApp
{
class Program
{
static async Task Main(string[] args)
{
ServicePointManager.DefaultConnectionLimit = Int32... |
using System;
using System.IO;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
namespace Shiny.BluetoothLE
{
public static class CharacteristicExtensions
{
/// <summary>
/// Used for writing blobs
/// </summary>
/// <param name="ch">The characteristic to wri... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
#pragma warning disable 162,168,649,660,661,1522
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Trinity.TSL;
namespace TDW.TDACommon.Linq
{
internal delegate List<long> SubstringQueryDelegate(string value);
internal delegate List<long> S... |
using System;
using System.Reflection;
namespace Parfait.Test
{
public static class TestHelpers
{
public static void ClearOptions()
{
var constructor = typeof(Options).GetConstructor(
BindingFlags.Static | BindingFlags.NonPublic,null, new Type[0], null);
constructor.Invoke(null, null);
}
public st... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Runtime.CompilerServices;
using System.Security.Authentication;
using... |
using System.Collections.Generic;
namespace OpenSoftware.EntityGraph.Net.Tests.Model
{
public class G
{
public G()
{
Id = IdFactory.Assign;
}
public int Id { get; set; }
public List<Gh> GhSet { get; set; } = new List<Gh>();
public GEnum GEnum { get;... |
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Reflection;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using SampleControl.Entities;
using Uno.UI.Samples.Controls;
using Uno.UI.Samples.Entities;
using System.Runtime.InteropServices.WindowsRuntime;
us... |
using Network.Http;
using Tsuixl.Net.Buffer;
namespace Tsuixl.Net
{
public class NetTransferBuffer : ByteBuffer, ISendBuffer
{
int ISendBuffer.Offset => Index;
int ISendBuffer.RemainSize => Count;
byte[] ISendBuffer.Data => GetRefCache;
bool ISendBuffer.IsSendFinish => Count == ... |
// This file is part of Silk.NET.
//
// You may modify and distribute Silk.NET under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using System.Runtime.InteropServices;
using System.Text;
using Silk.NET.Vulkan;
using Silk.NET.Core.Loader;
using Silk.NET.Core.Native;
using Silk.NET.Co... |
// SlideEvent.cs
// Script#/Libraries/jQuery/UI
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Runtime.CompilerServices;
namespace jQueryApi.UI.Widgets {
[ScriptImport]
[ScriptIgnoreNamespace]
[ScriptName("Object")]
public seal... |
namespace EntiCS.Components
{
public interface IEntityComponent
{
}
} |
using NetCoreManualDI.Domain.Core.Courses;
namespace NetCoreManualDI.Application.School.Dtos
{
public sealed record class CourseDto(string Name);
public static class CourseExtensions
{
public static CourseDto ToDto(this Course course) => new CourseDto(course.Name.Name);
}
} |
#region License
/*Copyright (c) 2013, Karl Sparwald
All rights reserved.
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 retain the above copyright notice, this list of conditions and... |
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("Un... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.AspNetCore.Identity;
namespace MyTasks.Models
{
public class User : IdentityUser
{
public string Name { get; set; }
[ForeignKey("UserId")]
public virtual ICollection<Task> Tasks { get; ... |
//
// Copyright 2014 Xamarin Inc.
//
// 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... |
// 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.
namespace Microsoft.CodeAnalysis.CSharp.Test.Utilities
{
public static class TestOptions
{
// Disable documentation co... |
using System;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.ebpp.pdeduct.bill.pay.status
/// </summary>
public class AlipayEbppPdeductBillPayStatusRequest : IAopRequest<AlipayEbppPdeductBillPayStatusResponse>
{
/// <s... |
using InteraktifGrup.Core.Abstract;
using System;
using System.Collections.Generic;
using System.Text;
namespace InteraktifGrup.Entity.Models
{
public class Category:IEntity
{
public int CategoryId { get; set; }
public string CategoryName { get; set; }
public bool IsActive { get; set; ... |
// DelegateTypeNode.cs
// Script#/Core/Compiler
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using DSharp.Compiler.CodeModel.Names;
using DSharp.Compiler.CodeModel.Tokens;
namespace DSharp.Compiler.CodeModel.Types
{
// NOTE: Ignored in conversion
internal seal... |
//-----------------------------------------------------------------------
// <copyright file="MkdCommandHandler.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
// <author>Mark Junker</author>
//--------------------------------------------------... |
using Mediachase.Commerce;
using System;
namespace EPiServer.Reference.Commerce.Site.Features.Cart.ViewModels
{
public class ShippingMethodViewModel
{
public Guid Id { get; set; }
public string DisplayName { get; set; }
public Money Price { get; set; }
}
} |
using Microsoft.AspNetCore.Mvc;
namespace ToDoList.Controllers
{
public class HomeController : Controller
{
[HttpGet("/")]
public ActionResult Index()
{
return View();
}
}
} |
using System.Web.Mvc;
using System.Web.Routing;
using Moq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Tests.TestHelpers;
using Umbraco.Tests.TestHelpers.Stubs;
using Umbraco.Web;
using Umbraco.Web.Models;
using Umbraco.Web.Mvc;
using Umbraco.Web.Rout... |
using System.Collections.Generic;
using NUnit.Framework;
namespace DSIS.Graph.Entropy.Tests
{
[TestFixture, Ignore]
public class PathBuilderTest : PathBuilderTestBase
{
[Test]
public void Test_F_One()
{
DoTest("f", n(1, 1, 1));
}
[Test]
public void Test_F_Two2()
{
DoT... |
/*
* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1) Redistributions of source code must retain the above copyright
* notice, this list ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Logging;
namespace Microsoft.AspNetCore.Builder;
/// <summary>
/// Middleware respon... |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using TumblThree.Applications.DataModels;
using TumblThree.Applications.DataModels.TumblrCraw... |
using Dealership.Data.Models;
using Dealership.Web.Models.AccountViewModels;
using Dealership.Web.Services;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.AspNetCore.Mvc;
... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... |
namespace LibRbxl.Instances
{
public class CFrameValue : Instance
{
public override string ClassName => "CFrameValue";
public CFrame Value { get; set; }
}
} |
using Game.Characters;
using Game.Exceptions;
using System;
using System.Threading;
namespace Game.GameLogic
{
class PlayerTurn // Class to manage the player's turn logic
{
private Match _match;
private Screen _screen;
private Player _player;
private Character _enemy;
... |
using System.Threading.Tasks;
using Claytondus.ShippyPro.Models;
using Flurl;
using Flurl.Http;
using Microsoft.Extensions.Logging;
namespace Claytondus.ShippyPro
{
public class RestClient
{
protected readonly Url ShippyProUrl = "https://www.shippypro.com/api";
private readonly string _authToken;
private read... |
[System.Serializable]
public struct Resource {
public ResourceType type;
public float value;
public Resource(float value, ResourceType type) {
this.value = value;
this.type = type;
}
public static implicit operator float(Resource resource) {
return resource.value;
}
}
... |
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
namespace Kaitai
{
public partial class BitsSignedB64Le : KaitaiStruct
{
public static BitsSignedB64Le FromFile(string fileName)
{
return new BitsSignedB64Le(new KaitaiStream(fileNa... |
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("Vid... |
using System;
namespace ResourceManager
{
public delegate Type ModifyGenericHandler(Type scannedType, Type assemblyType, Type acceptedGenericType);
} |
// <auto-generated />
using Abp.Authorization;
using Abp.BackgroundJobs;
using Abp.Events.Bus.Entities;
using Abp.Notifications;
using Cepres.Patients.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microso... |
@page
@model ExternalLoginModel
@{
ViewData["Title"] = "Register";
}
<h1>@ViewData["Title"]</h1>
<h4 id="external-login-title">Associate your @Model.ProviderDisplayName account.</h4>
<hr />
<p id="external-login-description" class="text-info">
You've successfully authenticated with <strong>@Model.ProviderDis... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace CoreSharp.Breeze.Query {
/**
* Represents a single expand expand clause that will be part of an EntityQuery. An expand
* clause represents the path to other entity types via a navigation path from the curre... |
using System;
using R1Engine.Serialize;
namespace R1Engine
{
public class GBARRR_OffsetTable : R1Serializable
{
public uint OffsetTableCount { get; set; }
public GBARRR_OffsetTableEntry[] OffsetTable { get; set; }
public void DoAtBlock(Context context, long index, Action<uint> action)... |
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("El... |
using Tellma.Utilities.Common;
namespace Tellma.Api.Metadata
{
/// <summary>
/// An exception that occurs during parsing of a property value from a string.
/// </summary>
public class ParseException : ReportableException
{
public ParseException(string message) : base(message)
{
... |
@model Backend.Models.VerifyCodeViewModel
@{
ViewBag.Title = "Verify";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("VerifyCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) {
@Html.AntiForgeryToken()
@Html.Hidden("provider", @... |
// 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.Management.Automation;
using Pscx.EnvironmentBlock;
namespace Pscx.Commands.EnvironmentBlock
{
[Cmdlet(PscxVerbs.Push, PscxNouns.EnvironmentBlock)]
[RelatedLink(typeof(AddPathVariableCommand))]
[RelatedLink(typeof(GetPathVariableCommand))]
[RelatedLink(typeof(SetPathVariableC... |
using IdentityServer3.Core;
using NLog;
using SFA.DAS.EmployerUsers.Application.Exceptions;
using SFA.DAS.EmployerUsers.Infrastructure.Configuration;
using SFA.DAS.EmployerUsers.Web.Authentication;
using SFA.DAS.EmployerUsers.Web.Models;
using SFA.DAS.EmployerUsers.Web.Models.SFA.DAS.EAS.Web.Models;
using SFA.DAS.Empl... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace RagnarsRokare.Factions
{
internal static class FactionManager
{
private static Dictionary<string, Faction> Factions = new Dictionary<string, Faction>();
static FactionManager()
{
AddFaction(new Fa... |
namespace MLSoftware.OTA
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "4.2.0.31")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.opentravel.org/OTA/2003/05")]
public enum List_OfferDistanceUOM
{
/// <remarks/>
... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace JxUnity.Timers
{
/// <summary>
/// 待办时间表管理器,按时间延迟执行。
/// </summary>
internal class ScheduleMono : MonoBehaviour
{
internal struct Schedule
{
internal float endtime;
internal Action ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Azure.Iot.ModelsRepository.Fetchers
{
/// <summary>
/// The FetchResult class has the purpose of containing key elements of
/// an IModelFetcher Fetch() operation including model defini... |
using System;
using System.Threading;
class ThreadStartInt
{
object num;
public static int Main(string[] args)
{
// check args
if(args.Length != 1)
{
Console.WriteLine("USAGE: ThreadStartInt <int>|min|max\n");
return -1;
}
int i = 0;
... |
//----------------------
// <auto-generated>
// Generated using the NJsonSchema v10.1.21.0 (Newtonsoft.Json v12.0.0.0) (http://NJsonSchema.org)
// </auto-generated>
//----------------------
using Elements;
using Elements.GeoJSON;
using Elements.Geometry;
using Elements.Geometry.Solids;
using Elements.Spatial;
using... |
#region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applic... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BoostZone : MonoBehaviour
{
//public float boostAmount = 150f;
//public int boostDirection = 1; // -1 for left
//// Start is called before the first frame update
//private void OnTriggerEnter2D(Collider2D col... |
// 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.ComponentModel.DataAnnotations;
using System.Linq;
#if DNXCORE50
using System.Reflection;
#... |
// Copyright 2017 the original author or authors.
//
// 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 la... |
namespace KJU.Core.AST.BuiltinTypes
{
public class BoolType : DataType
{
public static readonly BoolType Instance = new BoolType();
public override string ToString()
{
return "Bool";
}
public override bool IsHeapType()
{
return false;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace HelloMvcTemplate
{
public class Program
{
publ... |
// ----------------------------------------------------------------------------------
//
// 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 Dracoon.Sdk.Model;
using Dracoon.Sdk.SdkInternal.ApiModel.Requests;
using System;
using System.Collections.Generic;
namespace Dracoon.Sdk.UnitTest.Factory {
internal class FactoryRoom {
internal static ApiCreateRoomRequest ApiCreateRoomRequest => new ApiCreateRoomRequest {
ParentId = 132... |
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Dolittle.Runtime.Resilience
{
/// <summary>
/// Represents a <see cref="IAsyncPolicyFor{T}"/>.
/// </summary>
/// <typeparam name="T">The type ... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace C... |
using System.Runtime.InteropServices;
namespace Zutatensuppe.D2Reader.Struct.Item.Modifier
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1, Size = 0x48)]
public class RareModifier
{
[ExpectOffset(0x00)] public int __unknown1; // 0x00
[ExpectOffset(0x04)] p... |
using System.Collections.Generic;
using UnityEditor.TestTools.TestRunner.Api;
namespace UnityEditor.TestTools.TestRunner.UnityTestProtocol
{
interface ITestRunnerApiMapper
{
string GetRunStateFromResultNunitXml(ITestResultAdaptor result);
TestState GetTestStateFromResult(ITestResultAdaptor resu... |
using System;
using System.Collections.Generic;
using Android.Runtime;
using Java.Interop;
namespace FrostWire.Libtorrent.Swig {
// Metadata.xml XPath class reference: path="/api/package[@name='com.frostwire.jlibtorrent.swig']/class[@name='url_seed_alert']"
[global::Android.Runtime.Register ("com/frostwire/jlibtorr... |
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("09... |
// Copyright (C) 2010, 2011 Zeno Gantner
//
// This file is part of MyMediaLite.
//
// MyMediaLite is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class WinManager : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
... |
using UnityEngine;
using UnityGameEvents.Controllers;
/// <summary>
/// Unity game event "UnityEngine" extensions controllers namespace
/// </summary>
namespace UnityGameEventUnityEngineExtensions.Controllers
{
/// <summary>
/// A class that describes a "UnityEngine" game event invoker controller script
/... |
@*
The default layout for all Razor pages/views. Defined in "_ViewStart.cshtml".
For more details, see: https://docs.microsoft.com/en-us/aspnet/core/mvc/views/layout
*@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0... |
namespace Nancy.Demo.Authentication.Stateless
{
public class RootModule : NancyModule
{
public RootModule()
{
Get["/"] = _ => Response.AsText("This is a REST API. It is in another VS project to demonstrate how a common REST API might behave when accessing it from another website or a... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml.Media
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class LoadedImageSurface : globa... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/******************************************************************************
* This file is auto-generated from ... |
using Shouldly;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace Valit.Tests.Strategies
{
public class Complete
{
[Fact]
public void Complete_Strategy_Checks_All_Ensure()
{
var result = ValitRules<Model>.Create()
... |
/*
Copyright 2014 Eduardo Yuschuk (eduardo.yuschuk@gmail.com)
*/
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace SeriesReading.Descriptor.Quotes
{
public class InstrumentDescriptor : IDescriptor
{
private string _instrumentFolder;
private List<ProviderDescri... |
using System;
namespace logging
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string Summary { get; set; }
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.