text stringlengths 1 932k |
|---|
using Autofac;
using Clean.Architecture.Application.Projects.Commands.CompleteProjectTodoItem;
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using FluentValidation;
using Clean.Architecture.Application.Validat... |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace MyBooksApp.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main(string[] args)
{
// if you want to use a different A... |
namespace MassTransit.Configuration
{
using GreenPipes;
public interface IEndpointConfiguration :
IConsumePipeConfigurator,
ISendPipelineConfigurator,
IPublishPipelineConfigurator,
IReceivePipelineConfigurator,
ISpecification
{
IConsumePipeConfiguration Con... |
// 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 Cake.Common.Tests.Fixtures.Tools;
using Cake.Common.Tools.NUnit;
using Cake.Common.Tools.OpenCover;
using Cak... |
using System;
using System.Windows.Input;
using BasicApp.Contracts.Services;
using BasicApp.Contracts.ViewModels;
using BasicApp.Core.Contracts.Services;
using BasicApp.Helpers;
using BasicApp.Models;
using Microsoft.Extensions.Options;
namespace BasicApp.ViewModels
{
// TODO WTS: Change the URL for your privac... |
// -----------------------------------------------------------------------------------------
// <copyright file="TakeQueryOptionExpression.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except... |
#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... |
namespace Fluxera.Extensions.Hosting.Modules.Persistence.MongoDB.Sequence
{
using Fluxera.Repository;
using JetBrains.Annotations;
using Microsoft.Extensions.Options;
[UsedImplicitly]
internal sealed class SequenceServiceFactory : ISequenceServiceFactory
{
private readonly IDatabaseNameProviderAdapter databas... |
using System.Diagnostics;
using IbanNet.Validation;
namespace IbanNet.Registry
{
/// <summary>
/// Defines a branch section of a structure.
/// </summary>
[DebuggerStepThrough]
public class BranchStructure : StructureSection
{
internal BranchStructure()
{
}
///... |
@model VETHarbor.Models.Events
@{
ViewData["Title"] = "Details";
}
<h2>Details</h2>
<div>
<h4>Events</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.OrgName)
</dt>
<dd>
@Html.DisplayFor(model => model.OrgName)
</... |
using CozaStore.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CozaStore.Areas.Private.Controllers
{
public class ListOrdersDoneController : Controller
{
// GET: Private/ListOrdersDone
public ActionResult Index()
... |
using FluentValidation;
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Ordering.Application.Behavious
{
public class ValidationBehaviour<TRequest, TResponse> : IPipelineBehavior<TRequest, TRespons... |
#region License & Metadata
// The MIT License (MIT)
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modi... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if WINDOWS_UWP
using System.IO;
using System.Reflection;
using Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.Interfaces;
#nullable disable
... |
#region Apache License
//-----------------------------------------------------------------------
// <copyright file="BindModelEvent.cs" company="StrixIT">
// Copyright 2015 StrixIT. Author R.G. Schurgers MA MSc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except ... |
//
// CSharpBinaryOperationBinder.cs
//
// Authors:
// Marek Safar <marek.safar@gmail.com>
//
// Copyright (C) 2009 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal ... |
using System;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Text;
using System.Threading.Tasks;
using Windows.Security.Cryptography.DataProtection;
using Windows.Storage;
namespace Xamarin.Essentials
{
public partial class SecureStorage
{
static async Task<string> PlatformGetAsync(... |
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;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace EventManager.Models.ManageViewModels
{
public class TwoFactorAuthenticationViewModel
{
public bool HasAuthenticator { get; set; }
public int ... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using System.Web.Optimization;
namespace WildConsulting.WebSite.Mvc
{
public class BundleConfig
{
// For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
//bundles.Add(new Scrip... |
namespace Ansibility.Web.Common
{
public static class Constants
{
public const string ApiPathBase = "api/";
}
} |
using System;
using System.Text;
namespace Json.Pointer
{
/// <summary>
/// Represents a single segment of a JSON Pointer.
/// </summary>
public struct PointerSegment : IEquatable<PointerSegment>
{
/// <summary>
/// Gets the source string.
/// </summary>
public string Source { get; private set; }
/// <... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.ServiceProcess;
using System.Threading.Tasks;
using System.Linq;
using System.Threading;
using Microsoft.VisualStudio.Services.Agent.Util;
using Microsoft.VisualStudi... |
namespace Myra.Assets
{
public interface IAssetLoader<out T>
{
T Load(AssetLoaderContext context, string assetName);
}
} |
namespace pdxpartyparrot.Core.Logging
{
// TODO: use a Logger rather than Debug.Log()
public sealed class Logger
{
}
} |
using System;
using System.Collections.Generic;
using System.Numerics;
using Nfantom.Util;
namespace Nfantom.Signer
{
public class RLPSigner
{
private readonly int numberOfEncodingElements;
private byte[] rlpSignedEncoded;
private byte[] rlpRawWitNoSignature;
public RLPSigner(b... |
/*
* This controller displays labels and specialized labels (Date and Timer).
*/
using System;
using UIKit;
using WatchKit;
using Foundation;
namespace WatchkitExtension
{
public partial class LabelDetailController : WKInterfaceController
{
public LabelDetailController ()
{
coloredLabel.SetTextColor (UICo... |
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("Mo... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using Telerik.Charting;
using Telerik.Core;
using Telerik.UI.Automation.Peers;
using Telerik.UI.Xaml.Controls.Chart;
using Telerik.UI.Xaml.Controls.Pr... |
using System;
using System.IO;
namespace QuickJS.IO
{
public class ByteBufferWriter : Stream
{
private ByteBuffer _byteBuffer;
public ByteBufferWriter(ByteBuffer byteBuffer)
{
_byteBuffer = byteBuffer;
}
public override bool CanWrite { get { return true; }... |
using System;
namespace ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel
{
public class MinusEqualsTokenToken : ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.Token, ForgedOnce.TsLanguageServices.FullSyntaxTree.TransportModel.IBinaryOperatorToken
{
public MinusEqualsTokenToken()... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Extensions;
using Newtonsoft.Json;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Reflection;
using System.Security.Cryptography;
us... |
//------------------------------------------------------------------------------
// <généré automatiquement>
// Ce code a été généré par un outil.
//
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
// le code est régénéré.
// </généré automatique... |
// <auto-generated />
namespace TelerikAcademy.TripyMate.Data.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.0-30225")]
public seal... |
namespace Windows.UI.Xaml.Automation.Peers;
public enum PatternInterface
{
Invoke,
Selection,
Value,
RangeValue,
Scroll,
ScrollItem,
ExpandCollapse,
Grid,
GridItem,
MultipleView,
Window,
SelectionItem,
Dock,
Table,
TableItem,
Toggle,
Transform,
Text,
ItemContainer,
VirtualizedItem,
Text2,
TextChi... |
using System;
using R5T.T0061;
namespace R5T.D0104.I001
{
public static class Instances
{
public static IServiceCollectionOperator ServiceCollectionOperator { get; } = T0061.ServiceCollectionOperator.Instance;
}
} |
/* ------------------------------------------------------------------------- *
thZero.NetCore.Library.Asp
Copyright (C) 2016-2021 thZero.com
<development [at] thzero [dot] 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 obta... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EZCube.Forms.Tabs
{
class Tabs
{
public static TabVisuals Visuals = new TabVisuals();
public static TabAiming Aiming = new TabAiming();
public static TabMiscs M... |
// Generator { Name = "SearchRecordGenerator", Template = "ISearch" }
using System;
namespace SuiteTalk
{
public partial class EmployeeSearch: ISearch, ISearch<EmployeeSearchBasic>
{
public EmployeeSearchBasic GetBasic() => this.basic;
SearchRecordBasic ISearch.GetBasic() => this.basic;
... |
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using ZonyLrcTools.Cli.Config;
using ZonyLrcTools.Cli.Infrastructure.DependencyInject;
namespace ZonyLrcTools.Cli.Infrastructure.Tag
{
/// <summary>
/// 基于正则表达式的标签解析器,从文件名... |
using System;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.SessionState;
namespace BlazaresCore
{
public class Global : System.Web.HttpApplication
{
protected void Application_Start (Object sender, EventArgs e)
{
}
protected void Session_Start (Object sender, E... |
using System;
using System.Windows.Input;
using System.Windows.Media;
using Tailviewer.Archiver.Plugins.Description;
namespace Tailviewer.Ui.Plugins
{
public sealed class InstalledPluginViewModel
: IPluginViewModel
{
private readonly IPluginDescription _description;
//private readonly DelegateCommand _deleteC... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Localiza.Frotas.Infra.Facade
{
public class VistoriaModel
{
public string Placa { get; set; }
public DateTime AgendadoPara { get; set; }
}
} |
// <copyright file="ValidateControlExtensions.List.cs" company="Automate The Planet Ltd.">
// Copyright 2021 Automate The Planet 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://... |
// *** 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 ColossalFramework;
using CSL_AutoRocketLaunch.Detour;
namespace CSL_AutoRocketLaunch.Launch
{
class LaunchMethods
{
private BuildingManager instance;
private ushort m_currentEventID;
private EventInfo info;
private RocketLaunchAI rocketLaunchAI;
// Initialize
... |
using BancoDeSangre.Modelos;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BancoDeSangre.BL
{
public class TipodeSangreBL
{
public BindingList<TipodeSangre> ListadeSangre { get; set; }
... |
using System;
using System.Linq;
using POESKillTree.SkillTreeFiles;
namespace POESKillTree.Utils.UrlProcessing
{
/// <summary>
/// Represents an object that extracts build information from the tree url.
/// </summary>
public abstract class BuildUrlDeserializer
{
private readonly IAscendancy... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using Fabryka;
namespace Fabryka.Controllers
{
public class OperatorController : Controller
{
private FabrykaContainer db = new Fabr... |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.Formatting;
using Microsoft.CodeAnalysis.Simplification;
using Microsoft.Co... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace Jinkong.SecurityProxyApi
{
public class Startup
{
pub... |
using System;
namespace BordeX
{
public enum NavigationButtons
{
News_And_Changelogs,
Window_Selection,
Window_Configuration,
Performance,
BordeX_Settings
}
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Schema;
using Newtonsoft.Json;
namespace Microsoft.Bot.Builder.Dialogs.Adaptive.Templates
{
/// <summary>
/// Defins a static activity as a... |
using System;
using System.Linq;
using BaseFramework.AL.Validation.Db;
using BaseFramework.DL.Module.Validator;
using Nancy;
using NUnit.Framework;
using Tests.Utils.DB;
using Tests.Utils.Fake.Item;
namespace Tests.BaseFramework.AL.Validation.Db {
[TestFixture]
public class ExistsInTableTests {
[SetUp]... |
using System;
namespace OlmeLabs.LogAggregator.Areas.HelpPage.SampleGeneration
{
/// <summary>
/// This represents a preformatted text sample on the help page. There's a display template named TextSample associated with this class.
/// </summary>
public class TextSample
{
public TextSample(... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d2d1effects.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop
{
... |
// ****************************************************************
// Copyright 2007, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org
// ****************************************************************
using System;
namespace NUnit.... |
// <copyright file="EmployeeResourceGroupController.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// </copyright>
namespace Microsoft.Teams.Apps.DIConnect.Controllers
{
using System;
using System.Collections.Generic;
using System.Linq;
... |
namespace Microsoft.Maui.Controls.Internals
{
public interface IPlatformInvalidate
{
void Invalidate(VisualElement visualElement);
}
} |
namespace GiveCRM.DummyDataGenerator.Generation
{
using System.Collections.Generic;
using GiveCRM.DummyDataGenerator.Data;
internal class AddressGenerator
{
private readonly RandomSource random = new RandomSource();
// this is used to check for and avoid generating duplicate values
... |
using System.Collections.Generic;
namespace Convey.Secrets.Vault;
public class VaultOptions
{
public bool Enabled { get; set; }
public string Url { get; set; }
public string Key { get; set; }
public string AuthType { get; set; }
public string Token { get; set; }
public string Username { get; s... |
/*
* Copyright (c) Citrix Systems, 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:
*
* 1) Redistributions of source code must retain the above copyright
* notice, this list ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Network.Models;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.Network... |
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("NO... |
/*
* 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.Collections.Generic;
using System.Threading.Tasks;
using Noobot.Core.MessagingPipeline.Middleware.ValidHandles;
using Noobot.Core.MessagingPipeline.Request;
using Noobot.Core.MessagingPipeline.Response;
namespace Noobot.Core.MessagingPipeline.Middleware.StandardMiddleware
{
internal cla... |
//
// Link All [Regression] Tests
//
// Authors:
// Sebastien Pouliot <sebastien@xamarin.com>
//
// Copyright 2012-2016 Xamarin Inc. All rights reserved.
//
using System;
using System.ComponentModel;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Security;
using Sys... |
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("cs... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.EventHubs;
using Microsoft.Extensions.Logging;
using Orleans.Providers.Streams.Common;
using Orleans.Runtime;
using Orleans.Streams;
using Orleans.Serv... |
using GameSparks.NET.Authentication.Infrastructure.Settings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameSparks.NET.Infrastructure
{
internal static class Urls
{
internal static string BaseUrl => "https://auth.gamesp... |
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-gen... |
using System;
using LearningSignalR.Db;
namespace LearningSignalR.DbBuilder
{
public static class Program
{
public static void Main(string[] args)
{
Console.WriteLine("START");
using (var dbContext = new AppDbContext("DefaultConnection"))
{
... |
using Elasticsearch.Net;
using NUnit.Framework;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Integration.Search.Filter
{
[TestFixture]
public class BoolFilterTests : IntegrationTests
{
//this test started to fail on 0.90.0
//see https://github.com/elasticsearch/elasticsearch/issues/2996
[Test]
pu... |
using Google.Cloud.PubSub.V1;
using Orleans.Runtime;
using Orleans.Serialization;
using Orleans.Streams;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace Orleans.Providers.GCP.Streams.PubSub
{
public class PubSubAdapterRe... |
using EddiDataDefinitions;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EddiEvents
{
public class ModificationCraftedEvent : Event
{
public const string NAME = "Modification crafted";
public... |
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110
{
using Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PowerShell;
/// <summary>The properties of the Failover Process Server request.</summary>
[System.ComponentModel.TypeConverter(typeof(FailoverProcessServerRequestPropertiesType... |
using System;
using SuccincT.Unions.PatternMatchers;
namespace SuccincT.Options
{
public interface IOptionActionMatcher<T>
{
IUnionActionPatternCaseHandler<IOptionActionMatcher<T>, T> Some();
INoneActionMatchHandler<T> None();
IUnionActionPatternMatcherAfterElse Else(Action<Option<T>... |
namespace VegeStore.Web.Tests
{
using System;
using System.Diagnostics;
using System.Linq;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Server.Features;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.AspNetCore.TestHost;
... |
using System.Runtime.InteropServices;
using ArucoUnity.Plugin.cv;
namespace ArucoUnity
{
/// \addtogroup aruco_unity_package
/// \{
namespace Plugin
{
namespace std
{
public class VectorVectorPoint2f : HandleCppPtr
{
// Constructor & Destructor
[DllImport("ArucoUnity")]
... |
using System;
using System.Collections.Generic;
namespace NerfBuff.Models
{
public partial class Events
{
public Events()
{
EventToUser = new HashSet<EventToUser>();
}
public int Id { get; set; }
public string Title { get; set; }
public DateTime Tim... |
using Gerador.CarregarDados;
using Gerador.GeradorEntidade;
using Gerador.Geradores.View;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms... |
#region License
// Copyright (c) 2017 Fitcode.io (info@fitcode.io)
//
// 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 us... |
namespace App.Core.Utilities.Jwt
{
public class TokenOptions
{
public string Audience { get; set; }
public string Issuer { get; set; }
public int AccessTokenExpiration { get; set; }
public string SecurityKey { get; set; }
}
} |
namespace Kaleidoscope
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
public sealed class Lexer : ILexer
{
private const int EOF = -1;
private readonly TextReader reader;
private readonly StringBui... |
namespace Constants
{
public class AppSettingsData
{
public const string App_Settings = "AppSettings";
}
} |
using System;
using System.Text;
namespace Jyc.Expr
{
abstract class UnaryOp :Operator
{
public UnaryOp( )
{
}
public override OperatorPriority Priority
{
get { return OperatorPriority.Unary; }
}
public override string ToString()
... |
/*
* Copyright 2018 Systemic Pty 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 law or a... |
using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using NetOffice;
namespace NetOffice.WordApi
{
///<summary>
/// DispatchInterface OMathScrPre
/// Suppo... |
using System;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using Microsoft.VisualStudio.Modeling;
namespace Sawczyn.EFDesigner.EFModel
{
public class EFPackageVersionTypeConverter : TypeConverterBase
{
/// <summary>
/// Returns a collection of standard values for th... |
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("Micr... |
using CifParser.Records;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using CifParser;
using Serilog;
namespace TimetableLoader
{
/// <summary>
/// Bulk load Schedule Locations AA
/// </summary>
internal class AssociationLoader : Re... |
// --------------------------------------------------------------------------------------------
// Version: MPL 1.1/GPL 2.0/LGPL 2.1
//
// The contents of this file are subject to the Mozilla Public License Version
// 1.1 (the "License"); you may not use this file except in compliance with
// the License. You may obta... |
namespace AsyncInitializationPattern.Infrastructure
{
using System.Linq;
using System.Threading.Tasks;
using AsyncInitializationPattern.Abstract;
public static class AsyncInitialization
{
public static Task WhenAllInitializedAsync(params object[] instances)
{
return Tas... |
namespace Authware.Bot.Common.Models;
public enum TimePickerUnit
{
Minutes,
Hours,
Days,
Months,
Years
} |
using System;
using System.Xml.Serialization;
namespace HoloXPLOR.Data.DataForge
{
[XmlRoot(ElementName = "AmmoParams")]
public partial class AmmoParams
{
[XmlAttribute(AttributeName = "spawnType")]
public AmmoSpawnType SpawnType { get; set; }
[XmlAttribute(AttributeName = "size")]... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using VeterinariaApp.Models;
namespace VeterinariaApp.Controllers
{
public class tbl_razaController : Controller
{
private db_veteri... |
using System;
using System.ComponentModel;
using EfsTools.Attributes;
using EfsTools.Utils;
using Newtonsoft.Json;
namespace EfsTools.Items.Nv
{
[Serializable]
[NvItemId(732)]
[Attributes(9)]
public class DcsRxGainRange3FreqComp
{
[ElementsCount(16)]
[ElementType("uint16")]
... |
/*
* Copyright (c) 2011-2014, Longxiang He <helongxiang@smeshlink.com>,
* SmeshLink Technology Co.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY.
*
* This file is part of the CoAP.NET, a CoAP framework in C#.
* Please see README for more information.
*/
usin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.