text stringlengths 1 932k |
|---|
//-----------------------------------------------------------------------
// ETP DevKit, 1.2
//
// Copyright 2021 Energistics
//
// 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
//
// ... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Data;
using System.Windows.Input;
using System.Windows.Threading;
using System.Xml.Serialization;
u... |
using Consul;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Adnc.Infr.Consul.Consumer
{
public class ServiceConsumer
{
public static async Task<List<string>> GetServicesAsync(string consulAddress,string ... |
using System;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using Automate.Common.Extensions;
namespace Automate.Common.Domain
{
public static class IdGenerator
{
internal const int IdCharacterLength = 8;
internal const string IdCharacters =
@"abcdefghjk... |
using System;
using ADrawable = Android.Graphics.Drawables.Drawable;
using AColorFilter = Android.Graphics.ColorFilter;
using AColor = Android.Graphics.Color;
using ADrawableCompat = AndroidX.Core.Graphics.Drawable.DrawableCompat;
using Android.Graphics;
namespace Xamarin.Forms.Platform.Android
{
enum FilterMode
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace Velocity.Gestures.Forms.Sample.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optio... |
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 Writership;
namespace Examples.SimpleBattle
{
public interface ITeam
{
IEl<int> Value { get; }
}
public class Team : ITeam
{
public IEl<int> Value { get; private set; }
public Team(IEngine engine, Info.Team info)
{
Value = engine.El(info.Value);
... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
using System;
using System.Xml;
namespace XmlDocumentTests.XmlNodeTests
{
public static class ValueTests
{
/*[Fact] TODO*/
public ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Genesis.Output.Protos
{
public class ProtoServiceGenerator : OutputExecutor
{
public override string CommandText => "proto-svc";
... |
// 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.Tracing;
using System.Runtime.CompilerServices;
namespace System.Net
{
internal sealed partial class NetEventSource : EventSource
{
/// <sum... |
/*
The following license supersedes all notices in the source code.
Copyright (c) 2019 Kurt Dekker/PLBM Games All rights reserved.
http://www.twitter.com/kurtdekker
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
... |
// 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.Immutable;
using System.ComponentModel.Design;
using System.Composition;
usi... |
namespace Kritikos.Extensions.Primitive
{
using System;
using System.Runtime.InteropServices;
using System.Security;
public static class SecureStringExtensions
{
/// <summary>
/// Unprotects a <see cref="SecureString"/> into a plain <see cref="string"/>.
/// </summary>
/// <param name="value">The <see cre... |
using EddiConfigService;
using EddiDataDefinitions;
using EddiEvents;
using EddiJournalMonitor;
using EddiMaterialMonitor;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using System;
using System.Linq;
namespace UnitTests
{
[TestClass]
public class MaterialMonitorTests : TestBase
... |
using System;
using System.Linq;
using Marten.Testing.Harness;
using Shouldly;
using Xunit;
namespace EventSourcingTests.Projections
{
public class inline_aggregation_with_subclass : OneOffConfigurationsContext
{
public inline_aggregation_with_subclass()
{
StoreOptions(x =>
... |
using BeatSaberMarkupLanguage.GameplaySetup;
using HarmonyLib;
using HitScoreBloomReviver.Settings;
using IPA;
using IPA.Config.Stores;
using IPA.Loader;
using Logger = IPA.Logging.Logger;
using System.Reflection;
namespace HitScoreBloomReviver
{
[Plugin(RuntimeOptions.DynamicInit)]
public class Plugin
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace handwriting_segmentation
{
class CustomWord
{
private int xMax = int.MaxValue;
private int thresholdX = 50;
private int thresholdY = 50;
public int XMax
{
... |
// Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... |
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("Tr... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace HangFireWebExample.Areas.HelpPage.ModelDescriptions
{
public class EnumTypeModelDescription : ModelDescription
{
public EnumTypeModelDescription()
{
Values = new Collection<EnumValueDescription>();
... |
using ChecklistBot.DataAccess;
using ChecklistBot.DataAccess.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ChecklistBot.Services
{
public class WorkCheckListService
{
private readonly ChecklistBotContext _... |
// Copyright 2021 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _09.MultiplyEvensByOdds
{
class MultiplyEvensByOdds
{
static int evenSum;
static int oddSum;
static void AddToEvenSum(int number)
{
while(... |
namespace ExcelReadWrite.Domain
{
public class BoehringerNota : BaseDomain
{
}
public class BoehringerRetorno : BaseDomain
{
}
} |
//------------------------------------------------------------------------------
// <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>
//--... |
namespace MassTransit.Conductor.Client
{
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Clients;
using Context;
using Contexts;
using Contracts.Conductor;
using Distribution;
using GreenPipes.Caching;
using GreenPipes.Internals.Ex... |
using System;
using System.Threading.Tasks;
using System.Net;
using System.IO;
using System.Json;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using PrimusFlex.Mobile.Common;
using Primusflex.Mobile.Common;
using Android.Telephony;
nam... |
using Steeltoe.Management.Census.Utils;
using System;
using System.Collections.Generic;
using System.Text;
namespace Steeltoe.Management.Census.Stats.Aggregations
{
public sealed class SumDataDouble : AggregationData, ISumDataDouble
{
public double Sum { get; }
internal SumDataDouble(double s... |
using System;
namespace EscapeCharacters.LostPet.Api.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 ... |
namespace Windows.UI.Xaml;
public enum HorizontalAlignment
{
Left,
Center,
Right,
Stretch
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.ComponentModel;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Loader;
#pragma... |
using System.Threading.Tasks;
using ZonyLrcTools.Models;
using ZonyLrcTools.Models.MusicTag;
namespace ZonyLrcTools.Ctrls.Downloader.Lyric.Interfaces
{
/// <summary>
/// 歌词下载器的接口定义。
/// </summary>
public interface ILyricDownloader
{
Task<LyricItemCollection> DownloadAsync(MusicInfo musicIn... |
//-----------------------------------------------------------------------
// <copyright file="Done.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
//---------... |
// <copyright file="ToggleButton.cs" company="Automate The Planet Ltd.">
// Copyright 2021 Automate The Planet 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/lic... |
using FreeParkingSystem.Common.Authorization;
using FreeParkingSystem.Common.Messages;
namespace FreeParkingSystem.Parking.Contract.Commands
{
[AuthorizeRequest(Role.Owner)]
public class ChangeParkingSpotRequest : BaseRequest
{
public int Id { get; }
public int ParkingSiteId { get; }
public int? ParkingSpot... |
using UnityEngine;
namespace Utilities.Manager.EventArgs
{
public struct InputEventArgs
{
public Vector3 delta;
}
} |
//==============================================================================
//
// © Microsoft corp. All rights reserved.
// This code is licensed under the Microsoft Public License.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED... |
using System;
using System.Management.Automation;
using DD.CBU.Compute.Api.Client;
using DD.CBU.Compute.Api.Contracts.Network20;
namespace DD.CBU.Compute.Powershell.Mcp20
{
/// <summary>
/// The Set Caas Server Nic Connection state
/// </summary>
[Cmdlet(VerbsCommon.Set, "CaasServerNicConnection")... |
using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using Xunit;
namespace FreeSql.Tests.Odbc.Oracle
{
public class OracleUpdateTest
{
IUpdate<Topic> update => g.oracle.Update<Topic>();
[Table(Name = "tb_topic")]
class Topic
{
[Column(IsId... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JohnLambe.Util.Types;
namespace JohnLambe.Util.Documentation
{
/// <summary>
/// Base class for attributes affecting object model diagrams.
/// </summary>
public abstract class Dia... |
//------------------------------------------------------------------------------
// <auto-generated />
// This file was automatically generated by the UpdateVendors tool.
//------------------------------------------------------------------------------
// dnlib: See LICENSE.txt for more info
using System;
using System.... |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Imaging;
/*
* Description:PropertyTimerPickerEditor
* Author: Chance(a cook of write code)
* Company: CookCSharp
* Create Time:2022-01-09 14:10:38
* .NET Version: ... |
using Galamai.Orleans.Streaming.RabbitMQ.Provider;
using Orleans.Hosting;
using System;
namespace Galamai.Orleans.Streaming.RabbitMQ.Extensions
{
public static class SiloBuilderExtensions
{
public static ISiloHostBuilder AddRabbitMQStream(
this ISiloHostBuilder builder,
string ... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace ChromeRemoteSharp.PageDomain
{
public partial class PageDomain
{
/// <summary>
///
/// <see cref="https://chromedevtools.github.io/devtools-protocol/to... |
// 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.Diagnostics;
using System.Linq;
... |
using Ardalis.GuardClauses;
using SimpleInjector;
namespace KeepAChangelogParser.Wpf.SampleApp.CompositionRoot
{
public static class KeepAChangelogParserComposer
{
public static void ComposeKeepAChangelogParser(
this Container container
)
{
Guard.Against.Null(container, nameof(container)... |
namespace RecipesWebApp.Services.Statistics
{
public class StatisticsServiceModel
{
public int TotalRecipes { get; init; }
public int TotalUsers { get; init; }
public int TotalContributors { get; init; }
}
} |
/*
* Copyright 2012-2019 The Pkcs11Interop Project
*
* 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 ap... |
using Autofac;
using Autofac.Extensions.DependencyInjection;
using Autofac.Extras.DynamicProxy;
using AutoMapper;
using NQI_LIMS.AuthHelper;
using NQI_LIMS.Common;
using NQI_LIMS.Common.AppConfig;
using NQI_LIMS.Common.DB;
using NQI_LIMS.Common.LogHelper;
using NQI_LIMS.IServices;
using NQI_LIMS.Model.Seed;
using NQI_... |
using System;
using UWPWithWindowsTemplateStudio.Helpers;
using Windows.Media.Core;
using Windows.Media.Playback;
namespace UWPWithWindowsTemplateStudio.ViewModels
{
public class MediaPlayer1ViewModel : Observable
{
// TODO WTS: Set your default video and image URIs
private const string Defa... |
using System;
using System.Threading;
using NRegFreeCom.Threading;
using NUnit.Framework;
namespace NRegFreeCom.Tests
{
[TestFixture]
public class WindowsWaitHandleExtensionsTests
{
[Test]
public void WaitOneNonAlertable_signaled_true()
{
var e = new ManualResetEvent(tr... |
// 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.Runtime.ExceptionServices;
using System.Threading.Tasks;
using static System.Windows.Threading.Dispatcher;
namespace Microso... |
using System;
using System.Windows.Forms;
namespace KeepResxW
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Applicati... |
using System;
using System.Diagnostics;
using System.Resources;
using System.Windows;
using System.Windows.Markup;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using Hanselman.WindowsPhone.Resources;
namespace Hanselman.WindowsPhone
{
public partial class App : Appli... |
using System;
using System.IO;
using System.Collections.Generic;
using LightGBMNet.Tree;
namespace LightGBMNet.Train
{
public abstract class NativePredictorBase<TOutput> : IVectorisedPredictorWithFeatureWeights<TOutput>
{
public Booster Booster { get; }
public int MaxNumTrees { get; set; }
... |
using UnityEditor.Rendering;
using UnityEngine;
namespace UnityEditor.Experimental.Rendering.HDPipeline
{
partial class InfluenceVolumeUI
{
// We need to provide gamma values to the Gizmos and Handle because they are translated back to linear
// during the drawing call.
internal static... |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If ... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Trov.IdentityServer4.Admin.BusinessLogic.Helpers
{
public static class EnumerableExtensions
{
public static IEnumerable<T> WhereIf<T>(this IEnumerable<T> query, bool condition, Func<T, bool> predicate)
{
r... |
using System.Net.Http;
using JetBrains.Annotations;
using Microsoft.Extensions.DependencyInjection;
namespace Alpaca.Markets.Extensions
{
/// <summary>
/// Set of extensions methods for registering the strongly-typed Alpaca REST API clients
/// in the default Microsoft dependency injection container used ... |
namespace HemdemGames.EditorUtilities.Tools.SelectionEditor
{
internal interface ICustomTool
{
void DrawGUI();
void OnActivated();
void OnDeactivated();
bool GUIButton();
}
} |
using Stylelabs.M.Scripting.Types.V1_0.Processing.Metadata;
using Stylelabs.M.Sdk;
namespace Sitecore.CH.Implementation.Scripts.Features.BaseScriptScope
{
public abstract class BaseMetadataScriptScope : BaseScript
{
protected IMetadataProcessingContext Context { get; }
public BaseMetadataScrip... |
using System.Collections.Generic;
namespace _MilitaryElite.Contracts
{
public interface IEngineer : ISpecialisedSoldier
{
IReadOnlyCollection<IRepair> Repairs { get; }
void AddRepair(IRepair repair);
}
} |
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayEcoCplifeNoticePublishModel Data Structure.
/// </summary>
[Serializable]
public class AlipayEcoCplifeNoticePublishModel : AopObject
{
/// <summary>
... |
//
// ToolkitNotInitializedException.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2013 Xamarin Inc.
//
using System;
namespace Xwt
{
public class ToolkitNotInitializedException: Exception
{
public ToolkitNotInitializedException (): base ("XWT has not been initialized")
{
}
}... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using Android.App;
using Android.Content;
using Chronos.Core.Model;
namespace Chronos.Droid.Authorization
{
public class AuthContext
{
private string _clientId;
private string ... |
// *** WARNING: this file was generated by crd2pulumi. ***
// *** 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.Kubernetes.Types.O... |
using System;
using System.Linq;
using System.Threading.Tasks;
using LinqToTwitter;
using System.Collections.Generic;
using System.Diagnostics;
using LinqToTwitter.Common;
namespace ConsoleDemo.CSharp
{
public class SearchDemos
{
internal static async Task RunAsync(TwitterContext twitterCtx)
{... |
#pragma checksum "C:\NICACIO\Blue\Aulas\Mod4 - BE\Projetos\Aula 1\Consultorio\Views\_ViewImports.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "e61303434de2871114bc9584fe1dcbe96b867c11"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(... |
using System;
using System.Collections.Generic;
using Microsoft.Practices.Unity;
using Moq;
using Xunit;
namespace Kigg.Infrastructure.EnterpriseLibrary.Test
{
public class UnityDependencyResolverFixture : IDisposable
{
private readonly Mock<UnityContainerTestDouble> _container;
private reado... |
using Contoso.Common.Configuration.ExpansionDescriptors;
using Contoso.Common.Configuration.ExpressionDescriptors;
using Contoso.Forms.Configuration.SearchForm;
using System;
namespace Contoso.XPlatform.Services
{
public interface ISearchSelectorBuilder
{
FilterLambdaOperatorDescriptor CreateFilter(Se... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.269
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("addressbook-web-tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("addressbook-web-tests")... |
// 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;
using Microsoft.Win32.SafeHandles;
internal static partial clas... |
// Copyright (c) BruTile developers team. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Globalization;
using System.Xml;
using System.Xml.Linq;
namespace BruTile.Wms
{
public class BoundingBox : XmlObject
{
//<BoundingB... |
namespace SessionFeed.Models
{
public class Result<T>
{
public string Error { get; set; }
public T Payload { get; set; }
}
} |
using System;
using ServiceStack.DataAnnotations;
namespace ServiceStack.Common.Tests.Models{
[Alias("ModelWIF")]
public class ModelWithIndexFields
{
public string AlbumId
{
get;
set;
}
public string Id
{
get;
set;
}
[Index]
public string Name
{
get;
set;
}
[Index(tr... |
/*
* 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 UnityEngine;
using HutongGames.PlayMaker;
using DG.Tweening;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory("DOTween")]
[Tooltip("Tweens a Transform's localPosition through the given path waypoints, using the chosen path algorithm.")]
[HelpUrl("http://dotween.demigiant.com/documentation.ph... |
using ImGuiNET;
#if !UIMGUI_REMOVE_IMNODES
using imnodesNET;
#endif
#if !UIMGUI_REMOVE_IMPLOT
using ImPlotNET;
using System.Linq;
#endif
#if !UIMGUI_REMOVE_IMGUIZMO
using ImGuizmoNET;
#endif
using UnityEngine;
namespace UImGui
{
public class ShowDemoWindow : MonoBehaviour
{
#if !UIMGUI_REMOVE_IMPLOT
[SerializeFiel... |
using SlipeServer.Packets.Builder;
using SlipeServer.Packets.Enums;
using System;
using System.Drawing;
using System.Linq;
namespace SlipeServer.Packets.Definitions.Player
{
public class ServerInfoSyncPacket : Packet
{
public override PacketId PacketId => PacketId.PACKET_ID_SERVER_INFO_SYNC;
p... |
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using MyApp.Application.Bootstrapper;
using MyApp.Domain;
using MyApp.Domain.Users;
using MyApp.Site.Infras... |
/**
* Copyright 2021 The Nakama 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 agree... |
@model SistemaAC.Models.ApplicationUser
@{
ViewData["Title"] = "Create";
}
<h2>Create</h2>
<h4>ApplicationUser</h4>
<hr />
<div class="row">
<div class="col-md-4">
<form asp-action="Create">
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<div class="form-g... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FirstAid_Step01 : BasicStep
{
public Door door;
private void Update()
{
if (door.isOpen)
{
this.Complete();
}
}
// Start after the activation of the step
public over... |
using System;
using System.Collections.Generic;
using ServiceStack.Logging;
namespace ServiceStack.CacheAccess.Providers
{
public class CacheManager : ICacheManager
{
private static readonly ILog Log = LogManager.GetLogger(typeof(CacheManager));
public CacheManager(ICacheClient cacheClient)
{
this.CacheCli... |
using System;
using System.IO;
using System.Collections.Generic;
using COSXML.Model.Tag;
using COSXML.Transfer;
namespace COSXML.Model.CI
{
/// <summary>
/// 媒体截图结果
/// </summary>
public sealed class GetSnapshotResult : CosResult
{
}
} |
using System;
namespace De.Osthus.Ambeth.Security
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public class SecurityContext : Attribute
{
public SecurityContextType Value { get; set; }
public SecurityContext()
: ... |
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace QFSW.QC.Extras
{
[CommandPrefix("http.")]
public static class HttpCommands
{
private static readonly HttpClient _client = new HttpClient();
[Command("get", "Sends a GET request to the specified URL.")]
... |
namespace PivotSecurity.IntegrationTests.Models
{
/// <summary>
/// Model for used by the LinkedIN integration tests.
/// <see cref="OAuth1Tests.Can_Retrieve_Member_Profile_Field_Field_Selector_From_LinkedIN"/>.
/// </summary>
public class LinkedInMemberProfile
{
public string Id { get... |
/*
* 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 ... |
// 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.AppService
{
public partial class ProcessModuleInfoData : IUtf8JsonSerializable
{
void IUtf... |
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using Microsoft.Bot.Connector;
using Newtonsoft.Json;
namespace StackBot2
{
[BotAuthentication]
public class MessagesController : ApiController
... |
using System;
using Tewl.InputValidation;
namespace EnterpriseWebLibrary.EnterpriseWebFramework {
/// <summary>
/// A URL edit control.
/// </summary>
public class UrlControl: FormControl<PhrasingComponent> {
public FormControlLabeler Labeler { get; }
public PhrasingComponent PageComponent { get; }
public E... |
using UnityEngine;
using XMonoNode;
namespace XMonoNode
{
[CreateNodeMenu("Utils/"+nameof(UniqueDeviceIdentifier))]
[NodeWidth(190)]
public class UniqueDeviceIdentifier : MonoNode
{
[Output] public string deviceId;
public override object GetValue(NodePort port)
{
re... |
using System.Collections.Generic;
using System.IO;
using System.Management.Automation.Provider;
using CodeOwls.PowerShell.Paths;
using CodeOwls.PowerShell.Provider.PathNodeProcessors;
using CodeOwls.PowerShell.Provider.PathNodes;
using Dropbox.Api;
using Dropbox.Api.Files;
namespace CodeOwls.PowerShell.Dropbox
{
p... |
namespace Sorte.Areas.HelpPage.ModelDescriptions
{
public class EnumValueDescription
{
public string Documentation { get; set; }
public string Name { get; set; }
public string Value { get; set; }
}
} |
using System.Drawing;
namespace XDesignerCommon
{
public class PointBuffer
{
private Point[] myPoints = new Point[16];
private int intPointCount = 0;
public int Count => intPointCount;
public Point this[int index]
{
get
{
return myPoints[index];
}
set
{
myPoints[index] = value;
... |
using Microsoft.VisualStudio.Shell;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace StructLayout
{
public partial class SettingsControl : UserControl
{
private class UIConditionalField
... |
using UnityEngine;
using System.Collections;
public class StarDeathScript : MonoBehaviour {
private bool isHit = false;
private Vector3 pos;
public static bool isDead = false;
public float pauseTime;
public SpriteRenderer flashSprite;
public float flashTime;
public Camera mainCamera;
public ScoreScript sco... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.