text stringlengths 1 932k |
|---|
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("02... |
// Copyright (c) MASA Stack All rights reserved.
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
namespace Masa.Contrib.Dispatcher.IntegrationEvents.EventLogs.EF.Tests.Events;
public abstract record IntegrationEvent : IIntegrationEvent
{
public Guid Id { get; set; }... |
/*
* 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... |
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("OS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting.Server;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
namespace Amazon.Lambda.AspNetCoreServer.Internal
{
/// <summary>
/// ... |
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Testing.Roles.Dto;
using Testing.Users.Dto;
namespace Testing.Users
{
public interface IUserAppService : IAsyncCrudAppService<UserDto, long, PagedUserResultRequestDto, CreateUserDto, UserDto>
{
Task<... |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace MigraDocCore.DocumentObjectModel.MigraDoc.DocumentObjectModel.Shapes
{
public abstract class ImageSource
{
public static ImageSource ImageSourceImpl { get; set; }
public interface IImageSource
... |
using FluentMigrator;
namespace WebApp.Migrator
{
[Migration(002)]
public class M002_CreateBookTable : Migration
{
public override void Up()
{
Create.Table("Book")
.WithColumn("Id").AsGuid().PrimaryKey()
.WithColumn("UserId").AsGuid().NotNullable(... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Build.Engine
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SysplanSolution.Model;
using SysplanSolution.Data;
using SysplanSolution.Data.Repositories;
using SysplanSolution.Data.Abstract;
namespace SysplanSolution.Data.Repositories
{
public class ClienteRepository : Ent... |
using System;
using System.Collections.Generic;
namespace Twinsanity
{
public class Scenery : BaseItem
{
public new string NodeName = "Scenery";
public uint Header;
public uint LevelNameLength;
public string LevelName;
public uint Flags;
public uint EntryHeader;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using GovUk.Education.ExploreEducationStatistics.Admin.Validators;
using GovUk.Education.ExploreEducationStatistics.Common.Converters;
using GovUk.Education.ExploreEducationStatistics.Common.Extensio... |
using System;
using System.ComponentModel.DataAnnotations;
using Training.CodersAcademy.MusicApp.Api.Models;
namespace Training.CodersAcademy.MusicApp.Api.ViewModels.Request
{
/// <summary>
/// The request for a <see cref="Music"/>.
/// </summary>
public class MusicRequest
{
/// <summary>
... |
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace k8s.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Lin... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AntData.ORM.SqlQuery
{
public class SqlValue : ISqlExpression, IValueContainer
{
public SqlValue(Type systemType, object value)
{
SystemType = systemType;
Value = value;
}
public SqlValue(object value)
{
Value = va... |
namespace More.VisualStudio.ViewModels
{
using More.Collections.Generic;
using More.ComponentModel;
using More.Windows.Input;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Diagnostics.Contracts;
using System.Linq;
/// <summary>
/// Represe... |
using System;
using System.Collections.Generic;
using System.Web;
using System.Text;
using System.Text.RegularExpressions;
using Desharp.Core;
using System.Web.Script.Serialization;
using Desharp.Completers;
using System.Web.UI;
namespace Desharp.Renderers {
internal class Exceptions {
internal const string SELF... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Consul;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Cach... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Linq;
using System.Threading.Tasks;
using ClientCore;
using Newtonsoft.Json;
using Rampastring.Tools;
namespace DTAClient.Domain.Multiplayer
{
public class MapLoader
{
... |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
using System.Collections;
using Org.BouncyCastle.Asn1.X9;
using Org.BouncyCastle.Math;
using Org.BouncyCastle.Math.EC;
using Org.BouncyCastle.Utilities;
using Org.BouncyCastle.Utilities.Collections;
using Org.BouncyCastle.Utilities.Encoders;
namesp... |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.MSComctlLibApi
{
/// <summary>
/// DispatchInterface IListView
/// SupportByVersion MSComctlLib, 6
/// </summary>
[SupportByVersion("MSComctlLib", 6)]
[EntityType(EntityType.IsDispatchInte... |
using CSharpSpeed;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace InstrumentedLibrary
{
/// <summary>
/// The interpolate elliptical arc tests class.
/// </summary>
[DisplayName("Interpo... |
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Evercraft.Web.Common.Storage.Migrations
{
public partial class InitialDatabase : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuil... |
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... |
using CoreWCF;
using DispatcherClient;
using Helpers;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Runtime.Serialization;
using Xunit;
namespace ErrorHandling
{
public class FaultContracts
{
[Fact]
public static void ServiceSendFaultMessage()
{
... |
//
// SwitchStatement.cs
//
// Author:
// Mike Krüger <mkrueger@novell.com>
//
// Copyright (c) 2009 Novell, Inc (http://www.novell.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... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.Resources.Models
{
internal static class ApplicationLockLevelExtensions
{
public static string ToSerialString(this Appl... |
// 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.
using osuTK;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Screens;
using osu.Framework.Graphics;
usin... |
// *** 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... |
// *** 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.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using CarService;
namespace WinFormsCarService
{
public partial class CarServiceForm : Form
{
... |
// 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 System;
using System.ComponentModel.DataAnnotations;
namespace Onyx.Authorization.Models
{
public class Employee
{
/// <summary>
/// Unique identifier for the employee (auto-generated)
/// </summary>
public int Id { get; set; }
/// <summary>
/// Required f... |
// 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.Generic;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Sys... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace com.spacepuppy.Graphs
{
/// <summary>
/// Represents a 2d-grid that can be accessed as an IGraph.
///
/// Its nodes can be accessed by index from 0->Area, traversing over width b... |
using System;
using System.Diagnostics;
using System.Linq;
using SystemsRx.Extensions;
using EcsRx.Components;
using EcsRx.Examples.Application;
using EcsRx.Examples.ExampleApps.Performance.Helper;
using EcsRx.Extensions;
namespace EcsRx.Examples.ExampleApps.Performance
{
public class GroupPerformanceApplication ... |
using System;
using System.Windows.Media.Media3D;
namespace PointAndControl.Helperclasses
{
/// <summary>
/// This is a utility-class to transform coordinates from the camerar related coordinate system
/// into a world related one
/// </summary>
public class CoordTransform
{
/// <sum... |
// ***********************************************************************
// Copyright (c) 2009 Charlie Poole
//
// 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, incl... |
using System;
using System.IO;
using System.Reactive.Subjects;
namespace UnitystationLauncher.Infrastructure
{
public class ProgressStream : Stream
{
public ProgressStream(Stream inner)
{
Inner = inner;
}
public Stream Inner { get; set; }
public IObservable<... |
using System;
using OpenTK;
namespace Graphics.Algebra {
/// <summary>
/// Represents a linear equasion.
/// </summary>
public class LinearEquasion {
/// <summary>
/// Initializes a new instance of the <see cref="Graphics.Algebra.LinearEquasion"/> class.
/// </summary>
/// <param name="gradient">The gradi... |
using System;
using HomeNotify.API.Models;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using MongoDB.Driver;
namespace HomeNotify.API.Database.Implementation
{
[Collection("Logs")]
public class MongoLogger<T> : MongoRepository<LogInfo>, ILogger<T>, IDisposable
{
... |
using Dandraka.XmlUtilities;
using FTServer.Contracts.Resources;
using FTServer.Contracts.Stores.Item;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
namespace FTServer.Resources.Stores.Item
{
public class ItemToolDataStore : Dictionary<int, ItemTool>, IItemToolDataStore
{
priva... |
using SQLite;
using System;
using System.Collections.Generic;
using System.Text;
namespace ListagemNotas.Models
{
[Table("UserNotes")]
public class UserNote
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public int UserId { get; set; }
public string Title { get... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ConsoleApp2")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPr... |
namespace SUGEF.View.Student
{
partial class StudentTurmas
{
private System.ComponentModel.IContainer components = null;
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using Microsoft.DotNet.CoreSetup.Test;
using System.Runtime.InteropServices;
using System.IO;
namespace Microsoft.DotNet.Tools.Publish.Tests
{
public class GivenThatICareAboutDotnetTestXunitScenarios
... |
/*
* 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... |
// ReSharper disable once CheckNamespace
namespace System.Xml.XPath
{
internal class XPathSelfQuery : BaseAxisQuery
{
#region Constructors
internal XPathSelfQuery() { }
internal XPathSelfQuery(Query queryInput, string name, string prefix, XPathNodeType type)
: base(queryIn... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
using MLAPI;
using CrimeyBoyz.GameState;
using TMPro;
//using MLAPI.SceneManagement;
//Controls Level specific tasks (Spawning objects & players)
public class ElevatorLevelController : MonoBehaviour
{
pub... |
using Acme.BookStore.Localization;
using Volo.Abp.AuditLogging;
using Volo.Abp.BackgroundJobs;
using Volo.Abp.FeatureManagement;
using Volo.Abp.Identity;
using Volo.Abp.IdentityServer;
using Volo.Abp.Localization;
using Volo.Abp.Localization.ExceptionHandling;
using Volo.Abp.Modularity;
using Volo.Abp.PermissionManage... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace Memberships.Entities
{
[Table("Part")]
public class Part
{
[DatabaseGenerated(DatabaseGeneratedOption.Iden... |
// Copyright (c) 2019 Lykke Corp.
// See the LICENSE file in the project root for more information.
using System.Threading.Tasks;
using Lykke.Service.EmailSender;
using MarginTrading.Backend.Core;
#pragma warning disable 1591
namespace MarginTrading.Backend.Email
{
public class EmailService : IEmailService
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
#if !CORECLR
using System.ComponentModel.Composition;
#endif
using System.Globalization;
using System.IO;
using System.Linq;
using System.Management.Automation.Language;
usin... |
/**
* Copyright (C) 2016, Jaguar Land Rover
* This program is licensed under the terms and conditions of the
* Mozilla Public License, version 2.0. The full text of the
* Mozilla Public License is at https://www.mozilla.org/MPL/2.0/
*
* Copyright (c) 2019-2021 LG Electronics, Inc.
* This software contains code... |
namespace Insql
{
public interface IDbSessionFactory
{
IDbSession CreateSession();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PiBootstrapper
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static v... |
namespace PASaveEditor.FileModel {
internal class ReformProgram : Node {
public ReformStudents Students;
public ReformProgram(string label)
: base(label, true) {}
public override Node CreateNode(string label) {
if ("Students".Equals(label)) {
retu... |
using System.Reflection;
using Xunit;
[assembly: AssemblyTitle("Avalonia.Markup.Xaml.UnitTests")]
// Don't run tests in parallel.
[assembly: CollectionBehavior(MaxParallelThreads = 1)] |
// <copyright file="NinjectWebCommon.cs" company="Nikolay Kostov (Nikolay.IT)">
// Copyright (c) Nikolay Kostov (Nikolay.IT). All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
// </copyright>
using OnlineGames.Web.AiPortal;
[assembly: WebActivatorEx.PreA... |
/*
* 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... |
/*
* 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;
namespace Vanara.PInvoke
{
public static partial class User32
{
/// <summary>
/// Window Styles. The following styles can be specified wherever a window style is required. After the control has been created,
/// these styles cannot be modified, except as noted.
/// </summary>
[Flags()]
pub... |
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Netextensions.Core.Processor
{
public abstract class Processor<T> : IProcessor<T>
{
private static IProcessor<T> LoadProcessors(IEnumerable<IProcessor<T>> processors) => processors.Aggr... |
using Autofac;
using Microsoft.Extensions.Configuration;
using Quartz;
using Quartz.Impl;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Monytor.Core.Configurations;
using Microsoft.Extensions.Logging;
using NLog.Extensions.Logging;
using System;
using Monytor.Core.Ser... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Backend.Data.Models
{
public class Konfiguration
{
[Key, Column(Order = 0)]
... |
using UnityEngine;
namespace Game
{
[CreateAssetMenu(fileName = "Scene Data", menuName = "Scriptable Object/Scene Data")]
public class SceneData : ScriptableObject
{
[SerializeField] private new string name = default;
[SerializeField] private int buildIndex = default;
public strin... |
using System;
using System.Linq;
using System.Reflection;
using TwinCatAdsTool.Interfaces;
using TwinCatAdsTool.Interfaces.Commons;
using TwinCatAdsTool.Interfaces.Extensions;
namespace TwinCatAdsTool.Gui.ViewModels
{
public class MainWindowViewModel : ViewModelBase
{
private readonly IViewModelFactor... |
using System;
using System.Linq;
using System.Windows.Forms;
using System.IO;
using System.Diagnostics;
using System.Data;
using System.Threading;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
namespace Genshin_Calc
{
public partial class Form1 : Form
{
#region 初始化各变量
boo... |
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Horizon.Payment.Alipay.Domain
{
/// <summary>
/// AlipayInsDataAutodamageEstimateApplyModel Data Structure.
/// </summary>
public class AlipayInsDataAutodamageEstimateApplyModel : AlipayObject
{
/// <summary>... |
#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... |
// *** 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;
namespace BehaveAsSakura
{
public interface IBehaviorTreeSerializer
{
byte[] SerializeDesc(BehaviorTreeDesc desc);
BehaviorTreeDesc DeserializeDesc(byte[] data);
byte[] SerializeProps(BehaviorTreeProps props);
BehaviorTreeProps DeserializeProps(byte[] data);
... |
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;
using System.Text.RegularExpressions;
using System.Windows.Input;
using System.Runtime.InteropServices;
u... |
// 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.
namespace Iot.Device.Mcp23xxx
{
public static class OpCode
{
public static byte GetOpCode(int devic... |
namespace AngleSharp.Parser.Xml
{
using System;
/// <summary>
/// The CData token that contains a sequence of raw characters.
/// </summary>
sealed class XmlCDataToken : XmlToken
{
#region Fields
readonly String _data;
#endregion
#region ctor
/// <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 OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;
namespace WebAddressbookTests
{
public class HelperBase
{
protected ApplicationManager manager;
protected IWebDriver driver;
public HelperBase(ApplicationManager manager)
{
this.m... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
namespace OrderService.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class AuthorizeCardController : Controller... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.Pipeline;
namespace Azure.IoT.TimeSeriesInsights
{
/// <summar... |
using HomeCinema.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HomeCinema.Data.Configurations
{
public class StockConfiguration : EntityBaseConfiguration<Stock>
{
public StockConfiguration()
{
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Curio.Persistence.Migrations.CurioClient
{
public partial class _20210822011229_Migration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Addr... |
using System;
using System.Net.Http;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using VamBooru.E2E.Steps.Pages;
namespace VamBooru.E2E.Runtime
{
public class TestRuntime
{
public static Uri ServerBaseUrl { get; private set; }
public static HttpClient HttpClient { get; private set; }
public static IWe... |
// *** 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.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Aw... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
namespace TROPHYParser
{
public class TropTrnsAlreadyGotException : Exception
{
public TropTrnsAlreadyGotException(string message) : base(message) { }
public TropTrnsAlread... |
using Autofac;
using ConstellationMind.Shared.Extensions;
using ConstellationMind.Shared.Settings;
using Microsoft.Extensions.Configuration;
namespace ConstellationMind.Infrastructure.IoC.Modules
{
public class SettingsModule : Autofac.Module
{
private readonly IConfiguration _configuration;
p... |
using StackExchange.Redis;
namespace Alabo.Cache.Redis {
/// <summary>
/// Class RedisCacheContext.
/// </summary>
public class RedisCacheContext : ICacheContext {
/// <summary>
/// The object cache index
/// </summary>
private static readonly int ObjectCacheI... |
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("Bt... |
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Threading.Tasks;
using Xamarin.Forms;
using XMD1.Models;
using XMD1.Views;
namespace XMD1.ViewModels
{
public class ItemsViewModel : BaseViewModel
{
public ObservableCollection<Item> Items { get; set; }
... |
using System;
namespace KeyPay.Exceptions
{
public class TokenExpiredException : Exception
{
public TokenExpiredException()
{
}
public TokenExpiredException(string message)
: base(message)
{
}
}
} |
#if UNITY_4_3 || UNITY_4_4 || UNITY_4_5 || UNITY_4_6
using UnityEngine;
namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityLight
{
[TaskCategory("Basic/Light")]
[TaskDescription("Sets the shadow softness of the light.")]
public class SetShadowSoftness : Action
{
[Tooltip("The GameObject that t... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Diagnostics;
using ros_csharp_interop;
using ros_csharp_interop.rosmsg;
namespace ros_csharp_interop
{
class subscriber_callback1<T> : subscriber_callback
{
string expected_md5sum;
Func<BinaryRead... |
using GitVersion.Helpers;
namespace GitVersion;
internal sealed class ObjectId : IObjectId
{
private static readonly LambdaEqualityHelper<IObjectId> equalityHelper = new(x => x.Sha);
private static readonly LambdaKeyComparer<IObjectId, string> comparerHelper = new(x => x.Sha);
private readonly LibGit2Sha... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="OptionsSettingsProviderBase.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file i... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Graph;
namespace B2CAuthZ.Admin
{
public interface IApplicationRepository
{
Task<AppRoleAssignment> AssignAppRole(Guid principalId, Guid resourceId, Guid appRoleId);
Task<AppRoleAssignment> AssignAppRo... |
@model WalkingTec.Mvvm.Mvc.CodeGenVM
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>@ViewData["title"]</title>
<link rel="stylesheet" href="/layui/css/layui.css">
<link rel="stylesheet" href... |
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;
using Pilas_Colas.Negocio;
namespace Pilas_Colas.Usuario
{
public partial class frmInterfaz : Form
... |
using System;
using Xunit;
namespace BusinessApp.Kernel.UnitTest
{
public class BadStateExceptionTests
{
public class Constructor : BadStateExceptionTests
{
[Fact]
public void WithMessage_MappedToProperty()
{
/* Act */
var ex =... |
@{
Layout = "_Layout";
}
@model PierresTreats.Models.Treat
<h2>Edit</h2>
<h4>Edit this treat: @Html.DisplayFor(model => model.Name)</h4>
@using (Html.BeginForm())
{
@Html.HiddenFor(model => model.TreatId)
@Html.LabelFor(model => model.Name)
@Html.EditorFor(model => model.Name)
<input type="submit" value... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.