text
stringlengths
1
932k
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
using System.Globalization; using System.Text; namespace SingleStoreConnector.Logging; public class ConsoleLoggerProvider : ISingleStoreConnectorLoggerProvider { public ConsoleLoggerProvider(SingleStoreConnectorLogLevel minimumLevel = SingleStoreConnectorLogLevel.Info, bool isColored = true) { if (minimumLevel < ...
namespace operators; public static class ArithmeticOperators { public static void Examples() { Console.WriteLine("==== ++ and -- operators"); Increment(); Decrement(); Console.WriteLine("==== Unary + and - operators"); UnaryPlusAndMinus(); Console.WriteLine("=...
using MyApp.ServiceModel; using ServiceStack; using ServiceStack.Data; using ServiceStack.OrmLite; using ServiceStack.VirtualPath; using TalentBlazor; using TalentBlazor.ServiceModel; [assembly: HostingStartup(typeof(MyApp.ConfigureDb))] namespace MyApp; public class ConfigureDb : IHostingStartup { public void C...
// FFXIVAPP.Client // AboutView.xaml.cs // // Copyright © 2007 - 2015 Ryan Wilson - All Rights Reserved // // 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 retain the ab...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; namespace FluentBootstrap { public static class TagExtensions { public static ComponentBuilder<TConfig, TTag> AddCss<TConfig, TTag>(this Com...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.ServiceModel.Description; using System.Text; using System.Threading.Tasks; namespace TC2CodeBasicHttpTransportSecurity { class Program { static void Main(string[] args) { using...
/*=============================================================================== Copyright (c) 2016-2018 PTC Inc. All Rights Reserved. Vuforia is a trademark of PTC Inc., registered in the United States and other countries. ===============================================================================*/ using Syst...
using System.Windows.Forms; using System.Runtime.InteropServices; using hoReverse.HistoryList; namespace hoReverse.History { [ComVisible(true)] [ClassInterface(ClassInterfaceType.None)] [Guid("507E9A7C-8B74-4DCB-9C6D-9EBCD4DA8ED1")] [ProgId("hoReverse.HistoryGui")] [ComDefaultInterface(typeof(IHis...
/* * Copyright(c) 2017 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 ...
using CSharpFunctionalExtensions; using FluentAssertions; using Xunit; namespace SimpleValidatorBuilder.Tests; public class CustomValidatorTests { [Fact] public void Validation_using_custom_validator_adds_data_to_error() { // Arrange const int exactLength = 12; var testString = ne...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Reflection; using System.Runtime.Serialization; using System.Web.Http; using System.Web.Http.Description; using System.Xml...
using System.Configuration; namespace Shuttle.Core.Container { public class ComponentRegistryCollectionImplementationTypeElement : ConfigurationElement { [ConfigurationProperty("implementationType", IsRequired = false, DefaultValue = "")] public string ImplementationType => (string) this["impl...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.ComponentModel; using CascadeParser; using System.Globalization; namespace CascadeSerializer { public static class ReflectionHelper { public static readonly BindingFlags P...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die ei...
using System; using System.Collections.Generic; using System.Text; using System.ServiceModel; using System.Runtime.Serialization; /* HOW TO HOST THE WCF SERVICE IN THIS LIBRARY IN ANOTHER PROJECT You will need to do the following things: 1) Add a Host project to your solution a. Right click...
/* * 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; using Vortex.Connector; using Vortex.Connector.Peripheries; using Vortex.Connector.Attributes; using Vortex.Connector.ValueTypes; using Vortex.Connector.Identity; using PlcConnector.Properties; #pragma warning disable SA1402, CS1591, CS0108, CS0067 namespace Plc { public partial class PlcTwinController ...
@using Wboy.Application.Dto.AdminModule.Dto @{ List<MenuDto> menus = ViewBag.Menus; } @{ ViewData["Title"] = "Index"; Layout = "~/Views/Shared/_Layout.cshtml"; } <div id="ajax-loader" style="cursor: progress; position: fixed; top: -50%; left: -50%; width: 200%; height: 200%; background: #fff; z-index: 1000...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LiveSplit.Web.SRL.RaceViewers { public class MultiTwitch : IRaceViewer { public void ShowRace(dynamic race) { var builder = new St...
using OpenTK.Graphics.OpenGL; namespace ColladaParser.Shaders { public class DefaultShader : BaseShader { public int ProjectionMatrix { get; private set; } public int ViewMatrix { get; private set; } public int Texture { get; private set; } public int HaveTexture { get; private set; } public int Ambien...
#region License // Copyright (c) 2018, FluentMigrator Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
 using System; using System.IO; using System.Web; using TemplateAction.Core; namespace SysWeb.TemplateAction { public class SysWebResponse : ITAResponse { private HttpResponse _response; public SysWebResponse(HttpResponse response) { _response = response; } ...
using FL.ExpressionToSQL; using FL.ExpressionToSQL.ETSAttributes; using FL.ExpressionToSQL.Formatters; using FL.ExpressionToSQLTests; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq.Expressions; namespace FL.ExpressionToSQL.Tests { [TestClass()...
using Torque3D; namespace Game.Core.LightingSystem.Advanced { [ConsoleClass] internal class AL_NormalsVisualize : Torque3D.PostEffect { public AL_NormalsVisualize() { Name = "AL_NormalsVisualize"; ShaderData AL_NormalsVisualizeShader = new ShaderData("AL_NormalsVisualizeShader"...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; using Xunit; using Xunit.Sdk; namespace Microsoft.Extensions.Logging.Testing.Tests { public class LogValuesAssertTest { ...
using System; using System.Collections.Generic; using System.Linq; using System.Reactive; using System.Reactive.Concurrency; using System.Reactive.Linq; using BuzzardWPF.Data; using BuzzardWPF.Data.DMS; using BuzzardWPF.Logging; using BuzzardWPF.Management; using BuzzardWPF.Views; using ReactiveUI; namespace BuzzardW...
namespace Forum.App.Controllers.Contracts { public interface IReadUserInfoController { void ReadUsername(); void ReadPassword(); string Username { get; } } }
using Microsoft.AspNetCore.Mvc; using TimeTracker.Application; using TimeTracker.Domain; namespace TimeTracker.Api.Controller { [Route("api/worktime")] public class WorkTimeController : ControllerBase { //public WorkTimeController(IRepository<WorkTime> repositoryFactory, // IUnitOfWork ...
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //---------------------------------------------------------...
#region License /* ********************************************************************************** * Copyright (c) Roman Ivantsov * This source code is subject to terms and conditions of the MIT License * for Irony. A copy of the license can be found in the License.txt file * at the root of this distribution. ...
using System; using EloBuddy.Sandbox; using EloBuddy.SDK.Events; using EloBuddy.SDK.Menu.Values; using EloBuddy.SDK.Utils; using SharpDX; namespace EloBuddy.SDK { internal static class StreamingMode { internal static bool IsEnabled { get { return Bootstrap.IsStreamingMode; } ...
using Unity.Entities; [GenerateAuthoringComponent] public struct HealthComponent : IComponentData { public float health; }
using System; using System.Drawing; using System.IO; using System.Windows.Forms; using Intersect.Editor.Content; using Intersect.Editor.Localization; using Intersect.GameObjects.Events.Commands; using Intersect.Utilities; namespace Intersect.Editor.Forms.Editors.Events.Event_Commands { public partial class Even...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Ej8 : MonoBehaviour { //Crear una variable entera que pueda ser modificada desde el Inspector.Suponiendo que //el primer día de la semana es el Domingo, mostrar el nombre del día correspondiente al //valor de la va...
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("Net...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using StackExchange.Redis.Extensions.Core; using StackExchange.Redis.Extensions.Core.Extensions; using StackExchange.Redis.Extensions.Tests.Extensions; using StackExchange.Redis.E...
namespace XRoadLib.Wsdl; public class XRoadOperationVersionBinding : ServiceDescriptionFormatExtension { [UsedImplicitly] public string Prefix { get; } [UsedImplicitly] public string Namespace { get; } public string Version { get; set; } public XRoadOperationVersionBinding(string prefix, st...
namespace News.ViewModels { /// <summary> /// Base news view model groupped by a specific criteria: category, source, etc. /// </summary> public abstract class BaseGrouppedNewsViewModel : BaseNewsViewModel { } }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Collections.Concurrent; using System.Collections.Immutable; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using System.Globalizati...
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/UserEnv.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { pu...
// <copyright file="NoOpMetricsReportRunner.cs" company="Allan Hardy"> // Copyright (c) Allan Hardy. All rights reserved. // </copyright> using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading; using System.Threading.Tasks; #if !NETSTANDARD1_6 using App.Metr...
 // Copyright (c) Microsoft Corporation. All Rights Reserved. using System; using System.ServiceModel; using System.ServiceModel.Channels; namespace Microsoft.ServiceModel.Samples { class InterceptingInputChannel<TChannel> : InterceptingChannelBase<TChannel>, IInputChannel where TChannel : clas...
using System; using System.Collections; namespace CotcSdk { /// <summary>An event arguments class holding an exception. Used with unhandled exceptions.</summary> public class ExceptionEventArgs : EventArgs { internal ExceptionEventArgs(Exception Exception) { this.Exception = Exception; } /// <summary>Gets event...
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v6/services/custom_audience_service.proto // </auto-generated> // Original file comments: // Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may ...
namespace Content.Server.Bible.Components { /// <summary> /// This component is for the chaplain's familiars, and mostly /// used to track their current state and to give a component to check for /// if any special behavior is needed. /// </summary> [RegisterComponent] public sealed class Fa...
 namespace ConroleAcesso.Forms { partial class frmPrincipal { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team // // 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, m...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4....
@model IEnumerable<RentalManagement.Models.MaintainenceRequest> @{ ViewBag.Title = "Index"; Layout = "~/Views/Shared/_Layout.cshtml"; } <body> <h2>Index</h2> <p> @Html.ActionLink("Create New", "Create") </p> <table class="table"> <tr> <th> @Html.DisplayNameFor(model => model.Request) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Controls; using System.Windows.Markup; using System.Windows.Media.Animation; using System.Windows.Media; using System.Windows; namespace GadgetCenter.CommonControl { public enum NavigationType { ...
using Xena.Common.ExtensionMethods; namespace Xena.Contracts.Domain { public class AddressDto { public AddressDto() { } public AddressDto(PartnerResourceContextDto resource) { City = resource.City; CountryName = resource.CountryName; ...
/* * * 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"); y...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace VFS.Application.GUI { public partial class frmMusicPlayer : Form { public frmMusicPlayer() { ...
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("Tel...
namespace gs { public interface IThreeAxisLaserCompiler { void Begin(); void AppendPaths(ToolpathSet paths); void End(); } public class SLSCompiler : IThreeAxisLaserCompiler { private SingleMaterialFFFSettings Settings; private IPathsAssembler Assembler; ...
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. namespace StyleCop.Analyzers { using LightJson.Serialization; using StyleCop.Analyzers.Settings.ObjectModel; /// <summary> /// Defines the...
using System.Threading.Tasks; using Fluid; using Fluid.Values; using Newtonsoft.Json.Linq; namespace OrchardCore.Liquid.Filters { public static class JsonParseFilter { public static ValueTask<FluidValue> JsonParse(FluidValue input, FilterArguments arguments, TemplateContext context) { ...
using UnityEngine; using Pcx; [ExecuteInEditMode] public class PointAnimation : MonoBehaviour { [SerializeField] PointCloudData _sourceData; [SerializeField] ComputeShader _computeShader; [SerializeField] float _param1; [SerializeField] float _param2; [SerializeField] float _param3; [Serialize...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BombEffect : MonoBehaviour { public GameObject impactParticlePrefab; public GameObject projectileParticlePrefab; public GameObject muzzleParticlePrefab; public GameObject hitParticlePrefab; [Range(0f, 1...
namespace Promitor.Scraper.Model { public class AzureCredentials { public string ApplicationId { get; set; } public string Secret { get; set; } } }
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - MVCZoolandia</title> <environment names="Development"> <link rel="stylesheet" href="~/lib/bootstrap/dist/css/boots...
using System; using System.Collections.Generic; using System.Text; using System.Linq; // TODO: Implement!!! class ConsoleJustification { static void Main() { int lines = int.Parse(Console.ReadLine()); int width = int.Parse(Console.ReadLine()); StringBuilder allWords = new StringBuilder(...
// 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 Microsoft.VisualC; using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace <CppImplementationDetails> { [DebugInfoInPDB, MiscellaneousBits(65), NativeCppClass, UnsafeValueType] [StructLayout(LayoutKind.Sequential, Size = 3)] internal struct $ArrayType$$$BY02$$CBD ...
using System.Collections.Generic; using System.Threading.Tasks; using Abp.Application.Services; using Abp.Application.Services.Dto; using Acme.PhoneBook.Authorization.Users.Dtos; using Acme.PhoneBook.EntityFrameworkCore.Repositories; using Acme.PhoneBook.Roles.Dto; using Acme.PhoneBook.Users.Dto; namespace Acme.PhoneB...
/* * 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...
//------------------------------------------------------------------------------ // <auto-generated> // 이 코드는 도구를 사용하여 생성되었습니다. // 런타임 버전:4.0.30319.18033 // // 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 // 이러한 변경 내용이 손실됩니다. // </auto-generated> //---------------------------------------------------------...
using Device.Net; using Device.Net.Exceptions; using System; using System.IO; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; using Windows.Devices.Usb; using Windows.Storage.Streams; using windowsUsbInterface = Windows.Devices.Usb.UsbInterface; using wss = Windows.Storage.Streams; ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Threading.Tasks; using System.Web; namespace KalosfideAPI.Partages { public class FiltreDeListe { public string Nom { get; set; } public string Valeur { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Navigation; using Coding4Fun.Phone.Controls.Toolkit.Prim...
using System; using UnityEngine; namespace UnityEditor { class VolundMultiStandardShaderGUI : ShaderGUI { private enum WorkflowMode { Specular, Metallic, Dielectric } public enum BlendMode { Opaque, Cutout, Fade, // Old school alpha-blending mode, fresnel does not affect ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum CompressionMode { none, LZF } public static class Compressor { public static byte[] Pack(byte[] data, CompressionMode mode) { if(mode==CompressionMode.LZF) { return CLZF2.Compress(data); ...
#if !NETSTANDARD13 /* * 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 ...
// Licensed under MIT No Attribution, see LICENSE file at the root. // Copyright 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com). Maintained at https://github.com/angularsen/UnitsNet. using System; using System.Collections.Concurrent; using System.Globalization; using System.Linq; using JetBrains.Annotation...
using System.Collections.Generic; namespace PKISharp.WACS.Services.Legacy { internal interface ILegacyRenewalService { IEnumerable<LegacyScheduledRenewal> Renewals { get; } } }
using System.Collections.Generic; namespace Humanizer.Localisation.NumberToWords { internal class TurkishNumberToWordConverter : GenderlessNumberToWordsConverter { private static readonly string[] UnitsMap = { "sıfır", "bir", "iki", "üç", "dört", "beş", "altı", "yedi", "sekiz", "dokuz" }; priv...
using HotChocolate.Language; #nullable enable namespace HotChocolate.Types; /// <summary> /// This interface aggregates the most important attributes of a input-field. /// </summary> public interface IInputFieldInfo : IHasName, IHasFieldCoordinate, IHasRuntimeType { /// <summary> /// Gets the type of this in...
// The MIT License (MIT) // // Copyright (c) 2014-2017, Institute for Software & Systems Engineering // // 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 wi...
using Assets.Scripts.Model; using System; using System.Collections.Generic; namespace Assets.Scripts.GUILogic.View.BattleEquipment { public class CloneItemList : ITraversListCallback { private List<ItemInfo> list; public object Result { get { return this.list; } } public Func<object, int, bo...
namespace CustomCode.Core.Messages.Transport.NetMQ { using Endpoints; using Extensions; using global::NetMQ; using global::NetMQ.Sockets; using System; using System.Reactive.Concurrency; using System.Reactive.Linq; using System.Threading; using System.Threading.Tasks; /// <summa...
using NightlyCode.Scripting; using NightlyCode.Scripting.Parser; using NUnit.Framework; using Scripting.Tests.Data; namespace Scripting.Tests { [TestFixture, Parallelizable] public class DisposableTests { IScriptParser parser; [SetUp] public void Setup() { parser = new S...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace LMPlatform.UI.ViewModels.SubjectViewModels { public class StudentSubGroupViewModel { public string FirstName { get; set; } public string LastName { get; set; } public int Id { get; set; } ...
namespace Cedar.Queries { using System; using System.Collections.Generic; using System.Security.Claims; using System.Threading; using System.Threading.Tasks; using Cedar.Annotations; using Cedar.Commands; using Cedar.Handlers; public static class HandlerModulesDispatchQuery { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum ItemColor : ushort { Blue, Yellow, Red } public class ItemData { public static string GetName(ItemColor colorType) { string text = ""; switch (colorType) { case ItemColor...
using MessagePack; namespace Akka.Serialization.Protocol { [MessagePackObject] public readonly struct CreateData { [Key(0)] public readonly ExceptionData Cause; [SerializationConstructor] public CreateData(ExceptionData cause) => Cause = cause; } [MessagePackObjec...
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/mfidl.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System;...
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("Si...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace src.Controllers { [ApiController] [Route("[controller]")] public class LoginRequestController : Controll...
using API.DTOs; using API.Entities; using API.Extensions; using AutoMapper; namespace API.Helpers { public class AutoMapperProfiles : Profile { public AutoMapperProfiles() { CreateMap<AppUser, MemberDTO>() .ForMember(d => d.PhotoUrl, opt => opt.MapFrom(src => src.Photos.FirstOrDefault(p => p...
//------------------------------------------------------------------------------ // <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> //--...
// 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. namespace System.Configuration { internal static class StringUtil { internal static bool EqualsOrBot...
/* Copyright 2010-2015 MongoDB 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 in writin...
using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Net; using System.Reflection; namespace PoESkillTree.Utils { /// <summary> /// Contains build serialization related utility methods. /// </summary> public static class SerializationUtils { /// <summary> /...
#pragma checksum "/Users/sundararajannarasiman/Documents/DotnetCoreSamples/mymvcweb/Views/Shared/_ValidationScriptsPartial.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4b5e5ef4ebf7354cc35c7dacddd6bc3068f19a47" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.R...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using Microsoft.Toolkit.Uwp.UI.Lottie.LottieData; namespace Microsoft.Toolkit.Uwp.UI.Lottie.LottieToW...
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace CMS.Infrastructure.Migrations { public partial class initialCreate : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "AspNetRoles"...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; using System.Text.Encodings.Web; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Html; using Mic...