text
stringlengths
1
932k
using Route4MeSDK.DataTypes; using Route4MeSDK.QueryTypes; namespace Route4MeSDK.Examples { public sealed partial class Route4MeExamples { /// <summary> /// Get activities with the event Destination Updated /// </summary> public void SearchDestinationUpdated() { ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IcParameters.cs" company="Pacific Northwest National Laboratory"> // 2015 Pacific Northwest National Laboratory // </copyright> // <author>Christopher Wilkins</author> // <summa...
using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using NUnit.Framework; namespace UnitTests.Serialization { public class SurrogatesTest : BaseSerializationTest { [Test] public void TestPen() { var formatter = GetFormatter(); ...
//------------------------------------------------------------------------------ // <copyright file="CodeConditionStatement.cs" company="Microsoft"> // // <OWNER>[....]</OWNER> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> ...
using System; using System.Globalization; using Content.Server.Holiday.Interfaces; namespace Content.Server.Holiday.ShouldCelebrate { public sealed class ChineseNewYear : IHolidayShouldCelebrate { public bool ShouldCelebrate(DateTime date, HolidayPrototype holiday) { var chinese = n...
/* DotNetMQ - A Complete Message Broker For .NET Copyright (C) 2011 Halil ibrahim KALKAN This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option)...
// 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.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSha...
using System; using Enexure.Sql.Dynamic.Queries; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Enexure.Sql.Dynamic.Tests { [TestClass] public class QueryTests { [TestMethod] public void Constructing_Query_Should_Not_Throw() { var table = new Table("TableName").As("Alias"); var id = tabl...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.17626 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
/********************************************************************************** * Copyright 2017-2018 Mohamed Sakher Sawan * * * * Licensed under the Apache License, Version 2.0 (the "License")...
using System; using System.Collections; namespace UGF.Factory.Runtime { /// <summary> /// Represents collection of the factories stored by identifier. /// </summary> public interface IFactoryCollection : IEnumerable { /// <summary> /// Gets the type of the identifier. /// </...
// Copyright (c) Valdis Iljuconoks. All rights reserved. // Licensed under Apache-2.0. See the LICENSE file in the project root for more information using System.Collections.Generic; using DbLocalizationProvider.Abstractions; using DbLocalizationProvider.Cache; using DbLocalizationProvider.Queries; namespace DbLocali...
using Microsoft.Xna.Framework; namespace MagicaVoxLoader { public class VoxContent { public int VoxelCount; public int SizeX; public int SizeY; public int SizeZ; public MagicaVoxel[] Voxels; public Color[] Palette; } }
// 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.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microso...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using HtmlAgilityPack; using NewsCollention.Entity; using ScrapySharp.Extensions; using ScrapySharp.Network; using XCode; namespace NewsCollection.Plugin.CollectMyDriverNews { public class CollectMyDriver...
////// Uncomment this class to provide custom runtime policy for Glimpse ////using Glimpse.AspNet.Extensions; ////using Glimpse.Core.Extensibility; ////namespace OJS.Web ////{ //// public class GlimpseSecurityPolicy : IRuntimePolicy //// { //// public RuntimePolicy Execute(IRuntimePolicyContext policyCon...
// Copyright 2020 Energinet DataHub A/S // // Licensed under the Apache License, Version 2.0 (the "License2"); // 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...
using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using Roslyn.Test.Utilities; namespace Microsoft.CodeAnalysis.Test.Utilities { /// <summary> /// Hide all of the runtime specific implementations of types that we ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UniRx; using UniRx.Triggers; using UnityEngine; namespace HitPoint6.Unity.StratosSylphs.GameUnitControllers { using Data; using GameUnits; using InitializeData; using Managers; using TalkEvent; [Serializable] pu...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml.Linq; namespace TecAirlines { /// <summary> /// This class provides connection to the data layer for the flights microservice /// </summary> public class FlightDataBaseAccessService : DatabaseAccess ...
namespace BinBridge.Ssh.Messages.Authentication { /// <summary> /// Represents "hostbased" SSH_MSG_USERAUTH_REQUEST message. /// </summary> internal class RequestMessageHost : RequestMessage { /// <summary> /// Gets the public key algorithm for host key as ASCII encoded byte array. ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ode.Net.Collision { /// <summary> /// Specifies the possible spatial axes order for the /// sweep-and-prune collision space. /// </summary> public enum AxisOrder { ...
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) // Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) // Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) // See the LICENSE.md file in the project root for full license information. u...
using System; namespace Jlabarca.OneBigMob { public sealed class GameState : IGameState { public event Action<int> OnScoreChange; public event Action<int> OnCountChange; public float time; public float timeOffset = .66f; private int _score = -1; public int Scor...
// This file is part of YamlDotNet - A .NET library for YAML. // Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013 Antoine Aubry // 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 wi...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; namespace Azure.ResourceManager.Storage.Models { /// <summary> Blob index tag based filtering for blob objects. </summary> public partial class TagFilter {...
namespace CommunityCatalog.Models.Request { public record RequestPasswordDto(string EmailAddress); }
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading; using System.Threading.Tasks; using NuGetGallery.FunctionTests.Helpers; using Microsoft.VisualStudio.TestTools.UnitTesti...
using Newtonsoft.Json; namespace FortniteDotNet.XMPP.Meta { public class AssistedChallengeInfo { [JsonProperty("AssistedChallengeInfo")] public AssistedChallengeInfoData Data => new AssistedChallengeInfoData(); public override string ToString() => JsonConvert.Seria...
using System; using System.Collections.Generic; using System.Text; namespace MGLib.Osu.Model.Osb.Commands { public class NormalizeCommand<T> : Command where T : struct { public IEnumerable<T> Params; public NormalizeCommand(CommandType type, EasingType easing, Vector2<int> time, IEnumerable<T>...
using Newtonsoft.Json.Converters; namespace Bandwidth.Standard.Utilities { /// <summary> /// This enumeration has ArrayDeserialization format. /// </summary> public enum ArrayDeserialization { /// <summary> // Example: variableName[0] = value1 /// </summary> Indexed ...
using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using GenderPayGap.Core; using GenderPayGap.Extensions; using GenderPayGap.Extensions.AspNetCore; using Newtonsoft.Json; using Polly; using Polly.Extensions.Http; namespace GenderPayGap.WebUI.ExternalServices.CompaniesHouse { ...
// <copyright file="ShiftController.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace Microsoft.Teams.Shifts.Integration.API.Controllers { using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.N...
using System; using Caliburn.Micro; namespace Ignite.Features.ViewModels { public class HoloLensViewModel : Screen { } }
using System; using MilliSimFormat.SimpleScore.Internal; using NUnit.Framework; namespace MilliSimFormat.SimpleScore.Tests { [TestFixture] public sealed class TestFlickPattern { [Test] public void Flick_WithProperties1() { var s = @"f:[1,1/4,3](left!)"; var flick = Fli...
// 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. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // // Ported f...
//------------------------------------------------------------------------------ // <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; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace OktaWebSocketDemo { public class HighScore { public string PlayerName { get; set; } public int Played { get; set; } public int Won { get; set; } public int Percentage { ge...
/* * Copyright 2010-2013 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.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("Li...
namespace ZbW.Testing.MathExtended.Library { public class BasicOperation { public int Addition(int firstAddend, int secondAddend) { var sum = firstAddend + secondAddend; return sum; } public int Subtraction(int minuend, int subtrahend) { ...
using ExtensionsIO; using Microsoft.Win32; using System; using System.Diagnostics; using System.IO; namespace WinFix.Privacy { class Disable_Cortana : _IFeature { public string Name => "Disable Cortana"; public string Description => "Disable Cortana and improve your privacy. I rec...
using SysColab.DAO.PRESTADORES.PrestadorDAO; using SysColab.Dominio.PRESTADORES.Entities; using SysColab.Servicos.NotificacaoServico; using System; using System.Collections.ObjectModel; using System.Linq; using System.Windows; using System.Windows.Controls.Primitives; using System.Windows.Controls; using System.Window...
// *** 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.Linq; using System.Text; using System.Windows.Data; using Infragistics.Guidance.Aqua.Model; using System.Collections.ObjectModel; using Infragistics.Guidance.Aqua.Model.Collections; namespace Infragistics.Guidance.Aqua.Client.Converters { class TestResu...
// ----------------------------------------------------------------------- // <copyright file="AbstractBuilder.cs" company="OSharp开源团队"> // Copyright (c) 2014 OSharp. All rights reserved. // </copyright> // <last-editor>郭明锋</last-editor> // <last-date>2014:07:05 2:53</last-date> // ---------------------------...
// ***************************************************************************** // 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 System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace dmand { public class ThemeManager { public static Theme CurrentTheme; public static bool SetTheme( s...
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...
using System.IO; using BrightWire.ExecutionGraph.Helper; namespace BrightWire.ExecutionGraph.Node.Input { /// <summary> /// Inputs the opposite sequential item from the input index (for bidirectional recurrent neural networks) /// https://en.wikipedia.org/wiki/Bidirectional_recurrent_neural_networks /// </summary...
#region Copyright Syncfusion Inc. 2001-2021. // Copyright Syncfusion Inc. 2001-2021. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // licensing@syncfusion.com. Any infringement will be prosecuted under // applic...
using System; using System.Threading; using System.Threading.Tasks; using MiddleMail.Exceptions; using MiddleMail.Model; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace MiddleMail { /// <summary> /// A BackgroundService that consumes message from an <see cref="IMessageSource" /> an...
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; namespace NAudio.Utils { /// <summary> /// General purpose native methods for internal NAudio use /// </summary> class NativeMethods { [DllImport("kernel32.dll")] public static ...
namespace EA.Weee.Core.Validation { using Configuration; using Shared; using System; using System.ComponentModel.DataAnnotations; using System.Linq; public class ExternalEmailAddressAttribute : ValidationAttribute { public ExternalEmailAddressAttribute() { Confi...
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName ="Card SO", menuName = "Data Objects/Card SO")] public class CardSO : ScriptableObject { public Sprite cardSprite; }
using UnityEngine; namespace StlVault.Views { public static class RendererExtensions { public static bool IsVisibleOn(this RectTransform elem, Camera cam) { //just use the screen as the viewport var viewportMinCorner = new Vector2(0, 0); var viewportMaxCorner...
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD, and Contributors. // All rights reserved. Licensed under the BSD 3-Clause License; see License.txt. using System; using System.Collections; using System.Diagnostics; using System.Linq; namespace Moq.Matchers { internal class ConstantMatc...
using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using EntitiesBT.Core; using Unity.Entities; namespace EntitiesBT.Variant { public struct BlobVariantRW { public BlobVariant Reader; public BlobVariant Writer; } [StructLayout(LayoutKind.Sequent...
using System; using System.Collections.Generic; using NRedisTimeSeries.Commands.Enums; using NRedisTimeSeries.DataTypes; using StackExchange.Redis; using Xunit; namespace NRedisTimeSeries.Test.TestAPI { public class TestRange : AbstractTimeSeriesTest, IDisposable { private readonly string key = "RANGE...
using System; using System.Net; using System.Net.Security; using System.Net.Sockets; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; using System.Text; namespace Server { public class Server { static X509Certificate2 serverCertificate = null; public s...
//------------------------------------------------------------------------------ // <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 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...
@model WebApplication1.Models.IndexViewModel @{ ViewBag.Title = "管理"; } <h2>@ViewBag.Title.</h2> <p class="text-success">@ViewBag.StatusMessage</p> <div> <h4>アカウント設定の変更</h4> <hr /> <dl class="dl-horizontal"> <dt>パスワード:</dt> <dd> [ @if (Model.HasPassword) ...
//----------------------------------------------------------------------- // <copyright file="UnitySerializationInitializer.cs" company="Sirenix IVS"> // Copyright (c) 2018 Sirenix IVS // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Licens...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using People.Data.Entities; namespace People.Data.Services { public interface IPeopleRepository { IQueryable<Person> GetPeople(bool includePets = false); Person GetPerson(int id, bool includePets = false); ...
/* * 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 Messaging.TapetiExample { public class SpeedTestMessage { public int PublishCount { get; set; } } }
/* * 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 Genvio.Common.Extensions { public static class DateTimeExtensions { public static DateTime StartOfWeek(this DateTime dt, DayOfWeek startOfWeek) { var diff = dt.DayOfWeek - startOfWeek; if (diff < 0) { diff += 7; ...
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("Hasseware.Resources")] [assembly: AssemblyDescription("")] [assembly: InternalsVisibleTo("Hasseware.Resources.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010089e7fe2a49c65e53223bcbeb83b326dacbfb...
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: AssemblyConfiguration("")] [assembly: AssemblyCompany("")...
namespace NeedForSpeed.Utilities { public static class Constants { public const string INPUT_TERMINATING_COMMAND = "Cops Are Here"; public const string RACE_HAS_NO_PARTICIPANTS_MESSAGE = "Cannot start the race with zero participants."; public const int MAXIMUM_PERCENTAGE = 100; ...
using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WebMVC.Infastrucutre.Helper; using WebMVC.Infrast...
// Copyright (c) Giovanni Lafratta. All rights reserved. // Licensed under the MIT license. // See the LICENSE file in the project root for more information. using System; using Novacta.Analytics.Infrastructure; namespace Novacta.Analytics { /// <summary> /// Represents the multiple correspondence of a cat...
// 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 Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis { /// <summary> /// The mode in which value is preserved. /// </summary> ...
// Copyright 2016-2017 Confluent Inc. // // 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...
using System; class SortArrayOfNumbersUsingSelectionSort { static void Main() { int[] input = Array.ConvertAll(Console.ReadLine().Split(), int.Parse); for (int i = 0; i < input.Length - 1; i++) { for (int j = i + 1; j < input.Length; j++) { if (i...
using CoreGraphics; using MvvmCross.Binding.BindingContext; using MvvmCross.Platforms.Ios.Views; using Toggl.Daneel.Presentation.Attributes; using Toggl.Foundation.MvvmCross.ViewModels; using UIKit; namespace Toggl.Daneel.ViewControllers { [ModalDialogPresentation] public sealed partial class OutdatedAppViewC...
/* * Copyright (C) 2010 ZXing 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 agr...
/* * 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; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using Altinn.App.IntegrationTests; using Altinn.Platform.Storage.Interface.Models; using App.IntegrationTests.Utils; using Newtonsoft.Json; using Xunit; namespace App.IntegrationTe...
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class CResPath : BaseConfigModel { //member public static string tableName = "respath"; /// <summary> /// 主键 /// </summary> public int q_id; /// <summary> /// 路径(Resource/AB 路径) /// </summa...
using Xunit; namespace Meziantou.Framework.CodeDom.Tests { public class AwaitExpressionTests { [Fact] public void CodeAwaitExpression_ConfigureAwait() { var expression = new AwaitExpression(new SnippetExpression("test")); var configuredExpression = expression.Co...
// Copyright 2004-2021 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 ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Speech.Synthesis; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Microsoft.Speech.Recogn...
using UnityEngine; using System.Collections; using UnityEngine.AI; [RequireComponent(typeof(Unit))] public class UnitMovement : MonoBehaviour { private Transform target; private int wavepointIndex = 0; public enum WayPoints { UNDEFINED, MID, LEFT, RIGHT } public WayP...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Dutch; namespace Microsoft.Recognizers.Text.NumberWithUnit.Dutch { public class AngleExtractorConfiguration : Du...
using Microsoft.EntityFrameworkCore; using Paas.Pioneer.Domain; using System; using System.ComponentModel.DataAnnotations.Schema; namespace Paas.Pioneer.Admin.Core.Domain.Personnel.Position { /// <summary> /// 职位 /// </summary> [Table("Pe_Position")] [Comment("职位表")] public class Pe_PositionEntity...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
using dotSpace.BaseClasses.Network.Messages; using dotSpace.Enumerations; namespace dotSpace.Objects.Network.Messages.Responses { /// <summary> /// Concrete entity containing the minimal properties of any response type message. /// </summary> public class BasicResponse : ResponseBase { /...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.ServiceModel; using Service.Model; namespace Service { [ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Single, InstanceContextMode = InstanceContextMode.Single)] public class GameService : IGameService...
using System.Reflection; [assembly: AssemblyProduct ("SignaturePad.Forms.Windows81")]
using Microsoft.EntityFrameworkCore; using Kongres.Api.Domain.Entities; namespace Kongres.Api.Infrastructure.Context { public class KongresDbContext : DbContext { public KongresDbContext(DbContextOptions options) : base(options) { } public DbSet<Answer> Answers { get; set; } public DbS...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using FluentAssertions; using Microsoft.DotNet.NugetSearch; using Xunit; using Microsoft.DotNet.Cli.CommandLine; using Microsoft.Do...
using System.Collections.Generic; using System.Xml; using System.Xml.Serialization; using Witsml.Data.Measures; namespace Witsml.Data { public class WitsmlTrajectoryStation { [XmlAttribute("uid")] public string Uid { get; set; } [XmlElement("dTimStn")] public string DTimStn { get; set; } ...
// *** 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 EditorResources.UserControls; using EditorResources.Utils; using System.Collections.Generic; using System.Windows; namespace EditorResources.Windows { /// <summary> /// Interaction logic for UserControl1.xaml /// </summary> public partial class VariableListSelectorWindow : Window { p...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using ClinicManagement.Core.Models; namespace ClinicManagement.Core.ViewModel { public class AppointmentFormViewModel { public int Id { get; set; } [Required] [ValidDate] public string...
// 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 Test.Cryptography; using Xunit; namespace System.Formats.Asn1.Tests.Reader { public sealed class ReadNul...
// <Snippet1> using System; using System.Globalization; using System.Resources; using System.Threading; [assembly:NeutralResourcesLanguageAttribute("en", UltimateResourceFallbackLocation.Satellite)] public class Example { public static void Main() { ResourceManager rm = new ResourceManager("GreetResource...