text stringlengths 1 932k |
|---|
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
using MoneyFox.Domain.Entities;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace MoneyFox.Application.Common.Interfaces
{
public interface IEfCoreContext : IDisposable
{
DbSet<Account>... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using WebApplication1;
namespace WebApplication1.Migrations
{
[DbContext(typeof(Bl... |
using System;
using System.Linq;
using System.Reflection;
using MethodToDelegate.PartialApplication;
using MethodToDelegate.ReturnDelegate;
using Ninject;
using Ninject.Activation;
using Ninject.Infrastructure.Language;
using Ninject.Modules;
using Ninject.Planning.Bindings;
using Ninject.Syntax;
namespace MethodToDel... |
// Copyright (c) LouYaoMing. All Right Reserved.
// Licensed under MIT License.
using UnityEngine;
using UnityEngine.UI;
using Zenject;
namespace RMM3D
{
public class ConfirmPop : UIPopBase, IPoolable<IMemoryPool>
{
[Inject]
public void Construct(SaveMapSystem saveMapSystem, UIManager uIMana... |
using System;
using System.Runtime.Serialization;
namespace Minotaur.Content
{
public class ContentLoadException : Exception
{
public ContentLoadException() { }
public ContentLoadException(string message)
: base(message) { }
public ContentLoadException(string message, Exception innerException)... |
namespace Data
{
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Models;
public class AppDbContext : IdentityDbContext<User>
{
public AppDbContext(DbContextOptions<AppDbContext> options)
: base(options)
{
... |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... |
using System;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Framework.EndpointTests;
using Tests.Framework.EndpointTests.TestState;
namespace Tests.XPack.Watcher.DeleteWatch
{
public class DeleteWatchApiTests
: ApiIntegrationTestBase<XPackC... |
using soen390_team01.Data.Entities;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace soen390_team01.Models
{
public class AddUserModel : User
{
#region properties
[Display(Name = "Email Address")]
[Required]
[EmailAddress]
public ... |
using System;
using VCSVersion.SemanticVersions;
namespace VCSVersion.VersionCalculation.IncrementStrategies
{
public sealed class IncrementStrategy : IIncrementStrategy
{
public const string DefaultMajorPattern = @"\+semver:\s?(breaking|major)";
public const string DefaultMinorPattern = @"\+s... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using UnityEditor;
using UnityEngine;
using Object = UnityEngine.Object;
namespace RadicalForge.Blockout
{
[System.Serializable]
public struct BlockoutItemPreview
{
public stri... |
using EmbedIO;
using EmbedIO.Routing;
using EmbedIO.WebApi;
using StandardStorage;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Linq;
using Newtonsoft.Json;
namespace Jukebox.Controllers
{
public class FileSystemController : WebApiController
{
... |
// <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 IL.Library.Amazon.SPAPI.Uploads
{
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Models;
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
usi... |
using CG.Obsidian.Models;
using CG.Obsidian.SqlServer.Maps;
using CG.Validations;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
namespace CG.Obsidian.SqlServer
{
/// <summary>
/// This class is a data-context for the CG.Obsidian library.
/// </summary>
public c... |
//
// System.IO.InternalBufferOverflowException.cs
//
// Author:
// Tim Coleman (tim@timcoleman.com)
//
// Copyright (C) Tim Coleman, 2002
//
//
// 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 ... |
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace Just_Cause_3_Mod_Combiner
{
public class JSONCombiner
{
private string[] fileNames = new string[] { "Test1", "Test2" };
private JObject originalDoc;
private JObject[] docs;
private bool notifyCollissions... |
public class Cliente
{
public int Codigo { get; set; }
public string Nombre { get; set; }
public string Telefono { get; set; }
public Cliente(int codigo, string nombre, string telefono)
{
Codigo = codigo;
Nombre = nombre;
Telefono = telefono;
}
} |
namespace BehaviorDesigner.Runtime.Tasks.Basic.SharedVariables
{
[TaskCategory("Basic/SharedVariable")]
[TaskDescription("Sets the SharedString variable to the specified object. Returns Success.")]
public class SetSharedString : Action
{
[Tooltip("The value to set the SharedString to")]
... |
/***********************************************************************************
** exvr-exp **
** MIT License **
** Copyright (c) [2018] [Florian Lance][EPFL-LNCO] ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
namespace SkakkjørtTrafikkPrøve.Account
{
public partial class ManageLogins : System.Web.UI.Page
{
... |
using System.Net.Http.Headers;
namespace Youtube2Tonies.WebApi.Clients.Tonies;
public class ToniesOAuthHandler : DelegatingHandler
{
private readonly ITokenProvider _tokenProvider;
public ToniesOAuthHandler(ITokenProvider tokenProvider)
{
_tokenProvider = tokenProvider;
}
protected overrid... |
using Core.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Infrastructure.Data.Configuration
{
public class LanguageConfiguration : IEntityTypeConfiguration<Language>
{
public void Configure(EntityTypeBuilder<Language> builder)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using User = Player;
public class ZombieController : MonoBehaviour
{
public bool ForceAttack = false;
public bool ForceWalk = false;
public float MoveSpeed = 0.5f;
public int Health;
public Player Player;
public Sta... |
using System;
namespace KelpNet.Common
{
//乱数の素
//C#ではRandomを複数同時にインスタンスすると似たような値しか吐かないため
//一箇所でまとめて管理しておく必要がある
public class Mother
{
public static Mother Current = new Mother();
public static Random Dice => Current.Rnd;
#if DEBUG
public Random Rnd = new Random(128);
#else... |
using UnityEditor;
using UnityEngine;
namespace Unity.Labs.XR
{
[CustomEditor(typeof(XRTrailRenderer))]
[CanEditMultipleObjects]
class XRTrailRendererEditor : Editor
{
SerializedProperty m_Materials;
SerializedProperty m_Time;
SerializedProperty m_MinVertexDistance;
Ser... |
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using ConfigInjector;
using ConfigInjector.Configuration;
using NUnit.Framework;
using Sample.IntegrationTests.ConfigurationSettings;
using Shouldly;
namespace Sample.IntegrationTests
{
[TestFixture]
public class WhenConstructingSom... |
using SolidWorks.Interop.sldworks;
using System.Runtime.InteropServices;
namespace Taskpane_ZeroGrau
{
internal static class SolidWorksSingleton
{
private static SldWorks swApp;
internal static SldWorks GetApplication()
{
swApp = (SldWorks)Marshal.GetActiveObject("SldWorks... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Substratum.Notification
{
public enum MailMessageSenderStatus
{
Sent,
Failed,
Partial
}
} |
// ==============================================================================================================
// Microsoft patterns & practices
// CQRS Journey project
// ==============================================================================================================
// ©2012 Microsoft. All rights re... |
using NUnit.Framework;
using System;
using akarnokd.reactive_extensions;
using System.Threading;
using System.Threading.Tasks;
using System.Reactive.Concurrency;
namespace akarnokd.reactive_extensions_test.single
{
[TestFixture]
public class SingleWaitTest
{
#region + Value output +
[Tes... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("e2eUnitTest")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("e2eUnitTest")]
[assembly: AssemblyCopyrigh... |
using UnityEngine;
using System.Collections;
using UnityEditor;
namespace EditorCommon
{
public class TableViewAppr
{
public float LineHeight
{
get { return _lineHeight; }
set { _lineHeight = value; }
}
float _lineHeight = 25;
public string GetSo... |
using System;
using System.Collections.Generic;
using System.Threading;
using NUnit.Framework;
using Quartz.Impl.Matchers;
namespace Quartz.Tests.Integration
{
public abstract class AbstractSchedulerTest
{
private const string Barrier = "BARRIER";
private const string DateStamps = "DATE_STAM... |
// Compiler options: -doc:gxml-02.xml
using System.Collections.Generic;
// <see cref="int?" /> - this is invalid 1584/1658
// <see cref="List" />
/// <see cref="M:System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke2 ( )" />
/// <see cref="Bar" />
/// <see cref="ListBase(string)" />
/// <see cref="T:ListBase(s... |
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// 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, modi... |
using System;
using System.Windows;
using System.Windows.Media;
using System.Windows.Controls;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Xceed.Wpf.Toolkit;
using Wind.Containers;
using System.Linq;
using System.Windows.Input;
namespace Parrot.Controls
{
public class pViewTre... |
namespace ifunction.Common.UnitTest.SqlExceptionUnitTest
{
} |
// 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.Composition;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
u... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information.
using System;
using System.IO;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DCPUB.Intermediate
{
public class LabelNode : IRNode
{
public Label label;
public override void Emit(EmissionStream stream)
{
stream.WriteLine(new String(' ', stream.indentDepth... |
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using log4net;
using MoreLinq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace POESKillTree.Utils.WikiApi
{
/// <summary>
/// Provides access to the wiki's API.
/// </s... |
// *** 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... |
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using SongTracker.Models;
namespace ProjectName.Migrations
{
[DbContext(typeof(SongTrackerCont... |
namespace NArrange.Tests.Core.CodeElements
{
using NArrange.Core;
using NArrange.Core.CodeElements;
using NUnit.Framework;
/// <summary>
/// Test fixture for the EventElement class.
/// </summary>
[TestFixture]
public class EventElementTests : AttributedElementTests<EventElement>
{... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class KarapanProgressBarUI : KarapanSubScontroller{
private Image progressBarImage;
protected override void start()
{
base.start();
progressBarImage = GetComponent<Image>();
... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
#nullable enable
namespace Jakar.SettingsView.Shared.Interfaces
{
public interface IParent<TParent>
{
public TParent? Parent { get; set; }
}
} |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Core.SchemaObjectModel
{
using System.Collections.Generic;
using System.Data.Entity.Core.Metadata.Edm;
using System.Diagnostics;
using Syste... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace TakeSkipRope
{
class Program
{
static void Main(string[] args)
{
var inputString = Console.ReadLine();
var skipList = new List<int>();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace Integrator.Infrastructure
{
public class GenericRepository<T> : IGenericRepository<T> where T: BaseEntity
{
protected readonly IntegratorContext Context;
private DbSet<T> dbSet;
... |
using System.Windows.Controls;
namespace cAlgo.API.Alert.Views
{
/// <summary>
/// Interaction logic for AboutView.xaml
/// </summary>
public partial class AboutView : UserControl
{
public AboutView()
{
InitializeComponent();
}
}
} |
// 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;
using Xunit;
namespace System.Text.RegularExpressions.Tests
{
public class CaptureCol... |
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("Pr... |
using System;
using System.Threading.Tasks;
using IO.Ably.Transport.States.Connection;
namespace IO.Ably.Tests
{
internal class FakeTimer : ICountdownTimer
{
public Action OnTimeOut { get; private set; }
public Func<Task> OnTimeOutFunc { get; private set; }
public bool AutoRest { get;... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Hugula.Framework
{
public interface IManager
{
void Initialize();
void Terminate();
}
///<summary>
///manager 对各种manager的生命周期管理
///</summary>
public class Manager : MonoB... |
// *** 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... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.ComponentModel.Composition;
namespace NuGet.PackageManagement
{
/// <summary>
/// Provider for the PackageEvents singleton
///... |
//---------------------------------------------------------
// <auto-generated>
// This code was generated by a tool. Changes to this
// file may cause incorrect behavior and will be lost
// if the code is regenerated.
//
// Generated on 2020 October 09 04:47:08 UTC
// </auto-generated>
//--------------... |
namespace AlphaMosaik.SharePoint.ConfigurationStore
{
using System.Collections.Generic;
using System.Web.UI;
/// <summary>
/// Control to show usage of config store solution. Illustrates calling both an individual value and multiple
/// values.
/// </summary>
[ToolboxData("<{0}:ConfigTestControl runat=server>... |
namespace XMap.Test.TestTypes
{
public class Astronaut
{
public string Name { get; set; }
}
} |
using Adamant.Tools.Compiler.Bootstrap.Framework;
namespace Adamant.Tools.Compiler.Bootstrap.Core
{
/// Some kind of reference to where the source code came from. For example,
/// this might be a path on disk or a network URL or a git hash or what
/// template file the code was generated from.
public a... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.Sql.Models
{
public partial class MaxSizeRangeCapability
{
internal static MaxSizeRangeCapa... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Froggy
{
class Program
{
static void Main(string[] args)
{
Lake lake = new Lake
(Console.ReadLine()
.Split(", ")
.Select(int.Parse)
.ToArray(... |
using System;
using System.Collections.Generic;
using Framework.Core;
using Framework.OData;
namespace Framework.DomainDriven
{
public static class FetchServiceExtensions
{
public static IFetchService<TPersistentDomainObjectBase, FetchBuildRule> Add<TPersistentDomainObjectBase>(
this IFet... |
/*
* 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 Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// RoyaltyDetailInfos Data Structure.
/// </summary>
[Serializable]
public class RoyaltyDetailInfos : AlipayObject
{
/// <summary>
/// 分账的金额,单位为元
/// </summary>
... |
@model asp_assignment.Models.BagStore.Product
@{
ViewData["Title"] = "Create";
}
<h2>Create</h2>
<form asp-action="Create" enctype="multipart/form-data">
<div class="form-horizontal">
<h4>Product</h4>
<hr />
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<d... |
using System.Net.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace ArchPM.NetCore.Http.Extensions
{
//string requestUri, HttpMethod httpMethod, object data, ILogger logger = null
public class HttpRequestConfiguration
{
public HttpReques... |
#region Copyright note and modification history
/*
-----------------------------------------------------------------------------
Copyright (c) 2006 HSI Inc. All Rights Reserved.
PROPRIETARY NOTICE: This software has been provided pursuant to a
License Agreement that contains restrictions on its use. This software
cont... |
using System;
using System.Collections.Generic;
using System.Xml;
using System.Linq;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Wordprocessing;
using PaperFormatDetection.Tools;
using PaperFormatDetection.Frame;
using System.Text.RegularExpressions;
namespace PaperFormatDetection.Master
{
... |
// <auto-generated />
using Forum.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.Storage.Interna... |
using Bing.Biz.OAuthLogin.Core;
namespace Bing.Biz.OAuthLogin.Wechat
{
/// <summary>
/// 微信授权提供程序
/// </summary>
public interface IWechatAuthorizationProvider : IAuthorizationUrlProvider<WechatAuthorizationRequest>
, IAccessTokenProvider
, IRefreshTokenProvider
, IGetUserInfoPr... |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Verse;
namespace HelpTab
{
public class HelpDetailSectionHelper
{
public static List<DefStringTriplet> BuildDefStringTripletList(List<Def> defs, string[] prefixes = null,
string[] suffixes = null)
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using Check02.Context;
using Check02.Models;
namespace Check02.Controllers
{
public class ServicosController : Control... |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Elsa.Services.Models;
namespace Elsa.Services.Triggers
{
/// <summary>
/// An object which can get all of the workflow triggers for a collection of workflow blueprints.
/// </summary>
public interface IGetsTri... |
/*
* 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;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Recruit.Shared
{
public class Department
{
public int Id { get; set; }
[Required]
[MaxLength(50)]
public st... |
/*
// <copyright>
// dotNetRDF is free and open source software licensed under the MIT License
// -------------------------------------------------------------------------
//
// Copyright (c) 2009-2017 dotNetRDF Project (http://dotnetrdf.org/)
//
// Permission is hereby granted, free of charge, to any person obtainin... |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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 System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope = "member", Target = "Waf.InformationManager.Common.Presentation.Controls.SearchBox.#.cctor()")]
[assembly: SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalle... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DapperQueryBuilder
{
/// <summary>
/// Query Builder with one or more from clauses, which can still add more clauses to from
/// </summary>
public interface IFromBuilder : ICompleteCommand
{
/// <summary>
... |
using System.Threading.Tasks;
using Elastic.Xunit.XunitPlumbing;
using Nest;
using Tests.Domain;
using Tests.Framework.EndpointTests;
using static Tests.Framework.EndpointTests.UrlTester;
namespace Tests.Cat.CatRecovery
{
public class CatRecoveryUrlTests : UrlTestsBase
{
[U] public override async Task Urls()
{
... |
// 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;
using System.Runtime.InteropServices;
internal partial class Interop
{
internal partial class Win... |
using System;
using Marazt.ConfigTransformation.Helpers;
using Marazt.ConfigTransformation.Transformation;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
namespace Marazt.ConfigTransformation.Commands
{
/// <summary>
/// Base Constect menu command... |
using CloudConsult.Common.Controllers;
using CloudConsult.Identity.Domain.Commands;
using CloudConsult.Identity.Domain.Queries;
using Microsoft.AspNetCore.Http.Extensions;
using Microsoft.AspNetCore.Mvc;
namespace CloudConsult.Identity.Api.Controllers
{
[ApiVersion("1.0")]
[ApiController]
public class Ide... |
// 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;
using Microsoft.VisualBasic.Devices;
using Xunit;
namespace Microsoft.VisualBasic.MyServices.Tests
{... |
namespace SFA.Apprenticeships.Infrastructure.Repositories.Sql.Schemas.Provider
{
using System;
using System.Collections.Generic;
using System.Linq;
using Common;
using Domain.Raa.Interfaces.Repositories;
using Application.Interfaces;
using Domain.Entities.Feature;
using Domain.Raa.Inter... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using DotNetNuke.UI.Skins;
namespace Vanjaro.UXManager.Extensions.Block.BlockLanguage.Entities
{
public class LanguageSettings : SkinObjectBase
{
private bool _showMenu = true;
public bool ShowLinks { get; set; }
public bool ShowMenu
{
get
{
... |
//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
namespace System.ServiceModel.Configuration
{
using System.Configuration;
public seale... |
namespace System.Workflow.ComponentModel.Serialization
{
using System;
using System.IO;
using System.CodeDom;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.ComponentModel.Design.Serialization;
using System.Collections;
using System.Xml;
using System.Xm... |
using System.Collections.Generic;
namespace FRC_HoloClient
{
public class WidgetGrid
{
public List<Widget> widgets;
//TODO: Load from JSON file if not in testing mode
public WidgetGrid(bool TestingMode) {
widgets = new List<Widget>();
if (TestingMode)
{
#region TextWidgets
Widget stringText... |
using System;
using System.Collections;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace UnityStandardAssets.Utility {
public class WaypointCircuit : MonoBehaviour {
public WaypointList waypointList = new WaypointList();
[SerializeField] private bool smoothRoute = true;
public fl... |
/*
* 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.Collections;
using System.IO;
using System;
using ProtoBuf;
/// <summary>
/// 网络协议数据打包和解包类
/// </summary>
public class PackCodec{
/// <summary>
/// 序列化
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="msg"></param>
/// <returns></returns>
static public byte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Video.Apis.Models.Response
{
public class UploadFileResponse : BaseResponse
{
public UploadResult Data { get; set; }
}
public class UploadResult
{
public UploadResult(string fileName, s... |
/*
Copyright (c) 2017, Nokia
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 list of conditions and the... |
using Miru.Userfy.Invitable;
namespace AltBank.Features.Accounts.Invitations;
public class InvitationResend
{
public class Command : IRequest<Result>
{
public long UserId { get; set; }
}
public class Result
{
public long UserId { get; set; }
}
public class Handler :
... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace NuGet.Insights.Worker
{
public record CompactedBucketInfo(int Bucket, long RawSizeBytes);
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.