text stringlengths 1 932k |
|---|
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc.Rendering;
using ModernSlavery.WebUI.GDSDesignSystem.Attributes;
using ModernSlavery.WebUI.GDSDesignSystem.Helpers;
using ModernSlavery.WebUI.GDSDesignSystem.Models;
... |
using System;
namespace Nano.Web.Api.Requests.Attributes
{
/// <summary>
/// Form Attribute
/// </summary>
[AttributeUsage(AttributeTargets.Property)]
public class FormAttribute : Attribute
{
}
} |
using System.Collections.Generic;
using JetBrains.Annotations;
namespace MicroFlow
{
public class BlockSelfContainednessValidator : NodeVisitor
{
private readonly BlockNode myBlock;
private readonly IFlowNode myDefaultCancellationHandler;
private readonly IFlowNode myDefaultFaultHandler;
public B... |
using UnityEngine;
using System.Collections;
using HoloToolkit.Unity.InputModule;
public class PlayButton : MonoBehaviour, IInputClickHandler, IPointerSpecificFocusable
{
GameObject _messageManager;
PlayerMessageManager MessageManager;
public bool playingMessage = false;
public GameObject phoneLight;
... |
// <auto-generated>
using KyGunCo.Counterpoint.Sdk.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace KyGunCo.Counterpoint.Sdk.Configuration
{
// VI_PS_VOID_HIST_LIN_DISC_RCPT
public class ViPsVoidHistLinDiscRcptConfiguration : IEntityTypeConfigurat... |
using System;
using JetBrains.Annotations;
using Vostok.Tracing.Abstractions;
namespace Vostok.Tracing.Extensions.Http
{
/// <summary>
/// <para>Represents a builder that produces annotations relevant for HTTP request spans of any kind.</para>
/// <para>See <see cref="SetRequestDetails(Uri,string,System.N... |
namespace f47983ba_bcbe_45c8_8165_0f3baeecda09
{
partial class Form1
{
/// <summary>
/// Variable nécessaire au concepteur.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Nettoyage des ressources utilisées.
/... |
/*
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
using Microsoft.AspNetCore.Identity;
namespace Leelite.Modules.Identity.Models.UserAgg
{
/// <summary>
/// 账号手机号
/// </summary>
public class UserPhone
{
/// <summary>
/// Gets or sets a telephone number for the user.
/// </summary>
[ProtectedPersonalData]
pu... |
public enum NpcState
{
Idle = 1,
Walking = 2,
Attacking = 3,
} |
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
namespace ImageMagick
{
/// <summary>
/// Clones the current drawing wand to create a new drawing wand. The original drawing wand(s)
/// may be returned to by invoking DrawablePopGraphicCont... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _07._01
{
class Program
{
/// <summary>
/// https://adventofcode.com/2019/day/7
/// Starting to feel like my college 'algorithms and data structures' class. Permutations, recursion, all the good stuff.
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace RadioConsole.Web.Migrations
{
public partial class IncidentListMigration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Incidents",
... |
using System;
using System.Web;
using System.Web.Mvc;
using bv.common.Resources;
using bv.model.Model.Core;
using eidss.model.Core;
using eidss.model.Resources;
using eidss.web.common.Utils;
using eidss.webclient.Utils;
namespace eidss.webclient.Controllers
{
public class ErrorController : Controller
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Agent.Plugins.Log.TestResultParser.Contracts;
using Agent.Sdk;
using Pipelines = Microsoft.TeamFoundation.DistributedTask.Pipelines;
namespace Agent.Plugins.Log.TestResultParser.Plugin
{
public class TestResultL... |
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("Si... |
/*----------------------------------------------------------------
Copyright (C) 2021 Senparc
文件名:UrlSchemeApi.cs
文件功能描述:URL Scheme 接口
创建标识:Senparc - 20210118
----------------------------------------------------------------*/
using Senparc.NeuChar;
using Senparc.Weixin.CommonAPIs;
... |
using System;
using System.Linq;
using System.Threading.Tasks;
using FunApp.Data.Common;
using Microsoft.EntityFrameworkCore;
namespace FunApp.Data
{
public class DbRepository<TEntity> : IRepository<TEntity>, IDisposable
where TEntity : class
{
private readonly FunAppContext _context;
pri... |
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Abp.Authorization;
using Abp.Domain.Repositories;
using Abp.Extensions;
using Abp.IdentityFramework;
using Abp.MultiTenancy;
using Abp.Runtime.Security;
using F... |
/****************************************************************************
*项目名称:WEF.NoSql
*CLR 版本:4.0.30319.42000
*机器名称:WENLI-PC
*命名空间:WEF.NoSql
*类 名 称:FindCommandResult
*版 本 号:V1.0.0.0
*创建人: yswenli
*电子邮箱:wenguoli_520@qq.com
*创建时间:2019/5/15 13:45:05
*描述:
*==========================================================... |
namespace TAFactory.IconPack
{
partial class IconListView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System;
class A : ICloneable
{
public int Value
{
get { return _value; }
set { _value = value; }
}
private int _value;
public object Clone()
{
return MemberwiseClone();
}
}
class ObjectTest
{
static void TestMemberwiseClone()
{
A a = new A();
... |
#if XENKO_GRAPHICS_API_DIRECT3D
//------------------------------------------------------------------------------
// <auto-generated>
// Xenko Effect Compiler File Generated:
// Effect [UIEffect]
//
// Command Line: D:\Xenko\sources\engine\Xenko.Graphics\Shaders.Bytecodes\..\..\..\..\sources\assets\Xenko.Co... |
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 CMS.API
{
public class Program
{
public stati... |
@using AdministrationTools.Models
@model LoginViewModel
@{
ViewBag.Title = "Log in";
}
<h2>@ViewBag.Title.</h2>
<div class="row">
<div class="col-md-8">
<section id="loginForm">
@using (Html.BeginForm("Login", "Account",
new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.P... |
namespace Discuz.Entity
{
public enum ModuleContentType
{
Html,
HtmlInline,
Url
}
} |
using UnityEngine;
using System.Collections;
public class PlayerMotionScript : MonoBehaviour , IPlayerMotionListener
{
/******************************************************
* Variables
******************************************************/
private static readonly float RAYCAST_DISTANCE = 5f;
... |
// ReSharper disable InconsistentNaming
using System.Collections.Generic;
using ShareClass.ViewModel;
namespace ShareClass.Model
{
public class PointOfInterest
{
public string desc { get; set; }
public string link { get; set; }
public string query { get; set; }
public int locx... |
//
// MeasuringStream.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2021 .NET Foundation and Contributors
//
// 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 S... |
using DBFileReaderLib.Attributes;
namespace SpellWork.DBC.Structures
{
public class SpellAuraOptionsEntry
{
[Index(true)]
public uint ID;
public byte DifficultyID;
public ushort CumulativeAura;
public int ProcCategoryRecovery;
public byte ProcChance;
pub... |
/*
* Copyright 2008-2013 Mohawk College of Applied Arts and Technology
*
* 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
*
* Unl... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _11.DragonArmy
{
class DragonArmy
{
static void Main(string[] args)
{
Dictionary<string, SortedDictionary<string, List<double>>> allDragons =
new Dictionary<string, SortedDictionary<string,... |
namespace Liar.Core.Liar
{
public interface ILiarException
{
}
} |
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace TumblThree.Applications.DataModels
{
public class PostQueue<T> : IPostQueue<T>
{
private readonly BlockingCollection<T> postQueue;
public PostQueue(IProducerConsumerCollection<T> postTaskCollection)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CaloryBoost.Model.Entities
{
public class Food
{
public Food()
{
UserMealFoods = new HashSet<UserMealFood>();
}
public int ID { get; set; }... |
namespace Mentalist.ReverseProxy.Routing;
public class RoutingConfiguration
{
public bool ForceHttps { get; set; } = false;
public bool EnableHsts { get; set; } = true;
public int HttpPort { get; set; } = 80;
public int HttpsPort { get; set; } = 443;
public string HttpsScheme { get; set; } = "http... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using Spider.Cache;
using Spider.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Spider.App.Engine
{
public sealed class CacheSingleton
{
private static ICacheService m_Instance = null;
private static readonly object m_Sy... |
using AutoMapper;
using DNTBreadCrumb.Core;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using NToastNotify;
using OnlineShop.Areas.Admin;
using OnlineShop.Common.Enums;
using OnlineShop.Entities.Entities.Area.Base;
using OnlineShop.Services.Contracts.Area.Base;
using OnlineShop.ViewModels... |
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (https://www.specflow.org/).
// SpecFlow Version:3.9.0.0
// SpecFlow Generator Version:3.9.0.0
//
// Changes to this file may cause incorrect behavior and w... |
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("p06... |
using SEDC.CSharpAdv.VideoRental.Data.Enumerations;
using SEDC.CSharpAdv.VideoRental.Data.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace SEDC.CSharpAdv.VideoRental.Data.Database
{
public class MovieRepository : GenericRepository<Movie>
{
public MovieRepository()
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/*=============================================================================
**
**
**
** Purpose: Exception class for duplicate objects in WaitAll/WaitAny.
**
**
=================... |
// SNMP Object Identifier type.
// Copyright (C) 2008-2010 Malcolm Crowe, Lex Li, and other contributors.
//
// 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... |
using MU.Resources;
using MuEmu.Network.Data;
using System;
using System.Collections.Generic;
using System.Text;
using WebZen.Serialization;
using WebZen.Util;
namespace MU.Network.Event
{
[WZContract]
public class SEventRemainTime : IEventMessage
{
[WZMember(0)]
public EventEnterType Even... |
using System;
namespace Mapping_Tools.Components.Dialogs.CustomDialog {
public class FileBrowseAttribute : Attribute {
}
} |
using Bupa.Entity.Base;
using System;
using System.Collections.Generic;
#nullable disable
namespace Bupa.Entity.Models
{
public partial class Card : EntityBase
{
public Card()
{
OrderDetails = new HashSet<OrderDetail>();
}
public int Id { get; set; }
publi... |
#pragma checksum "E:\ADS FATEC\Cursos\DOTNET\RestWithASP-NET5Udemy\RestWithAsp-Net5Udemy\03_RestWithASPNETUdemy_UsingDifferentVerbs\RestWithASPNETUdemy\RestWithASPNETUdemy\Pages\Privacy.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "a0906750319c55d6ce48b545e707c28c2eb4094c"
// <auto-generated/>
#pragma warning disab... |
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using MantaMTA.Core.Events.Enums;
using MantaMTA.Core.Enums;
namespace MantaMTA.Core.Events
{
/// <summary>
/// Holds details of a Bounce Rule used to interpret a failed delivery message (could be an email or an SMTP response).
/... |
#region Header
//////////////////////////////////////////////////////////////////////////////
//The MIT License (MIT)
//Copyright (c) 2013 Dirk Bretthauer
//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... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace NebulasAPI.Models
{
public class IrreversibleBlock : RESTfulResult
{
public IrreversibleBlockResult result;
}
public class Irrevers... |
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
namespace GoodToCode.Analytics.Ingress.Unit.Tests
{
public class GenericLogger<T> : ILogger<T>
{
public IList<string> Logs;
public IDisposable BeginScope<TState>(TState state) => NullScope.Instance;
p... |
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("HCS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace ENetSharp.Internal.Protocol
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
internal struct ENetProtocolVerifyConnect
{
public ENetP... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - ImportExcelFile</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/cs... |
using BlazorFluentUI.Style;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.JSInterop;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.... |
#region License
/* FNA.NetStub - XNA4 Xbox Live Stub DLL
* Copyright 2019 Ethan "flibitijibibo" Lee
*
* Released under the Microsoft Public License.
* See LICENSE for details.
*/
#endregion
#region Using Statements
using System;
#endregion
namespace Microsoft.Xna.Framework.Net
{
[Flags]
public enum SendDataOp... |
namespace PDSC.Common
{
public interface IRepository<TEntity, TSearch> : IRepositoryBase<TEntity, TSearch>
{
TEntity Get(int id);
bool Delete(int id);
}
} |
using System;
using System.Xml.Serialization;
namespace Alipay.AopSdk.Domain
{
/// <summary>
/// ReduceToDiscountDstCampPrizeModel Data Structure.
/// </summary>
[Serializable]
public class ReduceToDiscountDstCampPrizeModel : AopObject
{
/// <summary>
/// 折扣预算ID
/// </su... |
using System;
using System.Collections.Generic;
using System.IO;
using CsvHelper;
using System.Linq;
using System.Globalization;
namespace BDSA2020.Assignment02
{
public class Wizard
{
public string Name { get; set; }
// Book or film or...
public string Medium { get; set; }
pu... |
using UWPSettingsEditor.Interfaces;
using UWPSettingsEditor.Controls;
using static UWPSettingsEditor.UWPDeserializer;
using System.Windows.Interop;
using static UWPSettingsEditor.NativeMethods;
using System;
using System.Runtime.InteropServices;
namespace UWPSettingsEditor
{
/// <summary>
/// Interaction logi... |
//------------------------------------------------------------------------------
// <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>
//--... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using A... |
using Boilerplate.Features.Core;
using MongoDB.Bson.Serialization.Attributes;
namespace PhotoGalleryService.Features.Gallery.Models
{
public class Image
: IModel
{
public Image(string name, string description)
{
Name = name;
Description = description;
}
... |
namespace StoryTeller.Results
{
public interface IResultMessage
{
void Tabulate(Counts counts);
// ReSharper disable once InconsistentNaming
string id { get; set; }
string type { get; }
string spec { get; set; }
}
} |
// This code is distributed under MIT license. Copyright (c) 2013 George Mamaladze
// See license.txt or http://opensource.org/licenses/mit-license.php
namespace WordFinder.Trie
{
using System.Collections.Generic;
public class Trie<TValue> : TrieNode<TValue>, ITrie<TValue>
{
public IEnumerable<TVa... |
// 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.Text;
using Xunit;
namespace System.Text.EncodingTests
{
// GetBytes(System.Char[],System.Int32,System.Int32,System.Byte[],System.Int32,... |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license information.
u... |
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Ardalis.EFCore.Extensions;
using ContractorJobBuilderV2.Core.Entities.Aggregates;
using ContractorJobBuilderV2.SharedKernel;
using MediatR;
using Microsoft.EntityFrameworkCore;
namespace ContractorJobBuilderV2.Infrastructure.Data
{
pub... |
using System.Reflection;
using Content.Shared.Chemistry.Reagent;
using Content.Shared.FixedPoint;
using NUnit.Framework;
using Robust.Shared.Serialization.Manager;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.Serialization.Markdown.Mapping;
using Robust.Shared.Serialization.Markdown.Value;... |
namespace HotelSystem.Common
{
public class ApplicationSettings
{
public string Secret { get; set; }
}
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.Sqlite.Internal;
using Xunit;
using Xunit.Abstractions;
namespace Microsoft.EntityFrameworkCore.Quer... |
/*
[문제 설명]
n개의 노드가 있는 그래프가 있습니다.
각 노드는 1부터 n까지 번호가 적혀있습니다.
1번 노드에서 가장 멀리 떨어진 노드의 갯수를 구하려고 합니다.
가장 멀리 떨어진 노드란 최단경로로 이동했을 때 간선의 개수가 가장 많은 노드들을 의미합니다.
노드의 개수 n, 간선에 대한 정보가 담긴 2차원 배열 vertex가 매개변수로 주어질 때,
1번 노드로부터 가장 멀리 떨어진 노드가 몇 개인지를 return 하도록 solution 함수를 작성해주세요.
[제한사항]
노드의 개수 n은 2 이상 20,000 이하입니다.
간선은 양방향이며 총 1개... |
namespace Alabo.Security.Identity.Options {
/// <summary>
/// 登录配置
/// </summary>
public class SignInOptions {
/// <summary>
/// 必须确认电子邮件才能登录
/// </summary>
public bool ConfirmedEmail { get; set; }
/// <summary>
/// 必须确认手机号才能登录
/// ... |
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6365, generator: {generator})
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Commvault.Powershell.Models
{
using static Commvault.Powershell.Runtime.Extensions;
/// <summary>CCL Vault v2</... |
using UnityEngine;
using System.Collections;
public class InviteFriends : MonoBehaviour
{
public void OnClickDismiss()
{
gameObject.SetActive(false);
GameManager.Instance.GameSceneBehaviour.TipsShareActive = false;
}
} |
#if !NETSTANDARD13
/*
* 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 ... |
// -----------------------------------------------------------------------
// <copyright file="AccessClaimsProvider.cs" company="OSharp开源团队">
// Copyright (c) 2014-2019 OSharp. All rights reserved.
// </copyright>
// <site>http://www.osharp.org</site>
// <last-editor>郭明锋</last-editor>
// <last-date>2019-06-1... |
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... |
namespace EncantosSalao.Web.VisaoModelos.SalaoServicos
{
using EncantosSalao.Dado.Modelos;
using EncantosSalao.Servicos.Mapeamento;
public class SalaoServicoDetalhesVisaoModelo : IMapFrom<ServicoSalao>
{
public string IdSalao { get; set; }
public string NomeSalao { get; set; }
... |
using libx;
using System;
using System.Collections.Generic;
namespace ET
{
public class ResourceHelper
{
public static T LoadAsset<T>(string assetPath)
where T : UnityEngine.Object
{
return Assets.LoadAsset(assetPath, typeof(T)).asset as T;
}
public stati... |
using Microsoft.AspNet.SignalR;
using PopForums.Services;
using PopForums.Web;
namespace PopForums.Messaging
{
public class Recent : Hub
{
public Recent()
{
var container = PopForumsActivation.Container;
_forumService = container.GetInstance<IForumService>();
_userService = container.GetInstance<IUserS... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Security.Claims;
using System.Text;
namespace DotNetCqs.Queues.Azure.ServiceBus
{
public class MessageConverter
{
private readonly IMessage... |
// -----------------------------------------------------------------------------
//
// 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.apache.o... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Bogus;
using Checkout.PaymentGateway.Core.Events;
using Checkout.PaymentGateway.Core.Handlers;
using Checkout.PaymentGateway.Core.Incoming;
using Checkout.PaymentGateway.Core.Models;
using Checkout.PaymentGateway.Core.Ports;
using Checkout.Payme... |
//------------------------------------------------------------------------------
// <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>
//--... |
// Copyright (c) 2009 - 2011
// - Sina Iravanian <sina@sinairv.com>
// - Sahar Araghi <sahar_araghi@aut.ac.ir>
//
// This source file(s) may be redistributed, altered and customized
// by any means PROVIDING the authors name and all copyright
// notices remain intact.
// THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT ... |
using Xamarin.UITest;
namespace CollectionViewUpgrade.UITests
{
public abstract class BasePage
{
readonly string pageTitle;
protected readonly IApp app;
protected readonly bool OnAndroid;
protected readonly bool OniOS;
protected BasePage(IApp app, Platform platform, s... |
/****************************************************************************
Copyright 2016 sophieml1989@gmail.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... |
using UnityEngine;
/// <summary>
/// Encoding Textures to byte [] is only possible on the main threat. So saving pictures to disc causes delays at runtime.
/// To avoid this, the picture will be 'Auto-Encoded' while the photo is taken, and stored as a byte array inside the panel-object.
/// Next time, the picture-sa... |
// 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.Collections.Generic;
namespace Microsoft.VisualStudio.Buffers.PooledObjects
{
// HashSet that can be recycled via an object pool
// NOT... |
// <auto-generated />
using System;
using Gourd.IdentityService;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Gourd.IdentityService.Migrations
{
[DbCon... |
/*******************************************************************************
* Copyright 2012-2019 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... |
using RepoDb.Contexts.Execution;
using RepoDb.Exceptions;
using RepoDb.Extensions;
using RepoDb.Interfaces;
using RepoDb.Requests;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Threading.Tasks;
using System.Transactions;
namespace RepoDb
{... |
namespace Pismire_TCC
{
partial class TelaEditarPerfil
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using UnityEngine;
using System.Collections;
public class Dragger : MonoBehaviour
{
public Transform tressfxModel;
public float speed = 100;
public void Update()
{
if (!Input.GetMouseButton (1))
return;
float mouseX = Input.GetAxis ("Mouse X");
float mouseY = Input.GetAxis ("Mouse Y");
this.tressfxM... |
namespace FaxanaduShopPriceEditor
{
partial class FormForepaw
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
namespace Petstore.Models
{
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime;
using System.Runtime.Serialization;
/// <summary>
/// Defines values for UsageUnit.
/// </summary>
[JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
publi... |
using System;
using System.Collections.Generic;
public class MyDict<S, T>
{
public void Add(S key, T value)
{
S[] sa = new S[1];
T[] ta = new T[1];
sa[0] = key;
ta[0] = value;
}
}
public abstract class FastFunc<S, T>
{
public abstract S Invoke(T bla);
}
public class S... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SinglyLinkedList
{
public class Node<T>
{
public T Value { get; set; }
public Node<T> Next { get; set; }
public Node(T value)
{
Value = value;
}
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.