text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor.Searcher;
using UnityEditor.VisualScripting.GraphViewModel;
using UnityEditor.VisualScripting.Model;
using UnityEditor.VisualScripting.Model.Stencils;
using UnityEngine;
using UnityEngine.UIElements;
namespace UnityEditor.VisualScript... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities;
using Microsoft.MixedReality.Toolkit.Utilities.Editor;
using System.Collections.Generic;
using UnityEditor;
using Uni... |
using CardanoSharp.Wallet.Models.Transactions.Scripts;
using System;
using System.Collections.Generic;
using System.Text;
namespace CardanoSharp.Wallet.TransactionBuilding
{
public class ScriptPubKeyBuilder: ABuilder<ScriptPubKey>
{
public ScriptPubKeyBuilder()
{
_model = new Scrip... |
using AbhsChinese.Domain.Entity.Subject;
using AbhsChinese.Domain.JsonEntity.Subject;
using System.Collections.Generic;
namespace AbhsChinese.Web.Models.Subjects
{
public class MultipleChoiceFillInBlankSubjectVm : SubjectVm
{
public IList<SubjectOption> Options { get; set; }
public int OptionT... |
using System;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
// <Snippet1>
public class MyClass
{
[XmlArray (IsNullable = true)]
public string [] IsNullableIsTrueArray;
[XmlArray (IsNullable = false)]
public string [] IsNullableIsFalseArray;
}
// </Snippet1> |
using System.Collections.Generic;
using MiniSqlParser;
using NUnit.Framework;
namespace SqlBuilderTester
{
[TestFixture]
public class ResultInfoASTTester
{
[Test]
public void SimpleQuery() {
Result result;
result = this.GetResultInfoList(@"select x, y, z from T");
Assert.That(result.... |
/*
Copyright © 2018 - 2021 haltroy
Use of this source code is governed by an MIT License that can be found in github.com/Haltroy/HTAlt/blob/master/LICENSE
*/
using System;
using System.ComponentModel;
namespace HTAlt
{
/// <summary>
/// This class holds information about this project.
/// </summary>
... |
//*******************************************************************************************//
// //
// Download Free Evaluation Version From: https://bytescout.com/download/web-installer //
// ... |
@model OpenShiftScheduler.Models.AppModels.ShiftRole
@{
ViewData["Title"] = "Details";
}
<h2>Details</h2>
<div>
<h4>ShiftRole</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.RoleName)
</dt>
<dd>
@Html.DisplayFor(model =>... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OtobusOtomasyonu
{
public partial class KayitFormu : Form
{
public KayitFormu(... |
/*
* 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.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Plainion.Forest
{
public class RegionNames
{
public static readonly string NodeDetails = "Region.NodeDetails";
public static readonly string Backlog = "Region.Backlog";... |
using System;
namespace BridgeRpc.AspNetCore.Router.Filter
{
/// <summary>
/// RPC calling filter factory
/// This class is for custom filter need custom attribute name, the usage example is in the example projects
/// </summary>
public interface IRpcFilterFactory
{
/// <summary... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SKM.V3;
using SKM.V3.Methods;
using SKM.V3.Models;
namespace SKM_Test
{
[TestClass]
public class MethodSpecificTests
{
[TestMethod]
public void TestMethod1()
{
var a = Helpers.GetMachineCodePI();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor.Experimental.GraphView;
using UnityEngine.UIElements;
using System;
using System.Reflection;
namespace GraphProcessor
{
public class PortView : Port
{
public string fieldName => fieldInfo.Name;
public Type fi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercise5AllStringSubsetOfSet
{
class Program
{
static void Main(string[] args)
{
string[] words = { "", "test", "rock", "fun", "wind", "water", "fire" };
... |
/*
* 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
*
... |
using System;
using System.IO;
using Moq;
using NUnit.Framework;
[TestFixture]
public class SolutionPathValidatorTests
{
[Test]
public void Valid()
{
var loggerMock = new Mock<BuildLogger>();
loggerMock.Setup(x => x.LogDebug(It.Is<string>(y => y.Contains(Environment.CurrentDirectory))));
... |
using Business.Common.Configuration;
using Business.Common.Extensions;
using Business.Common.GenericResponses;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
using NsRest;
using NsRest.Search;
using NsRest.Services;
using System;
using System.Collections.Generic;
using System.Dynamic;
... |
using System;
using ClearHl7.Helpers;
namespace ClearHl7.V270.Types
{
/// <summary>
/// HL7 Version 2 MSG - Message Type.
/// </summary>
public class MessageType : IType
{
/// <summary>
/// Gets or sets a value that indicates whether this instance is a subcomponent of another HL7 c... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace A... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System.Collections.Advanced
{
/// <summary>
/// a.k.a Heap (MinHeap), capable of returning min value with IComparer
/// 亦称堆(最小堆),能够在给定比较器的情况下返回最小值
/// </summary>
/// <typep... |
/*
* 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... |
// <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 Microsoft.Dynamics.CustomerInsights.Api.Models
{
using Newtonsoft.Json;
using System.Linq;
public partial c... |
/*
* Copyright 2018 JDCLOUD.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/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
using System;
using KoansMultithreading.AboutTaskObject.NoChangeAllow;
using KoansMultithreading.AboutTaskObject.NoChangeAllow.Contract;
namespace KoansMultithreading.AboutTaskObject.CanBeChanged
{
public class MessageQueue : IMessageAPI, IMessageSender
{
public event Action<Message> Received;
... |
using System;
using System.IO;
using System.Text;
namespace DbUp.Engine
{
/// <summary>
/// Represents a SQL Server script that comes from an embedded resource in an assembly.
/// </summary>
public class SqlScript
{
private readonly string contents;
private readonly string name;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Renderi... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using YamlDotNet.Serialization;
namespace KubeClient.Models
{
/// <summary>
/// LimitRangeList is a list of LimitRange items.
/// </summary>
[KubeListItem("LimitRange", "v1")]
[KubeObject("LimitRangeList", "v1")]
public ... |
using Intersect.Client.General;
using Intersect.Utilities;
namespace Intersect.Client.Core
{
public static class Wipe
{
private const float STANDARD_FADE_RATE = 500f;
private const float FAST_FADE_RATE = 500f;
public enum FadeType
{
None = 0,
In = 1,... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Testing;
using Xunit;
using Xunit.Analyzers;
using Verify = CSharpVerifier<Xunit.Analyzers.InlineDataMustMatchTheoryParameters>;
using Verify_v2_Pre240 = CSharpVerifier<InlineDataMustMatchTheor... |
using EatVillagers.WolfLab.Logic.Analytics;
using EatVillagers.WolfLab.Logic.Extensions;
using EatVillagers.WolfLab.Logic.Models;
using EatVillagers.WolfLab.Logic.Models.Enums;
namespace EatVillagers.WolfLab.Logic.RoleStrategies
{
public class HunterRole : RoleBase
{
public HunterRole(PlayerModel playe... |
//
// This code was generated by a tool. Any changes made manually will be lost
// the next time this code is regenerated.
//
using System.Reflection;
[assembly: AssemblyVersion("1.0.0.36")]
[assembly: AssemblyFileVersion("1.0.0.36")] |
/*
Copyright (c) 2010 Kastellanos Nikos
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, publish, distribu... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ExaminingMSTest
{
/// <summary>
/// An test class derived from a test class WITH the <see cref="TestClassAttribute"/>.
/// Shows that re-use of special MSTest method names confuses MSTest and leads to MSTest not calling the base... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using TodoApi.Models;
namespace TodoApi
{
pu... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using User.Api.Data;
namespace User.Api.Migrations
{
[DbContext(typeof(UserDbContext))]
partial class UserDbContextModelSnap... |
using System;
namespace Twity.DataModels.StreamMessages
{
[Serializable]
public class Disconnect
{
public int code;
public string stream_name;
public string reason;
}
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Reflection.Emit
{
public enum PackingSize
{
Unspecified = 0,
Size1 = 1,
... |
// 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.
/******************************************************************************
* This file is auto-generated from ... |
/*
Author : Megavolt
Github : github.com/
Telegram Group :
Telegram Author : t.me/megavoltcoder
*/
using Mono.Cecil;
using Mono.Cecil.Cil;
using System;
using System.IO;
using System.Collections.Generic;
namespace OnionClipperBuilder
{
internal sealed class build
{
public static Dictionary<... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Data.Services.Client;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using NuGetPe;
using PackageExplorerViewMo... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace IndividualUserAccounts.Models.AccountViewModels
{
public class ForgotPasswordViewModel
{
[Required]
[EmailAddress]
public string Email... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml.Controls.Maps
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public partial class MapContextRequestedEventArgs
{
#if __ANDROID__ || __IOS__ || NET... |
#region Header
// Vorspire _,-'/-'/ SuperGump_Tree.cs
// . __,-; ,'( '/
// \. `-.__`-._`:_,-._ _ , . ``
// `:-._,------' ` _,`--` -: `_ , ` ,' :
// `---..__,,--' (C) 2018 ` -'. -'
// # Vita-Nex [http://core.vita-nex.com] #
// {o)xxx|===============- # -==============... |
public class Script : ScriptBase
{
public override async Task<HttpResponseMessage> ExecuteAsync()
{
if (this.Context.OperationId == "userinfo")
{
return await this.GetUserInfo().ConfigureAwait(false);
}
HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.B... |
using System.Threading;
namespace WPF.Tools.Functions
{
public static class Sleep
{
private static ManualResetEvent manualResetEvent = new ManualResetEvent(false);
public static void ThreadWait(int miliseconds)
{
Sleep.manualResetEvent.WaitOne(miliseconds);
}
public static void ThreadW... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace ODY.Cihazkapinda.Migrations
{
public partial class CategoryAndProduct_Added : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "App... |
/*
* eZmax API Definition (Full)
*
* This API expose all the functionnalities for the eZmax and eZsign applications.
*
* The version of the OpenAPI document: 1.1.7
* Contact: support-api@ezmax.ca
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
u... |
using Xamarin.Forms;
using Plugin.Media;
using System;
using System.Collections.Generic;
using Microsoft.ProjectOxford.Emotion;
using Microsoft.ProjectOxford.Emotion.Contract;
using System.Linq;
using System.Threading.Tasks;
using System.Net.Http;
using Newtonsoft.Json.Linq;
using Plugin.Media.Abstractions;
namespace ... |
// 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.
#nullable disable
using System.Diagnostics;
using System.Globalization;
using System.Windows.Forms.ComponentModel.C... |
/*
* Copyright (C) Sportradar AG. See LICENSE for full license governing this code
*/
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using Common.Logging;
using Sportradar.OddsFeed.SDK.Common;
using Sportr... |
using System;
using System.Collections.Generic;
namespace MyCompany.BuildCore.Sessions.Dto
{
public class ApplicationInfoDto
{
public string Version { get; set; }
public DateTime ReleaseDate { get; set; }
public Dictionary<string, bool> Features { get; set; }
}
} |
using System;
namespace iSukces.SimpleLinux
{
public class BashScriptBuilder : ScriptBuilder
{
public static Multiline GetMultiline(int maxLength = 80, string indent = " ")
{
return new Multiline(maxLength, " \\", indent);
}
public void Apppend(BashScriptBuilder ot... |
//************************************************************************************************
// Copyright © 2021 Steven M Cohn. All rights reserved.
//************************************************************************************************
namespace River.OneMoreAddIn.Commands
{
using River.OneMoreAdd... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using coreWeb.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
namespace coreWeb.Controllers
{
[Controller]
[Route("api/[controller]")]
public c... |
using Cake.Core;
using Cake.Core.Annotations;
using System;
using System.Net.Http;
using System.Text;
namespace Cake.Http
{
/// <summary>
/// <para>
/// Contains functionality for working with HTTP operations such as GET, PUT, POST, DELETE, PATCH, etc.
/// </para>
/// </summary>
[CakeAliasCate... |
using System;
namespace NetTypeS.WebApi.Models
{
public class ParameterInfo
{
public string GeneratedName { get; set; }
public Type GeneratedType { get; set; }
public bool IsQuery { get; set; }
public bool IsPath { get; set; }
public bool IsBody { get; set; }
}
} |
using Locust.ServiceModel;
namespace Locust.Modules.Api.Strategies
{
public partial class ApiClientRemoveByPKRequest : IBaseServiceRequest
{
}
} |
#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 ... |
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace AbpAspNetCoreDemo.Pages
{
public class RazorPageDemo : PageModel
{
public void OnGet()
{
}
public void OnPost()
{
}
}
} |
/*
* Copyright 2021 Alastair Wyse (https://github.com/alastairwyse/ApplicationMetrics.MetricLoggers.WindowsPerformanceCounter/)
*
* 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
*
* ... |
namespace TaskAdmin.Models.Shared
{
public class DtoKeyValue
{
/// <summary>
/// 键
/// </summary>
public object Key { get; set; }
/// <summary>
/// 值
/// </summary>
public object Value { get; set; }
}
} |
using Core.Domain.Security;
using System.Collections.Generic;
namespace Core.Data
{
public interface ISecurityRepository : IUserRepository<User>, IRoleRepository<SecurityRole>, IGroupRepository<SecurityGroup>
{
}
public interface IUserRepository<User>
{
void AddUser(User user);
U... |
/*
* 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... |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace HouseRent.Areas.Identity.Pages.Account.Manage
{
public clas... |
using Joy.Core;
using Joy.Core.Reflect;
using System;
using System.Reflection;
using System.Web;
namespace Joy.Web.Mvc.IO
{
public class HttpContextProxy<T> : JoyProxy<T> where T:class
{
protected Type type;
protected HttpContext cx
{
get
{
retu... |
/*
* 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 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;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
namespace ATZ.ObservableLists.Tests
{
[TestFixture]
public class ObservableListShould
{
#reg... |
using Microsoft.Extensions.DependencyInjection;
using Mvp.Foundation.RulesEngine.Factories;
namespace Mvp.Foundation.RulesEngine.Extensions
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddFoundationRulesEngine(this IServiceCollection services)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace client.evl.watch.Models
{
public enum ErrorTypeCode
{
UnhandledError = 99,
InvalidUserRegisteringData = 100
}
public class ApiException : Exception
{
... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
using System;
using FluentAssertions;
using Xunit;
using Xunit.Abstractions;
namespace Bogus.Tests.GitHubIssues
{
public class Issue102 : SeededTest
{
[Fact]
public void deterministic_uuid_using_global_seed()
{
var r = new Randomizer();
r.Uuid().Should().Be("{4c9c23da-c4e0-d7... |
using System;
using Microsoft.Extensions.DependencyInjection;
namespace Scrutor;
internal static class ServiceDescriptorExtensions
{
public static ServiceDescriptor WithImplementationFactory(this ServiceDescriptor descriptor, Func<IServiceProvider, object> implementationFactory) =>
new(descriptor.Service... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection... |
@*
//**********************************************************************************
//* サンプル アプリ・ビュー
//**********************************************************************************
// テスト用クラスなので、必要に応じて流用 or 削除して下さい。
//**********************************************************************... |
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Shelfy.API.Framework.Extensions
{
public static class HttpResponseExtensions
{
public static void AddPaginationHeader(this HttpResponse response,
int currentPage, int pageSize, int totalC... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using Sys... |
/*
* Copyright (c) 2018 Google Inc.
*
* 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 ... |
using UnityEngine;
namespace UniToolkit.Gameplay
{
/// <summary>
/// Class that contains helpers functions for gameplay
/// </summary>
public static class GameplayUtility
{
/// <summary>
/// Check a layermask to a GameObject
/// </summary>
/// <param name="mask">Refe... |
using System;
using System.Collections.Generic;
namespace CsvContentHelper.Models
{
/// <summary>
///
/// </summary>
public class MappingStructure
{
/// <summary>
///
/// </summary>
public int Order { get; set; }
/// <summary>
///
/// </su... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace MvcDiary.Data.Migrations
{
public partial class ModifyEssential : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropPrimaryKey(
name: "PK_Word",
... |
// 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.Threading.Tasks;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor... |
/*
* 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 CafeLib.Cryptography.BouncyCastle.Math;
namespace CafeLib.Cryptography.BouncyCastle.Crypto.Parameters
{
public class ElGamalPrivateKeyParameters
: ElGamalKeyParameters
{
private readonly BigInteger x;
public ElGamalPrivateKeyParameters(
BigInteger x,
E... |
#if WITH_GAME
#if PLATFORM_32BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
public partial class USlateDataSheet
{
static readonly int DataTexture__Offset;
public UTexture2D DataTexture
{
get{ CheckIsValid(); IntPtr v = Marshal.ReadInt... |
// *** 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;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
using System.Buffers;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.IO;
using Veldrid;
using Veldrid.Utilities;
using SoulsFormats;
usin... |
using Bunit.TestDoubles;
using Xunit;
namespace Bunit.Docs.Samples
{
public class UserInfoTest
{
[Fact(DisplayName = "UserInfo with unauthenticated user")]
public void Test001()
{
// Arrange
using var ctx = new TestContext();
ctx.AddTestAuthorization();
// Act
var cut = c... |
using System;
using System.Buffers;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace NetFabric.Hyperlinq
{
public static partial class EnumerableExtensions
{
[GeneratorIgnore]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AliyunDnsSDK.Core.Model.Results
{
/// <summary>
/// 设置解析记录状态
/// 更新时间:2017-06-07 13:26:11
/// 文档地址:https://help.aliyun.com/document_detail/29775.html?spm=a2c4g.11186623.6.637.6... |
namespace Outcompute.Trader.Trading.Configuration;
internal class AlgoTypeEntry : IAlgoTypeEntry
{
public AlgoTypeEntry(string name, Type type)
{
Guard.IsNotNull(name, nameof(name));
Guard.IsNotNull(type, nameof(type));
Name = name;
Type = type;
}
public string Name {... |
// 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.
/******************************************************************************
* This file is auto-generated from ... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace Flinq
{
public static class FlinqQueryExtensions_SelectMany
{
private static class ImplWrapper1<T, TResult>
{
public static readonly FlinqQuery<TResult>.PrecedingQuery impl = Impl;
private static FlinqList<TResult> Impl(object... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace System.Fabric.FaultA... |
using CSharpGL;
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;
namespace fuluDD02_LayeredEngraving.ComputeShader
{
public partial class FormMain : Form
{
private Sc... |
@model IEnumerable<jQWidgets.AspNet.Core.Models.SalesEmployee>
@using jQWidgets.AspNetCore.Mvc.TagHelpers;
@{
ViewData["Title"] = "ASP .NET MVC Grid Cells Rendering Example";
}
@{
var employee = Model.FirstOrDefault();
List<string> groups = new List<string>() {"ProductName"};
}
@section scripts {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.