text stringlengths 1 932k |
|---|
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.ComponentModel.Composition;
using System.Linq;
using Sce.Atf;
using Sce.Atf.Applications;
using PropertyGrid = Sce.Atf.Controls.PropertyEditing.PropertyGrid;
namespace LevelEditorCore
{
/// <summary>
/// ... |
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: AssemblyConfigurat... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
namespace SDKSample
{
//<SnippetPlainView>
public class PlainView : ViewBase
{
public static readonly DependencyProperty
ItemContainerStyleProperty =
ItemsCon... |
namespace Ultz.SuperInvoke.InteropServices
{
public enum CountType
{
Arbitrary,
Constant,
ParameterReference
}
} |
using System.Linq;
using Abp.Authorization;
using Abp.Authorization.Roles;
using Abp.Authorization.Users;
using Abp.MultiTenancy;
using OrganizationUnitsDemo.Authorization;
using OrganizationUnitsDemo.Authorization.Roles;
using OrganizationUnitsDemo.EntityFramework;
using OrganizationUnitsDemo.MultiTenancy;
using Organ... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace System.IO.FileSystem.Tests
{
public class Directory_GetDirectories_str_str_so : Directory_GetFileSystemEntries_str_str_so
{
#re... |
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
name... |
using DragonSpark.Diagnostics;
using DragonSpark.Sources.Parameterized;
using DragonSpark.Testing.Framework.Runtime;
using PostSharp.Aspects;
using System.Linq;
namespace DragonSpark.Testing.Framework
{
public static class Initialize
{
[ModuleInitializer( 0 )]
public static void Execution()
{
DragonSpark.Ap... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MongoDB.Entities.Tests.Models;
using System;
using System.Threading.Tasks;
namespace MongoDB.Entities.Tests
{
[TestClass]
public class UpdateAndGet
{
[TestMethod]
public async Task updating_modifies_correct_documents()
{
... |
using QZhihuFind.Models.JsonModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QZhihuFind.Services.Interfaces
{
interface IArticleCommentPresenter
{
Task<List<ArticleCommentModel>> GetComment(int slug, int offset);
... |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.Practices.EnterpriseLibrary.Validation.TestSupport.TestClasses;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Micros... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using lindexi.MVVM.Framework.Annotations;
using lindexi.uwp.Framework.ViewModel;
namespace lindexi.MVVM.Framework.ViewModel
{
/// <summary>
/// 提供支持跳转类
/// </summary>
[PublicAPI]
public abstract class Navig... |
using System;
namespace AdventureWorksAPI.Areas.HelpPage
{
/// <summary>
/// This represents an image sample on the help page. There's a display template named ImageSample associated with this class.
/// </summary>
public class ImageSample
{
/// <summary>
/// Initializes a new insta... |
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requ... |
using System;
using System.IO;
namespace AoCD9
{
class Program
{
static void Main(string[] args)
{
string InputFileLocation = @"C:\Users\matta\Documents\Advent of Code\Inputs\";
string InputFileName = "Day9A.txt";
string fileAsString = File.ReadAllText(Path.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Livraria.Api.ApiClient;
using Livraria.Api.Extensions;
using Livraria.Api.ObjectModel;
using Livraria.Api.ObjectModel.Swagger.Examples;
using Livraria.Api.ObjectModel.ValueObjects;
using Livrar... |
#region License
/* The MIT License
*
* Copyright (c) 2011 Red Badger Consulting
*
* 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 r... |
// *** 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... |
namespace Virtual_OS.MainSource
{
partial class Settings
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System.Collections.Generic;
using Xenko.Core.Assets.Editor.Quantum.NodePresenters;
using Xenko... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TestStack.FluentMVCTesting.Sample.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public Act... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace DataAccess.Migrations
{
public partial class order_system_db2 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<decimal>(
name: "ShippingFee",
... |
using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
namespace Stravaig.ShortCode
{
public class ShortCodeFactory : IShortCodeFactory
{
private readonly IShortCodeGenerator _generator;
private readonly IEncoder _enc... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Api.Models
{
public partial class TypeMetier
{
public TypeMetier()
{
EntrepriseMetiers = new HashSet<EntrepriseMetier>();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ScoreScript : MonoBehaviour
{
public static int scoreValue = 0; // Making the score value static makes it so that the score value is the same across all scripts
Text score;
// Start is called... |
using System;
namespace Ultraviolet.Graphics.PackedVector
{
public partial struct Byte2 : IEquatable<Byte2>
{
/// <inheritdoc/>
public override Int32 GetHashCode() => HashCode.Combine(X, Y);
/// <summary>
/// Compares two objects to determine whether they are equal.
//... |
using System;
using Tesserae;
using static H5.Core.dom;
using static Tesserae.UI;
using static Tesserae.Tests.Samples.SamplesHelper;
using System.Collections.Generic;
using System.Linq;
namespace Tesserae.Tests.Samples
{
public class LineAwesomeSample : IComponent
{
private readonly IComponent _conten... |
/*
This program demonstrates 'BeginResolve' and 'EndResolve' methods of Dns class.
It obtains the 'IPHostEntry' object by calling 'BeginResolve' and 'EndResolve' method
of 'Dns' class by passing a URL, a callback function and an instance of 'RequestState'
class.Then prints host name, IP address list and al... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// <Area> Nullable - CastClass </Area>
// <Title> Nullable type with castclass expr </Title>
// <Description>
// checking type of LongE using cast expr
// </Description>
// <Rela... |
@model Cik.FS.WebApp.Models.ManageUserViewModel
<p>
You do not have a local username/password for this site. Add a local
account so you can log in without an external login.
</p>
@using (Html.BeginForm("Manage", "Account")) {
@Html.AntiForgeryToken()
@Html.ValidationSummary()
<fieldset class="fo... |
using CarvedRock.Api.Data.Entities;
using GraphQL.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CarvedRock.Api.GraphQL.Types.Customers
{
internal class UserGraphType : ObjectGraphType<User>
{
public UserGraphType()
{
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Into_The_Breach_AutoSave")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration... |
using PokeApp.CustomControls;
using PokeApp.UWP.CustomRenderers;
using Xamarin.Forms;
using Xamarin.Forms.Platform.UWP;
[assembly: ExportRenderer(typeof(CustomEntry), typeof(CustomEntryRenderer))]
namespace PokeApp.UWP.CustomRenderers
{
public class CustomEntryRenderer : EntryRenderer
{
protected over... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
using System;
using JavaScriptEngineSwitcher.Core;
using JavaScriptEngineSwitcher.V8;
using Microsoft.Owin.FileSystems;
using Micro... |
/*
* 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.Xml;
using System.Xml.Serialization;
namespace EMS.NIEM.NIEMCommon
{
/// <summary>
/// Represents a MGRS Coordinate
/// </summary>
[Serializable]
public class MGRSCoordinate
{
/// <summary>
/// Initializes a new instance of the MGRSCoordinate class
... |
using System.Collections.Generic;
using DFC.ServiceTaxonomy.GraphSync.Services;
using DFC.ServiceTaxonomy.Neo4j.Commands.Interfaces;
namespace DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Contexts
{
public interface IGraphDeleteContext : IGraphSyncContext
{
new IGraphDeleteContext? ParentCont... |
namespace CyberCAT.Core.DumpedEnums
{
public enum vehiclePlayerToAIInterpolationType
{
PTAIT_INSTANT = 0,
PTAIT_LINEAR = 1,
PTAIT_EASE_IN_QUAD = 2,
PTAIT_EASE_IN_CUBIC = 3,
PTAIT_EASE_OUT_CUBIC = 4,
PTAIT_EASE_IN_OUT_CUBIC = 5,
PTAIT_EASE_IN_QUANTIC = 6,
PTAIT_EASE_IN_SIN = 7,
PTAIT_EASE_OUT_SIN = 8... |
using Content.Server.Botany.Systems;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.Botany.Components;
// TODO: This should probably be merged with SliceableFood somehow or made into a more generic Choppable.
[RegisterCompon... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Network.Models
{
/// <summary> Response for ListOutboundRule API service call. </summary>
... |
#region License
// Copyright (c) 2018-2021, exomia
// All rights reserved.
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#endregion
namespace Exomia.Network
{
static class Constants
{
// @formatter:off — disabl... |
/*
Write a regular expression to match a valid full name.A valid full name consists of two words,
each word starts with a capital letter and contains only lowercase letters afterwards; each
word should be at least two letters long; the two words should be separated by a single space.
*/
using System;
using System.C... |
using System;
using System.Threading.Tasks;
using System.Net.Http;
using System.Text;
using Newtonsoft.Json;
namespace WebAPIClient {
class Program {
static async Task Main(string[] args) {
await ApiCall();
}
private static async Task ApiCall() {
var json = JsonConvert.SerializeObject(new {... |
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Debugger
{
/// <summary>
/// Steps into the function call.
/// </summary>
[Command(ProtocolName.Debugger.StepInto)]
[SupportedBy("Chrome")]
public class StepIntoCommand
{... |
using AutoMapper;
using DFC.Api.Lmi.Delta.Report.Models.ApiModels;
using DFC.Api.Lmi.Delta.Report.Models.ReportModels;
using Newtonsoft.Json;
using System.Diagnostics.CodeAnalysis;
namespace DFC.Api.Lmi.Delta.Report.AutoMapperProfiles
{
[ExcludeFromCodeCoverage]
public class MappingProfiles : Profile
{
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Networking.Connectivity;
using Windows.Storage.Pickers;
namespace Tools {
/// <summary>
///
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using UserPortal.Models;
namespace UserPortal.Pages.Specialisations
{
public class DeleteModel : PageMode... |
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using AcManager.Tools.AcErrors;
using AcManager.Tools.Helpers.Api;
using AcManager.Tools.Helpers.Api.Kunos;
using AcTools.DataFile;
using AcTools.Utils;
using AcTools.Utils.Helpers;
using FirstFloor.ModernUI.Commands;
using FirstFloor.Mode... |
// 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 IdentityServer4.Models;
using IdentityServer4.Services;
using IdentityServer4.Stores;
using Microsoft.Extensions.Caching.Memory;
using ... |
using System;
using System.Threading.Tasks;
using Shouldly;
using Stove.Domain.Repositories;
using Stove.Domain.Uow;
using Stove.EntityFrameworkCore.Tests.Domain;
using Xunit;
namespace Stove.EntityFrameworkCore.Tests.Tests
{
public class LazyLoading_Tests : EntityFrameworkCoreTestBase
{
private readonly IRepo... |
using BIMStore.BLL;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BIMStore.DAL
{
class animalsDAL
{
//Static String Me... |
// Copyright (c) the authors of nanoGames. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt in the project root.
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
namespace NanoGames.Games.Banana
{
class Landscape
{
private bool[,] isSoli... |
namespace CXUtils.Domain.Types
{
/// <summary>
/// Implements a Root for child Components
/// </summary>
public interface IComponentRoot<T> where T : IComponentRoot<T>
{
public TChild Find<TChild>() where TChild : ChildComponent<T>;
public bool TryFind<TChild>( out TChild compon... |
using System;
using System.Collections.Generic;
using System.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 System.Windows.Media;
using System.Windows.Media.Imaging;... |
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace WorkerService
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string... |
<button class="clearSelectedFileBtn btn btn-danger" type="submit" title="Clear selected file" style="display: none;"><i class="fa fa-remove"></i></button>
<button class="selectFileBtn btn btn-primary" type="submit" title="Select a file to send"><i class="fa fa-paperclip"></i><span> File</span></button>
<button cl... |
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("Ho... |
version https://git-lfs.github.com/spec/v1
oid sha256:74ac98bba30a840b0c35b3b2a1161f8fa0dee7a0f5124410dee8ffb3e22f2132
size 2000 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------... |
//------------------------------------------------------------------------------
// <copyright file="Samples.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation
// </copyright>
//------------------------------------------------------------------------------
namespace DataMovementSamples
{
using Syste... |
using System;
namespace WebTextEditor.Areas.HelpPage.ModelDescriptions
{
/// <summary>
/// Use this attribute to change the name of the <see cref="ModelDescription" /> generated for a type.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, Inhe... |
// 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.Runtime.InteropServices;
internal static partial class Interop
{
internal static partial class Ker... |
using UnityEditor;
using UnityEngine;
using Deflector;
namespace GameEvents {
[CustomEditor(typeof(LayersEvent))]
public class LayersEventInspector : Editor {
private Layers payload;
private EventBindings<LayersEventListener, LayersEvent> bindings;
private void OnEnable() {
... |
#region
using CCN.WebAPI.Properties;
using Cedar.Framework.Common.Client.MVCExtention;
#endregion
namespace CCN.WebAPI.Common
{
public class DefaultController : ExtendedController
{
public DefaultController()
: base(Resources.DefaultLocalServiceName)
{
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BTCPayServer.Payments.Lightning.CLightning
{
public class NodeInfo
{
public NodeInfo(string nodeId, string host, int port)
{
if (host == null)
throw new Argume... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PageHandlers
{
public class Program
{
public s... |
// Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License, version 2.0, as
// published by the Free Software Foundation.
//
// This program is also distributed with ce... |
//Generated by LateBindingApi.CodeGenerator
using LateBindingApi.Core;
namespace LateBindingApi.Office.Enums
{
[SupportByLibrary("OF10","OF11","OF12","OF14","OF9")]
public enum MsoMixedType
{
[SupportByLibrary("OF10","OF11","OF12","OF14","OF9")]
msoIntegerMixed = 32768,
[SupportByLibrary("OF10","OF11","OF12",... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml... |
namespace Fluxera.ValueObject.UnitTests.Model
{
using JetBrains.Annotations;
[PublicAPI]
public class IntValue : PrimitiveValueObject<IntValue, int>
{
}
} |
// 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... |
using System.Runtime.InteropServices;
// ReSharper disable InconsistentNaming
// ReSharper disable BuiltInTypeReferenceStyle
// ReSharper disable IdentifierTypo
namespace ISO22900.II
{
// Basic data types used in ISO22900-2
// C# using alias directive //C typedef...
//using UNUM8 = System.Byte; //... |
using GammaJul.ReSharper.EnhancedTooltip.DocumentMarkup;
using JetBrains.Annotations;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Daemon.CSharp.Errors;
using JetBrains.ReSharper.Psi.CodeAnnotations;
namespace GammaJul.ReSharper.EnhancedTooltip.Presentation.Highlightings.CSharp {
[SolutionComponent]
inte... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraScript : MonoBehaviour
{
//==========================================================================================
// editable variables
//==================================================================... |
//-----------------------------------------------------------------------
// <copyright file="JetApiHelpersTests.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation.
// </copyright>
//-----------------------------------------------------------------------
namespace InteropApiTests
{
usi... |
using System;
using System.Collections.Generic;
using System.Text;
using NekoKun.Serialization.RubyMarshal;
namespace NekoKun.RPGMaker
{
public class TilesetFileVA: TilesetFile
{
public TilesetFileVA(Dictionary<string, object> node)
: base(node)
{
}
protected overr... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop
{
pub... |
using System.Collections.Generic;
using UnityEngine;
public abstract class Deck<T>
{
public int Size;
public abstract List<T> Cards { get; set; }
public abstract void Build();
public abstract T Draw();
public void Shuffle()
{
for (var i = Cards.Count - 1; i > 0; i--)
{
... |
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("11... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace System.Text.Json.Serialization.Tests
{... |
// 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.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.AddPackage;
using M... |
//------------------------------------------------------------------------------
// <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>
//--... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System... |
using Microsoft.SharePoint.Client;
using PnP.Framework.Diagnostics;
using PnP.Framework.Provisioning.Model;
using PnP.Framework.Provisioning.ObjectHandlers;
using System;
using System.Linq;
using System.Security;
namespace PnP.Framework.Provisioning.CanProvisionRules.Rules
{
[CanProvisionRule(Scope = CanProvision... |
using System;
using Renci.SshNet.Messages.Connection;
namespace Renci.SshNet.Common
{
/// <summary>
/// Provides data for <see cref="Renci.SshNet.Channels.Channel.RequestReceived"/> event.
/// </summary>
internal class ChannelRequestEventArgs : EventArgs
{
/// <summary>
/// Gets re... |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.Query.Core.ExecutionComponent.GroupBy
{
using System;
using System.Collections.Generic;
... |
namespace ClassLib076
{
public class Class039
{
public static string Property => "ClassLib076";
}
} |
#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 System;
namespace ParadoxNotion.Serialization.FullSerializer {
/// <summary>
/// The serialization converter allows for customization of the serialization process.
/// </summary>
public abstract class fsConverter : fsBaseConverter {
/// <summary>
/// Can this converter serialize ... |
using UnityEngine;
using System.Collections;
namespace QuasarGames
{
public class StateClearFlags : StateMachineBehaviour
{
// OnStateEnter is called when a transition starts and the state machine starts to evaluate this state
override public void OnStateEnter(Animator animator, AnimatorStat... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Text;
namespac... |
using Toggl.Foundation.Analytics;
using Toggl.Foundation.MvvmCross.Parameters;
using Toggl.Foundation.Services;
using Toggl.Multivac;
namespace Toggl.Foundation.MvvmCross.ViewModels.ReportsCalendar.QuickSelectShortcuts
{
public sealed class ReportsCalendarLastWeekQuickSelectShortcut
: ReportsCalendarBaseQ... |
//
// X509ChainStatusFlags.cs: X.509 Chain Status
//
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
// (C) 2004 Novell (http://www.novell.com)
//
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this softwa... |
@model CreateUserViewModel
@using Orchard.Users.ViewModels;
<h1>@RenderTitleSegments(T["Create User"])</h1>
<div asp-validation-summary="ModelOnly"></div>
<form asp-action="Create" method="post">
<div class="form-group" asp-validation-class-for="UserName">
<label asp-for="UserName">@T["User name"]</label... |
namespace TargetHound.DataModels
{
public class ClientInvitation
{
public string Id { get; set; }
public string Email { get; set; }
public string ClientId { get; set; }
public Client Client { get; set; }
public bool IsAccepted { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Moq;
using SFA.DAS.EAS.Account.Api.Types;
using Xunit;
namespace DfE.EmployerFavourites.Web.UnitTests.Controllers
{
p... |
using System;
using System.Collections.Generic;
namespace EFCore.TimeTravelerTests.Entities
{
public class Apple
{
public Guid Id { get; set; }
public FruitStatus FruitStatus { get; set; }
public List<Worm> Worms { get; set; } = new List<Worm>();
public Worm AddWorm(string na... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace SocketIOClient.Test.SocketIOTests.V4Http
{
[TestClass]
public class OffAnyV4NspTest : OffTest
{
public OffAnyV4NspTest()
{
SocketIOCreator = new SocketIOV4NspCreator();
}
... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/winioctl.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syst... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.