text
stringlengths
1
932k
using System; using System.Collections.Generic; using System.Linq; using System.Security.Policy; using System.Text; using System.Threading.Tasks; namespace AttAvaliativa_Heranca { class Cliente { //classe base criada para atribuição das váriaveis que iriam repetir nas outras duas classes publi...
using IdentityServer4; using IdentityServer4.Models; using MediatR; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.I...
using UnityEngine; using System.Collections; namespace CaveExploration { /// <summary> /// Responsible for showing character speech (text) on screen. /// </summary> [RequireComponent (typeof(TextMesh))] public class CharacterSpeech : MonoBehaviour { /// <summary> /// Gets or sets a value indicating whether ...
using Photosphere.DependencyInjection.Initialization.Saturation.Generation.MethodBodyGenerating.SomeServices.InstantiatingGenerators; using Photosphere.DependencyInjection.Initialization.Saturation.Generation.MethodBodyGenerating.ValueObjects; namespace Photosphere.DependencyInjection.Initialization.Saturation.Generat...
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modi...
using System; using System.ComponentModel.DataAnnotations; namespace Nordic.Taxes.Resources { public class SaveDailyTaxResource { [Required] [DataType(DataType.Date)] public DateTime Day { get; set; } [Required] [Range(0.0, 1, ErrorMessage = "Value for {0} must be between {1} and {2}.")] public doub...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace AzureExperiments { public class WebApiApplication : System.Web.HttpApplication { protected void Applicati...
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("DryIoc.Web")] [assembly: AssemblyDescription("DryIoc extension for ASP.NET providing Web Request Reuse")] [assembly: AssemblyCopyright("Copyright © 2014 Maksim Volkau")] [assembly: AssemblyVersion( "3.0.0")] [assemb...
using FRED.Api.Core; using FRED.Api.Core.Data; using System.Collections.Generic; namespace FRED.Api.Series.Data { /// <summary> /// Provides data properties for a series search container, including a collection of series (seriess). /// </summary> public class SeriesSearchContainer : ExtendedContainer<FREDData.se...
using Aspose.Words; using Aspose.Words.Notes; using IBE.Data.Model; using System; using System.Collections.Generic; using System.Linq; namespace IBE.Data.Export { public class DefaultExporter : BaseDefaultExporter { private int footNoteIndex = 1; private DefaultExporter() : base() { } publ...
using System; using System.Collections.Generic; using System.Web.Http; using Provider.Api.Web.Models; namespace Provider.Api.Web.Controllers { public class StatsController : ApiController { [Route("stats/status")] public dynamic GetStatus() { return new { ...
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
using System; namespace TodoApi.Models { public class TodoItem { public long Id { get; set; } public string Name { get; set; } public bool IsComplete { get; set; } } }
// This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com using System; using System.Linq; using DevExpress.Mvvm; using Gamma.Attributes; using Gamma.Entities; using Gamma.Interfaces; using System.Data.Ent...
/* Copyright 2019 Esri 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 writing,...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Linq; namespace RimTrans.Framework.Converter.Helper { public static class Temporay { public static void foo1() { XDocument doc...
namespace SCViewAndWindow.Client { partial class PTZUserControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed...
// 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.md file in the project root for more information. using System.Threading.Tasks; using Microsoft.VisualStudio.ProjectSystem.VS.Tree.Dependencies; namespace Microsoft.Vi...
namespace Lykke.MatchingEngine.Connector.Models.Api { /// <summary> /// Limit order mass cancel model. /// </summary> public class LimitOrderMassCancelModel { public string Id { get; set; } public string ClientId { get; set; } public string AssetPairId { get; set; } ...
using ExternalProject.Net5.UnitTestMocks.Sample.NamespaceTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ExternalProject.Net5.UnitTestMocks.MSTest.Sample.ConfigTests.AsLoose { [SlowFox.InjectMocks(typeof(ReferenceDependencyViaUsing))] [TestClass] public partial class AsLooseTests {...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace Mall.Example { public class Program { ...
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("LVK.AppCore.Windows.Service.Tests")]
using System; using System.Threading.Tasks; using Azure; using Azure.Storage; using Azure.Storage.Blobs; using Azure.Storage.Blobs.Models; using Microsoft.Azure.EventGrid.Models; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.EventGrid; using Microsoft.Extensions.Logging; using Microsoft.Windo...
//------------------------------------------------------------------------------ // <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> //---...
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using System; using System.Buffers.Binary; using System.Collections.Generic; using System.Text; using SixLabors.ImageSharp.Primitives; namespace SixLabors.ImageSharp.MetaData.Profiles.Exif { /// <summary> /// Con...
using System; namespace DocaLabs.Test.Services._ServiceStackServices { public class DeleteUserRequest { public long Id { get; set; } } }
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.2 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEngine.UI; using System; namespace UnityEngine.Analytics.Experimental.Tracker { [CustomPropertyDrawer (typeof(EventTrigger))] class EventTriggerDrawer : PropertyDrawer { static GUIContent[] t...
// MIT License // // Copyright (c) 2009-2017 Luca Piccioni // // 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 Newtonsoft.Json; using System.Collections.Generic; namespace Kloc.Common.Instagram.Service { public class TagsSearchResultsResponse { [JsonProperty(PropertyName = "data")] public IEnumerable<Tag> Data { get; set; } } }
#region License /* * EndPointManager.cs * * This code is derived from EndPointManager.cs (System.Net) of Mono * (http://www.mono-project.com). * * The MIT License * * Copyright (c) 2005 Novell, Inc. (http://www.novell.com) * Copyright (c) 2012-2016 sta.blockhead * * Permission is hereby granted, free of char...
@page @model PessoaLeituraModel @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @{ if (PessoaLeituraModel.EnumPessoa == PessoaLeituraModel.enumPessoa.FISICA) { ViewData["Pessoa"] = "PESSOA FÍSICA"; } else if (PessoaLeituraModel.EnumPessoa == PessoaLeituraModel.enumPessoa.JURIDICA) { ...
namespace Grumpy.HouseBattery.Client.Sonnen; public class SonnenBatteryClientOptions { public string Ip { get; set; } = ""; public string ApiToken { get; set; } = ""; public int BatterySize { get; set; } public int InverterLimit { get; set; } }
//----------------------------------------------------------------------- // <copyright file="ConnectionManager.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. // </copyright> //----------------------------------------------------------------------- using System; using System.Collecti...
// *** 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.AwsN...
using System.ComponentModel.DataAnnotations; namespace Snouthill.Db.Models; public class CatalogItemModel { [Key] public int Id { get; set; } public string SaleCode { get; set; } public IEnumerable<int> PageIds { get; set; } public int SortIndex { get; set; } = 0; public int Price { get; set;...
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace RunLover.Droid { [Activity(Label = "RunLover", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.Scre...
// *********************************************************************** // Assembly : MPT.CSI.API // Author : Mark Thomas // Created : 07-01-2017 // // Last Modified By : Mark Thomas // Last Modified On : 07-01-2017 // **********************************************************************...
// <copyright file="WeibullTests.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // http://mathnetnumerics.codeplex.com // // Copyright (c) 2009-2014 Math.NET // // Permission is hereby granted, free of charge, t...
using System; using System.Collections.Generic; using NUnit.Framework; using Mnubo.SmartObjects.Client.Models; using Mnubo.SmartObjects.Client.Impl; using System.Collections.Immutable; namespace Mnubo.SmartObjects.Client.Test.Impl { [TestFixture()] public class OwnerSerializerTest { [Test()] ...
using System; using System.Net.Http; using System.Threading.Tasks; namespace Winkler.MyAir3Api { internal class AirconWebClient : IAirconWebClient { private readonly HttpClient _httpClient = new HttpClient(); public AirconWebClient(Uri baseAddress, int timeout) { _httpClie...
@model VentasMvc.Modelos.Cliente @{ ViewBag.Title = "Registro de Cliente"; } <h2>Registro de Cliente</h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal"> <h4>Cliente</h4> <hr /> @Html.ValidationSummary(true, "", new { @class = "text-dange...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
namespace Pizzeria.Server.Infrastructure.Services.Machine { using System; public class DateTimeService : IDateTimeService { public DateTime Now => DateTime.UtcNow; } }
using System; using System.Collections.Generic; using System.Text; namespace Markdown.Avalonia { public enum TextMarkerStyle { Box, Circle, Decimal, Disc, LowerLatin, LowerRoman, UpperLatin, UpperRoman, Square, } public static...
//----------------------------------------------------------------------- // <copyright file="ApiCameraConfigTargetFps.cs" company="Google"> // // Copyright 2019 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Threading; using System.Xml.Linq; using KtaneStuff.Modeling; using RT.KitchenSink; using RT.Util; using RT.Util.ExtensionMethods; using RT.Util.Geometry; nam...
using System; namespace Xamarin.CommunityToolkit.Sample.ViewModels.Converters { public class VariableMultiValueConverterViewModel : BaseViewModel { bool checkBoxValue1 = false; bool checkBoxValue2 = false; bool checkBoxValue3 = false; public bool CheckBoxValue1 { get => checkBoxValue1; set => SetPro...
using System; using Xamarin.Forms.CustomAttributes; using Xamarin.Forms.Internals; #if UITEST using Xamarin.UITest; using NUnit.Framework; #endif namespace Xamarin.Forms.Controls.Issues { [Preserve(AllMembers = true)] [Issue(IssueTracker.Bugzilla, 51802, "[UWP] Detail Page Has Navigation Bar Even When Not Inside a...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Xml; using System.Security.Cryptography; using System.IO; namespace Car_Renting_Management_...
// CC 4.0 International License: Attribution--Brackeys & HolisticGaming.com--NonCommercial--ShareALike // Authors: Asbjørn / Brackeys // Contributors: David W. Corso // Start: 12/08/2016 // Last: 04/26/2021 using UnityEngine; using UnityEngine.UI; public class LevelSelector : MonoBehaviour { public Button[] lev...
using UIKit; namespace AddressBook.iOS { public class Application { // This is the main entry point of the application. private static void Main(string[] args) { // if you want to use a different Application Delegate class from "AppDelegate" // you can specify i...
using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Response { /// <summary> /// AlipayMarketingCampaignDiscountBudgetCreateResponse. /// </summary> public class AlipayMarketingCampaignDiscountBudgetCreateResponse : AlipayResponse { /// <summary> ///...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CsvInvalidCellCountException.cs" company="CsvWrangler"> // This file is a part of CsvWrangler and is licensed under the MS-PL. // http://www.opensource.org/licenses/ms-pl.html ...
// *** 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.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.W...
using OpenCvSharp; using System; using System.Collections.Generic; namespace SamplesCS.Samples { public class PerspectiveTransformSample : ISample { List<Point2f> point2Fs = new List<Point2f>(); Point2f[] srcPoints = new Point2f[] { new Point2f(0, 0), new Point2f(0, 0)...
/* Gaigen 2.5 Test Suite */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
using System; namespace ModelingEvolution.Plumberd.RelationDataModeling { public interface IRecord { public Guid Id { get; set; } } }
using UnityEngine; using System.Collections; public class GearPropellant : Gear { public float force; public ParticleSystem particle; internal virtual void FixedUpdate(){ if (active) { body.AddForce (transform.up * force * Time.deltaTime, ForceMode2D.Force); } } public override void SetInGame () { ...
@model RepairShop.Models.Repairman @{ ViewBag.Title = "Delete"; } <h2>Delete</h2> <h3>Are you sure you want to delete this?</h3> <div> <h4>Repairman</h4> <hr /> <dl class="dl-horizontal"> <dt> @Html.DisplayNameFor(model => model.FirstName) </dt> <dd> ...
// 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.Linq; using System.Net.Http; using System.Threading.Tasks; using Microsoft.TestCommon; namespace System.Web.Http.ModelBinding { /// <...
// *** 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.Linq; namespace DeBroglie.Constraints { public class FixedTileConstraint : ITileConstraint { public Tile Tile { get; set; } public Point? Point { get; set; } public Resolution Check(TilePropagator propagator) { return...
using Robust.Shared.GameStates; using Robust.Shared.Map; using Robust.Shared.Serialization; namespace Content.Shared.Movement.Components { /// <summary> /// The basic player mover with footsteps and grabbing /// </summary> [RegisterComponent] [ComponentReference(typeof(IMobMoverComponent))] ...
using System; using UnityEditor; namespace Logical.Editor { /// <summary> /// This class allows the LogicalGraphWindow to listen to graph asset modifications from outside the editor window. /// Currently, creating a graph, deleting a graph, and moving a graph from outside the editor window will notify the...
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Microsoft.Azure.Commands.Aks.Generated.Version2017_08_31.Models { using Microsoft.Rest; using Newtonsoft.Json; ...
using Highcharts4Net.Library.Enums; using Highcharts4Net.Library.Helpers; namespace Highcharts4Net.Library.Options { /// <summary> /// Text labels for the plot bands /// </summary> public class YAxisPlotBandsLabel { /// <summary> /// Horizontal alignment of the label. Can be one of 'left', 'center' or 'righ...
/* The MIT License (MIT) Copyright (c) 2013-2014 Dave Tuchlinsky, Stephen Tunney, Canada (stephen.tunney@gmail.com) 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...
/* * 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...
//------------------------------------------------------------------------------ // <auto-generated> // 此代码是根据模板生成的。 // // 手动更改此文件可能会导致应用程序中发生异常行为。 // 如果重新生成代码,则将覆盖对此文件的手动更改。 // </auto-generated> //------------------------------------------------------------------------------ namespace bookMall.Models { ...
/* * 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.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("CreatureManager")] [assembly: AssemblyDes...
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Threading.Tasks; namespace Statiq.Common { /// <summary> /// Base class for modules that rely on multiple config values and could apply to input documents in parallel /// (or not) depending ...
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace iBatisNetTest { public partial clas...
// Copyright (c) Microsoft. 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.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Editor.Extensibility.Composition...
#region License // Copyright (c) K2 Workflow (SourceCode Technology Holdings Inc.). All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. #endregion using System; using System.Collections.Generic; namespace SourceCode.Clay.OpenApi.Tests.Mock { ...
namespace WPF.Airprint.Mvvm { /// <summary> /// Constants used to identify regions in the main window view. /// </summary> public static class RegionNames { public const string MainRegion = "MainRegion"; public const string FooterRegion = "FooterRegion"; } }
using System; using System.Threading; namespace KontrolSystem.TO2.Runtime { public interface IContext { ITO2Logger Logger { get; } void CheckTimeout(); void ResetTimeout(); bool IsBackground { get; } IContext CloneBackground(CancellationTokenSource token); } pub...
// Copyright (c) 2017 Daniel Grunwald // // 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, // publ...
using EPiServer.Reference.Commerce.Site.Features.Global.AddressBook.Services; using EPiServer.Reference.Commerce.Site.Features.Global.OrderHistory.Pages; using EPiServer.Reference.Commerce.Site.Features.Global.Shared.Models; using EPiServer.Reference.Commerce.Site.Infrastructure.Facades; using EPiServer.Web.Mvc; using...
using System; using System.Net; using FeatureFlags.Utils.Exceptions; namespace FeatureFlags.Utils.ExtensionMethods { public static class ExceptionExtensions { public static HttpStatusCode ToHttpStatusCode(this Exception exception) { if (exception is ApiException apiException) ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.IdentityModel.Protocols.OpenIdConnect; u...
using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using TypeSharp.React.Data; var builder = WebApplication.CreateBuilder(args); // Add services to the container. var connectionString = builder.Configuration.GetConnectionString("DefaultConnection"); builder.Services.AddDbContext<ApplicationDbCo...
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information namespace Nest { public class DateRangeAttribute : RangePropertyAttributeBase, IDateRangeProperty { public Da...
using AutoMapper; namespace AdaskoTheBeAsT.AutoMapper.SimpleInjector.Test.Profiles { public class DependencyResolver : IValueResolver<object, object, int> { private readonly ISomeService _service; public DependencyResolver(ISomeService service) { _service = service; ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; using wize.common.tenancy.Interfaces; namespace wize.resume.data.V1.Models { public class Project : ITenantModel { [Key] [Database...
using System; using System.Collections.Generic; using System.Text; namespace AccidentallyFastNoise { public partial class AFNoise { public static Double3 ScaleDomain(Double3 coords, Double3 scale) { return new Double3(coords.X * scale.Y, coords.Y * scale.Y, coords.Z * scale.Z); ...
using System; using System.Collections.Generic; using System.Globalization; using System.Reflection; using System.Runtime.Serialization; using System.Threading.Tasks; using System.Xml; namespace WooCommerceNET.Base { [DataContract] public class JsonObject { [OnSerializing] void OnSerializi...
// 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; namespace Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp { internal par...
// // Copyright (c) Antmicro // Copyright (c) Realtime Embedded // // This file is part of the Emul8 project. // Full license details are defined in the 'LICENSE' file. // using System; using System.Net.NetworkInformation; using System.Globalization; using Emul8.Utilities; namespace Emul8.Core.Structure { [Convert...
using System.Data; using Gunter.Services; namespace Gunter.Data { public class TestContext { public TestBundle TestBundle { get; set; } public TestCase TestCase { get; set; } public DataTable Data { get; set; } public IDataSource DataSource { get; set; } public IRuntime...
/* * 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 ...
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("Ca...
namespace FastEnumString.Benchmarks { using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Jobs; [SimpleJob(RuntimeMoniker.Net50)] [SimpleJob(RuntimeMoniker.Net60)] [MemoryDiagnoser, MarkdownExporter, DisassemblyDiagnoser(exportHtml: true)] public class SmallEnumBenchmark { public SmallEnum Value { get; s...
using Contract; using ServiceModel.Grpc.DesignTime; namespace ClientDesignTime { [ImportGrpcService(typeof(IGreeter))] // configure ServiceModel.Grpc.DesignTime to generate a source code for IGreeter proxy internal static partial class MyGrpcServices { } }
/* Yet Another Forum.NET * Copyright (C) 2006-2013 Jaben Cargman * http://www.yetanotherforum.net/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or...
// **************************************************************** // Copyright 2002-2018, Charlie Poole // This is free software licensed under the NUnit license, a copy // of which should be included with this software. If not, you may // obtain a copy at https://github.com/nunit-legacy/nunitv2. // *****************...
using System; using System.Collections.Generic; using System.Text; using gov.va.medora.utils; namespace gov.va.medora.mdo.dao.vista { /// <summary> /// Iterator that also produces the correct mask (DdrLister.Part) for DDR LISTER queries /// </summary> /// <remarks> /// The key part is only providi...