text
stringlengths
1
932k
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EF2OR.Entities.EdFiOdsApi.Enrollment.SectionEnrollments { public class Rootobject { public Class1[] Property1 { get; set; } } public class Class1 { public...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EntitiesLayer.ViewModel { class SpotifyVM { } public class SpotifyUser { public string id { get; set; } public string email { get; set; } public s...
// Copyright (c) 2015, Kinvey, Inc. All rights reserved. // // This software is licensed to you under the Kinvey terms of service located at // http://www.kinvey.com/terms-of-use. By downloading, accessing and/or using this // software, you hereby accept such terms of service (and any agreement referenced // therein)...
 namespace Lsj.Util.Net.Web.Protocol { /// <summary> /// HttpHeader /// </summary> public enum HttpHeaders : byte { /// <summary> /// UnKnown /// </summary> Unknown, /// <summary> /// Accept /// </summary> Accept, /// <summary>...
using System; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Security; namespace ET { public struct AsyncETVoidMethodBuilder { // 1. Static Create method. [MethodImpl(MethodImplOptions.AggressiveInlining)] [DebuggerHidden] public static AsyncETVoi...
// *** 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 System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using KeyVault.Acmebot.Internal; using KeyVault.Acmebot.Options; using Newtonsoft.Json; namespace KeyVault.Acmebot.Providers { public class CloudflareProvider : ...
using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace SieveTests.Migrations { public partial class AddDateLastViewedColumn : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<Da...
using System; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.trust.user.auth.send /// </summary> public class AlipayTrustUserAuthSendRequest : IAopRequest<AlipayTrustUserAuthSendResponse> { /// <summary> /// 申请...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models; using Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker; namespace AAI { public partial class QnAService { priv...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using System.Web.Script.Serialization; using WebCrawler.Data.Repos; using WebCrawler.Model.Models; using System.Runtime.Serialization.Json; namespace WebCrawler.Web.Controllers { public cla...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Flyweight.Sample { /// <summary> /// BigCharを集めて作った「大きな文字列」を表すクラス。 /// 役割:Client(依頼者) /// </summary> public class BigString { /// <summary> /// 「大きな文字」の...
using EditorBrowsableAttribute = System.ComponentModel.EditorBrowsableAttribute; using EditorBrowsableState = System.ComponentModel.EditorBrowsableState; namespace AtomicNet { partial class Entity<tEntity, tHooks, tPrefetch, tProperties, tDataObject, tDataObjectList, tCriteria, tOrderBySelection, tModificat...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.TeamFoundation.DistributedTask.WebApi; using Microsoft.VisualStudio.Services.Agent.Util; using Microsoft.VisualStudio.Services.Agent.Worker; using System.Collections.Generic; using System.Globalization; using System.Linq; using ...
using System; using System.Web; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Data; using System.Collections; using System.Collections.Specialized; using UDDI.API; using UDDI.API.ServiceType; using UDDI.API.Binding; using UDDI.API.Service; using UDDI.API.Business;...
using OS_CP.Presenter; using System; using System.Windows.Forms; namespace OS_CP { /// <summary> /// Class of program for work with help screen /// </summary> public partial class HelpView : Form, IHelpView { /// <summary> /// /// </summary> public string TextInfo ...
using System.Linq; using InventorySystem.Runtime.Scripts.Core.Messages; using InventorySystem.Runtime.Scripts.Core.Models.Interfaces; using InventorySystem.Runtime.Scripts.Core.ViewModels.Inventory; using InventorySystem.Runtime.Scripts.Inventory.Item; using InventorySystem.Runtime.Scripts.Models; using UniRx; using U...
// Copyright 2004-2011 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 ...
namespace GrowGame { public class TutorialScreenController : DialogController { } }
using System; using System.Collections.Generic; namespace Recruita.Models { // Models returned by AccountController actions. public class ExternalLoginViewModel { public string Name { get; set; } public string Url { get; set; } public string State { get; set; } } public...
using Sandbox; [Spawnable] [Library( "weapon_pistol", Title = "Pistol" )] [EditorModel( "weapons/rust_pistol/rust_pistol.vmdl" )] partial class Pistol : Weapon { public override string ViewModelPath => "weapons/rust_pistol/v_rust_pistol.vmdl"; public override string WorldModelPath => "weapons/rust_pistol/rust_pist...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Globalization; using Xunit; namespace System.ComponentModel.Tests { public class Int64ConverterTests : ConverterTestBase { private static...
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2021 Jiang Yin. All rights reserved. // Homepage: https://gameframework.cn/ // Feedback: mailto:ellan@gameframework.cn //------------------------------------------------------------ using System; namespace GameFramew...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable disable using System; using System.Diagnostics; namespace Microsoft.AspNetCore.Razor.Language; [DebuggerDisplay("{" + nameof(DebuggerToString) + "(),nq}")] public sealed...
using System; using System.Xml.Serialization; using System.Collections.Generic; namespace EZOper.NetSiteUtilities.AopApi { /// <summary> /// AlipaySocialBaseChatGinvSendModel Data Structure. /// </summary> [Serializable] public class AlipaySocialBaseChatGinvSendModel : AopObject { /// <...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Charlotte.Games.Scripts; namespace Charlotte.Games { public static class GameMaster { public class StageInfo { public string Name; public Func<Script> CreateScript; public StageInfo(Func<Script> f_createScript,...
 namespace EntityG.Shared.Constants.User { public static class UserConstant { public const string DefaultPassword = "123456"; } }
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using TroydonFitnessWebsite.Pages.Products; namespace TroydonFitnessWebsite.Models.Products.ViewModels { public class DietVM { // Primary Keys public in...
using System.Collections; namespace Pithline.FMS.Framework.Web.DataAccess { public interface IDataProvider { IList GetDataList(object[] criterias); object GetSingleData(object[] criterias); bool DeleteData(object[] criterias); object SaveData(object[] criterias); object...
// 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.IO; using Test.IO.Streams; using Xunit; namespace System.Security.Cryptography.Rsa.Tests { public ...
using Hover.Core.Utils; using UnityEngine; namespace Hover.Core.Layouts.Arc { /*================================================================================================*/ public interface ILayoutableArc { bool isActiveAndEnabled { get; } Transform transform { get; } ISettingsControllerMap Control...
using System.Security.Cryptography; namespace JWT.Algorithms { /// <summary> /// HMAC using SHA-384 /// </summary> public sealed class HMACSHA384Algorithm : IJwtAlgorithm { /// <inheritdoc /> public byte[] Sign(byte[] key, byte[] bytesToSign) { using (var sha = ...
using System; using System.Collections.Generic; using System.Linq; using Examine; using Examine.LuceneEngine.Providers; using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.Models; using Umbraco.Core.Scoping; using Umbraco.Core.Services; namespace Umbraco.Examine { /// <summary> /// Used to va...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Logging { public class LogEvent { public LogEvent(LogEventLevel level, string message, Exception exception = null) { Timestamp = DateTimeOf...
using System.Drawing; using System.Drawing.Drawing2D; using Smart.Core.Utilites; using System.Drawing.Imaging; using System.Text.RegularExpressions; using System; using System.IO; namespace Smart.Core.Extensions { /// <summary> /// 图片操作扩展类 /// </summary> public static class ImageExtensions { ...
// Copyright (c) Alexander Bogarsukov. // Licensed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.Text; using UnityEngine; namespace UnityFx.Async.Helpers { #if !UNITY_2018_3_OR_NEWER /// <summary> /// A wrapper for <see cref="WWW"/> with result...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { int[] nums = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); for (in...
using System.Threading.Tasks; using SocialNetwork.Core.Entities; namespace SocialNetwork.Infrastructure.HubBackplane { public interface INewsHubBackplane { Task SubscribeToUserFeedAsync(long userId); Task UnsubscribeFromUserFeedAsync(long userId); Task PublishAsync(UserPost post, long ...
// *** 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 System.Collections.Generic; using System.IO; namespace NTFSLib.Objects.Specials.Files { public class Secure { public SecureItem[] Items { get; set; } public static Secure ParseFile(Stream stream) { List<SecureItem> items = new List<SecureItem>(); // Pars...
// *** 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...
/* * 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...
namespace Arrowgene.Baf.Server.Model { public class Item { public Item() { Id = -1; ShopItem = null; Quantity = 0; } public int Id { get; set; } public ShopItem ShopItem { get; set; } public int Quantity { get; set; } } }
using System; using DeconTools.Utilities; using DeconTools.Backend.Core; namespace DeconTools.Backend.FileIO { public class MSScanInfoExporterFactory { #region Constructors public MSScanInfoExporterFactory() { } #endregion #region Public Methods public ...
//------------------------------------------------------------------------------ // <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.IO; using System.Collections.Generic; using System.Text; namespace Leger.Extra.IO { [Quality(Level = QualityLevel.Untested)] internal class UndirectedGraphDotFileSerializer { Dictionary<IVertex, long> nodeIdTable = new Dictionary<IVertex, long>(); Dictionary<string, string> shapes...
using System; using System.Linq; using MbUnit.Framework; using System.IO; namespace LinqToExcel.Tests { [Author("Paul Yoder", "paulyoder@gmail.com")] [FixtureCategory("Integration")] [TestFixture] public class Row_IntegrationTests { string _excelFileName; [TestFixtureSetUp] ...
#pragma checksum "D:\Samples_19.3.0.43\FileFormats\ASPNETCORE\IOsamplebrowser\Views\Pdf\XFAFormFilling.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "258ea47daa40a45a078764aa3a57fe8ed6e8a5a8" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttr...
using Caliburn.Micro; using DangerZone.EventModels; using Microsoft.Win32; using System; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Windows; using System.Windows.Media; using System.Windows.Media.Imaging; namespace DangerZone.ViewModels { public class AddPlayerViewModel...
using Ship; using System.Collections.Generic; using System.Linq; using Upgrade; namespace UpgradesList.FirstEdition { public class SlaveI : GenericUpgrade { public SlaveI() : base() { UpgradeInfo = new UpgradeCardInfo( "Slave I", UpgradeType.Title, ...
using MxNet.Keras.Utils; using NumpyDotNet; using System; using System.Collections.Generic; using System.Text; namespace MxNet.Keras.Datasets { public class IMDB { public static ((NDArray, NDArray), (NDArray, NDArray)) LoadData(string path= "imdb.npz", int? num_words= null, int skip_top= 0, int? maxle...
using System; using System.Data.SqlClient; using Autofac; using CentralBackup.Migrations; using Hangfire; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using SimpleMi...
#if !Rar2017_64bit using nint = System.Int32; using nuint = System.UInt32; using size_t = System.UInt32; #else using nint = System.Int64; using nuint = System.UInt64; using size_t = System.UInt64; #endif namespace SharpCompress.Compressors.Rar.UnpackV2017 { internal partial class BitInput { public BitInput(b...
using System; using System.ComponentModel; using System.Threading.Tasks; using Microsoft.Extensions.Logging; namespace CefSharp.Puppeteer { /// <summary> /// WebBrowserExtensions /// </summary> public static class WebBrowserExtensions { /// <summary> /// Asynchronously creates a new...
/////////////////////////////////////////////////////////////////////////////// // // Microsoft Research Singularity / Netstack // // Copyright (c) Microsoft Corporation. All rights reserved. // // File: TestIPv6Network.cs // using System; #if !SINGULARITY using System.Net; #endif // !SINGULARITY namespace Sys...
using EntityFramework.Models; using EntityFramework.Services; 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; u...
using System; using System.Reflection; using System.Threading; using System.Threading.Tasks; using CulinaCloud.BuildingBlocks.Common; using CulinaCloud.BuildingBlocks.Common.Interfaces; using CulinaCloud.BuildingBlocks.CurrentUser.Abstractions; using CulinaCloud.Users.Application.Interfaces; using CulinaCloud.Users.Do...
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPlatform.Client.V2.Client; namespace PureClo...
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using OdevTakip.Entities; using OdevTakip.Filters; using OdevTakip.Models; using OdevTakip.Services; using System.Collections.Generic; using System.Diagnostics; namespace OdevTakip.Controllers { [CustomAuthorizeAttribute] public class HomeContro...
// *** 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...
using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Flurl; using Flurl.Http; namespace SKIT.FlurlHttpClient.ByteDance.TikTok { public static class TikTokClientExecutePOIServiceProviderExtensions { /// <summary> /// <para>异步调用 [POST] /poi/v2/service_...
using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Abp.VueTemplate.MenuManagement { public class Startup { public void ConfigureServices(IServiceCollection services) { services.AddApplication<MenuManagem...
using System; using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace EvitiContact.ContactModel { public partial class MDMasterConfiguration : IEntityTypeConfiguration<MDMaster> { public void Configure(EntityTypeBuilder<MD...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("WpfApp2")] [assembly: AssemblyDescription("")] [assembly...
using AspNet.Api.Odata.Playground.Model; using Bogus; namespace AspNet.Api.Odata.Playground.Fakers { public class ProductFaker : Faker<Product> { public ProductFaker() { RuleFor(product => product.Id, prop => prop.Random.Guid()); RuleFor(product => product.Name, prop =>...
using System; using System.Collections.Generic; using System.Text; namespace Polymorphism { public interface Exhaustable { void Exhaust(); } }
/* Copyright 2010 MCLawl Team - Written by Valek Licensed under the Educational Community 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.osedu.org/licenses/ECL-2.0 Unless required by applicable la...
// // System.Data.InvalidConstraintException.cs // // Author: Duncan Mak (duncan@ximian.com) // // (C) Ximian, Inc. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (th...
using System; using System.Collections.Generic; using System.Text; namespace LanguageExt { internal enum OptionState : byte { None, Some, Lazy } internal static class OptionData { public static OptionData<A> Lazy<A>(OptionLazy<A> f) { object syn...
#region License // Copyright (c) 2007 James Newton-King // // 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,...
using System; using System.Collections.Generic; namespace Project0.DataAccess { public partial class PizzaIngredients { public int Id { get; set; } public int PizzaId { get; set; } public int IngredientsId { get; set; } public int Quantity { get; set; } public virtual ...
namespace Humper { using System; using Base; using Responses; /// <summary> /// Represents a physical body in the world. /// </summary> public interface IBox { #region Properties /// <summary> /// Gets the top left corner X coordinate of the box. /// </summary> /// <value>The x.</value> float X {...
using System; using System.Collections.Generic; using System.Reflection; using System.Threading.Tasks; namespace Uragano.Abstractions { public interface IInterceptorContext { string ServiceRoute { get; } Dictionary<string, string> Meta { get; } object[] Args { get; } IServic...
using System; using System.Threading; using System.Threading.Tasks; using MassTransit; using MassTransit.Testing.Indicators; using MassTransit.Util; namespace LeanCode.DomainModels.MassTransitRelay.Testing { #pragma warning disable 0420 public class ResettableBusActivityMonitor : IBusActivityMonitor, ...
using AOEMods.Essence.SGA.Core; using System.IO.Compression; using System.Text; namespace AOEMods.Essence.SGA.Graph; /// <summary> /// File node of an SGA archive containing data read from a stream as stored in an SGA file. /// </summary> public class ArchiveFileNode : IArchiveFileNode { /// <summary> /// Pa...
/******************************************************************************* * 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...
using System.Collections; using System.Collections.Generic; using UnityEngine; // WHERE WE WILL MANUALLY CONTROL THE BULLET SPAWNER public class MidBoss : MonoBehaviour { public BulletSpawner bulletSpawner; private GameObject shooter; public GameObject cutscene; private float startTime; private bo...
using UnityEngine; using System.Collections; public class Move : MonoBehaviour { public Vector3 StartPosition = new Vector3(0, 0, 0); public Vector3 EndPosition = new Vector3(0, 0, 0); public float DeltaTime; // Use this for initialization void Start () { transform.position = StartPosit...
using System; using System.Collections.Generic; using System.Text; 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 System.Windows.Shapes; namespace ScottPlo...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Marqueone.TimeAndMaterials.Api.Entities; using Marqueone.TimeAndMaterials.Api.Models; using Microsoft.EntityFrameworkCore; using Transform = Marqueone.TimeAndMaterials.Api.Models.Transforms; using Marqueone.TimeAndMaterials.Api.Ext...
// 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.Diagnostics; namespace Microsoft.AspNetCore.Razor.Language.Syntax.InternalSyntax { internal class SyntaxListBuilder { private ArrayElemen...
// 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.DataAnnotations.Schema; using System.Reflection; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Diagnostic...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System.Collections.Generic; using Microsoft.PowerFx.Core.Functions; using Microsoft.PowerFx.Core.Localization; using Microsoft.PowerFx.Core.Types; using Microsoft.PowerFx.Core.Utils; namespace Microsoft.PowerFx.Core.Texl.Builtins { ...
using TriggerEntryValidation.WinPhone.Resources; namespace TriggerEntryValidation.WinPhone { /// <summary> /// Provides access to string resources. /// </summary> public class LocalizedStrings { private static AppResources _localizedResources = new AppResources(); public AppResour...
using System; using System.Collections.Generic; using System.Linq; using MongoDB.Bson.Serialization.Attributes; namespace ETModel { [BsonIgnoreExtraElements] public class Entity : ComponentWithId { [BsonElement("C")] [BsonIgnoreIfNull] private HashSet<Component> components = new HashSet<Component>(); [Bso...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace NeuralNetwork.Scripts.Controllers { public class ShooterController : NeuralNetworkController { [Header("Inputs")] public List<Transform> enemies = new List<Transform>(); p...
// ---------------------------------------------------------------------------------- // // 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; //Calculates the circumference of a circle given the radius. public class Calculate { private double circ = 0; public double Circumference(double radius){ circ = Math.PI*2*radius; return circ; } }
/* * SPClientListItemConvertPipeBind.cs * * Copyright (c) 2017 karamem0 * * This software is released under the MIT License. * https://github.com/karamem0/SPClient/blob/master/LICENSE */ namespace SPClient { /// <summary> /// Represents a parameter that stores a client object that can be converted to ...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Avangarde.KeyboardExtenderPlugins.Externals { public static class WindowsManagementExternals { [DllImport("use...
using DrumbleApp.Shared.Resources; using System; using System.Globalization; using System.Linq; namespace DrumbleApp.Shared.ValueObjects { public sealed class Pin { private const int expectedPinLength = 5; private string pinNumber; public string PinNumber { get ...
using System; using Acx.Forms.Barcode.Pcl.Logger; using IosDebug = System.Diagnostics.Debug; namespace Acx.Forms.Barcode.iOS.Logger { public static class Log { public static void Debug(this ILog log, string message) { Debug(log, "{0}", message); } public static vo...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace ParcialProgra3 { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static v...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Renderi...
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
using System.Threading.Tasks; using AutomaticAcceptanceTest.Configuration.Dto; namespace AutomaticAcceptanceTest.Configuration { public interface IConfigurationAppService { Task ChangeUiTheme(ChangeUiThemeInput input); } }
using System.Linq; using UnityEngine; namespace SuperTiled2Unity.Editor { public static class CompositeCollider2DExtensions { public static void ST2UGeneratePolygonGeometry(this CompositeCollider2D composite) { var go = composite.gameObject; composite.GenerateGeometry()...
// 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.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using Silk.NET.Core.At...
using System; using System.Runtime.InteropServices; #pragma warning disable 1591 namespace OpenCvSharp { static partial class NativeMethods { [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern double ml_LogisticRegression_getLearning...
namespace Microsoft.ApplicationInsights.Web { using System; using System.Collections.Generic; using System.Net; using System.Net.Sockets; using System.Web; using Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.ApplicationInsights...