text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ProxySettingsManager
{
static class Program
{
/// <summary>
/// Der Haupteinstiegspunkt für die Anwendung.
/// </summary>
[STAThread]
s... |
using System.Drawing;
using System.IO;
/*
|| AUTHOR Arsium ||
|| github : https://github.com/arsium ||
*/
namespace PacketLib.Utils
{
public class ImageProcessing
{
public static Image BytesToImage(byte[] bytes)
{
using (MemoryStream mStream = new MemoryStream(bytes))
... |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.10
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//----... |
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using System;
namespace ProjectManager.Data.Migrations
{
public partial class CreateIdentitySchema : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBu... |
using System.ComponentModel.Composition;
using System.Linq;
using System.Threading.Tasks;
using LogicAndTrick.Oy;
using Mallet.BspEditor.Documents;
using Mallet.BspEditor.Primitives.MapObjects;
using Mallet.Common.Shell.Hooks;
namespace Mallet.BspEditor.Modification.ChangeHandling
{
[Export(typeof(IInitialiseHook... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using Inbox2.Framework.Interfaces.Enumerations;
using Inbox2.Framework.Plugins.Entities;
using Inbox2.Platform.Channels.Entities;
namespace Inbox2.Plugins.Conversations.Resources
... |
using System;
using System.Collections.Generic;
using FluentValidation;
using TasteUfes.Models;
namespace TasteUfes.Services.Interfaces
{
public interface IEntityService<TEntity> : IDisposable where TEntity : Entity
{
TEntity Get(Guid id);
IEnumerable<TEntity> GetAll();
TEntity Add(TEn... |
namespace TechAndTools.Services
{
using Contracts;
using Data;
using Data.Models;
using Mapping;
using Models;
using System;
using System.Linq;
using System.Threading.Tasks;
public class ContactService : IContactService
{
private readonly TechAndToolsDbContext context;... |
#region Copyright 2014 Exceptionless
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// http://w... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GreenLight
{
class World
{
//This class stores variables that all cars/roads take into their calculations
public int Brakepwr;
public double Density;
p... |
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Conduit.Domain;
using Conduit.Infrastructure;
using MediatR;
using Microsoft.EntityFrameworkCore;
namespace Conduit.Features.Comments
{
public class AllList
{
public class Query : IRequest<CommentsEnvelope>
... |
namespace Composite.Contracts
{
public interface IGiftOperations
{
void Add(GiftBase gift);
void Remove(GiftBase gift);
}
} |
using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class SNotWorkingOutFunctionParametersHackStruct1 : CVariable
{
[Ordinal(1)] [RED("out... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Microsoft.Bonsai.SimulatorApi.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using System.Threading;
namespace Caliburn.Micro.Contrib
{
public abstract class DynamicClass
{
public... |
/*
Copyright 2017 James Craig
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 writing, software
di... |
using TMPro;
using UnityEngine;
namespace UnityUIPlayables
{
public class TextMeshProUGUIColorMixer
{
private Color _blendedValue;
private float _totalWeight;
public void SetupFrame()
{
_blendedValue = Color.clear;
_totalWeight = 0.0f;
}
... |
using Microsoft.Management.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using SimCim.Core;
namespace SimCim.Root.V2
{
public class Win32PerfRawDataVMBusPipeIOPerfProviderHyperVVMVirtualDevicePipeIO : Win32PerfRawData
{
public Win32PerfRawDataVMBusPipeIOPerfProvide... |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//-----... |
// 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.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Cod... |
namespace ImageToPdfConveyor.ObjectModel.Contracts
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
public interface IImage : IDisposable
{
string Name { get; }
int Height { get; }
int Width { get; }
Stream DataStream { ge... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//------------------------------------------------------------------------------
// </copyright>
//----------------------------------------------------------------------... |
#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;
using System.Collections.Generic;
using System.Dynamic;
using System.IO;
using MagnumBI.Dispatch.Engine;
using MagnumBI.Dispatch.Engine.Config;
using MagnumBI.Dispatch.Engine.Config.Datastore;
using MagnumBI.Dispatch.Engine.Datastore;
using Newtonsoft.Json;
using Serilog;
using Serilog.Events;
using Xunit... |
using System;
using System.Runtime.Serialization; //Reference Required for DataContract and DataMember
///////////////////////////////////////////////////////////
//Do not modify this file. Use a partial class to extend.//
///////////////////////////////////////////////////////////
// This class is the front facing co... |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
//using BenchmarkDotNet.Diagnostics.Windows;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Running;
using csFastFloat.Structures;
using System;
using System.Globalization;
using BenchmarkDotNet.Reports;
namespace c... |
using System;
namespace AutoMapper.UnitTests
{
public class SourceValidationWithInheritance : AutoMapperSpecBase
{
public abstract class FormElement2
{
public Guid Id { get; set; }
public int Order { get; set; }
}
public abstract class FieldControl2 : F... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
/**
* The MIT License
* Copyright (c) 2016 Population Register Centre (VRK)
*
* 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 the righ... |
using Microsoft.EntityFrameworkCore;
using OrderEntity;
using System.IO;
using System;
using System.Globalization;
namespace OrderSqliteDb
{
public class OrderDbContext : DbContext
{
public delegate OrderDbContext Factory(DateTime dt);
public const string FileName = "OrderDbTemplate.sqlite";
... |
// 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.Net.Http;
using System.Threading;
using System.Threading.Tasks;
name... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Curso.ITDeveloper.Data.Migrations
{
public partial class AddCid : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "Diagnostico",
... |
//
// Socks4aClientTests.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2020 Xamarin Inc. (www.xamarin.com)
//
// 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 ... |
using System;
using Mono.TextEditor;
using MonoDevelop.Ide.Gui.Content;
namespace MonoDevelop.D.Formatting.Indentation
{
public class DIndentationTracker: IIndentationTracker
{
TextEditorData data;
DocumentStateTracker<DIndentEngine> stateTracker;
public DIndentationTracker (TextEditorData data, DocumentStat... |
using ExampleSpaMetadata.Models;
using System.Threading.Tasks;
namespace ExampleSpaMetadata.Services
{
public interface IExampleDataService
{
Task<Result> Get(string path);
}
} |
// 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;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Elastic.CommonSchema;
us... |
using Mono.Cecil.Cil;
using MonoMod.Cil;
using R2API.Utils;
using RoR2;
using System;
namespace R2API {
/// <summary>
/// API for computing bonuses granted by factors inside RecalculateStats.
/// </summary>
[R2APISubmodule]
public static class RecalculateStatsAPI {
/// <summary>
... |
using Polymorphism.Effects;
using Polymorphism.Interfaces;
namespace Polymorphism.Spells
{
public class Blizzard : ISpell
{
public Blizzard()
{
Name = "Blizzard";
ReloadTime = 3;
Cooldown = 3;
InfluenceTime = 1;
Duration = 1;
... |
#load "utils.csx"
var path = Path.Combine(FolderUtil.GetCurrentDirectoryName(), "data.txt");
var stream = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.None);
WriteLine("Read:");
// Read byte by byte
for (var i = 0; i < stream.Length; i++)
{
// Set position
stream.Seek(i, SeekOrigin.Begin);... |
namespace InvestmentHub.Providers.Nubank.QrCode
{
public interface IQRCodeClient
{
string GetQrCodeAsAscii();
}
} |
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using System.Collections.Generic;
using System.Linq;
using ... |
@model SecurityClaimsIntro.Models.SetPasswordViewModel
@{
ViewBag.Title = "Create Password";
}
<h2>@ViewBag.Title.</h2>
<p class="text-info">
You do not have a local username/password for this site. Add a local
account so you can log in without an external login.
</p>
@using (Html.BeginForm("SetPassword"... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace Intelligob.Escritorio.ModeloVista.Recaudaciones
{
public class CajaComprobantesVM : BaseMV<Escritorio.Vistas.Interfaces.IPagina>
{
private readonly Cliente.Depositos.SeguridadDep segurida... |
// 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;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Globalization... |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
*
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml;
namespace AutoBundle {
internal static class Program {
public static void Main(string[] args) {
if (args.Length < 1) {
Console.Error.Writ... |
using ShellLink.DLTW.DataObjects;
namespace ShellLink.DataObjects.ExtraData
{
/// <summary>
/// The TrackerDataBlock structure specifies
/// data that can be used to resolve a link target
/// if it is not found in its original location when
/// the link is resolved.
/// This data is passed to ... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generi... |
using System;
namespace Http2.Headers
{
/// <summary>
/// A header either in the static or dynamic table.
/// </summary>
public class IndexedHeader
{
/// <summary>
/// Creates a new instance of <see cref="IndexedHeader" />.
/// </summary>
/// <param name="nam... |
using System;
using System.ComponentModel.DataAnnotations;
namespace Allie.Chat.Lib.Requests.Streams
{
/// <summary>
/// A StreamCurrencyProvider create request
/// </summary>
public class StreamCurrencyProviderCreateRequest
{
/// <summary>
/// The Id of the Currency Stream to regi... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore;
using Microsoft.Extensions.Configuration;
using Microsoft.AspNetCore.Mvc;
namespace StartupBasic
{
... |
using System;
using System.Runtime.Serialization;
using JetBrains.Annotations;
namespace SharpNBT
{
/// <summary>
/// A tag that contains a single IEEE-754 double-precision floating point number.
/// </summary>
[PublicAPI][Serializable]
public class DoubleTag : Tag<double>
{
/// <summar... |
// Copyright 2016 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 applicabl... |
// Copyright (c) 2008-2020, Hazelcast, 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... |
/*
* 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;
using Oyster.ApplicationCore.Interfaces;
namespace Oyster.ApplicationCore.Entities;
public class Customer:BaseEntity, IAggregateRoot
{
public string MobileNumber { get; set; }
public string FName { get; set; }
public string MName { get; set; }
public string LName { get; set; }
publi... |
/*
* 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;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Localization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Datahub.Portal.Controllers
{
[Route("[controller]/[action]")]
public c... |
using System;
using System.Security.Cryptography;
using System.Text;
namespace TetraPak.XP.OAuth2
{
struct AuthState
{
const string IdentCodeChallengeMethod = "S256";
public bool IsUsed { get; }
public bool IsPkce { get; }
public string State { get; }
public string?... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
// ReSharper disable UnusedMember.Global
// ReSharper... |
// *** 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;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FileDownloader
{
public class DownloadedFile : IDownloaded
{
public string fileName { get; set; }
public string fileThumbnail { get; set; }
public string filePa... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using Malison.Core;
namespace Amaranth.Reports
{
public interface IStatRow
{
bool IsTall { get; }
string Name { get; }
TermColor Color { get; }
int Max(int x);
I... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-13.0.0/llvm/include/llvm-c
// Original source is Copyright (c) the LLVM Project and ... |
using Xyz.TForce.MiniCasher.Domain.Accounting.DTOs;
namespace Xyz.TForce.MiniCasher.Domain.Accounting.Models
{
public class AccountGetByIdResult : ScalarResult<AccountDTO>
{
}
} |
using System;
using System.Text;
namespace _03_Printing_Triangle
{
class Program
{
static void Main(string[] args)
{
int num = int.Parse(Console.ReadLine());
for (int i = 1; i <= num; i++)
{
printLine(1, i);
}
for (int i = num - 1; i >= 1; i--)
{
printLine(1, i);
}
}
static v... |
using FluentValidation;
namespace VRT.Resume.Application.Persons.Commands.DeletePersonContact
{
public sealed class DeletePersonContactCommandValidator : AbstractValidator<DeletePersonContactCommand>
{
public DeletePersonContactCommandValidator()
{
RuleFor(v => v.ContactId).Greater... |
#pragma checksum "C:\Users\qzwse\Desktop\YourSpaceMDB_4.2_Optimization\YourSpace\Areas\Identity\Pages\Account\LoginWith2fa.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "ef2b4b8dc70c94e39c892f770c84b73c4dc73b81"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.R... |
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("Ex... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace FSL.eBook.RWP.DesignPatterns.SingletonChapter
{
public class SingletonController : Controller
{
public ActionResult Index()
{
Log.Instance.LogException(new Exception... |
using System.Linq;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
using Abp.Authorization;
using Abp.Authorization.Roles;
using Abp.Authorization.Users;
using Abp.MultiTenancy;
using fuwo.Authorization;
using fuwo.Authorization.Roles;
using fuwo.Authorizat... |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using RestWithASPNETUdemy.Business;
using RestWithASPNETUdemy.Data.VO;
using RestWithASPNETUdemy.Hypermedia.Filters;
using System.Collections.Generic;
namespace RestWithASPNETUdemy.Controllers
{
[ApiVersi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Teknik.Configuration
{
public class StatsConfig
{
public bool Enabled { get; set; }
public bool ShowWebStatus { get; set; }
public bool ShowDatabaseStatus { ge... |
@model Etch.OrchardCore.Fields.ResponsiveMedia.ViewModels.EditResponsiveMediaFieldViewModel
@using OrchardCore.ContentManagement.Metadata.Models
@using Etch.OrchardCore.Fields.ResponsiveMedia.Settings
@{
var settings = Model.PartFieldDefinition.GetSettings<ResponsiveMediaFieldSettings>();
}
<script asp-src="~/... |
using System;
using System.Collections.Generic;
namespace PolyToolkit.Interpreter
{
/// <summary>
/// Interpretation memory stack handler
/// </summary>
public sealed class PolyMemory
{
public Stack<PolyScope> Stack { get; }
/// <summary>
/// Get scope at the top of the st... |
using Spectre.Console;
namespace Promitor.Agents.Core.Usability
{
public class AsciiTableGenerator
{
protected Table CreateAsciiTable(string caption = null)
{
var asciiTable = new Table
{
Border = TableBorder.Rounded
};
if(string... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using AH.ModuleController.HRSR;
using AH.DUtility;
namespace AH.ModuleController.UI.HR.Forms
{
public partial class frmSalaryHead... |
namespace Aviant.Core.Identity.Entities;
using Core.Entities;
/// <inheritdoc />
/// <summary>
/// Adds the user id who created the entity
/// </summary>
public interface ICreationAudited : IHasCreationTime
{
/// <summary>
/// The id of the user who created the entity
/// </summary>
public Gui... |
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using Content.Server.Atmos;
using Content.Server.GameObjects.Components.Body.Behavior;
using Content.Server.GameObjects.Components.Body.Circulatory;
using Content.Server.GameObjects.Components.Temperature;
using Content.Shared.Atmos;
u... |
using ExtendedXmlSerializer.Core.Specifications;
using System.Reflection;
namespace ExtendedXmlSerializer.ExtensionModel.Xml
{
interface IContainsCustomSerialization : ISpecification<TypeInfo> {}
} |
using Jonas.Tool.Authority;
using MVCDemoRibbon.Configure;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MVCDemoRibbon.View.User
{
publi... |
// Copyright (c) 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com).
// https://github.com/angularsen/UnitsNet
//
// 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 restricti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CwkEshop.Domain.Models
{
public class Product
{
public int Id { get; set; }
public string Name { get; set; }
public double Price { get; set; }
public... |
namespace Todo.Controllers {
using System;
using System.Linq;
using System.Web.Http;
using Models;
using Newtonsoft.Json.Linq;
using Breeze.WebApi2;
using Breeze.ContextProvider.EF6;
using Breeze.ContextProvider;
[BreezeController]
public class TodosController : ApiController {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.AspNetCore.Http.Authentication;
using Microsoft.AspNetCore.Mvc;
namespace IKTFag.Controllers
{
... |
// *** 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... |
/*
* Consumer Data Standards
*
* API sets created by the Australian Consumer Data Standards to meet the needs of the Consumer Data Right
*
* OpenAPI spec version: 1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
usin... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace LoRaWan.NetworkServer
{
using System;
public class FrameCounterLoRaDeviceInitializer : ILoRaDeviceInitializer
{
private readonly string ... |
using System;
using System.IO;
using System.Threading.Tasks;
using Abp.Extensions;
using Abp.IO.Extensions;
using Castle.Core.Logging;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Auth;
using Microsoft.WindowsAzure.Storage.Blob;
namespace Abp.IO.AzureBlobStorage
{
public class AzureB... |
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Abp.Authorization;
using Abp.Authorization.Users;
using Abp.Configuration;
using Abp.Domain.Uow;
using ArtmisNet.Ha90.Authorizat... |
using Serilog.Events;
using System;
using System.Linq;
namespace Serilog.Filters.Expressions.Runtime
{
static class Representation
{
static readonly Type[] NumericTypes = new[] { typeof(sbyte), typeof(byte), typeof(short), typeof(ushort),
typeof(int), typeof(uint), typeof(long), typeof(ulo... |
using System;
using System.Web.Http;
namespace UnreliableService
{
public class ServiceController : ApiController
{
public IHttpActionResult Get()
{
return Ok();
}
public void Post([FromBody] Guid batchDataItemId)
{
Console.WriteLine($"POST for ... |
// 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.Composition;
using System.Diagnostics.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeRefactorings;
usi... |
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("12... |
using System;
using System.Globalization;
using Jaeger.Util;
namespace Jaeger
{
/// <summary>
/// Represents a unique 128bit identifier of a trace.
/// </summary>
public readonly struct TraceId
{
public long High { get; }
public long Low { get; }
public bool IsZero => Low ==... |
using System;
using Map_Editor.Engine.Commands.Interfaces;
using Microsoft.Xna.Framework;
namespace Map_Editor.Engine.Commands.NPCs
{
/// <summary>
/// Positioned class.
/// </summary>
public class Positioned : NPC, ICommand
{
#region Member Declarations
/// <summary>
/// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace HomeworkCreator
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
config.MapHttpAttributeRoutes();
config.Routes.MapHttpRoute(... |
using Azure.Messaging.EventHubs;
namespace Loom.Messaging.Azure
{
public interface IEventConverter
{
EventData ConvertToEvent(Message message);
Message? TryConvertToMessage(EventData eventData);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.