text stringlengths 1 932k |
|---|
// *** 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 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... |
/*
* 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 ... |
// Copyright (c) 2004-2010 Azavea, 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, including without limitation the rights to use,
// copy, modify, merge, ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Follower : Spell {
private TrailRenderer trailRenderer;
void Awake() {
trailRenderer = GetComponent<TrailRenderer>();
}
public override void Destroy() {
// if(destroyPrefab) {
// Ins... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace GF.Common
{
public abstract class EntityDef
{
//---------------------------------------------------------------------
List<string> mListComponentDef = new List<string... |
//using System;
//using System.Collections.Generic;
//using System.IO;
//using System.Linq;
//using System.Runtime.Serialization.Formatters.Binary;
//using System.Text.RegularExpressions;
//using Assets.Gameplay.Components;
//using Unity.Burst;
//using Unity.Collections;
//using Unity.Collections.LowLevel.Unsafe;
//us... |
/*
*
* (c) Copyright Ascensio System Limited 2010-2020
*
* 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 la... |
/*
Copyright 2011 Microsoft Corp.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Ipc;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using SassTray.Properties;
n... |
using System;
using System.Collections.Generic;
namespace Tera.DamageMeter
{
public class DamagePlaceHolders
{
public static PlaceHolder FromPlayerInfo(PlayerInfo playerInfo, FormatHelpers formatHelpers)
{
var placeHolders = new List<KeyValuePair<string, object>>();
pla... |
namespace VRPool_d00
{
public static partial class Subject
{
public static string Add(string a, string b)
{
throw new System.NotImplementedException();
}
public static uint GetNbOccurance(string str, char c)
{
throw new System.NotImplementedExcep... |
using Microsoft.Practices.Prism.StoreApps;
using Windows.ApplicationModel;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace VKSaver.Views
{
public sealed partial class CachedView : VisualStateAwarePage
{
public CachedView()
{
this.InitializeComponent();
... |
/*
* 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.Text;
using AllenCopeland.Abstraction.OldCodeGen.Utilities.Collections;
namespace AllenCopeland.Abstraction.OldCodeGen.Compiler
{
public interface IIntermediateCompilerModuleActionResult :
IIntermediateCompilerResultsBase
{
/// <summa... |
// 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... |
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
using System;
using System... |
namespace DaramRenamer
{
public enum FileDateKind
{
Creation,
LastAccess,
LastModify,
Now,
}
} |
/*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* 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 ... |
using System;
using System.Linq;
using System.Reflection;
using Jint;
using Jint.Native;
using Jint.Native.Error;
using Jint.Native.Object;
using Jint.Parser;
using Jint.Runtime;
using Jint.Runtime.Descriptors;
using Jint.Runtime.Interop;
using Microsoft.Scripting.Ast;
using Oxide.Core.Extensions;
using Oxide.Core.Jav... |
#if NETCOREAPP || NET5_0 || NET6_0
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime.InteropServices;
using Dodo.Primitives.Tests.Uuids.Data.Models;
#endif
#if NETFRAMEWORK
using System;
using System.Collections.Generic;
using System.Diagnos... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Cont... |
using System;
using System.Threading;
using System.Threading.Tasks;
using AutoFixture;
using AutoFixture.Xunit2;
using FakeItEasy;
using Functional.CQS.AOP.CommonTestInfrastructure.DummyObjects;
using Functional.CQS.AOP.MetricsCapturing;
using Xunit;
namespace Functional.CQS.AOP.IoC.PureDI.MetricsCapturing.Tests
{
pu... |
//
// System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonPositiveInteger
//
// Authors:
// Martin Willemoes Hansen (mwh@sysrq.dk)
// Lluis Sanchez Gual (lluis@ximian.com)
//
// (C) 2003 Martin Willemoes Hansen
//
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted,... |
using System.Collections.Generic;
using System.Linq;
namespace WebAnchor.RequestFactory
{
internal static class StringExtensions
{
internal static string Replace(this string @this, IDictionary<string, string> replacements)
{
return replacements.ToList().Aggregate(@this,
... |
using System;
namespace Domain
{
public class Comment
{
public int Id { get; set; }
public string Body { get; set; }
public AppUser Author { get; set; }
public Activity Activity { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
... |
using System.Data;
namespace Fengine.Backend.LinearAlgebra.Matrix;
public class Sparse : IMatrix
{
public void CopyTo(Sparse m)
{
m.Data["ggl"] = new double[Data["ggl"].Length];
Data["ggl"].AsSpan().CopyTo(m.Data["ggl"]);
m.Data["ggu"] = new double[Data["ggu"].Length];
Data["g... |
namespace MassTransit.Azure.ServiceBus.Core.Contexts
{
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Context;
using GreenPipes;
using Internals.Extensions;
using Microsoft.Azure.ServiceBus;
using Microsoft.Azure.ServiceBus.Core;
usi... |
// ----------------------------------------------------------------------------------
//
// 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
// ht... |
using System.Collections.Generic;
using Xero.Api.Core.Endpoints;
using Xero.Api.Core.Model;
using Xero.Api.Core.Model.Setup;
using Organisation = Xero.Api.Core.Model.Organisation;
namespace Xero.Api.Core
{
public interface IXeroCoreApi
{
IAccountsEndpoint Accounts { get; }
AllocationsEndpoint A... |
using ExcelFormsTest.ViewModels;
using ExcelFormsTest.Views;
using Microsoft.Identity.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
namespace ExcelFormsTest
{
public class App : Application
{
const string AppId = "2927aace-2535-471... |
using System;
using System.IO;
using System.Text.Json;
namespace ATheory.Util.Extensions
{
public class JsonShell<T> where T : class
{
#region Properties
public string Error { get; private set; }
#endregion
#region Public methods
public T Load(string filename)
... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Encodings.Web;
using Xunit;
namespace Microsoft.Framework.WebEncoders
{
publi... |
using System.Collections.Generic;
using System.Text;
using Subgurim.Maps.Core.Google;
namespace Subgurim.Maps.Core.Helpers
{
public class ArrayHelper
{
internal static string CreateLatLngArray(IList<LatLng> path, string arrayName)
{
var sb = new StringBuilder();
sb.App... |
namespace EA.Iws.Web.Areas.AddressBook.Controllers
{
using System;
using System.Threading.Tasks;
using System.Web.Mvc;
using Core.AddressBook;
using Infrastructure.Authorization;
using Prsd.Core.Mediator;
using Requests.AddressBook;
[AuthorizeActivity(typeof(DeleteAddressBookRecord))]
... |
using Abmes.DataCollector.Collector.Common.Configuration;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Abmes.DataCollector.Collector.Common.Misc
{
public interface IIdentityServiceHttpRequestConfigurator
... |
namespace Volante
{
using System;
using System.Collections;
using System.Collections.Generic;
/// <summary> Interface of object spatial index.
/// Spatial index is used to allow fast selection of spatial objects belonging to the specified rectangle.
/// Spatial index is implemented using Guttma... |
//-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Akka.NET Project">
// Copyright (C) 2015-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//... |
#if UNITY_5 || UNITY_5_3_OR_NEWER
using System;
using System.Collections.Generic;
using Svelto.ECS.Hybrid;
using UnityEngine;
namespace Svelto.ECS.Extensions.Unity
{
public static class EntityDescriptorHolderHelper
{
public static EntityComponentInitializer CreateEntity<T>(this Transform contextHolder,... |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
#if !(NETCF_1_0 || PORTABLE || NETFX_CORE)
using System;
using System.Security.Cryptography;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng
{
public class CryptoApiEntropySourceProvider
: IEntrop... |
namespace ZLogger
{
public interface IZLoggerState
{
IZLoggerEntry CreateLogEntry(LogInfo logInfo);
}
} |
using System;
using System.Diagnostics;
using Autofac.Core;
using Autofac.Extras.Moq;
using Moq;
using NUnit.Framework;
namespace AppRes.Test.Testing
{
public abstract class BaseUnitTestFixture<T> : BaseUnitTestFixture
{
private Lazy<T> _subject;
[SetUp]
public void __SetUpSubject()
... |
// 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.Diagnostics;
using Internal.Win32;
namespace System.Globalization
{
public partial class Japanese... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Ratcow.DynamicInterface
{
public static class MethodInfoExtension
{
static IEnumerable<MethodInfo> GetPublicMethodsImpl(Type type)
{
if (!type.IsInterface)
return t... |
using FirmDb;
using FirmDb.Presentation;
using System;
namespace CompanyDB
{
class Program
{
static void Main(string[] args)
{
FirmContext cm = new FirmContext();
Display d = new Display();
}
}
} |
namespace Milkitic.OsuPlayer.Winforms
{
partial class LyricControlForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </s... |
namespace Remnant.DataGateway.Interfaces
{
public interface IOrderBy : IExecuteList, IExecuteScalar
{
/// <summary>
/// Specify the order by column
/// </summary>
/// <param name="columnName">The name of the column or expression</param>
/// <param name="orderBy">Optional, acsending (default) or descendi... |
@{
ViewData["Title"] = "Privacy Policy";
}
<h1>@ViewData["Title"]</h1>
<p>Use this page to detail your site's privacy policy.</p>
<img src="~/images/MyImage.jpg" class="img" alt="My image" />
<p>
Red Rose requres <br />
webBuilder.UseStartup<StartupRose>();
</p>
<img src="~/StaticFiles/images/re... |
// Copyright (c) 2002-2018 "Neo Technology,"
// Network Engine for Objects in Lund AB [http://neotechnology.com]
//
// This file is part of Neo4j.
//
// 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 ... |
// 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 may not ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TDD_Katas_project.BlackJack
{
public class Hand : IHand
{
public int Points { get { return FirstCard.Points + SecondCard.Points; } }
public ICard FirstCard { get; }
... |
using System;
using System.Collections.Generic;
namespace Entitas {
public delegate void EntityComponentChanged(
IEntity entity, int index, IComponent component
);
public delegate void EntityComponentReplaced(
IEntity entity, int index, IComponent previousComponent, IComponent newCompone... |
using System.Text;
namespace Dotnettency
{
public class RequestAuthorityTenantIdentifierFactory<TTenant> : HttpContextTenantIdentifierFactory<TTenant>
where TTenant : class
{
public RequestAuthorityTenantIdentifierFactory(IHttpContextProvider httpContextAccessor) : base(httpContextAccessor)
... |
// -------------------------------------------------------------------------------------
// COPYRIGHT (c) 2016 ENESY.VN
// THIS CLASS IS USED AS INSTANCE OF A SHEET (A PRINT PAGE)
// -------------------------------------------------------------------------------------
// 2016-05-25: Adding basic Properties & Methods
/... |
using System;
using System.Collections.Generic;
using System.Data;
using ExcelDataReader.Core;
namespace ExcelDataReader
{
/// <summary>
/// A generic implementation of the IExcelDataReader interface using IWorkbook/IWorksheet to enumerate data.
/// </summary>
/// <typeparam name="TWorkbook">A type im... |
using System.Text;
using Machine.Specifications;
namespace ActivityStreams.Tests.Activities
{
[Subject("Streams")]
public class When_comparing_two_equal_activities
{
Establish context = () =>
{
var streamId = Encoding.UTF8.GetBytes("streamId");
var id1 ... |
// ---------------------------------------------------------------------
//
// Copyright (c) 2018-present, Magic Leap, Inc. All Rights Reserved.
// Use of this file is governed by the Creator Agreement, located
// here: https://id.magicleap.com/terms/developer
//
// ----------------------------------------------------... |
using System;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
namespace UnityEssentials.Extensions
{
public static class ExtString
{
public enum Alignment
{
Lef... |
// 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.Drawing;
using System.Runtime.InteropServices;
using Accessibility;
using static System.Windows.Forms.... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Vault.Core
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection... |
// 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.
#nullable disable
using System.Linq;
using NUnit.Framework;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using osu.Framework.Graph... |
using System;
using System.Grid;
namespace UnityEngine
{
/// <summary>
/// Represent the coordinates of the 2D grid. The value of each component is greater than or equal to 0.
/// </summary>
[Serializable]
public struct GridVector : IEquatable<GridVector>
{
[SerializeField, Min(0)]
... |
using System.Data.Common.CommandTrees;
namespace EFIngresProvider.SqlGen.Functions
{
public class DiffTimeHandler : FunctionHandler
{
public string Unit { get; set; }
public override ISqlFragment HandleFunction(SqlGenerator sqlGenerator, DbFunctionExpression e)
{
AssertArg... |
using System;
using System.Threading.Tasks;
using AElf.Benchmark.PerformanceTestContract;
using AElf.ContractTestBase.ContractTestKit;
using AElf.Kernel;
using AElf.Kernel.Blockchain.Application;
using AElf.Kernel.SmartContract.Application;
using AElf.OS;
using AElf.Types;
using BenchmarkDotNet.Attributes;
using Google... |
//
// 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.Collections;
using System.Collections.Generic;
using System;
namespace HUX.Collections
{
/// <summary>
/// An Object Col... |
using System;
using De.Osthus.Ambeth.Util;
namespace De.Osthus.Ambeth.Typeinfo
{
public class Modifier
{
public static readonly int PUBLIC = 0x1;
public static readonly int PRIVATE = 0x2;
public static readonly int PROTECTED = 0x4;
public static readonly int STATIC = 0x8;
public static readonly ... |
/*
Copyright (C) 2008 Toyin Akin (toyin_akin@hotmail.com)
Copyright (C) 2009 Siarhei Novik (snovik@gmail.com)
Copyright (C) 2008, 2009 , 2010 Andrea Maggiulli (a.maggiulli@gmail.com)
This file is part of QLNet Project https://github.com/amaggiulli/qlnet
QLNet is free software: you can redistribute it and/or mod... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _03.PeriodicTable
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
var chemicalElements = new SortedSet<string>();
for (int i = 0; i < n;... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
// Shawn M. Crawford - [sleepy9090] - 2017
namespace DragonWarriorTownAndDungeonEditor
{
public partial class FormTantegelCastleBa... |
// Copyright (c) Isaiah Williams. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Store.PartnerCenter.RateCards
{
using System.Threading;
using System.Threading.Tasks;
using Models.RateCards;
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using Alabo.Datas.Queries.Enums;
using Alabo.Domains.Repositories.Mongo.Context;
using Alabo.Exceptions;
using MongoDB.Bson;
using MongoDB.Driver;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Alabo.Industry.... |
// *** 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... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Csrs.Interfaces.Dynamics.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.... |
using InsaneOne.Core;
using UnityEngine;
namespace InsaneSystems.Core.UI
{
public class FloatingPanel : MonoBehaviour
{
public Transform CanvasTransform;
public RectTransform RectTransform;
public Transform FollowTarget;
public float VerticalOffset;
void Start()
... |
// https://leetcode.com/problems/pacific-atlantic-water-flow/
//
// OJ is down but it was accepted
public class Solution {
public IList<int[]> PacificAtlantic(int[,] matrix) {
var queue = new Queue<Tuple<int, int, int>>();
var result = new HashSet<KeyValuePair<int, int>>();
var codes = new... |
using System;
using System.Diagnostics;
namespace StackingEntities.Model.Metadata
{
/// <summary>
/// Indicates that the method is contained in a type that implements
/// <c>System.ComponentModel.INotifyPropertyChanged</c> interface and this method
/// is used to notify that some property value changed
/// </summ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace WeChat.Core.Model.EntityModel.ERP
{
public class VW_OrderVolume3
{
public string dtype { get; set; }
public string datet { get; set; }
public int orders { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class FizzyoBreath : MonoBehaviour
{
BreathRecogniser breathRecogniser;
public float FizzyoPressure;
public float breathVolume;
public Image OuterBar;
public float OuterBarFill = 0f;
p... |
using Prism.Generators.PageConstants;
namespace PCG.Sample.Views
{
[PageConstant]
public partial class MainPage
{
public MainPage()
{
InitializeComponent();
}
}
} |
namespace Shop.Web.Helpers
{
using System.IO;
public class FilesHelper
{
public static bool UploadPhoto(MemoryStream stream, string folder, string name)
{
try
{
stream.Position = 0;
var path = Path.Combine(Directory.GetCurrentDirecto... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DatingApp.API.Data;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace DatingApp.API.Controllers
{
//http://localhost:5000/api/values
[Ro... |
#region License
// Copyright (c) 2010-2019, Mark Final
// 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 source code must retain the above copyright notice, this
// ... |
//HintName: MediatorExtensions.g.cs
#nullable enable
public static class TestsSenderExtensions
{
public static global::System.Threading.Tasks.ValueTask<T> RequestAsync<T>(this global::Zapto.Mediator.ISender sender, global::Request<T> request, global::System.Threading.CancellationToken cancellationToken = default)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace DigitalPlatform.Interfaces
{
public class ScriptManager
{
// 获得从指定类或者接口派生的类
public static Type GetDerivedClassType(Assembly assembly,
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public float speed = 5f;
public float jumpSpeed = 8f;
private float movement = 0f;
private Rigidbody2D rigidBody;
public Transform groundCheckPoint;
public float groundCh... |
// 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.
//
//
//
// Description: Internal class implemented to primarily disable the XAML cut and paste of content from a
/... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#region Using directives
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Management.Automation;
#endregion
/******************************************************************************
*... |
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
namespace HubAnalytics.AspNet4.Implementation
{
public class HeaderParser : IHeaderParser
{
public Dictionary<string, string[]> CaptureHeaders(IReadOnlyCollection<string> captureHeaders, NameValueCollection head... |
using System;
using Raven.Client.Documents;
using Raven.TestDriver;
namespace Mcrio.AspNetCore.Identity.On.RavenDb.Tests.Integration
{
public class RavenDbFixture : RavenTestDriver, IDisposable
{
private readonly Lazy<IDocumentStore> _documentStore;
public RavenDbFixture()
{
... |
using Masuit.MyBlogs.Core.Infrastructure.Repository.Interface;
using Masuit.MyBlogs.Core.Models.Entity;
namespace Masuit.MyBlogs.Core.Infrastructure.Repository
{
public partial class CommentRepository : BaseRepository<Comment>, ICommentRepository
{
/// <summary>
/// 添加实体
/// </summary>... |
using SuperMap.WinRT.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.Storage.Streams;
namespace SuperMap.WinRT.Mapping
{
/// <summary>
/// <para>${mapping_OfflineStorage_Title}<... |
#nullable disable
namespace VocaDb.Model.Domain.Images
{
/// <summary>
/// Provides information about an entry image (both original full size images and thumbnails)
/// that is saved on the website.
/// External images such as song thumbnails are not supported by this.
/// </summary>
public interface IEntryIma... |
namespace WpfHelpers.Collections.Generic {
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// Represents a dictionary that supports prefixes on the key
/// </summary>
/// <typeparam name="TValue"> The type of the value. </t... |
using System;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using FluentAssertions;
using Sitecore.Commerce.Engine;
using Sitecore.Commerce.EntityViews;
using Sitecore.Commerce.Extensions;
using Sitecore.Commerce.Plugin.Catalog;
using S... |
using System;
using System.Collections.Generic;
using System.Text;
using ModdingUtils.MonoBehaviours;
namespace Hicard.MonoBehaviors
{
public class Test_Mono : MonoBehavior
{
private int stacks = 0;
private int Maxstacks = 20;
public float rampUp = 1f;
private float timeSinceSho... |
using Graphs.Indexes;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Graphs.Traversals
{
public abstract class Traversal<TKey>
: ITraversal<TKey>
where TKey : IComparable, IComparable<TKey>, IEquatable<TKey>
{
protected readonly IAdjacencyIndex<TKey> Adjac... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
using NUnit.Framework;
namespace Xamarin.Forms.Xaml.UnitTests
{
public partial class Bz41296 : ContentPage
{
public Bz41296()
{
InitializeComponent ();
}
public Bz41296(bool useCompiledXaml)
{
//this stub will be replaced at comp... |
namespace DataGridSample
{
using System;
using System.Data;
using System.Windows.Forms;
using System.Drawing;
using System.ComponentModel;
public class MyDataGridForm : Form
{
private DataTable dataTable;
private DataGridSample.MyDataGrid grid = new DataGridSample.MyData... |
using System;
namespace UnityEngine.ProBuilder.KdTree.Math
{
[Serializable]
abstract class TypeMath<T> : ITypeMath<T>
{
#region ITypeMath<T> members
public abstract int Compare(T a, T b);
public abstract bool AreEqual(T a, T b);
public virtual bool AreEqual(T[] a, T[] b)
{
if (a.Length != b.Length)... |
[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(eService.Web.App_Start.NinjectWebCommon), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(eService.Web.App_Start.NinjectWebCommon), "Stop")]
namespace eService.Web.App_Start
{
using System;
using System.Web;
using Mic... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.