text stringlengths 1 932k |
|---|
using System;
using Microsoft.Extensions.Configuration;
namespace NetCoreRedisConfigDemo
{
public static class RedisConfigExtension
{
public static IConfigurationBuilder AddRedisConfig(this IConfigurationBuilder builder)
{
return builder.Add(new RedisConfigSource());
}
... |
using Alabo.Cloud.Support.Domain.Enum;
using Alabo.Domains.Enums;
using Alabo.Users.Entities;
using Alabo.Validations;
using Alabo.Web.Mvc.Attributes;
using Alabo.Web.Mvc.ViewModel;
using System;
using System.ComponentModel.DataAnnotations;
namespace Alabo.Cloud.Support.Domain.ViewModels
{
public class ViewWorkOr... |
using System.IO;
using SquishIt.Framework.Utilities;
namespace SquishIt.Tests.Stubs
{
public class StubHasher : IHasher
{
protected string HashValue;
public StubHasher(string hashValue)
{
HashValue = hashValue;
}
public string GetHash(Stream stream)
... |
using DtoModel.DtoModels.Abstractions.Common;
using DtoModel.DtoModels.Implementations.User;
using DtoModel.DtoModels.Interfaces.Role;
using System;
using System.Collections.Generic;
using System.Text;
namespace DtoModel.DtoModels.Implementations.Role
{
public class DtoRole : ADtoBaseEntity, IDtoRole
{
... |
namespace Sample.API.Runtime
{
internal static class DictionaryExtensions
{
internal static void HashTableToDictionary<T, V>(System.Collections.Hashtable hashtable, T dictionary) where T : System.Collections.Generic.IDictionary<string, V>, new()
{
foreach (var each in hashtable.Keys)... |
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace ag.WPF.Chart
{
/// <summary>
/// Represents series legend
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
public class Legend : Control
{
... |
namespace Sandbox.Tools
{
[Library( "tool_getposangrot", Title = "Get Pos, Ang, Rot", Description = "Get your position, angle, and rotation.", Group = "construction" )]
public partial class GetPosTool : BaseTool
{
public override void Simulate()
{
if ( !Host.IsServer ) return;
using ( Prediction.Off() )
... |
// 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;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.CompilerServices;
namespace Jitex.Builder.IL.Resolver
{
internal sealed class DynamicMethodTokenResolver : ITokenResolver
{
private delegate Type GetTypeFromHandleUnsafe(IntPtr handle);
private delegate ... |
/*
* 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 Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Unity.Injection;
namespace Unity.Specification.Resolution.Generic
{
public abstract partial class SpecificationTests
{
[TestMeth... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PnP.Core.Model.SharePoint;
using PnP.Core.Services;
using PnP.Core.Test.Utilities;
using System;
using System.Linq;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace PnP.Core.Test.Base
{
... |
using Ninject.Modules;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using System;
using System.Collections.Generic;
namespace Core.Services.Actions
{
public abstract class AbsAction
{
public string Name { get; set; }
public bool IsDebug { get; set; }
public AbsAction()
... |
//
// ABAddressBook.cs: Implements the managed ABAddressBook
//
// Authors: Mono Team
//
// Copyright (C) 2009 Novell, Inc
// Copyright 2011-2013 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software... |
//
// AddingAnnotationsDataSource.cs
//
// Copyright 2013 Scott Logic Ltd. All rights reserved.
//
using System;
using CoreGraphics;
using Foundation;
using UIKit;
using ShinobiCharts;
using System.Collections.Generic;
using System.IO;
using System.Json;
namespace AddingAnnotations
{
public class AddingAnnotationsDat... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.Networking;
public class PreviewTrackPlayer : MonoBehaviour
{
public MessageDialog messageDialog;
private AudioSource source;
// Start is called before the first frame update
... |
using System;
using OpenTelemetry.Trace;
using MagicOnion.Server.OpenTelemetry.Internal;
namespace MagicOnion.Server.OpenTelemetry
{
public static class TracerProviderBuilderExtensions
{
public static TracerProviderBuilder AddMagicOnionInstrumentation(this TracerProviderBuilder builder)
{
... |
@model OJS.Web.ViewModels.Account.ManageUserViewModel
@using Resource = Resources.Account.Views.Partial.SetPassword
<p class="text-info">
@Resource.No_username_or_password
</p>
@using (Html.BeginForm("Manage", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgery... |
/*
* Ed-Fi Operational Data Store API
*
* The Ed-Fi ODS / API enables applications to read and write education data stored in an Ed-Fi ODS through a secure REST interface. *** > *Note: Consumers of ODS / API information should sanitize all data for display and storage. The ODS / API provides reasonable safeguards ... |
using Microsoft.AspNetCore.Identity;
namespace Convience.EntityFrameWork.Infrastructure
{
public class AppUser : IdentityUser
{
}
} |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// KoubeiAdvertCommissionMissionQueryModel Data Structure.
/// </summary>
[Serializable]
public class KoubeiAdvertCommissionMi... |
namespace ErpDataFactory
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class Sys_CanvassAgreement
{
public int Id { get; set; }
... |
namespace Sidekick.Business.Parsers.Types
{
public enum StatType
{
And,
Or,
Count
}
} |
using System;
using System.Diagnostics;
using System.IO;
using Org.BouncyCastle.Utilities;
using Org.BouncyCastle.Utilities.IO;
namespace Org.BouncyCastle.Asn1
{
/**
* a general purpose ASN.1 decoder - note: this class differs from the
* others in that it returns null after it has read the last object i... |
using System.Web.Http;
using Newtonsoft.Json.Serialization;
namespace BookDb
{
public static class JsonConfig
{
public static void Configure(HttpConfiguration configuration)
{
var json = configuration.Formatters.JsonFormatter;
json.SerializerSettings.ContractResolver = ... |
namespace Bistrotic.Infrastructure.VisualComponents.Renderers.Fluent
{
using Bistrotic.Infrastructure.VisualComponents;
using Bistrotic.Infrastructure.VisualComponents.Controls;
using Microsoft.AspNetCore.Components.Rendering;
public sealed record FluentThemeRenderer : FluentComponentRendererBase<The... |
using ProcMonX.Tracing;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProcMonX.Models {
class CaptureSettings {
ObservableCollection<EventType> _eventTypes = new ObservableCollection<EventType> {
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections;
using System.Diagnostics.CodeAnalysis;
using System.Text.Json;
using System.Text.Json.Serialization;
using Microsoft.Extensions.FileProviders;
using Microso... |
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using SixLabors.ImageSharp.ColorSpaces;
using SixLabors.ImageSharp.ColorSpaces.Conversion;
using Xunit;
namespace SixLabors.ImageSharp.Tests.Colorspaces.Conversion
{
/// <summary>
/// Tests <see cre... |
/*
* 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 Microsoft.EntityFrameworkCore.Migrations;
namespace HR.DataAccess.Migrations
{
public partial class foreignkeyfromoffertouser : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "UserPosting",
... |
using System.IO;
using System.Linq;
using SharpCompress.Archives;
using SharpCompress.Archives.Rar;
using SharpCompress.Archives.SevenZip;
using SharpCompress.Archives.Zip;
using SharpCompress.Common;
namespace H3VRModInstaller.Backend.Filesys
{
/// <summary>
/// Class which manages unzipping
/// </sum... |
/*
* Copyright (c) 2015, iLearnRW. Licensed under Modified BSD Licence. See licence.txt for details.
*/using UnityEngine;
using System.Collections;
public class PostChiefAutocorrect : MonoBehaviour, CustomActionListener, IActionNotifier
{
Vector3 finishPos;
float chiefWalkSpeed = 4f;
//float totalTimeForChiefS... |
//------------------------------------------------------------------------------
// <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>
//--... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Globalization;
//10. Student Groups
namespace StudentGroups
{
class StudentGroups
{
static void Main(string[] args)
{
List<Town> towns = GetTownDat... |
@model Bomberfun.Models.ForgotPasswordViewModel
@{
ViewBag.Title = "Forgot your password?";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("ForgotPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
<h4>Enter your email.</h4>
<hr />
... |
namespace EasyAbp.GiftCardManagement.GiftCards
{
public interface IGiftCardPasswordHashProvider
{
string GetPasswordHash(string password);
}
} |
using System;
using System.Globalization;
using System.Net;
using Npgsql.Util;
using NpgsqlTypes;
using NUnit.Framework;
namespace Npgsql.Tests
{
/// <summary>
/// Tests NpgsqlTypes.* independent of a database
/// </summary>
[TestFixture]
public class TypesTests
{
[Test]
public ... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using NetOffice;
using Word = NetOffice.WordApi;
namespace Out_Parameters
{
public partial class Form1 : Form
{
public Form1()
{... |
// <copyright file="QuestionAnswersViewModel.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.Apps.SearchCoach.Models
{
using System;
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
/// <summary>
/// Represents... |
// ----------------------------------------------------------------------------------------
// COPYRIGHT NOTICE
// ----------------------------------------------------------------------------------------
//
// The Source Code Store LLC
// ACTIVEGANTT SCHEDULER COMPONENT FOR C# - ActiveGant... |
/*
* 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.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("04... |
//-----------------------------------------------------------------------------
// <copyright file="UnauthorizedODataResult.cs" company=".NET Foundation">
// Copyright (c) .NET Foundation and Contributors. All rights reserved.
// See License.txt in the project root for license information.
// </copyright>
//... |
using Horeb.Domain.TransactionModule;
using Samba.Presentation.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Horeb.Service.Test
{
public class MockApplicationState : IApplicationState, IApplicationStateSetter
{
p... |
@model Aiursoft.Gateway.Models.ApiViewModels.SetLangViewModel
@{
ViewData["Title"] = Localizer["Set Language"];
}
<div class="container">
<div class="card card-login mx-auto mt-5">
<div class="card-header">@Localizer["Change Language"]</div>
<div class="card-body">
<p>@Localizer["Cl... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Linq;
using System.Globalization;
using System.Numerics;
using System.Collections.Generic;
namespace System.Buffers.Text.Tests
{
internal static partial class TestD... |
/*
* Copyright(c) 2021 Samsung Electronics Co., Ltd.
*
* 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... |
using Microsoft.Xna.Framework.Graphics;
using OpenKh.Engine.MonoGame;
using OpenKh.Engine.Motion;
using OpenKh.Common;
using OpenKh.Game.Infrastructure;
using OpenKh.Bbs;
using OpenKh.Kh2;
using OpenKh.Kh2.Ard;
using OpenKh.Kh2.Extensions;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using Open... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercicio3
{
class Exercicio3
{
static void Main(string[] args)
{
//Declaração das variáveis
double distancia = 0;
double preco = 0;... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics.Tracing;
using System.Globalization;
using System.Net.Security;
using System.Security.Authe... |
// Copyright (c) 2017 Jan Pluskal, Martin Mares, Martin Kmet
//
//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 appl... |
namespace RealArtists.ShipHub.Common {
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using System.Threading.Tasks;
using RealArtists.ShipHub.Common.DataModel;
public interface IShipHubRuntimeConfiguration {
... |
@page
@model IndexModel
@{
ViewData["Title"] = "Home page";
}
@section Scripts {
<script type="text/javascript">
$(document).ready(function () {
$('#recipeTable').dataTable({
"aoColumns": [
{ "sType": "html" },
{ "sType": "html" },
{ "sType": ... |
//------------------------------------------------------------------------------
// <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>
//--... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace WindowsAppDevelopment
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}... |
// 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 Microsoft.Templates.Core.PostActions.Catalog.Merge
{
public enum MergeMode
{
InsertBefore... |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 07.12.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... |
/*
The MIT License (MIT)
Copyright (c) 2016 Roaring Fangs Entertainment
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, ... |
//MIT License
//Copyright(c) 2017 David Revoledo
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//to use, copy, modify, merge, ... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Diagnostics.Runtime;
using Microsoft.Diagnostics.Runtime.Interop;
using DbgEngWrapper;
namespace MS.Dbg
{
[NsContainer( NameProperty = "ShortCleanName" )]
public class DbgStackFrameInfo : DebuggerObject, ICanSetContext, ISuppor... |
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text.Json.Serialization;
using AzureKeyVaultEmulator.Keys.Constants;
using Microsoft.IdentityModel.Tokens;
namespace AzureKeyVaultEmulator.Keys.Models
{
public class JsonWebKeyModel
{
[JsonPropertyName("crv... |
using PossumLabs.DSL.Core.Variables;
using System;
namespace PossumLabs.DSL.DataGeneration
{
public class DataGenerator : IValueObject
{
public static DataStore GenerateCreatures { get; set; }
public static DataStore GenerateFemaleFirstNames { get; set; }
public static DataStore Genera... |
using Askmethat.Aspnet.JsonLocalizer.Localizer;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization;
using System;
using Askmethat.Aspnet.JsonLocalizer.JsonOptions;
using System.Net.Http;
namespace Askmethat.Aspnet.JsonLocalizer.Extensions
{
/// <summary>
/// Extension meth... |
using System.Windows.Forms;
namespace Bhp.UI
{
internal partial class DeveloperToolsForm : Form
{
public DeveloperToolsForm()
{
InitializeComponent();
InitializeTxBuilder();
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyManager : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
private void OnTriggerEnter(Collider other)
{
if (other.Comp... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
namespace System.Runtime.Versioning
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.C... |
using System.Collections.Concurrent;
using System.Management.Automation;
using System.Threading;
namespace TietzeIO.CyShell.Cmdlets.Base
{
/// <summary>
/// A thread-safe logger that is attached to APIv2 instances to allow for asynchronous logging from other threads.
/// </summary>
public class Powers... |
// *** 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) Martin Costello, 2021. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System.Security.Cryptography.X509Certificates;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Server;
using Micros... |
using GizmoFort.Connector.ERPNext.PublicInterfaces;
using GizmoFort.Connector.ERPNext.PublicInterfaces.SubServices;
using GizmoFort.Connector.ERPNext.PublicTypes;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Issue_type
{
public class Issue_typeService : SubServiceBase<ERPIssue_type>
{
public Issue_ty... |
using JT809.Protocol.JT809Attributes;
using JT809.Protocol.JT809Formatters.JT809SubMessageBodyFormatters;
using System;
using System.Collections.Generic;
using System.Text;
namespace JT809.Protocol.JT809SubMessageBody
{
/// <summary>
/// 补报车辆静态信息应答
/// <para>子业务类型标识:UP_BASE_MSG_VEHICLE_ADDED_ACK</para>
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="uScriptConfig.cs" company="Detox Studios, LLC">
// Copyright 2010-2015 Detox Studios, LLC. All rights reserved.
// </copyright>
// <summary>
// uScript's configuration file. Ed... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Nexus.Link.AsyncCaller.Sdk.Data.Models;
using Nexus.Link.AsyncCaller.Sdk.Dispatcher.Logic;
using Nexus.Link.Libraries.Co... |
// *****************************************************************************
// 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 UnityEngine;
using Signals.Common;
namespace Signals.Examples
{
[AddComponentMenu(nameof(Signals) + "/" + nameof(Examples) + "/" + nameof(GravityYSignalUpdater))]
public class GravityYSignalUpdater : MonoBehaviour
{
public FloatSignal Signal;
void OnEnable() => UpdateSignal();
... |
@using Kartverket.data.redirect.Helpers
@*<div id="logo-on-sm">
@* Logo vises over navbar på xs-devices
<img src="~/Content/img/kvlogo_col.png" alt="Kartverkets logo" />
</div>*@
<header class="navbar navbar-geonorge" role="banner">
<div class="container">
<table class="vertical-centering" id="... |
//------------------------------------------------------------------------------
// <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>
//--... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using Urho3DNet.MVVM.Binding;
using Urho3DNet.MVVM.Diagnostics;
namespace Urho3DNet.MVVM.Collections
{
/// <summary>
/// A notifying list.
/// </s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace MoreMountains.Tools
{
/// <summary>
/// A class used to store MMInputExecution bindings, associating a target keycode to UnityEvents
/// </summary>
[System.Serializable]
public class ... |
using System.IO;
using UnityEditor;
using UnityEngine;
namespace StoryTime.Editor
{
public class EditorIcons
{
const string k_IconRoot = "Packages/com.unity.localization/Editor/Icons";
public static GUIContent LocalizationSettings { get; private set; }
public static GUIContent AssetTa... |
/*
* Copyright 2019 Mikhail Shiryaev
*
* 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 a... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/WebServices.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using S... |
// 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.
#pragma warning disable 1591
namespace EduManagementLab.Core.Entities.client
{
public class ClientCorsOrigin
{
public int Id... |
// 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.Collections.Immutable;
using System.Threading;
using System.Threadin... |
namespace MonoGame.SplineFlower.Editor
{
partial class TriggerEditor
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </sum... |
//<Snippet2>
// Example of the decimal.Round method.
using System;
class DecimalRoundDemo
{
const string dataFmt = "{0,26}{1,8}{2,26}";
// Display decimal.Round parameters and the result.
public static void ShowDecimalRound( decimal Argument, int Digits )
{
decimal rounded = decimal.Round( Ar... |
/*
* 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.Collections.Generic;
using System.Text;
using ThesisOptNumericalTest.Optimization;
namespace ThesisOptNumericalTest
{
/// <summary> Represents a two-dimensional region supporting a piecewise continuous function </summary>
class TwoDimInterval : Region
{
public double Sta... |
using ApolloLanguageCompiler.Source;
using ApolloLanguageCompiler.Tokenization;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ApolloLanguageCompiler.Parsing
{
public class TokenNode : Node
{
protec... |
using System.Collections;
using System.Collections.Generic;
using BML.ScriptableObjectCore.Scripts.Variables;
using Sirenix.OdinInspector;
using UnityEngine;
using UnityEngine.Events;
namespace BML.ScriptableObjectCore.Scripts.Events
{
public class VariableChangeListener : MonoBehaviour {
[InfoBox("Will su... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client
{
using System.Collections.Generic;
using System.Linq;
using Microsoft.Vis... |
using System;
using System.Collections.Generic;
using Eto.Forms;
namespace Eto.Mac
{
interface IQueueAction
{
void Execute();
}
/// <summary>
/// Queues multiple actions into one async call
/// </summary>
static class AsyncQueue
{
static Queue<IQueueAction> _actionQueue = new Queue<IQueueAction>();
sta... |
using CERTENROLLLib;
using System;
using System.Collections.Generic;
namespace Certify.Commands
{
public class Download : ICommand
{
public static string CommandName => "download";
public void Execute(Dictionary<string, string> arguments)
{
Console.WriteLine("[*] Action: D... |
using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Domain
{
/// <summary>
/// SinglePayDetail Data Structure.
/// </summary>
public class SinglePayDetail : AlipayObject
{
/// <summary>
/// 支付宝冻结订单号
/// </summary>
[JsonPropertyName("alipay_order... |
using System;
using JetBrains.Annotations;
using JsonApiDotNetCore.Resources;
using JsonApiDotNetCore.Resources.Annotations;
namespace JsonApiDotNetCoreTests.IntegrationTests.Logging
{
[UsedImplicitly(ImplicitUseTargetFlags.Members)]
public sealed class AuditEntry : Identifiable
{
[Attr]
pu... |
namespace FaraMedia.Web.Framework.Systematic {
using System;
using FaraMedia.Core.Domain.Systematic;
using FaraMedia.Data.Schemas.Systematic;
public static class LocalizedUrlExtenstions {
private static bool IsVirtualDirectory(this string applicationPath) {
if (string.IsNullOrEmpt... |
using System;
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
using System.Linq;
using Xunit;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Environments;
using Benchm... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.