text stringlengths 1 932k |
|---|
using PhotoShare.Models.Enums;
namespace PhotoShare.Client.Core.Dtos
{
public class AlbumRoleDto
{
public string Username { get; set; }
public string AlbumName { get; set; }
public Role Role { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.SqlClient;
using System.Dynamic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RepoDb.Extensions;
using RepoDb.IntegrationTests.Models;
using RepoDb.IntegrationTests.Setup;
using RepoDb.Reflection... |
using System.ComponentModel.DataAnnotations;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.MultiTenancy;
namespace SPAVUE.MultiTenancy.Dto
{
[AutoMapFrom(typeof(Tenant))]
public class TenantDto : EntityDto
{
[Required]
[StringLength(AbpTenantBase.MaxTenancyNameLength)]... |
using System;
using NetOffice;
namespace NetOffice.MSProjectApi.Enums
{
/// <summary>
/// SupportByVersion MSProject 11, 12, 14
/// </summary>
///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff865925(v=office.14).aspx </remarks>
[SupportByVersionAttribute("MSProject... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RA.Models.Input
{
/// <summary>
/// Class for providing values for a property like FinancialAssistance.FinancialAssistanceValue or LearningOpportunity.CreditValue.
/// Recommended: Provide... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace RSHA.Extensions
{
public static class IEnumerableExtensions
{
public static IEnumerable<SelectListItem> ToSelectListItems<T>(this IEnumerable<T> items, i... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PumpFilterFilter : FilterPart {
public bool CanBeCut {
get {
// Logger.Print(Attached + " " + ConnectedItem);
return !isCut;
}
}
private bool isCut = false;
public vo... |
using System.Collections.Generic;
using TRMDataManager.Library.Internal.DataAccess;
using TRMDataManager.Library.Models;
namespace TRMDataManager.Library.DataAccess
{
public class UserData
{
public List<UserModel> GetUserById(string id)
{
SqlDataAccess sql = new SqlDataAccess();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataExplorer.Domain.Columns;
using DataExplorer.Domain.Filters;
using DataExplorer.Domain.Rows;
using DataExplorer.Domain.Sources;
using DataExplorer.Domain.Views;
namespace DataExplorer.Domain.Pr... |
using Hedgehog.Core.Contracts.InfrastructureContracts.Repositories;
using Hedgehog.Core.Domain.Requests;
using MediatR;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Hedgehog.Core.Domain.Commands
{
public class GetProductsFromStoreReqestHandler : I... |
using System;
using System.Threading.Tasks;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Net;
using System.Text.RegularExpressions;
using System.Linq;
using System.Text;
using WindowsGSM.Functions;
namespace WindowsGSM.Installer
{
/// <summary>
/// This script is very o... |
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("Do... |
using NHM.Common;
using NHMCore;
using NHMCore.Configs;
using NiceHashMiner.Views.Common;
using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Media;
using static NHMCore.Translations;
namespace NiceHashMiner.Vi... |
// Copyright (c) zhenlei520 All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
using Newtonsoft.Json;
namespace EInfrastructure.Core.Words.Config.PinYin
{
/// <summary>
/// 字典拼音配置
/// </summary>
interna... |
using IbaMonitoring.Presenters;
using IbaMonitoring.Views;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using safnet.iba.Business.AppFacades;
using safnet.iba.Business.DataTypes;
using safnet.iba.Business.Entities;
using safnet.iba.TestHelpers;
using System;
using System.Diagnostics.CodeAnalysis;
usi... |
using System;
using System.ComponentModel;
using System.Text;
using System.Diagnostics;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace WinInfo
{
public class ScreenInfo
{
public string Availability;
public RECT Size;
public RECT MonitorArea;
public RECT WorkArea;... |
//------------------------------------------------------------------------------
// <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... |
// <auto-generated>
// Auto-generated by StoneAPI, do not modify.
// </auto-generated>
namespace Dropbox.Api.Auth.Routes
{
using sys = System;
using io = System.IO;
using col = System.Collections.Generic;
using t = System.Threading.Tasks;
using enc = Dropbox.Api.Stone;
/// <summary>
/// <p... |
using System;
namespace _4angle
{
class Program
{
private string PerimetrAndSquare(double[,] points, out double Perimetr, out double Square)
{
Perimetr = 0;
Square = 0;
string isCollinear = "true";
double[,] vector = new dou... |
namespace IntroductionToEventSourcing.BusinessLogic.Mutable.Solution1;
public abstract class Aggregate
{
public Guid Id { get; protected set; } = default!;
private readonly Queue<object> uncommittedEvents = new();
public virtual void When(object @event) { }
public object[] DequeueUncommittedEvents()... |
/* Copyright (C) Olivier Nizet https://github.com/onizet/html2openxml - All Rights Reserved
*
* This source is subject to the Microsoft Permissive License.
* Please see the License.txt file for more information.
* All other rights reserved.
*
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF... |
/*
* 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 2007-2014 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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
//
/... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/dwrite_3.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtim... |
//-----------------------------------------------------------------------
// <copyright file="EntryPointEventSendingTest.cs">
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMIT... |
using MaterialDesignThemes.Wpf;
using static EconomyMonitor.Helpers.SetHelper;
namespace EconomyMonitor.Wpf.MVVM.Primitives;
internal sealed class IconWithText
{
private PackIconKind? _icon;
private string? _text;
public PackIconKind Icon
{
get => _icon ??= PackIconKind.None;
set =>... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from shared/minwindef.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.Compile... |
/*
* 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
*
... |
//
// Context.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// 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, ... |
using Xunit;
namespace PWD.Schedule.Tests
{
public sealed class MultiTenantFactAttribute : FactAttribute
{
public MultiTenantFactAttribute()
{
if (!ScheduleConsts.MultiTenancyEnabled)
{
Skip = "MultiTenancy is disabled.";
}
}
}
} |
namespace RobotGame.Application.Interfaces
{
public interface IPlayable
{
void Play();
}
} |
//-----------------------------------------------------------------------
// <copyright file="DistributedPubSubMediatorRouterSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.... |
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Finnhub.ClientCore.Serialisation
{
public class JsonDeserialiser : IDeserialiser
{
internal static readonly JsonDeserialiser Default = new JsonDeserialiser();
private readonly JsonSerializer... |
using System;
using System.Diagnostics;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using Chromatics.Controllers;
using Chromatics.DeviceInterfaces;
/* Hubs all commands sent from FFXIVInterface and re-routes them to the... |
// ReSharper disable VirtualMemberCallInConstructor
namespace Workshop.Data.Models
{
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;
using Workshop.Data.Common.Models;
public class ApplicationUser : IdentityUser, IAuditInfo, IDeletableEntity
{
pub... |
// 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.IO;
using System.Linq;
using System.Resources;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
using Sys... |
namespace Logging.ExceptionSender
{
using System;
using Microsoft.Extensions.DependencyInjection;
using RecurrentTasks;
public static class TaskOptionsExtensions
{
public static TaskOptions WithExceptionSender(this TaskOptions taskOptions)
{
if (taskOptions == null)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _8._1._2_Automobil
{
class Program
{
static void Main(string[] args)
{
Automobil auto1 = new Automobil();
Console.Write("Marka Automobila: ");
... |
// ********************************************************************************************************
// Product Name: DotSpatial.Controls.dll
// Description: The Windows Forms user interface controls like the map, legend, toolbox, ribbon and others.
// ***********************************************************... |
using StackExchange.Redis;
using System.Threading.Tasks;
namespace Adnc.Infra.Caching.StackExchange
{
/// <summary>
/// Default redis caching provider.
/// </summary>
public partial class DefaultRedisProvider : Adnc.Infra.Caching.IRedisProvider
{
public async Task<dynamic> ScriptEvaluateAs... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.MachineLearning.Models
{
/// <summary> The desired maximum forecast horizon in units of time-series frequency. </summary>
public partial class... |
/*
The MIT License (MIT)
Copyright (c) 2014-2017 William Ivanski
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 rights
to use, copy, modify,... |
// 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 Microsoft.CodeAnalysis.Operations;
namespace Microsoft.CodeAnalysis.CSha... |
// 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.Diagnostics;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System... |
using OnlineTheater.Core.Movies;
using System;
namespace OnlineTheater.Core.Customers
{
public class PurchasedMovie
{
public PurchasedMovie(Movie movie, Customer customer, Dollar price, ExpirationDate expirationDate)
{
Movie = movie;
Customer = customer;
Pri... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics.Tracing;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Concurrent;
using System.Diagnostics;
namespace CZGL.Process... |
using System;
using System.Threading.Tasks;
using MvvmCross.Commands;
using Sample.Core.Extensions;
using Sample.Core.ViewModels.Bases;
using XForm.Fields;
using XForm.Forms;
namespace Sample.Core.ViewModels
{
public class RegistrationFormViewModel : FormViewModel
{
private class FormModel: XForm.Forms... |
// <auto-generated />
using FluentlyHttpClient.Entity;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace FluentlyH... |
using System.Threading.Tasks;
namespace Lykke.Service.PayCallback.Core.Services
{
public interface IStartupManager
{
Task StartAsync();
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RSToolkit.Helpers
{
public class ProximityHelpers
{
public enum RayDirection
{
UP,
DOWN,
LEFT,
RIGHT,
FRONT,
REAR
}
p... |
/*
* Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
using System.IO;
namespace Apache.NBCEL.Java.IO
{
/// <summary>
/// The
/// <c>DataInput</c>
/// interface pr... |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Linq;
using System.Text;
using Microsoft.DotNet.Try.Jupyter.Protocol;
using NetMQ;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq... |
using Plugin.Hunk.Catalog.Abstractions;
using Plugin.Hunk.Catalog.Pipelines.Arguments;
using Sitecore.Commerce.Core;
using Sitecore.Framework.Pipelines;
using System.Threading.Tasks;
using Plugin.Hunk.Catalog.Extensions;
namespace Plugin.Hunk.Catalog.Pipelines.Blocks
{
[PipelineDisplayName(Constants.ResolveEntity... |
namespace parser
{
public class Position {
int offset;
public int y;
public int x;
public Parser_Context context;
public Position(Parser_Context context, int offset = 0, int y = 1, int x = 1) {
this.context = context;
this.offset = offset;
this.y = y;
this.x = x;
}
public int get_offset ... |
namespace Documentor.Services
{
public interface IMarkdownConverter
{
string ConvertToHtml(string markdown);
}
} |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SteamBotExample.SteamApi.SteamWeb.RgDescription
{
public class steamWebInventory_MarketAction
{
[JsonProperty("link")]
public string link { get; set; }
[JsonPro... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace test_transform
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static v... |
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace WooCommerce.NET
{
public class Links
{
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<Self> self { get; set; }
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWriting... |
using System.ComponentModel;
namespace LinqAn.Google.Metrics
{
/// <summary>
/// The name of the requested custom metric, where 121 refers the number/index of the custom metric. Note that the data type of ga:metric121 can be INTEGER, CURRENCY or TIME.
/// </summary>
[Description("The name of the requested custom ... |
//
// Copyright (c) 2004-2020 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 s... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Vdf4Cs
{
public partial class ValueDescGroupPage : PageBase
{
public ValueDesc... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EF_Relaciones
{
class Profesor
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace StarEnigma
{
class StarEnigma
{
static void Main(string[] args)
{
int numOfLines = int.Parse(Console.ReadLine());
List<string> attackedPlanet = new List<st... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
namespace LiveSPICE
{
class PotControl : Control, INotifyPropertyChanged
{
static PotCon... |
using MsiLib;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace MsiInteropUnitTests
{
/// <summary>
///This is a test class for InstallerTest and is intended
///to contain all InstallerTest Unit Tests
///</summary>
[TestClass()]
public class InstallerTest
{
/// <summary>
/// Pat... |
// 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.Diagnostics;
namespace StarkPlatform.Compiler.Stark.Syntax
{
public partial class AttributeSyntax
{
/// <summary>... |
/*
* 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 AutoMapper;
using SFA.DAS.Payments.Model.Core.Entities;
using SFA.DAS.Payments.ProviderAdjustments.Domain;
namespace SFA.DAS.Payments.ProviderAdjustments.Application.Mapping
{
public class ProviderAdjustmentsProfile : Profile
{
public ProviderAdjustmentsProfile()
{
CreateMap<... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Citrina
{
public class BaseSticker
{
public IEnumerable<BaseImage> Images { get; set; }
public IEnumerable<BaseImage> ImagesWithBackground { get; set; }
/// <summary>
/// Collect... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.BotFramework;
using Microsoft.Bot.Builder.Integ... |
//------------------------------------------------------------------------------
// <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 System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cassandra.Serialization
{
internal class TupleSerializer : TypeSerializer<IStructuralEquatable>
{
public override ColumnTypeCode CqlType
{
get { return ColumnTy... |
using Platform.Domain;
namespace WhoWhat.Domain.Question.Events
{
public class AnswerRemoved : Event
{
public string AnswerId { get; set; }
}
} |
using Benriya.Share.Models.Clients;
using Benriya.Utils;
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Text;
namespace Benriya.Core.Services.LoggingDB
{
public class LoggingDBServices
{
private readonly IMongoCollection<RequestLogs> _logs;
... |
#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
*... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
// Manual changes will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
usi... |
using System;
namespace Lessons.General
{
class Lesson2_1TypeConversion
{
public static void Start()
{
TypeConversion();
Convertations();
}
public static void TypeConversion()
{
///////////////////////////////////////////////////////... |
using System;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Media.Capture;
using Windows.System.Display;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace VideoEffectTest.Uwp
{
sealed partial class App : Application
{
... |
// ***********************************************************************************
// Created by zbw911
// 创建于:2013年01月29日 11:06
//
// 修改于:2013年02月18日 13:52
// 文件名:XmlCasServerConfigurationStorage.cs
//
// 如果有更好的建议或意见请邮件至zbw911#gmail.com
// ***********************************************************************... |
using Microsoft.Xna.Framework;
using MonoGameLibrary.Util;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MonoGameLibrary.Spawn
{
/// <summary>
/// Spawn Objects continuously every 'x' seconds
/// </summary>
public class Ti... |
// File generated from our OpenAPI spec
namespace Stripe.Checkout
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class SessionCreateOptions : BaseOptions, IHasMetadata
{
/// <summary>
/// Enables user redeemable promotion codes.
/// </summary>
[JsonPro... |
using Essensoft.AspNetCore.Payment.Alipay.Parser;
using Essensoft.AspNetCore.Payment.Alipay.Utility;
using Essensoft.AspNetCore.Payment.Security;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Securit... |
using System.Runtime.CompilerServices;
namespace Cake.AWS.Route53
{
/// <summary>
/// This namespace contains Amazon Simple Storage Service aliases and related members.
/// </summary>
[CompilerGenerated]
internal class NamespaceDoc
{
}
} |
namespace PM.WebServices.Commands
{
public class CreateParkingCommand
{
public string ParkingName { get; set; }
public int Capacity { get; set; }
}
} |
using System.Reflection;
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("Bond.InternalTest")]
[assembly: AssemblyD... |
using System.Collections.Generic;
using System.Linq;
using DevChatter.Bot.Core.Extensions;
using Xunit;
namespace UnitTests.Core.Extensions
{
public class FindTokensShould
{
[Theory]
[InlineData("")]
[InlineData("This has no tokens.")]
public void ReturnEmptyCollection_GivenNoT... |
using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Enable.Extensions.Queuing.Abstractions;
using Xunit;
namespace Enable.Extensions.Queuing.InMemory.Tests
{
public class InMemoryQueueClientTests : IClassFixture<InMemoryTestFixture>, IDisposable
{
private readon... |
namespace StandWorld.Definitions
{
[System.Serializable]
public class GroundDef : Def
{
public float maxHeight;
}
} |
using System;
using System.IO;
using NCoreUtils.SpecializedStreams;
using Xunit;
namespace NCoreUtils
{
public class ChunkedStreamTests
{
private const int ChunkSize = 4 * 1024;
private static readonly Random _rnd = new Random(unchecked((int)(DateTime.Now.Ticks % int.MaxValue)));
priv... |
using Microsoft.AspNetCore.Mvc;
namespace AspNetCore.Mvc.Extensions.ActionResults
{
public class DownloadVirtualFileResult : VirtualFileResult
{
public DownloadVirtualFileResult(string virtualPath, string contentType, string fileDownloadName)
: base(virtualPath, contentType)
{
... |
using FloodGate.SDK.Events;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Tasks;
namespace FloodGate.SDK
{
public abstract class ClientConfigBase : IClientConfig, IDisposable
{
internal static string ... |
using System.Collections.Generic;
using System.Linq;
namespace SLib.Extensions
{
public static class PreludeModule
{
public static bool IsOneOf<T>(this T val, params T[] set) {
bool isOneOf_ = set != null && set.Any() && set.Contains( val );
return isOneOf_;
}
... |
#if USE_HOT
namespace wxb
{
using System.Reflection;
using ILRuntime.CLR.Utils;
using ILRuntime.Runtime.Stack;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Generated;
using System.Collections.Generic;
using ILRuntime.CLR.TypeSystem;
... |
using System;
using System.Collections.Generic;
using DevOpsMetrics.Core;
using DevOpsMetrics.Core.Models.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DevOpsMetrics.Tests.Core
{
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
[TestCategory("L0Test")]
[TestClass]
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SplashPatch
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Portal.CMS.Entities.Entities
{
public class User
{
[Key]
public int UserId { get; set; }
[Required]
public string EmailAddress { get; set; }
[Required]
publi... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace Git.Storage.Common.Enum
{
public enum EEquipmentStatus
{
/// <summary>
/// 闲置
/// </summary>
[Description("闲置")]
Unused = 1,
/// <summar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _03.Shopping_Spree
{
class Program
{
static void Main(string[] args)
{
double budget = double.Parse(Console.ReadLine());
var dic = new Dictionar... |
/*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.