text stringlengths 1 932k |
|---|
namespace UMAP.UnitTests
{
public static class UnitTestData
{
public static float[][] TestData { get; } = new[]
{
new float[] { 0, 0, 5, 13, 9, 1, 0, 0, 0, 0, 13, 15, 10, 15, 5, 0, 0, 3, 15, 2, 0, 11, 8, 0, 0, 4, 12, 0, 0, 8, 8, 0, 0, 5, 8, 0, 0, 9, 8, 0, 0, 4, 11, 0, 1, 12, 7, 0, 0,... |
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using ApiPeek.Core.Extensions;
namespace ApiPeek.Core.Model;
[DataContract]
public class ApiConstructor : ApiBaseItem, IDetail
{
[DataMember]
public ApiMethodParameter[] Parameters { get; set; }
[I... |
using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using NetOffice;
namespace NetOffice.VBIDEApi
{
///<summary>
/// DispatchInterface Window
/// SupportByV... |
@model LanguageSchoolApp.Models.Account.SendCodeViewModel
@{
ViewBag.Title = "Send";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("SendCode", "Account", new { ReturnUrl = Model.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) {
@Html.AntiForgeryToken()
@Html.Hidden("... |
namespace Naos.JobScheduling.Domain
{
using System.Threading;
using System.Threading.Tasks;
using MediatR;
public abstract class JobEventHandler<TData> : IRequestHandler<JobEvent<TData>, bool>
where TData : class
{
public abstract Task<bool> Handle(JobEvent<TData> request, Cancella... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using DocumentFormat.OpenXml.Validation;
using System;
using System.Diagnostics;
using System.Text.RegularExpressions;
namespace DocumentFormat.OpenXml.Validation.Sem... |
#if XNA
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
#endif
namespace SadConsole
{
using System;
using SadConsole.Effects;
/// <summary>
/// A cursor that is attached to a <see cref="Console"/> used for printing.
/// </summary>
pu... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using SchoolBusAPI.Models;
using System.Collections.Generic;
using System.Linq;
namespace SchoolBusAPI.Seeders
{
internal class PermissionSeeder : Seeder<DbAppContext>
{
private string[] P... |
using UnityEngine;
public class WaterFloat : MonoBehaviour
{
public Vector3 MovingDistances = new Vector3(0.002f, 0.001f, 0f); //up and down distance of the wave
public float speed = 1f; //the speed of up and down
public Vector3 WaveRotations; ... |
using System;
using System.Collections.Generic;
using System.Threading.Channels;
using System.Threading.Tasks;
using Bizanc.io.Matching.Core.Domain;
namespace Bizanc.io.Matching.Core.Repository
{
public interface IDepositRepository: IBaseRepository<Deposit>
{
Task<bool> Contains(string hashStr);
... |
using System;
using Ayehu.Sdk.ActivityCreation.Interfaces;
using Ayehu.Sdk.ActivityCreation.Extension;
using Ayehu.Sdk.ActivityCreation.Helpers;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Collections.Generic;
namespace Ayehu.Thycotic
{
public class TY_Search_SDK_Client_Rules : IActivi... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace MTP.DyV {
/*
* Ejercicio 1: Dado un vector V[1..n] de n elementos que se puedan comparar entre sí, diseña
* un algoritmo que encuentre el máximo y el mínimo utilizando la técnica divide y vencerás,
* y calcula su complejid... |
#pragma checksum "..\..\FieldRow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "67F4E148F31EEF82D556B2FC225048B5A202725B"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Chan... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _13._TriFunction
{
public class StartUp
{
public static void Main()
{
int sum = int.Parse(Console.ReadLine());
List<string> names = Console.ReadLine().Split().ToList();
var filter... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Authorization;
namespace Hasin.Roles.Dto
{
[AutoMapFrom(typeof(Permission))]
public class PermissionDto : EntityDto<long>
{
public string Name { get; set; }
public string DisplayName { get; set; }
public string De... |
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Diagnostics;
using Microsoft.VisualBasic;
using System.Linq;
using System;
using System.Collections;
using System.Xml.Linq;
using System.Windows.Forms;
using System.Data.OleDb;
using System.IO;
namespace HBRS
{
public partial cl... |
/*
* Copyright 2014 Systemic Pty Ltd
*
* 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 a... |
// 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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Screens;
using osu.Game.Scre... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// This delegate is similar to an EventHandler:
/// The first parameter is the sender,
/// The second parameter is the arguments / info to pass
/// </summary>
using Handler = System.Action<System.Objec... |
// Copyright (c) 2020 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.IO;
using NUnit.Framework;
using SIL.Archiving.Generic;
using SIL.IO;
namespace SIL.Archiving.Tests
{
[TestFixture]
public class ArchivingFileSystemTests
{
[T... |
using Kyozy.MiniblinkNet;
using System.Windows.Controls;
namespace MainUI.View
{
/// <summary>
/// PageMiniBlink.xaml 的交互逻辑
/// </summary>
public partial class PageMiniBlink : Page
{
public PageMiniBlink()
{
InitializeComponent();
}
}
} |
#region Copyright (c) 2006-2011 Widgetsphere LLC, All Rights Reserved
//--------------------------------------------------------------------- *
// Widgetsphere LLC *
// Copyright (c) 2006-2011 All Rights reserved *
// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Poderosa.Forms;
using Poderosa.Plugins;
[assembly: PluginDeclaration(typeof(Poderosa.TerminalControl.InvisibleModePlugin))]
namespace Poderosa.TerminalControl
{
/// <summary>
/// Poderosa plugin that will turn on invisible ... |
using NLog;
using System;
using System.Data.Common;
using System.Reflection;
using System.Threading.Tasks;
namespace MyGeotabAPIAdapter.Database.DataAccess
{
/// <summary>
/// A class that facilitates interaction between repository classes (that perform database CRUD operations) and <see cref="UnitOfWork"/> i... |
namespace BEditor.Media.PCM
{
public interface IPCMConvertable<T> where T : unmanaged, IPCM<T>
{
public void ConvertTo(out T dst);
public void ConvertFrom(T src);
}
} |
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("Win... |
using System.ComponentModel;
namespace SignNow.Net.Model
{
/// <summary>
/// The scope granted to the access token.
/// </summary>
public enum Scope
{
/// <summary>
/// Scope which granted access to all services.
/// </summary>
All,
/// <summary>
///... |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityModel;
using IdentityServer4.Events;
using IdentityServer4.Extensions;
using IdentityServer4.Models;
using IdentityServer4.Servi... |
//
// DO NOT MODIFY! THIS IS AUTOGENERATED FILE!
//
namespace Xilium.CefGlue.Interop
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Security;
[StructLayout(LayoutKind.Sequential, Pack = libcef.ALIGN)]
[SuppressMessage("Microsoft.Des... |
using System.Threading.Tasks;
using ToeKnife.BspEditor.Documents;
using ToeKnife.BspEditor.Primitives.MapObjects;
using ToeKnife.BspEditor.Rendering.Resources;
using ToeKnife.Rendering.Resources;
namespace ToeKnife.BspEditor.Rendering.Converters
{
/// <summary>
/// Converts <see cref="IMapObject"/>s for render... |
// DeflateStream.cs
// ------------------------------------------------------------------
//
// Copyright (c) 2009-2010 Dino Chiesa.
// All rights reserved.
//
// This code module is part of DotNetZip, a zipfile class library.
//
// ------------------------------------------------------------------
//
// This code is l... |
using ArcanaStudio.Toolkit.Functional;
namespace ArcanaStudio.Toolkit.Extensions
{
public static class OptionExtensions
{
public static bool HasValue<T>(this Option<T> option)
{
return !option.IsNull() && !(option is None<T>);
}
}
} |
@{
ViewData["Title"] = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Index</h2>
<p>必须使用域名打开:api.flybirdyoyo.com ;并登录</p>
<a href="@Model.AuthCodeAddress" target="_parent">菜鸟登录授权</a> |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace teh13th.String.Extensions.Tests
{
[TestClass]
public sealed class EqualityExtensionsTests : TestBase
{
[TestMethod, Timeout(DefaultTimeout)]
public void EqualsI_True_IfDifferentCase()
{
const string str1 = "Aaaaa";
co... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using Microsoft.ReverseProxy.RuntimeModel;
namespace Microsoft.ReverseProxy.Utilities
{
internal class ParsedMetadataEntry<T>
{
private readonly Parser _parser;
private readonly string _metadataName;
... |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
... |
using NBitcoin;
using NBitcoin.JsonConverters;
using Newtonsoft.Json;
namespace Jellyfish.API.Wallet;
public class InWalletTransaction
{
public decimal Amount { get; init; }
public double Fee { get; init; }
public int Confirmations { get; init; }
[JsonConverter(typeof(UInt256JsonConverter))]
publ... |
// *** 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... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
// Copyright (c) 2020 .NET Foundation and Contributors. All rights reserved.
// 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 full license information.
//----------------------------... |
using System;
using System.Collections.Generic;
namespace BookStore.ViewModels.Books
{
public class AuthorUpdateViewModel
{
public int Id { get; set; }
public string Name { get; set; }
public string SurName { get; set; }
public string Birthday { get; set; }
public Lis... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
using Shipbot.Data;
namespace ... |
namespace CSparse.Interop.CUDA
{
using System;
public class CuSolverException : Exception
{
public SolverStatus Status { get; private set; }
/// <summary>
/// Initializes a new instance of the <see cref="CuSolverException"/> class.
/// </summary>
/// <param name="... |
namespace MAVN.Service.Referral.MsSqlRepositories.Entities
{
public enum ReferralLeadState
{
Pending,
Confirmed,
Approved,
Rejected
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace EtohumTask
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pa... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace Egnyte.Api.Links
{
internal class LinkDetailsResponse
{
[JsonProperty(PropertyName = "path")]
public string Path { get; set; }
[JsonProperty(PropertyName = "type")]
public string LinkType ... |
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace HotChocolate.Types.Pagination
{
internal sealed class QueryableOffsetPagination<TEntity>
: OffsetPaginationAlgorithm<IQueryable<TEntity>, TEntity>
{
public static QueryableOffset... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.IO;
using System.Windows;
using System.Drawing;
namespace PixelArtUpscaler.Image
{
public class SVGDocument
{
XmlWriter m_writer;
MemoryStream m_stream;
XmlWriterSetting... |
using PGManager.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace PGManager.DataAccess.Repository.IRepository
{
public interface IApplicationUserRepository : IRepository<ApplicationUser>
{
}
} |
namespace main.Contracts
{
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Entities.Models;
using PagedList.Core;
/// <summary>
/// Interface with all the method needed
/// </summary>
public interface IRepos... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Enyim.Caching.Memcached.Results.Factories
{
public class DefaultMutateOperationResultFactory : IMutateOperationResultFactory
{
public IMutateOperationResult Create()
{
return new MutateOperationResult()
{
M... |
using System;
using System.Collections.Generic;
using System.Linq;
using FactoryBasedCombatSystem;
using GroupSystem;
using UnityEngine;
namespace ArenaSystem
{
public class ArenaManager : MonoBehaviour
{
[SerializeField] private ArenaBoss arenaBoss;
[SerializeField] private Transform playerSt... |
/*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2016 Dominik Reichl <dominik.reichl@t-online.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either versio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SSIS.Models;
using SSIS.Payloads;
namespace SSIS.IService
{
public interface IRetrievalService
{
Task<ApiResponse> CreateRetrieval(List<Guid> requisitionIds, string email);
Task<ApiResponse> GetAllRetrievalsBy... |
/*
* 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;
using Microsoft.EntityFrameworkCore;
namespace BTCPayServer.Data
{
public class AddressInvoiceData
{
/// <summary>
/// Some crypto currencies share same address prefix
/// For not having exceptions thrown by two address on different network, we suffix by "#CRYPTOCODE"
... |
namespace YouGe.Core.Interface.IDbContexts
{
public class DbContextOption
{
public string TagName { get; set; }
/// <summary>
/// 数据库连接字符串
/// </summary>
public string ConnectionString { get; set; }
/// <summary>
/// 实体程序集名称
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sandbox;
namespace QuadTree
{
public class WormsQuadTree
{
//Each node, at its smallest level, is an instance of the marching cubes algorithm.
//This data structure compresses filled and emp... |
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System;
using System.Runtime.Serialization;
namespace Microsoft.Test.FaultInjection
{
/// <summary... |
//!==============================================================
//! Project : I Clone Albion
//! Developer : SkyClerik
//! Company : MyLitleCompany
//! Data: 31.07.2020
//!==============================================================
using UnityEngine;
namespace GameSpace
{
public class ManagerUpdateComponent... |
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
using Graphics;
using Util;
using Lua;
namespace GpuNoise
{
public class Pow : Module
{
ShaderProgram myShaderProgram;
public float pow = 0.5f;
float last... |
namespace SEDC.NotesApp.Domain.Enums
{
public enum TagEnum
{
Health = 1,
Work,
Cooking
}
} |
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
namespace DarkLoop.Azure.Functions.Authorize.Security
{
internal class EnabledAuthHelper : AuthHelpe... |
using System.Xml.Serialization;
namespace ProductShop.Dtos.Import
{
[XmlType("Category")]
public class ImportCategoryDTO
{
[XmlElement("name")]
public string Name { get; set; }
}
} |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
using Xamarin.Forms.Internals;
using WBinding = Windows.UI.Xaml.Data.Binding;
using WBindingExpression = 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("Sec... |
// TicketDesk - Attribution notice
// Contributor(s):
//
// Stephen Redd (stephen@reddnet.net, http://www.reddnet.net)
//
// This file is distributed under the terms of the Microsoft Public
// License (Ms-PL). See http://opensource.org/licenses/MS-PL
// for the complete terms of use.
//
// For any distribution ... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: Bruno Lowagie, Paulo Soares, et al.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation wit... |
<!DOCTYPE html>
<html lang="en">
<title>@ViewData["Title"] - Samples.AspNetCoreRazorPages</title>
<body>
@RenderBody()
</body>
</html> |
/*
* 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;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace PartyBot.Database
{
public class CircuitTeamTableObject
{
[Key]
public string Key { get; set; }
public string TeamName { get; set; }
public int TotalTimesPlayed { get; set; }
... |
using System;
using EncompassApi.Extensions;
using EnumsNET;
using Newtonsoft.Json;
namespace EncompassApi.Services.Appraisal
{
/// <summary>
/// AppraisalOptions
/// </summary>
public sealed class AppraisalOptions : ServiceOptions
{
/// <summary>
/// Type of appraisal service requ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class csharp : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Request.RequestType.Equals("... |
using SabjiMandi.Entities;
using SabjiMandi.Web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SabjiMandi.Web.ViewModels
{
public class CheckoutViewModel
{
public List<Product> CartProducts { get; set; }
public List<int> CartProductIDs {... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace LionFire.Execution.Configuration
{
/// <summary>
/// The Uri that summarizes the request for execution.
/// Examples:
/// - gist:lionfire/SampleScr... |
// *** 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.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Xamarin.Forms.Xaml;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associa... |
using System;
using System.Collections.Generic;
using System.IO;
namespace System.Text.LALR
{
internal static class Extensions
{
public static bool AddRange<T>(this HashSet<T> source, HashSet<T> set)
{
var change = false;
foreach (var item in set)
change... |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.trade.applepay.authentication.submit
/// </summary>
public class AlipayTradeApplepayAuthenticationSubmitRequest : IAlipayRequest<Alipay... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
namespace PaketLoadScripts
#load "/home/justin/code/fsharp/GiraffeWebApp/GiraffeWebApp/.paket/load/netcoreapp3.0/Microsoft.AspNetCore.Http.Abstractions.csx"
#r "/home/justin/.nuget/packages/microsoft.aspnetcore.routing.abstractions/2.1.1/lib/netstandard2.0/Microsoft.AspNetCore.Routing.Abstractions.dll" |
using System;
namespace Iyzipay.Request
{
public class RetrieveCheckoutFormRequest : BaseRequest
{
public String Token { set; get; }
public override String ToPKIRequestString()
{
return ToStringRequestBuilder.NewInstance()
.AppendSuper(base.ToPKIRequestStri... |
namespace OneApi.Model
{
public class AccountBalance
{
public AccountBalance()
{
}
public Currency Currency;
public decimal Balance;
public override string ToString()
{
return "AccountBalance {balance=" + Balance + ", currency=" + Currency + "}";
}
}
} |
using StoreManager2.Infrastructure.Identity.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.WebUtilities;
using System.ComponentM... |
// ----------------------------------------------------------------------------------
// 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.... |
using UnityEngine;
namespace LD39 {
public class AttackDetector : MonoBehaviour {
public float range;
public Character parent;
private bool _isAttacking;
public bool IsAttacking {
get {
return _isAttacking;
}
set {
_isAttacking = value;
}
}
private SphereCollider col;
public void ... |
// Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the Microsoft Public License (Ms-PL) license. See LICENSE file in the project root for full license information.
#pragma warning disable SA1118 // ParameterMustNotSpanMultipleLines
namespace PCLCrypto.Formatters
{
using System;
using Syst... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Identity;
using PartySquirrel.Models;
using System.Threading.Tasks;
using PartySquirrel.ViewModels;
using Microsoft.AspNetCore.Authorization;
using System.Security.Claims;
using System;
namespace PartySquirrel.Controllers
{
public class AccountController: Co... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace ERMSWeb.Areas.HelpPage.ModelDescriptions
{
public class EnumTypeModelDescription : ModelDescription
{
public EnumTypeModelDescription()
{
Values = new Collection<EnumValueDescription>();
}
... |
using AutoMapper;
using Sfa.Tl.ResultsAndCertification.Models.Contracts.TrainingProvider;
using Sfa.Tl.ResultsAndCertification.Web.Mapper;
using Sfa.Tl.ResultsAndCertification.Web.Mapper.Resolver;
using Sfa.Tl.ResultsAndCertification.Web.ViewModel.TrainingProvider.Manual;
using System.Threading.Tasks;
namespace Sfa.T... |
using System;
using System.Runtime.InteropServices;
using __s32 = System.Int32;
using __u16 = System.UInt16;
using __u32 = System.UInt32;
// ReSharper disable FieldCanBeMadeReadOnly.Local
// ReSharper disable ArrangeTypeMemberModifiers
// ReSharper disable BuiltInTypeReferenceStyle
// ReSharper disable InconsistentNam... |
//-----------------------------------------------------------------------
// <copyright file="SkippedSection.cs">
// MS-PL
// </copyright>
// <license>
// This source code is subject to terms and conditions of the Microsoft
// Public License. A copy of the license can be found in the License.html
// file at ... |
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0xE91FC25A)]
public class STU_E91FC25A : STU_4B6F9A4C {
[STUFieldAttribute(0x887B7916, ReaderType = typeof(InlineInstanceFieldReader))]
public STU_E095AE40 m_887B7916;
... |
// <auto-generated>
// 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
// re... |
using Foundation;
using Plugin.LocalNotification.EventArgs;
using Plugin.LocalNotification.iOSOption;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using UIKit;
using UserNotifications;
namespace Plugin.LocalNotification.P... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.