text stringlengths 1 932k |
|---|
@model MOE.Common.Models.ViewModel.DatabaseArchive.ArchiveSettingsViewModel
@{
ViewBag.Title = "Edit";
}
<h2>Edit</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Database Archive Settings</h4>
<hr />
@Html.ValidationSummary(true, "... |
using System;
using Microsoft.AspNetCore.Proxy;
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json.Linq;
namespace Microsoft.Extensions.DependencyInjection
{
public static class ProxyServiceCollectionExtensions
{
public static IServiceCollection AddProxy(this IServiceCollection services)
... |
using System;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Security.Cryptography;
using System.Text;
using Palmmedia.ReportGenerator.Core.Common;
using Palmmedia.ReportGenerator.Core.Properties;
namespace Palmmedia.ReportGenerator.Core.Parser.FileReading
{
///... |
using System;
namespace EverydayDataStructures
{
public class StringType
{
public StringType()
{
}
public static void stringDemo()
{
//C#
string one = "One String";
Console.WriteLine("One: {0}", one);
String two = "Two String";
Console.WriteLine("Two: {0}", two);
String red = "Red Stri... |
namespace ScriptEditor
{
partial class Gen2EndiannessForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System;
using System.Linq;
using System.Collections.Generic;
using SpotifyAPI.Web;
using System.Threading.Tasks;
using CustomResources.Utils.Extensions;
using SpotifyProject.SpotifyPlaybackModifier.TrackLinking;
using ApplicationResources.Logging;
using System.Threading;
namespace SpotifyProject.SpotifyPlayback... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Content.Server.Atmos.Reactions;
using Content.Server.GameObjects.Components.Atmos;
using Content.Server.GameObjects.EntitySystems;
using Content.Server.Interfaces;
using Content.Shared.Atmos;
using Content.Shared.Audio;
using ... |
// 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.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using HousingProvider.Business.Library.Models;
using HousingProvider.Business.Service.DataModels;
namespace HousingProvider.Business.Service.Controllers
{
... |
using UnityEngine;
using System.Collections.Generic;
namespace UnityEditor.Experimental.U2D.Animation
{
internal class CircleVertexSelector : ICircleSelector<int>
{
public ISelection<int> selection { get; set; }
public ISpriteMeshData spriteMeshData { get; set; }
public Vector2 position... |
/*
* 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 LangDriverApi.BusinesLogic.Interfaces;
using LangDriverApi.Common.Models;
using LangDriverApi.DataAccess.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
namespace LangDriverApi.BusinesLogic.Managers
{
public class WordManager : IWordManager
{
private readonly IUnit... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using BankCloud.Data.Entities;
using BankCloud.Data.Entities.Enums;
using BankCloud.Models.BindingModels.Accounts;
using BankCloud.Models.ViewModels.Accounts;
using BankCloud.Models.ViewModels.Users;
using BankCloud.Se... |
using System;
using System.Linq;
using AutoMapper;
using WebApi.DbOperations;
namespace WebApi.Applications.AuthorOperations.Queries.GetAuthorDetail
{
public class GetAuthorDetailQuery
{
public int AuthorId { get; set; }
private readonly IBookStoreDbContext _context;
private readonly I... |
/*
* Copyright 2018 ZXing.Net authors
*
* 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 ag... |
/*Write a program for generating and printing all subsets of k strings from given set of strings.
Example: s = {test, rock, fun}, k=2 → (test rock), (test fun), (rock fun)
*/
namespace _06.SubsetsOfStrings
{
using System;
public class Startup
{
public static void Main()
{
... |
using Abp.AutoMapper;
using System;
using System.Collections.Generic;
using System.Text;
using Training.Entity.Categories;
namespace Training.AppService.Categories.Dto
{
[AutoMapFrom(typeof(Category))]
public class DeleteCategoryDto
{
public Guid Id { get; set; }
}
} |
namespace Going.Plaid.AssetReport;
/// <summary>
/// <para>AssetReportAuditCopyGetRequest defines the request schema for <c>/asset_report/audit_copy/get</c></para>
/// </summary>
public partial class AssetReportAuditCopyGetRequest : RequestBase
{
/// <summary>
/// <para>The <c>audit_copy_token</c> granting access to... |
public class PlayerRank
{
public int Position { get; set; }
public string Name { get; set; }
public int Score { get; set; }
} |
// This software is part of the Autofac IoC container
// Copyright © 2013 Autofac Contributors
// https://autofac.org
//
// 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
// restric... |
namespace Azure.Messaging.WebPubSub
{
public enum WebPubSubPermission
{
SendToGroup = 1,
JoinLeaveGroup = 2,
}
public partial class WebPubSubServiceClient
{
protected WebPubSubServiceClient() { }
public WebPubSubServiceClient(string connectionString, string hub) { }
... |
using System;
using System.Collections.Generic;
namespace LadderRanking.MatchLogic.Extensions
{
public static class ComparerExtensions
{
// Reverses the comparer by wrapping it in a ComparerReverser instance.
public static IComparer<T> Reverse<T>(this IComparer<T> comparer)
{
... |
using System;
namespace VSMonoDebugger.Services
{
public enum EngineType
{
//AD7Engine,
//MonoEngine,
XamarinEngine
}
public static class DebugEngineGuids
{
public readonly static EngineType UseAD7Engine = EngineType.XamarinEngine;
//public const string Mo... |
using System;
using System.Collections.Generic;
using static HT.Framework.CoroutinerManager;
namespace HT.Framework
{
/// <summary>
/// 默认的协程调度器助手
/// </summary>
public sealed class DefaultCoroutinerHelper : ICoroutinerHelper
{
/// <summary>
/// 协程调度器
/// </summary>
... |
//
// Copyright (c) 2009 Froduald Kabanza and the Université de Sherbrooke.
// Use of this software is permitted for non-commercial research purposes, and
// it may be copied or applied only for that use. All copies must include this
// copyright message.
//
// This is a research prototype and it has not gone through... |
namespace IdentityGuard.Shared.Models
{
public static class AccessReviewActionTypes
{
public const string Remove = "Remove";
}
} |
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace one_to_one_chromium_hack
{
using System;
public class SuperFastHashSimple
{
public static UInt32 Hash(Byte[] dataToHash)
{
Int32 dataLength = dataToHash.Length;
if (dataLength == 0)
... |
// Copyright 2021 Niantic, Inc. All Rights Reserved.
using System;
using Niantic.ARDK.AR;
using Niantic.ARDK.AR.ARSessionEventArgs;
using Niantic.ARDK.AR.Configuration;
using Niantic.ARDK.Networking;
using Niantic.ARDK.Networking.MultipeerNetworkingEventArgs;
using Niantic.ARDK.Utilities;
using Niantic.ARDK.Utilitie... |
namespace Taxi
{
using System;
using System.Collections.Concurrent;
public class ObjectPool<T>
where T: class
{
private BlockingCollection<ObjectPoolObject> _pool = new BlockingCollection<ObjectPoolObject>();
private Func<T> _factory;
private int _poolSize;
publ... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System.... |
using chainsharp.common;
using chainsharp.core.Storage.Models;
namespace chainsharp.core.Storage.Access
{
public static class PageFactory
{
public static Page GetPage()
{
return new Page(Constants.PageSize);
}
}
} |
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// --------------------------------------------------------... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Reservations.Models
{
/// <summary> The aggregate values of reservation utilization. </summary>
public partial class ReservationUtilizationAgg... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Watermarking
{
public class BitTextParser
{
public string BitsToText(string bits)
=> Encoding.ASCII.GetString(GetBytesFromBinaryString(bits).ToArray());
private IEnumera... |
namespace Pickle
{
public enum ObjectProviderType
{
None = 0,
Assets = 1 << 0,
Scene = 1 << 1,
Children = 1 << 2,
RootChildren = 1 << 3
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WarehousePizza
{
public partial class AddProductScreen : Form
{
//4-13-2021 Saung New 8L: I... |
namespace Merchello.Web.Models.ContentEditing.Sales
{
using System;
using Merchello.Core;
using Merchello.Core.Models;
/// <summary>
/// The adjustment line item reference.
/// </summary>
public class AdjustmentLineItemReference
{
/// <summary>
/// Gets or sets the key... |
using Nest;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
namespace Tests.QueryDsl.Joining.SpanTerm
{
public class SpanTermUsageTests : QueryDslUsageTestsBase
{
public SpanTermUsageTests(ReadOnlyCluster i, EndpointUsage usage) : base(i, usage) { }
protected override object QueryJson => new... |
using System;
namespace OA.Domain.Auth
{
public class RefreshToken
{
public int Id { get; set; }
public string Token { get; set; }
public DateTime Expires { get; set; }
public bool IsExpired => DateTime.UtcNow >= Expires;
public DateTime Created { get; set; }
pu... |
using Microsoft.AspNetCore.Identity;
namespace soulgram.identity.Models;
public class ApplicationUser : IdentityUser
{
} |
namespace CSLauncher.Forms {
partial class DownloadForm {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IteratorsAndComparators
{
public class Book : IComparable<Book>
{
public string Title { get; set; }
public int Year { get; set; }
public IReadOnlyList<string> Authors { get; set; }
... |
using PipBenchmark.Runner;
using PipBenchmark.Runner.Config;
using PipBenchmark.Runner.Console;
using System;
using System.IO;
using System.Threading;
namespace PipBenchmark.Console
{
class Program
{
private static void ExecuteBatchMode(CommandLineArgs args, BenchmarkRunner runner)
{
... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace PlanosLigacao.Application
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string... |
namespace Lesson.Models.TokenAuth
{
public class AuthenticateResultModel
{
public string AccessToken { get; set; }
public string EncryptedAccessToken { get; set; }
public int ExpireInSeconds { get; set; }
public long UserId { get; set; }
}
} |
using System.Web;
using System.Web.Mvc;
namespace RandomNews
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
} |
namespace MvcTemplate.Web
{
using System.Web.Mvc;
using System.Web.Routing;
public static class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
// Enables attribute routing
... |
// *** 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 Vortice.Direct3D12;
namespace RayTracingTutorial23.Structs
{
public struct AccelerationStructureBuffers
{
public ID3D12Resource pScratch;
public ID3D12Resource pResult;
public ID3D12Resource pInstanceDesc; // Used only for top-level AS
}
} |
/*
* 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... |
namespace Smart.Windows.Data
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
using Smart.Windows.Expressions;
public class CompareConverter<T> : IValueConverter
{
... |
/*******************************************************************************
* Copyright 2012-2019 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... |
/// <summary>
/// 요금 유형 선택
/// </summary>
public enum RateTypeOption
{
/// <summary>
/// 값
/// </summary>
First,
/// <summary>
/// 을
/// </summary>
Second
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace TestEFPostgres.Entities.BridgePattern
{
public interface IImplementation
{
string OperationImplementation();
}
} |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.ServiceModel.Channels
{
public enum WebContentFormat
{
Default,
Xml,
Json,
... |
using Com.Ctrip.Framework.Apollo;
using Com.Ctrip.Framework.Apollo.Core;
using Com.Ctrip.Framework.Apollo.Model;
using System;
namespace Apollo.ConfigurationManager.Demo
{
internal class ConfigurationManagerDemo
{
private const string DefaultValue = "undefined";
private readonly IConfig _confi... |
// Copyright (c) Daniel Crenna & Contributors. 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.Data;
namespace ActiveConnection
{
public class DataContext : IDisposable
{
private static readonly object ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Concurrency;
using System.Reacti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appendix.A
{
class Program
{
static void Main(string[] args)
{
}
}
} |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.IO;
using System.Xml;
using System.Xml.XPath;
using Argotic.Common;
using Argotic.Extensions;
namespace Argotic.Syndication
{
/// <summary>
/// Represents information about a categor... |
using System.IO;
using System.Net;
using System.Text.RegularExpressions;
using System.Web.Routing;
namespace SharpExpress
{
/// <summary>
/// Static middleware to serve static files.
/// </summary>
public static class StaticExtension
{
/// <summary>
/// Serves specified directory.
/// </summary>
/// <par... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using RestCore5Training.Models;
using RestCore5Training.Services;
using System.Threading.Tasks;
namespace RestCore5Training.Controllers
{
[ApiController]
[Route("api/[controller]")]
public class PersonController : ControllerBase
{
... |
using UnityEngine;
using System.Collections;
public class TriangleComponent : ShapeComponent
{
// Use this for initialization
protected override void Start()
{
base.Start();
}
// Update is called once per frame
protected override void Update()
{
base.Update();
}
p... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
using Azure.ResourceManager.EventHubs.Models;
using Azure.ResourceManager.Models;
namespace Azure.Resourc... |
/*
------------------- Code Monkey -------------------
Thank you for downloading the Code Monkey Utilities
I hope you find them useful in your projects
If you have any questions use the contact form
Cheers!
unitycodemonkey.com
--------------------------------------------------... |
using System.Net;
using FluentAssertions;
using JsonApiDotNetCore.Configuration;
using JsonApiDotNetCore.Resources;
using JsonApiDotNetCore.Serialization.Objects;
using Microsoft.Extensions.DependencyInjection;
using TestBuildingBlocks;
using Xunit;
namespace JsonApiDotNetCoreTests.IntegrationTests.AtomicOperations.Re... |
using Nest;
namespace Yin.ElasticSearch
{
public interface IElasticSearchService<TDoc> where TDoc : class
{
/// <summary>
/// 创建索引
/// </summary>
/// <param name="numberOfReplicas"></param>
/// <param name="numberOfShards"></param>
/// <returns></returns>
... |
using Amazon.DynamoDBv2.DataModel;
using Amazon.Lambda.SQSEvents;
using FluentAssertions;
using Hackney.Shared.Person;
using Hackney.Shared.Person.Infrastructure;
using Hackney.Shared.Tenure.Boundary.Response;
using PersonListener.Infrastructure;
using PersonListener.Infrastructure.Exceptions;
using System;
using Syste... |
namespace DepartmentStoreOne.Base.Model
{
public enum BaseNotificationType
{
Success,
Info,
Warning,
Error
}
} |
namespace SportSystem.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
public class Comment
{
[Key]
public int Id { get; set; }
[Required]
public string Content { get... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
using System.Diagnostics;
using System.Reflection.Internal;
using System.Reflection.Metadata.Ecma335;
using System.Runtime.CompilerS... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace isDotServer.Migrations
{
public partial class _3thMigration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "WhosTurn",
... |
#if UNITY_EDITOR
using UnityEditor.Experimental.GraphView;
using UnityEngine;
namespace GraphExt.Editor
{
public class ScriptableNodeSelectionConvertor<TNodeId, TNodeView, TNodeComponent> : SyncSelectionGraphElementPresenter.IConvertor
where TNodeComponent : ScriptableObject
where TNodeView : cla... |
using System.ComponentModel.DataAnnotations;
using Herald.Result;
using MediatR;
namespace GrpcApi.Application.Features.GetAddressByPostalCode
{
public partial class GetFromExternalApiCommand : IRequest<Result<GetFromExternalApiResult>>
{
[Required]
public string PostalCode { get; set; }
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... |
/*
* Swagger Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
* Generated by: https://github.com/swagger-api/swagger-codegen.git
... |
// Copyright (c) 2017 Jean Ressouche @SouchProd. All rights reserved.
// https://github.com/souchprod/SouchProd.EntityFrameworkCore.Firebird
// This code inherit from the .Net Foundation Entity Core repository (Apache licence)
// and from the Pomelo Foundation Mysql provider repository (MIT licence)
// Licensed under t... |
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
// This code is generated by tool. DO NOT EDIT.
using System;
using System.IO;
using System.Collections.Generic;
using AccelByte.Sdk.Co... |
// Copyright (c) 2018, Rene Lergner - @Heathcliff74xda
//
// 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, mod... |
using System;
using System.Collections.Generic;
using Grasshopper.Kernel;
using Rhino.Geometry;
using System.Linq;
using Grasshopper.GUI.Canvas;
using System.Drawing;
using System.Windows.Forms;
using Grasshopper.Kernel.Parameters;
using GH_IO.Serialization;
namespace CalcMonkey
{
public class AvailableCalcs : GH... |
// Copyright 2004-2010 Castle Project - http://www.castleproject.org/
//
// 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 ... |
//-----------------------------------------------------------------------------
// Torque
// Copyright GarageGames, LLC 2011
//-----------------------------------------------------------------------------
// Load up all scripts. This function is called when
// a server is constructed.
exec("./camera.cs");
exec("./tri... |
using Abp.Application.Features;
using Abp.Domain.Repositories;
using Abp.MultiTenancy;
using Dukkan.Authorization.Users;
using Dukkan.Editions;
namespace Dukkan.MultiTenancy
{
public class TenantManager : AbpTenantManager<Tenant, User>
{
public TenantManager(
IRepository<Tenant> tenantRepo... |
using System;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace WpfWizard.Controls
{
/// <summary>
/// Represents a wizard control.
/// </summary>
[TemplatePart(Name = Wizard.PART_Finish, Type = t... |
using System;
using Microsoft.Extensions.DependencyInjection;
using ZptSharp.Rendering;
namespace ZptSharp.Hosting
{
/// <summary>
/// An implementation of <see cref="IHostsZptSharp" /> which wraps an
/// <see cref="IServiceProvider" /> and uses that to provide the entry-points.
/// </summary>
publ... |
using Audit.Core.Extensions;
using Newtonsoft.Json;
namespace Audit.WCF
{
/// <summary>
/// An element type/value object
/// </summary>
public class AuditWcfEventElement
{
[JsonProperty(Order = 10)]
public string Type { get; set; }
[JsonProperty(Order = 20)]
public o... |
// 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 enable
using System;
namespace Microsoft.CodeAnalysis
{
internal static class CodeStyleSyntaxNodeEx... |
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("Un... |
using UnityEngine;
using System.Collections;
public class sfxManager : MonoBehaviour {
public AudioClip[] sounds;
public AudioSource b;
public static sfxManager Instance;
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
{
... |
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("Ma... |
using Pathfinder.Application.Entities;
using Pathfinder.Models;
using System.Threading.Tasks;
namespace Pathfinder.Application.Services {
/// <summary>
/// Service that manages collaborators interaction with projects
/// </summary>
public interface IProjectService {
/// <summary>
/... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DotnetToLambda.Core.Models
{
public class Booking
{
private Booking()
{
this.Status = BookingStatus.Reserved;
}
public static Booking Create(string bookingId, string customerId, string out... |
using UnityEditor;
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
public class HolographicRemotingPluginRegistration : IPreprocessBuildWithReport
{
public int callbackOrder { get { return 0; } }
private readonly string[] nativePluginNames = new string[]
{
"HolographicStreamer.dll", ... |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace Workday.SettlementServices
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepT... |
using System;
using System.Linq;
using System.Reflection;
using FluentAssertions.Common;
using FluentAssertions.Primitives;
using FluentAssertions.Types;
using Xunit;
using Xunit.Sdk;
namespace FluentAssertions.Specs
{
public class TypeAssertionSpecs
{
#region Be
[Fact]
public void Whe... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class LoadData
{
public IEnumerator LoadDatawww(string _config)
{
// string path = @"file://E:/StreamingAssets/" + _config;
string path = AppConfig.AppHttp+AppConfig.AppUpdataPath+ _config;
... |
#region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applic... |
using NCaller.Builder;
using System;
namespace NCaller
{
public class DynamicCaller
{
public static CallerBase Create(Type type)
{
return CallerBuilder.Ctor(type);
}
}
public class DynamicCaller<T>
{
public static CallerBase Create()
{
... |
// 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.a... |
#define PROTOTYPE
/**
* @ Matt1988
* This extension was built by @Matt1988
*/
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using ProBuilder2.Common;
using ProBuilder2.EditorCommon;
namespace ProBuilder2.Actions
{
/**
* Deprecated as of 2.6.0.
* This file rema... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.