text stringlengths 1 932k |
|---|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a Codezu.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----------------------------------... |
using Core;
namespace Entities.DTOs
{
public class UserForLoginDto : IDto
{
public string Email { get; set; }
public string Password { get; set; }
}
} |
using System;
using BLToolkit.Properties;
using BLToolkit.Reflection;
using BLToolkit.TypeBuilder.Builders;
namespace BLToolkit.Aspects
{
/// <summary>
/// http://www.bltoolkit.net/Doc/Aspects/index.htm
/// </summary>
[AttributeUsage(
AttributeTargets.Class |
AttributeTargets.Interface |
AttributeTargets.Pro... |
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("Co... |
namespace SerenitySkins.Administration
{
using Serenity;
using Serenity.Abstractions;
using Serenity.Data;
using System;
using System.Data;
using MyRow = Entities.UserRow;
public class UserRetrieveService : IUserRetrieveService
{
private static MyRow.RowFields fld { get { retur... |
using NUnit.Framework;
using RoboBraille.WebApi.Models;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RoboBraille.WebApi.Test
{
public class TestAudioWorkflows {
private static string timestamp = DateTime.Now.Ticks.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EditorPathScript : MonoBehaviour {
public Color rayColor = Color.yellow;
public List<Transform> path_objs = new List<Transform>();
Transform[] theArray;
private void OnDrawGizmos()
{
Gizmos.color ... |
//
// Copyright (c) 2008-2011, Kenneth Bell
//
// 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, ... |
using System;
using System.Collections.Generic;
using Octopus.Data.Model.Configuration;
using Octopus.Server.Extensibility.HostServices.Mapping;
using Octopus.Server.MessageContracts;
namespace Octopus.Server.Extensibility.Extensions.Infrastructure.Configuration
{
public abstract class ConfigurationSettings<TConfi... |
using GitBucket.Core;
using GitBucket.Core.Models;
using Microsoft.EntityFrameworkCore;
using Xunit;
namespace GitBucket.Service.Tests;
public class MilestoneServiceTest
{
public FakeConsole FakeConsole { get; } = new FakeConsole("yes");
[Fact]
public async Task Should_Show_Open_Milestone()
{
... |
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FluentValidation;
using MediatR;
using SFA.DAS.CommitmentsV2.Shared.Interfaces;
using SFA.DAS.CommitmentsV2.Api.Client;
namespace SFA.DAS.ProviderCommitments.Application.Commands.CreateCohort
{
public class CreateCohortHandler : IReque... |
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("02... |
using System.Collections.Generic;
using System.ServiceModel;
using System.Threading.Tasks;
using MarketingBox.Affiliate.Service.Domain.Models.Languages;
using MarketingBox.Affiliate.Service.Grpc.Requests;
using MarketingBox.Sdk.Common.Models.Grpc;
namespace MarketingBox.Affiliate.Service.Grpc;
[ServiceContract]
publi... |
/*
* 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.Collections.Generic;
using System.Drawing;
using ProSuite.Commons.Essentials.CodeAnnotations;
using ProSuite.Commons.Progress;
using ProSuite.DomainModel.AO.DataModel;
using ProSuite.DomainModel.Core.DataModel;
using ProSuite.DomainModel.Core.Processing;
namespace ProSuite.DomainModel.AO.Processing
{
pub... |
/*
* 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... |
// Part One
var diagnostics = new List<string>();
// Read the contents of the file into a List<string>. For now
// I am just storing each binary value as a string.
foreach (string line in File.ReadLines("input.txt"))
{
diagnostics.Add(line);
}
int bits = diagnostics.First().Length;
char[] gammaRateBits = new ch... |
// Generated on 03/23/2022 09:51:38
using System;
using System.Collections.Generic;
using System.Linq;
using AmaknaProxy.API.IO;
namespace AmaknaProxy.API.Protocol.Types
{
public class TrustCertificate
{
public const short Id = 8303;
public virtual short TypeId
{
get { retur... |
using SimpleJSON;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.IO.Pipes;
using System.Text;
using System.Threading;
using UnityEngine;
namespace VAM_ImageGrabber
{
public class Foto2VamServer : IDisposable
{
~Foto2VamServer()
{
... |
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("Te... |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; ... |
namespace GarboDev.Cores.InterpretedCore
{
partial class FastArmCore
{
#region Delegate Dispatcher
private void DispatchFunc0()
{
uint rn, rd;
// AND rd, rn, rm lsl immed
rn = registers[(curInstruction >> 16) & 0xF];
rd = (curInstruction >>... |
//===============================================================================
// Microsoft patterns & practices
// Smart Client Software Factory 2010
//===============================================================================
// Copyright (c) Microsoft Corporation. All rights reserved.
// THIS CODE AND INFOR... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.Collections.Generic;
using System.Diagnostics.ContractsLight;
using System.Linq;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
using static Micro... |
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE.md file or at
* https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.472/blob/master/LICENSE
*
*/
#endregion
using ExtendedControls.ExtendedToolkit.Calendar.Classes;
namespace Extend... |
/*
* 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
*
... |
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3dhal.h(1203,9)
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct _D3DHAL_DP2MULTIPLYTRANSFORM
{
public _D3DTRANSFORMSTATETYPE xfrmType;
public _D3DMATRIX ... |
using System;
using ShuHai.Unity;
using UnityEngine;
using UnityEngine.UI;
namespace ShuHai.I18N.Unity.UI
{
[RequireComponent(typeof(Text))]
public class TextLocalizer : MonoBehaviour
{
protected TextLocalizer() { _text = new Lazy<Text>(EnsureText); }
#region Text Key
public stri... |
namespace SimpleAuth.Controllers
{
using Api.Token;
using Extensions;
using Microsoft.AspNetCore.Mvc;
using Shared;
using Shared.Models;
using SimpleAuth.Common;
using SimpleAuth.Shared.Errors;
using SimpleAuth.Shared.Repositories;
using System;
using System.Collections.Generic;... |
using GoodAI.Core.Configuration;
using GoodAI.Core.Nodes;
using Graph;
using Graph.Items;
using System.Collections.Generic;
namespace GoodAI.BrainSimulator.NodeView
{
internal class MyUserInputView : MyNodeView
{
public bool ShowValues { get; set; }
private List<NodeSliderItem> sliders = new ... |
/*
* Farseer Physics Engine:
* Copyright (c) 2012 Ian Qvist
*
* Original source Box2D:
* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of t... |
// 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 System.Collections.Generic;
using System.Linq;
using Cake.Cli;
using Cake.Core;
using Cake.Core... |
using System;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using MarkWildmanNerdMathWorkouts.Application.Interfaces.Repositories;
using MarkWildmanNerdMathWorkouts.Domain.Contracts;
using MarkWildmanNerdMathWorkouts.Shared.Wrapper;
using MediatR;
namespace MarkWildmanNerdMathWorkouts.Applic... |
#region Apache License
//
// 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
// (th... |
namespace Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515
{
using Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.PowerShell;
/// <summary>
/// A PowerShell PSTypeConverter to support converting to an instance of <see cref="Gen2StorageConfigurationMutableProperties"
... |
using System;
using System.Collections.Generic;
using cse210_final_metroidvania.Casting.HudElements;
namespace cse210_final_metroidvania.Casting.HudElements
{
/// <summary>
/// Will display the hero's currently set equipped weapon
/// </summary>
public class EquippedWeapon : HUD
{
public E... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace JN.Services.Manager
{
public partial class Users
{
#region 获得团队人数集合,正向查询会员/反向查询会员
/// <summary>
/// 获得用户所有子节点会员集合(安置关系,按上至下左至右排序)
/// </summary>
/// <param name="onUser">会员实体</param>
... |
// <copyright file="WebSocketHttpRequest.cs" company="WebDriver Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this fil... |
//namespace Cars
//{
using System;
using System.Text;
public class Tesla : ICar, IElectricCar
{
public Tesla(string model, string color, int batteries)
{
this.Model = model;
this.Color = color;
this.Batteries = batteries;
}
public string Model { get; private set; }
public ... |
using AzureFtpServer.Ftp;
namespace AzureFtpServer.FtpCommands
{
/// <summary>
/// PASS command handler
/// get password and do login
/// </summary>
internal class PasswordCommandHandler : FtpCommandHandler
{
public PasswordCommandHandler(FtpConnectionObject connectionObject)
... |
namespace XamControle.UWP
{
public sealed partial class MainPage
{
public MainPage()
{
this.InitializeComponent();
LoadApplication(new XamControle.App());
}
}
} |
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("SQ... |
using System;
using System.Collections.Generic;
#nullable disable
namespace ATSPM.Application.Models
{
public partial class DetectionHardware
{
public DetectionHardware()
{
Detectors = new HashSet<Detector>();
}
public int Id { get; set; }
public string Na... |
using System;
using System.Collections.Generic;
using VRage;
using VRageMath;
namespace VRageMath
{
// 6 - 7
// / /|
//4|- 5 |
//|2 -|3
//|/ |/
//0 - 1
public class MyCuboidSide
{
public Plane Plane = new Plane();
public Line[] Lines = new Line[4]... |
using BytecodeApi.Extensions;
using BytecodeApi.Text;
using System.Windows.Forms;
namespace PEunion
{
public class ProjectMessageBox : ProjectItem
{
public string Title
{
get => Get(() => Title);
set
{
Set(() => Title, value);
Project.IsDirty = true;
RaisePropertyChanged(() => TreeViewItemT... |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... |
/*
© Siemens AG, 2018
Author: Suzannah Smith (suzannah.smith@siemens.com)
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 Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
namespace VTP.AntiPhishingGateway;
public class PhishingService : IHostedService
{
private readonly PhishingServiceOptions _options;
private readonly IHostApplicationLifetime _lifetime;
private readonly PhishingGatewayService _gatewa... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Threading.Tasks;
namespace Azure.Identity
{
/// <summary>
/// X509Certificate2FromObjectProvider provides an ... |
public class StringEventObserver : EventObserverBase<ReactiveEventString, string, SerializedEventString>
{
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Genotype {
List<Gene> genes;
Phenotype phenotype;
double fitness;
double adjustedFitness;
int specie;
public Genotype()
{
specie = -1;
genes = new List<Gene>();
for (int i... |
// Copyright (c) 2020 Sergio Aquilini
// This code is licensed under MIT license (see LICENSE file for details)
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using Silverback.Diagnostics;
using Silverback.Messaging.Broker;
using Silverback.Messaging... |
using System.Collections.Generic;
namespace HL7Data.Models.Tables.Standard
{
public sealed class CertificationPatientType : ITableInfo
{
private static ITableInfo InstanceData => new CertificationPatientType();
public static ITableInfo Instance => InstanceData;
private CertificationPati... |
using Neo.IO;
using Neo.IO.Caching;
using System;
using System.IO;
using NoDbgViewTR;
namespace Neo.Consensus
{
internal abstract class ConsensusMessage : ISerializable
{
/// <summary>
/// Reflection cache for ConsensusMessageType
/// </summary>
private static ReflectionCache<b... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NServiceKit.FluentValidation.Internal;
using NServiceKit.FluentValidation;
namespace NServiceKit.ServiceInterface.Validation
{
/// <summary>A multi rule set validator selector.</summary>
public class MultiRuleSetValida... |
using CommandLine;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Forte.SmokeTester.Extractor;
namespace Forte.SmokeTester
{
public static class Program
{
public static int Main(string[] args)
{
return CommandLine.Parser.Default
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="StoreByThumbprintCertificateFetcher.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// -------------------------------------... |
namespace FastFood.Core.Controllers
{
using System;
using System.Linq;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using Data;
using FastFood.Models;
using Microsoft.AspNetCore.Mvc;
using ViewModels.Items;
public class ItemsController : Controller
{
private ... |
/*
* Hydrogen Integration API
*
* The Hydrogen Integration API
*
* OpenAPI spec version: 1.3.1
* Contact: info@hydrogenplatform.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using NUnit.Framework;
using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;... |
using System;
using System.Runtime.InteropServices;
#pragma warning disable 1591
namespace OpenCvSharp
{
static partial class NativeMethods
{
[DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl)]
public static extern IntPtr imgproc_getGaussianKernel(
int ksize, doub... |
using System.Threading.Tasks;
using DSharpPlus;
using DSharpPlus.Entities;
using HonzaBotner.Discord.Managers;
using HonzaBotner.Discord.Services.Options;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace HonzaBotner.Discord.Services.Managers
{
public class ButtonManager : IButtonMa... |
using System;
using NUnit.Framework;
using OpenQA.Selenium.Environment;
namespace OpenQA.Selenium
{
[TestFixture]
public class DriverDisposalTest : DriverTestFixture
{
[Test]
[IgnoreBrowser(Browser.Safari)]
public void ShouldOpenAndCloseBrowserRepeatedly()
{
for ... |
using Microsoft.Xna.Framework;
using System;
using Terraria;
using Terraria.ID;
namespace LuckyRunes.RuneEvents.PlayerEvents
{
public class LavaPit : PlayerEvent
{
public override string Name => "Lava Pit";
public override string Message => "A nice warm bath";
public override float Im... |
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x100c_de37-ab5dbe16")]
public void Method_100c_de37()
{
ii(0x100c_de37, 5); push(0x28); /* push 0... |
#region PDFsharp Charting - A .NET charting library based on PDFsharp
//
// Authors:
// Niklas Schneider
//
// Copyright (c) 2005-2017 empira Software GmbH, Cologne Area (Germany)
//
// http://www.pdfsharp.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of charge, to any perso... |
namespace ClaimManager.Application.Features.Claims.Queries.GetById
{
public interface IReqeustHandler<T1, T2>
{
}
} |
using System;
using Piranha.AttributeBuilder;
using Piranha.Extend;
using Piranha.Extend.Fields;
using Piranha.Models;
#nullable disable
namespace Talagozis.Website.Models.Cms.PageTypes
{
[PageType(Title = "Culture page")]
[ContentTypeRoute(Title = "Culture page", Route = "/home")]
public class CulturePag... |
using InventoryManagementSystemAPI.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace InventoryManagementSystemAPI.DTOs
{
public class AddInventoryDTO
{
public int InventoryId { get; set; }
... |
// 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.Collections.Generic;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
namespace Microsoft.EntityFrameworkCore.Metadata
{
/// <sum... |
//------------------------------------------------------------------------------
// <copyright file="Parser.cs" company="Microsoft">
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named li... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using JandJCommerce.Models;
using JandJCommerce.Models.ViewModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI.Service... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyGame
{
public class Class1
{
}
} |
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("For... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Symbols;
using Microsoft.PowerShell.EditorServices.Utility;
using System;
using System.Collections.Generic;
using Syste... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Corvus.Components.Gameplay;
namespace Corvus.Components.Gameplay.Equipment
{
/// <summary>
/// A class to manage all the weapon details.
/// </summary>
public class WeaponProperti... |
//------------------------------------------------------------------------------
// <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;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
usin... |
namespace AttAvaliativa_Heranca
{
partial class frm_Entrada
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BLL;
using Models;
namespace TestWeb.Handlers
{
/// <summary>
/// InsertGoodsHandler 的摘要说明
/// </summary>
public class InsertGoodsHandler : IHttpHandler
{
GoodsBLL goods = new GoodsBLL();
pub... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
namespace ExtenFlow.Messages.Events
{
/// <summary>
/// Class InMemoryEventStore.
/// </summary>
/// <remarks>Only used for testing.</remark... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Web;
namespace KoreanNewsDownloader.Downloaders
{
internal class KwangjuDownloader : DownloaderBase
{
public KwangjuDownloader(HttpClient httpClient, ProxyHttpClient proxyHttpClien... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Gandalan.IDAS.WebApi.DTO
{
public class ProduktionsStatusDTO
{
public ProduktionsStatusDTO()
{
Erstellt = DateTime.UtcNow;
}
public Guid ProduktionsStatusGuid { get; set; }
public ... |
// 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 regenerated.
namespace Microso... |
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Options;
using Abp.Authorization;
using localtour.Authorization.Roles;
using localtour.Authorization.Users;
using localtour.MultiTenancy;
using Microsoft.Extensions.Logging;
namespace localtour.Identity
{
pu... |
/*
Copyright (c) 2011-2012, HL7, Inc
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 above copyright notice, this
list of conditio... |
// Copyright (c) Autofac Project. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Linq;
using Autofac.Core.Registration;
using Autofac.Integration.Mef... |
//! \file ImageYGP.cs
//! \date Sun Mar 20 13:24:00 2016
//! \brief YGP image format.
//
// Copyright (C) 2016 by morkt
//
// 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 ... |
/**
* The MIT License
* Copyright (c) 2016 Population Register Centre (VRK)
*
* 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 righ... |
////*********************************************************
// <copyright file="IRequestResponse.cs" company="Intuit">
/*******************************************************************************
* Copyright 2016 Intuit
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use thi... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.Xml.Serialization;
namespace VaporStore.DataProcessor.Dto.Import
{
[XmlType("Purchase")]
public class ImportPurchaseDto
{
[Required]
[XmlAttribute("title")]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "New RecoilData", menuName = "RecoilData")]
public class RecoilData : ScriptableObject
{
public bool isRecoilingComplete;
public float rigidbodyData = 0;
public void SetRecoil(bool isRecoil)
{
isRe... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace vidly.Models.CustomValidations
{
/*
* Client side validations and custom validators:
* ----------------------------------------------
* Custom validators don't... |
// *****************************************************************************
//
// © Component Factory Pty Ltd 2012. All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, 17/267 Nepean Hwy,
// Seaford, Vic 3198, A... |
namespace SerilogPlay.SimpleApi
{
using IdentityServer4.AccessTokenValidation;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using System.IdentityModel.Tokens.Jwt;
public class Startup... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
public class NyarLog : MonoBehaviour {
#region Variables
public static NyarLog logger = null;
[Header("Saved Info")]
public Dictionary<int, Message> messageDictionary = new Dictionary<int, Message>()... |
using Catalog.API.Data;
using Catalog.API.Entities;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Catalog.API.Repositories
{
public class ProductRepository : IProductRepository
{
private readonly ICatalogContext _context;
public ... |
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("MVP.View")]
[assembly: AssemblyDescriptio... |
namespace YouTubePlaylists.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public class Playlist
{
public Playlist()
{
this.Videos = new HashSet<Video>();
this.Ratings = new HashSet<Rating>();
... |
// 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.
/*=============================================================================
**
**
** Purpose: An array implemen... |
// Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
// See the LICENSE.md file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using UnityEditor;
using UnityEngine;
using UnityEngine.Rendering;
namespace UnityFx.Outline
{
/// <sum... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.