text
stringlengths
1
932k
using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.eShopOnContainers.BuildingBlocks.Resilience.Http; using Microsoft.eShopOnContainers.WebMVC.ViewModels; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.Collections.Generic; u...
// Guids.cs // MUST match guids.h // ReSharper disable InconsistentNaming namespace ResXManager.VSIX { using System; internal static class GuidList { public const string guidResXManager_VSIXPkgString = "43b35fe0-1f30-48de-887a-68256474202a"; public const string guidResXManager_VSIXCmdSetS...
// ReSharper disable InconsistentNaming namespace Tester.CodeGenTests { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Orleans; using Orleans.Providers; [StorageProvider(ProviderName = "MemoryStore")] public class RuntimeGenericG...
/* =============================================================================== EntitySpaces 2009 by EntitySpaces, LLC Persistence Layer and Business Objects for Microsoft .NET EntitySpaces(TM) is a legal trademark of EntitySpaces, LLC http://ww...
using Newtonsoft.Json; namespace SaCodeWhite.Api.Models { public class BaseDto { [JsonProperty("HOSP_SHORT")] public string HospitalCode { get; set; } } }
// Copyright (c) Alexandre Mutel. All rights reserved. // This file is licensed under the BSD-Clause 2 license. // See the license.txt file in the project root for more information. namespace Markdig.Parsers { /// <summary> /// Base class for a <see cref="BlockParser"/> or <see cref="InlineParser"/>. /// ...
//<Snippet5> using System; using System.Threading; using System.Runtime.Remoting.Messaging; namespace Examples.AdvancedProgramming.AsynchronousOperations { public class AsyncMain { static void Main() { // Create an instance of the test class. AsyncDemo ad = new AsyncDem...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Management.Automation; using System.Text; using System.Threading.Tasks; using PSFramework.Meta; using PSFramework.Utility; namespace PSFramework.FlowControl { /// <summary> /// Data structure representin...
using System; using System.Linq.Expressions; using System.Reflection; using FluentNHibernate.Conventions.Inspections; using FluentNHibernate.MappingModel; using FluentNHibernate.Utils; using NUnit.Framework; namespace FluentNHibernate.Testing.ConventionsTests.Inspection { [TestFixture, Category("Inspection DSL")] ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Text.Json; using System.Threading.Tasks; using Microflow.Models; using MicroflowModels; using Microsoft.Azure.Cosmos.Table; using Microsoft.Azure.WebJobs.Extensions.DurableTask; u...
using System; using NUnit.Framework; using Vts.MonteCarlo.DataStructuresValidation; using Vts.MonteCarlo.Helpers; namespace Vts.Test.MonteCarlo.DataStructuresValidation { [TestFixture] public class ValidationResultTests { /// <summary> /// Validate default and fully-defined constructor...
using FluentValidation.Results; using Microsoft.Extensions.Localization; using SFA.DAS.AssessorService.Application.Api.Consts; namespace SFA.DAS.AssessorService.Application.Api.Validators { public class UkPrnValidator { private readonly IStringLocalizer<UkPrnValidator> _localizer; public UkPr...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using System; namespace HFX.Historian.Infrastructure.Middlewares { public class FailingStartupFilter : IStartupFilter { private readonly Action<FailingOptions> _options; public FailingStartupFilter(Action<FailingOptions> ...
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using PlayFabBuddy.Infrastructure.Adapter.PlayFab; using PlayFabBuddy.Infrastructure.Config; using PlayFabBuddy.Infrastructure.Repositories; using PlayFabBuddy.Lib.Entities.Accounts; using PlayFabBuddy.Lib.Interfaces.Adapter; usi...
using FreeSql; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using XUCore.Template.WeChat.Core; using XUCore.Template.WeChat.Persistence.Entities; namespace XUCore.Template.WeChat.Persistence { pu...
@model HomePageModel @{ ViewData["Title"] = "Bilgilerim"; } <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>GUVENBANK</title> <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using CleanArchitecture.Services.Payment.API.Entities; namespace CleanArchitecture.Services.Payment.API.Data { public class PaymentDbContext : DbContext { //public Paym...
using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using System.Drawing; using System.Diagnostics; using FDK; namespace TJAPlayer3 { public class CActLVLNFont : CActivity { // コンストラクタ const int numWidth = 15; const int numHeight = 19; public CActLVLNFo...
#if !BUILD_ETABS2015 && !BUILD_ETABS2016 && !BUILD_ETABS2017 using NUnit.Framework; using MPT.CSI.API.Core.Program; using MPT.CSI.API.Core.Program.ModelBehavior.Definition; using MPT.CSI.API.Core.Program.ModelBehavior.Definition.Function; using MPT.CSI.API.Core.Support; namespace MPT.CSI.API.EndToEndTests.Core.Progra...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // // Generated with Bot Builder V4 SDK Template for Visual Studio CoreBot v4.14.0 using Microsoft.Bot.Builder.Integration.AspNet.Core; using Microsoft.Bot.Builder.TraceExtensions; using Microsoft.Extensions.Configuration;...
using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace UserManagement.Infrastructure.Migrations { public partial class InitialCreate : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migratio...
using Turnkey.config; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; namespace Turnkey.Controllers { /// <summary> /// Complete an tokenize request, three steps: /// 1. Get request paramters f...
/* * 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 DFC.App.JobProfileOverview.IntegrationTests.Data; using System; using System.Net.Http.Headers; using System.Net.Mime; using System.Text; using System.Threading.Tasks; using Xunit; namespace DFC.App.JobProfileOverview.IntegrationTests.ControllerTests { public class HealthControllerRouteTests : IClassFixture<...
using Windows.Foundation; namespace HeartLight.Helpers { public static class PointExtensions { public static Point ToLogical(this Point pt, float dpi) { return new Point(DpiHelper.ToLogical(pt.X, dpi), DpiHelper.ToLogical(pt.Y, dpi)); } public static Point ToPhysical(this Point pt, flo...
/* * 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 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...
// *** 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...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics.CodeAnalysis; namespace Roslyn.Utilities { internal static class RoslynString { ...
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) { Car car1 = new Car(); Bicycle bicycle1 = new Bicycle(); car1.Ride();...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
using System; using System.Collections.Generic; using System.Drawing; namespace Hyperion.Tests.Generator { public static class CrossFrameworkInitializer { public const string DefaultOutputPath = "../../../testfiles"; public static CrossFrameworkMixedClass InitMixed() { ret...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18052 // // 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; namespace RepeatedString { class RepeatString { static void Main(string[] args) { string s = Console.ReadLine(); long n = long.Parse(Console.ReadLine()); long length = s.Length; ...
// Copyright 2022 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.Security.Claims; using System.Text; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using System.Security.Principal; using System.Web; namespace MyHaflinger.Anmeldung { public static class AnmeldungRoles { p...
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Stryker.Core.InjectedHelpers; using System.Collections.Generic; using System.Linq; namespace Stryker.Core.Mutants { public static class MutantPlacer { private const string MutationCond...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IndividualProject.BusinessLogic; using IndividualProject.Models; namespace IndividualProject.BusinessLogic { class List { protected internal static List<Trainer> trainers...
using System; namespace WorkflowCore.Models.LifeCycleEvents { public abstract class LifeCycleEvent { public DateTime EventTimeUtc { get; set; } public string WorkflowInstanceId { get; set; } public string WorkflowDefinitionId { get; set; } public int Version { get; set; } ...
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you 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 CleanArchTemplate.Tests.Unit.Infra.Repository.Config.Entities; using Microsoft.Data.Sqlite; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Data.Common; using System.Text; namespace CleanArchTemplate.Tests.Unit.Infra.Repository.Config { public class InMemoryTes...
// DotNetNuke® - http://www.dnnsoftware.com // Copyright (c) 2002-2018, DNN Corp. // All Rights Reserved using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Dynamic; using DotNetNuke.Common.Utilities; using DotNetNuke.Data.PetaPoco; namespace DNN.Integration.T...
using System; using UnityEngine; namespace CGTK.Utils.Extensions { using static PackageConstants; using F32 = Single; using F64 = Double; using I8 = SByte; using I16 = Int16; using I32 = Int32; using I64 = Int64; using U8 = Byte; using U16 = UInt16; using U32 = UInt32; ...
using System; using System.Text.Json; using Blazored.SessionStorage.JsonConverters; using Blazored.SessionStorage.Serialization; using Blazored.SessionStorage.StorageOptions; using Blazored.SessionStorage.TestExtensions; using Blazored.SessionStorage.Tests.TestAssets; using Microsoft.Extensions.Options; using Moq; usin...
using System; using System.Collections.Generic; using NQuery.Runtime; namespace NQuery.Compilation { internal sealed class PropertyAccessExpression : ExpressionNode { private ExpressionNode _target; private Identifier _name; private SourceRange _nameSourceRange; private PropertyBinding _property; public ...
// *** 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 Ringo.Api.Data; using SpotifyApi.NetCore.Authorization; using System; namespace Ringo.Api.Models { public class UserAccessToken : CosmosModel { public UserAccessToken() { } protected UserAccessToken(string userId, BearerAccessRefreshToken tokens) { PK = UserId = user...
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1019_470f-c66f647a")] public void /* sys */ Method_1019_470f() { ii(0x1019_470f, 2); mov(eax, esp); ...
namespace Router.Model.Configuration { public enum RouteMode { None, Allow, RequireUpdate } }
 using System; using System.Net; using System.Net.Http; using System.Net.Sockets; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace WebApiTpl.Core.Extensions { public class HttpExtensions { /// <summary> /// get请求 /// </summary> ...
using DR.Components.Projects.Events; using DR.Frameworks.Projects.Models; using DR.Packages.Mongo.Repository; using MassTransit; using System.Linq; namespace DR.Services.Projects.Consumers.Events { public class ProjectAddedConsumer : IConsumer<ProjectCreated> { private readonly IMongoRepository<Projec...
using System; using System.Collections.Generic; #pragma warning disable 8618 // Models are de-serialised, so shouldn't be null // ReSharper disable InconsistentNaming // ReSharper disable UnusedMember.Global // ReSharper disable IdentifierTypo // ReSharper disable CommentTypo // ReSharper disable NotNullMemberIsNotI...
using Google.Apis.Dns.v1; using Google.Apis.Dns.v1.Data; using PKISharp.WACS.Services; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PKISharp.WACS.Plugins.ValidationPlugins.Dns { internal sealed class CloudDnsService { private DnsService _client; ...
namespace NExpect.Interfaces { /// <summary> /// Continue on to Deep Equality Testing for dictionary value /// </summary> /// <typeparam name="T"></typeparam> public interface IDictionaryValue<T> { /// <summary> /// Continue on to Deep Equality Testing for dictionary value ...
//------------------------------------------------------------------------------ // <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> //------------------------------------------...
// 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.Immutable; using System.Diagnostics; namespace Microsoft.CodeAnalysis.CSharp { intern...
/* * Copyright(c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
open: function (url) { location = url; }, MenuCollapse : function(){ if(this.collapse){ this.collapse = false; ClearCollapseToLocalStorage(); }else{ this.collapse = true; SaveCollapseToLocalStorage(); } }, LoadCollapse : function(){ this.collapse = GetCollapseFromLocalSt...
namespace Orchard.Environment { public interface IOrchardHostContainer { T Resolve<T>(); } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Sense : MonoBehaviour { protected Aspect.aspect targetAspect; protected Team.team targetTeam; protected bool targetAlive; /* // Use this for initialization void Start () { } // Update is called once per frame void...
using System; using System.Collections.Generic; using System.IO; using Microsoft.Xna.Framework; using XenGameBase; namespace PlatformerXen { public static class Level { /// <summary> /// Loads the specified level into a game scene /// </summary> /// <param name="level">The level...
using System; using System.Linq; using Xamarin.Forms; using Xamarin.FormsBook.Toolkit; using SchoolOfFineArt; namespace StudentCardFile { public partial class StudentCardFilePage : ContentPage { View exposedChild = null; public StudentCardFilePage() { InitializeComponent();...
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using System.Collections; using NetOffice; namespace NetOffice.AccessApi { ///<summary> /// DispatchInter...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Academy.Models.Contracts; using Academy.Models.Outputs; using Academy.Models.Validation; namespace Academy.Models.Resources { abstract class LectureResource:ILectureResource { priv...
// Copyright 2018 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, software ...
using SFML.Graphics; namespace JourneyCore.Lib.Game.Environment.Metadata { public struct TileMetadata { public int Gid { get; } public IntRect TextureRect { get; } public TileMetadata(int gid, IntRect textureRect) { Gid = gid; TextureRect = textureRect;...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Exten...
// ---------------------------------------------------------------------------------- // // Copyright 2011 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://ww...
namespace CoinMarketCalApi.Entities { public enum Sorting { CreatedDesc, HotEvents, TrendingEvents, SignificantEvents } public enum ShowOnly { HotEvents, TrendingEvents, SignificantEvents } }
namespace ForumSystem.Web.ViewModels.Administration.Categories { using System.Collections.Generic; using ForumSystem.Web.ViewModels.PartialViews; public class CategoryCrudModelList { public IEnumerable<CategoryCrudModel> Categories { get; set; } public PaginationViewModel PaginationM...
namespace Glimpse.Ado.Message { public class CommandExecutedParamater { public string Name { get; set; } public object Value { get; set; } public string Type { get; set; } public int Size { get; set; } } }
using uTinyRipper.Converters; using uTinyRipper.YAML; namespace uTinyRipper.Classes { public sealed class SphereCollider : Collider { public SphereCollider(AssetInfo assetInfo): base(assetInfo) { } public static int ToSerializedVersion(Version version) { // min version is 2nd return 2; } //...
using BookOrganizer2.Domain.BookProfile.GenreProfile; namespace BookOrganizer2.UI.Wpf.Wrappers { public class GenreWrapper : BaseWrapper<Genre, GenreId> { public GenreWrapper(Genre model) : base(model) { } public string Name { get => GetValue<string>(); set => ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Steeltoe.Common.Utils.IO...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GridTemplate : MonoBehaviour { // Start is called before the first frame update void Start() { GameObject obj = GameObject.FindGameObjectWithTag("aa"); } // Update is called once per frame void...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FMLib.Utility { class MainView { } }
namespace _01.Greeting { using System; public class StartUp { public static void Main() { var name = Console.ReadLine(); Console.WriteLine($"Hello, {name}!"); } } }
@model IEnumerable<Fatec.Treinamento.Model.DTO.DetalhesCurso> @{ ViewBag.Title = "Pesquisar"; } <h4>@Model.Count() Cursos</h4> @Html.Partial("ListagemCursos")
using AceleraDev.Data.Auditoria; using MongoDB.Driver; using System; using System.Security.Authentication; namespace AceleraDev.Data.Context { public class MongoDbContext { public static string ConnectionString { get; set; } public const string DATABASE_NAME = "aceleradev-auditoria"; ...
using System.Linq; using Noise.Infrastructure.Dto; using Noise.Infrastructure.Interfaces; namespace Noise.Core.PlayStrategies.Exhausted.Suggesters { public class PlayGenre : ExhaustedHandlerBase { private readonly IArtistProvider mArtistProvider; private readonly IAlbumProvider mAlbumProvider;...
namespace EFSM.Domain { public class StateMachine { private bool _isEnabled = true; public string Name { get; set; } public State[] States { get; set; } public StateMachineInput[] Inputs { get; set; } public StateMachineTransition[] Transitions { get; set; } /...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Scoreboard { public enum GamePeriodStatus {Pending, Active, Ended} }
using System.Collections.Generic; using Arbor.ModelBinding.Tests.Unit.ComplexTypes; using Machine.Specifications; using Microsoft.Extensions.Primitives; #if Newtonsoft using Newtonsoft.Json; using Arbor.ModelBinding.NewtonsoftJson; #else using Arbor.ModelBinding.SystemTextJson; #endif namespace Arbor.ModelBinding.T...
using System; using ETModel; namespace ETHotfix { [MessageHandler(AppType.Gate)] public class C2G_UpdateEmailHandler : AMRpcHandler<C2G_UpdateEmail, G2C_UpdateEmail> { protected override async void Run(Session session, C2G_UpdateEmail message, Action<G2C_UpdateEmail> reply) { G...
// Copyright (c) Alexandre Mutel. All rights reserved. // This file is licensed under the BSD-Clause 2 license. // See the license.txt file in the project root for more information. using System; namespace LibObjectFile.Dwarf { [Flags] public enum DwarfAttributeEncoding { None, Address =...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // // using System; using System.Globalization; using System.Runtime.InteropServices; using System.Text; #pragma warning disable 436 // Redefining types from Windo...
// *** 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 (c) 2005-2006 Swampware, Inc. // // 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...
// Author: Dominic Beger (Trade/ProgTrade) 2016 using System; using System.Linq; using System.Reflection; using nUpdate.UpdateInstaller.Client.GuiInterface; namespace nUpdate.UpdateInstaller.Core { internal class ServiceProviderHelper { public static IServiceProvider CreateServiceProvider(Assembly as...
/* * Copyright 2013 NEHTA * * Licensed under the NEHTA Open Source (Apache) License; you may not use this * file except in compliance with the License. A copy of the License is in the * 'license.txt' file, which should be provided with this work. * * Unless required by applicable law or agreed to in writing, so...
using System.ComponentModel.DataAnnotations; namespace CarService { [MetadataType(typeof(ImagineMetadata))] public partial class Imagine { } }
using System; using CSharpWars.Common.Extensions; using FluentAssertions; using Xunit; namespace CSharpWars.Tests.Common.Extensions { public class Base64ExtensionsTests { [Fact] public void Base64Encode_Should_Encode_In_Base64() { // Arrange var input = "Text to...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Scene_Button : MonoBehaviour { public string Scene_Name; public void Scene_Change(){ print("changing"); SceneManager.LoadScene(Scene_Name); } }
using System; using Xunit; using ACMESharp.Ext; namespace Tests { //public class Tests { //[Fact] public void Test1() { ACMESharp.Ext.ExtManager.Foo(); Assert.True(true); } } }
using System; using System.Collections.Generic; using System.Data; using MySql.Data.MySqlClient; namespace TrackerServer { public class Db { private readonly MySqlConnection _connection; private MySqlCommand _mCmd; public Db(string host, int port, string db, string user, string pass) ...
using System; using System.Collections.Generic; using System.Net; using System.Reflection; using System.Threading.Tasks; namespace StackExchange.Redis.Configuration { /// <summary> /// A defaults providers for <see cref="ConfigurationOptions"/>. /// This providers defaults not explicitly specified and is ...
// ***************************************************************************** // 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...
namespace OnlyM.Core.Services.CommandLine { using System; using System.IO; using Fclp; // ReSharper disable once ClassNeverInstantiated.Global public class CommandLineService : ICommandLineService { public CommandLineService() { var p = new FluentCommandLineParser()...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...