text
stringlengths
1
932k
using System; // ReSharper disable InconsistentNaming namespace ESIConnectionLibrary.PublicModels { [Flags] public enum MailScopes : long { None = 0L, esi_mail_organize_mail_v1 = 1L << 1, esi_mail_read_mail_v1 = 1L << 2, esi_mail_send_mail_v1 = 1L << 3, } }
namespace Data1 { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("Produto")] public partial class Produto { [System.Diagnostics.CodeAnalysis...
using System.Collections.Generic; using System.Linq; using com.kohlschutter.boilerpipe.Document; using com.kohlschutter.boilerpipe.Labels; namespace com.kohlschutter.boilerpipe.Filters.Heuristics { /// <summary> /// Keeps the largest <see cref="TextBlock" /> only (by the number of words). In case of /// mo...
// ----------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace ChatWeb { usin...
using Microsoft.Owin; using Owin; [assembly: OwinStartupAttribute(typeof(LoadDataFromWebService.Startup))] namespace LoadDataFromWebService { public partial class Startup { public void Configuration(IAppBuilder app) { ConfigureAuth(app); } } }
using devinmajordotcom.Services; using devinmajordotcom.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace devinmajordotcom.Controllers { public class MediaDashboardController : BaseController { public ActionResult Index() ...
using System.Linq; using System.Threading; using ChessLib.EngineInterface.UCI.Commands; using ChessLib.EngineInterface.UCI.Commands.ToEngine; using NUnit.Framework; namespace ChessLib.EngineInterface.Tests { [TestFixture] public class CommandQueueTests { [SetUp] public void Setup() ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace HelperMethods { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WeaponController : MonoBehaviour { public GameObject shot; public Transform shotSpawn; public float fireRate; public float delay; private AudioSource audioSource; // Use this for initialization void St...
#if !UNITY_DOTSRUNTIME using System; using Unity.Collections; using Unity.Collections.LowLevel.Unsafe; using Unity.Entities; using Unity.Entities.Serialization; using UnityEngine; using Hash128 = Unity.Entities.Hash128; namespace Unity.Scenes { public struct DisableLiveLink : IComponentData { } public...
//********************************************************************************** //* Copyright (C) 2007,2016 Hitachi Solutions,Ltd. //********************************************************************************** #region Apache License // // Licensed under the Apache License, Version 2.0 (the "License"); // y...
using System.Collections.Generic; namespace Pglet { public class Callout : Control { protected override string ControlName => "callout"; IList<Control> _controls = new List<Control>(); public IList<Control> Controls { get { return _controls; } set { _c...
using System; using Alipay.AopSdk.Domain; using System.Collections.Generic; using Alipay.AopSdk.Response; namespace Alipay.AopSdk.Request { /// <summary> /// AOP API: alipay.marketing.campaign.discount.budget.append /// </summary> public class AlipayMarketingCampaignDiscountBudgetAppendRequest : IAopRe...
using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Ygdra.Core.Entities.Entities; namespace Ygdra.Web.UI.Models { public class EntityViewAzureSqlTable : EntityView { ...
using Sharpen; namespace java.util { [Sharpen.NakedStub] public class BitSet { } }
@model Blog.MVC.Areas.Admin.Models.UserViewModel <ul class="navbar-nav ml-auto ml-md-0"> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" id="userDropdown" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-user fa-fw"></i> @Model.Use...
using Firebend.AutoCrud.Core.Interfaces.Models; namespace Firebend.AutoCrud.Web.Interfaces { public interface IMaxPageSize<TKey, TEntity> where TEntity : IEntity<TKey> where TKey : struct { public int MaxPageSize { get; } } public interface IMaxExportPageSize<TKey, TEntity> : I...
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using PkMn.Game.Controls; using PkMn.Game.SpecialEffects; namespace PkMn.Game.Animations { public class SinglePow : Animation { public SinglePow(MonsterRenderer renderer, int delay, int param = 0, int startAt = 0, int stopEarly = i...
using System; namespace Fosol.Schedule.Entities { /// <summary> /// ActivityCriteria class, provides a way to manage the many-to-many relationship between activities and criteria. /// </summary> public class ActivityCriteria { #region Properties /// <summary> /// get/set - ...
// Copyright 2021 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 System; using Xunit; namespace Mara.Plugins.BetterEmbeds.Tests { public class UnitTest1 { [Fact] public void Test1() { } } }
using System.Collections.Generic; using System.Linq; using System.Windows.Media; using System.Windows.Media.Imaging; using SoundInTheory.DynamicImage.ShaderEffects.LayerBlending; using SoundInTheory.DynamicImage.Util; namespace SoundInTheory.DynamicImage { /// <summary> /// This class controls how layers and blended...
using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DigitalTrainingAssistant.Models { public class BotConfig { public BotConfig(IConfiguration configuration) { this.AppInsights = config...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DomainSorgula.Settings { public enum SettingHeader { ConcurrentCount, DomainSaveSetting, SavePath } }
//----------------------------------------------------------------------- // <copyright file="Accessor.cs"> // MS-PL // </copyright> // <license> // This source code is subject to terms and conditions of the Microsoft // Public License. A copy of the license can be found in the License.html // file at the roo...
@inherits BlazorLayoutComponent @*<div class="sidebar"> <NavMenu /> </div>*@ <div class="main"> <div class="content px-4"> @Body </div> </div>
// 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.Threading; class Gen<T> { public virtual void Target() { Interlocked.Increment(ref Test.Xcounter); } public static void DelegateTe...
@model NewRelicSDKSample.Models.AddPhoneNumberViewModel @{ ViewBag.Title = "Phone Number"; } <h2>@ViewBag.Title.</h2> @using (Html.BeginForm("AddPhoneNumber", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() <h4>Add a phone number</h4> <hr /> ...
// *** 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...
namespace OnlineBookStoreDemo.Web.Areas.Identity.Pages.Account { using System; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using OnlineBookStoreDemo.Data.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.A...
// // HtmlEntityDecoderTests.cs // // Author: Jeffrey Stedfast <jestedfa@microsoft.com> // // Copyright (c) 2013-2022 .NET Foundation and Contributors // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // i...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Fury_of_Alucard.Algorithms.AntColony { public class AntColonyNode<T> { public T Value { get; private set; } public double Pheromones { get; set; } public AntColonyNode(T value) { Value = value; Pheromones...
using Microsoft.EntityFrameworkCore.Storage; using Mix.Cms.Lib.Models.Cms; using Mix.Domain.Data.ViewModels; using Newtonsoft.Json; using System; namespace Mix.Cms.Lib.ViewModels.MixRelatedAttributeDatas { public class ODataWebViewModel : ODataViewModelBase<MixCmsContext, MixRelatedAttributeData, ODataWebV...
// Copyright (c) 2014 Francesco Pretto // This file is subject to the MIT license using System; using System.Linq; using System.Diagnostics; using System.Globalization; using System.Collections.Generic; using System.Runtime.InteropServices; using System.ComponentModel.Design; using Microsoft.Win32; using Microsoft.Vi...
 namespace SeguraChain_Lib.Instance.Node.Report.Object { public class ClassNodeInternalStatsReportObject { public long NodeCacheMemoryUsage { get; set; } public long NodeCacheMaxMemoryAllocation { get; set; } public long NodeCacheTransactionMemoryUsage { get; set; } public long ...
using System; using System.Xml; using System.Data; using System.Data.OracleClient; using System.Data.Common; using System.Windows.Forms; public class Form1: Form { protected DataSet DataSet1; protected DataGrid dataGrid1; // <Snippet1> public void CreateOracleCommand(OracleConnection connection, ...
namespace Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20180815Preview { using static Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.Extensions; /// <summary> /// Properties of the EventHub event source that are required on create or update requests. /// </summary> ...
using System; namespace SwinAdventure.src { public class Player : GameObject, IHaveInventory { private Inventory _inventory = new Inventory(); public Player (string name, string desc) : base (new string [] { "me", "inventory" }, name, desc) { } public GameObject Locat...
using System; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using Eventualize.Interfaces.Domain; using Eventualize.Interfaces.Materialization; using Eventualize.Materialization.AggregateMaterialization; namespace Eventualize.Dapper.Materialization { public class M2NMateri...
using devoft.System; using System; using System.Threading.Tasks; using System.Windows.Threading; namespace WpfDemo { public class WPFDistpatcher : IDispatcher { private Dispatcher _dispatcher; public WPFDistpatcher(Dispatcher dispatcher) => _dispatcher = dispatcher; publi...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WinSceneWait : MonoBehaviour { // Use this for initialization IEnumerator Start () { yield return new WaitForSeconds (3.0f); GameObject.Find ("Canvas/Fade").GetComponent<FadeScript> ().fadeOut ("Main"); } // Update...
namespace Horse.Messaging.Protocol { /// <summary> /// Options for pending acknowledge or response from binding receiver /// </summary> public enum BindingInteraction { /// <summary> /// No response is pending /// </summary> None, /// <summary> /// Re...
using System.Collections.Generic; using Library; namespace Game { public enum PlayerAction { Undefined = -1, EndTurn = 100, EndGame = 101 }; public interface IUi { int SelectAction(string player, Dictionary<string, int> cards, int mana, int health, int opHealth); ...
/* * 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.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("Rnx...
using System; using System.IO; using domain.configs; using domain.enums; using domain.models; using domain.repository; using infrastructure.extensions; using infrastructure.utils; using Microsoft.AspNetCore.Mvc; namespace upload.Controllers { public class ReqModel { public string Base64 { get; set; } ...
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("SocialQ.Forms.iOS")] [assembly: AssemblyDe...
 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PholioVisualisation.PholioObjects { public class QuinaryPopulationValue { public int AgeId; public double Value; public static QuinaryPopulationValue New(CoreDataSet data) { ...
<h1>Your list has benn cleared!</h1> <p><a href="/items">Back to list.</a></p>
using System; using System.Collections.Generic; using System.Data; using System.Linq; using Contrive.Common.Extensions; namespace Contrive.Common.Data { public static class CommandExtensions { public static IDbCommand Clear(this IDbCommand command) { command.Parameters.Clear(); ...
using System; using System.Collections.Generic; namespace AlinSpace.SourceGenerator.Class { internal class Internal : IClass { public string Name { get; set; } public AccessModifier AccessModifier { get; set; } public bool IsStatic { get; set; } private readonly IList<Member...
namespace WebVideoDownloader { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
using System; using System.IO; using System.Reflection; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Media; using System.Windows.Shapes; using StrokeSnippets_CS; namespace StrokeSnippets_CS { /// <summary> /// Interaction ...
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using System.Threading; using System.Threading.Tasks; using AutoFixture; using FluentAssertions; using FluentValidation; using FluentValidation.Results; using Mandarin.Client.ViewModels...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Dependency...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class YoumuSlashTargetSlice : MonoBehaviour { [SerializeField] private Transform imageTransform; [Header("Edit sliced falling speeds here")] [SerializeField] private float direction = 1f; [SerializeField] ...
using System; using Cinch; using Cito.Tester.ContentModel; using Questify.Builder.UI.Wpf.Presentation.Types; namespace Questify.Builder.UI.Wpf.Presentation.ItemEditor.ViewModels.ScoreEditors.Factories { [ScoreEditorFactoryForType(typeof(InlineChoiceScoringParameter))] class InlineChoiceScoringVMFactory : Defa...
namespace HousingFinanceInterimApi.V1.Infrastructure { /// <summary> /// The operating balance entity. /// </summary> public class Transaction { public string RentGroup { get; set; } public int Year { get; set; } public decimal WeekMonth { get; set; } public decimal ...
// Created by Ron 'Maxwolf' McDowell (ron.mcdowell@gmail.com) // Timestamp 01/03/2016@1:50 AM using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using OregonTrailDotNet.Entity.Location; using OregonTrailDotNet.Entity.Location.Point; namespace OregonTrailDotNet.M...
using Microsoft.Maui; using Microsoft.Maui.Controls; using Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific; using Application = Microsoft.Maui.Controls.Application; namespace DevHops.Maui { public partial class App : Application { public static Constants Constants { get; set; } = new Constants(); ...
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.MSProjectApi { ///<summary> /// DispatchInt...
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/dxcapi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. Licensed under the University of Ill...
using System; namespace WPILib.IntegrationTests.MockHardware { public class FakePotentiometerSource : IDisposable { private AnalogOutput m_output; private bool m_initOutput; private double m_potMaxAngle; private double m_potMaxVoltage = 5.0; private readonly double m_de...
/* * LCL support c# hotfix here. * Copyright (C) LCL. All rights reserved. * URL:https://github.com/qq576067421/cshotfix * QQ:576067421 * QQ Group:673735733 * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at ...
using Caliburn.Micro; using Caliburn.Micro.ReactiveUI; using Splat; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Documents; namespace Seemon.Todo.ViewModels { public class Cr...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class JoyconDemo : MonoBehaviour { private List<Joycon> joycons; // Values made available via Unity public float[] stick; public Vector3 gyro; public Vector3 accel; public int jc_ind = 0; public Quaternio...
using System; using System.Collections.Generic; using System.Net.Http; using System.Reflection; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.ApplicationParts; using Microsoft.AspNetCore.Mvc.Controllers; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.D...
namespace KafkaFlow.IntegrationTests.Core.TypeResolvers { using System; using System.Text; using KafkaFlow.Serializer; public class SampleMessageTypeResolver : IMessageTypeResolver { public Type OnConsume(IMessageContext context) { var typeName = context.Headers.GetStri...
using Kingmaker.Blueprints.Classes.Prerequisites; using Kingmaker.Blueprints.Classes.Selection; using TabletopTweaks.Config; using TabletopTweaks.Extensions; using TabletopTweaks.Utilities; namespace TabletopTweaks.NewContent.Feats { static class ExtraSlayerTalent { public static void AddExtraSlayerTalent...
using System; using System.Collections.Generic; namespace CrossWord; public interface ICrossDictionary { void AddWord(string word); int GetWordOfLengthCount(int length); int GetMatchCount(ReadOnlySpan<char> pattern); void GetMatch(ReadOnlySpan<char> pattern, List<string> matched); bool TryGetDescr...
// <Snippet6> using System; public class Example { public static void Main() { var pages = new Pages(); if (! String.IsNullOrEmpty(pages.CurrentPage.Title)) { String title = pages.CurrentPage.Title; Console.WriteLine("Current title: '{0}'", title); } } } public class Page...
using UnityEngine; using TMPro; public class GameManager : MonoBehaviour { [Header("Score")] public int player1Score = 0; public int player2Score = 0; /* Note: If you merge the players scores in 1 line, the inspector will have some glitches, but you can do it anyway*/ public TextMeshProUGUI player1Sc...
using Chatty.Models; using System.Threading.Tasks; namespace Chatty.Hubs.Clients { public interface IChatClient { Task ReceiveMessage(ChatMessage message); } }
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: BufferedStream ** ** <OWNER>gpaperin</OWNER> ** ** Purpose: A composable Stream that buffers reads & writes to the underlying stream. ** ** =========...
/** * MIT License * * Copyright (c) 2019 Merlin * * 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, modif...
using System; using System.ComponentModel; using System.Linq.Expressions; using System.Reflection; namespace DDSoft.Common { public class NotifyPropertyChangedObject : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; protected void OnPropertyChanged<TP>(Expre...
// 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; using System.ComponentModel; using System.ComponentModel.Design; using System.ComponentMo...
using System; using System.Collections.Generic; using System.Text; namespace P02.Graphic_Editor { public class Square : IShape { public Square(double side) { this.Side = side; } public double Side { get; set; } } }
/* * Copyright 2012-2020 The Pkcs11Interop 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 ap...
using System; using System.Threading; using DotNetVault.Vaults; using JetBrains.Annotations; using Xunit; using Xunit.Abstractions; using ResourceType = System.Text.StringBuilder; namespace VaultUnitTests { using VaultType = MutableResourceVault<ResourceType>; public delegate VaultType AtMrvVaultCreationMeth...
/* * Copyright (C) 2009 Google 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...
/* This file is part of the iText (R) project. Copyright (c) 1998-2022 iText Group NV Authors: Bruno Lowagie, Paulo Soares, et al. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation with...
using System; using System.Runtime.InteropServices; using System.Threading.Tasks; public class WrapSendInput { #region const const int INPUT_MOUSE = 0; const int INPUT_KEYBOARD = 1; const int INPUT_HARDWARE = 2; const uint KEYEVENTF_KEYDOWN = 0x0000; const uint KEYEVENTF_EXTENDEDKEY = 0x00...
using System; using System.Globalization; using System.Windows.Data; using PhotoFolder.Core.Dto.Services; namespace PhotoFolder.Wpf.Converter.Models { public class GetFileInformationPathConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo cul...
using DCL; using NUnit.Framework; using UnityEngine; public class SceneMetricsCounterShould { [Test] public void CountAnimationClipMemoryWhenAddedAndRemoved() { DataStore_WorldObjects dataStore = new DataStore_WorldObjects(); var sceneMetricsCounter = new SceneMetricsCounter(dataStore, "1"...
// ----------------------------------------------------------------------------------------- // <copyright file="FileMD5FlagsTest.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compl...
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 16.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
using Microsoft.VisualStudio.TestTools.UnitTesting; using TorrentClient.Extensions; using TorrentClient.PeerWireProtocol.Messages; namespace TorrentClient.Test.PeerWireProtocol.Messages { /// <summary> /// The port message test. /// </summary> [TestClass] public class PortMessageTest { ...
using System; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Threading; using System.Web.Mvc; using WebMatrix.WebData; using SecureMVC.Models; namespace SecureMVC.Filters { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)] ...
using System; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Text; using Microsoft.IdentityModel.Tokens; namespace back_end_mega_hack_5.Token { public class TokenService { public static string GenerateToken(String username, string role) { var toke...
using BigBook; using Enlighten.Inflector.Interfaces; using Enlighten.Normalizer; using Enlighten.Normalizer.Default; using Enlighten.Normalizer.Interfaces; using Enlighten.POSTagger; using Enlighten.POSTagger.Enum; using Enlighten.POSTagger.Taggers; using Enlighten.SynonymFinder.Interfaces; using Enlighten.Tests.BaseC...
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ------------------------------------------------------------ using System.Collections.Generi...
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("Pat...
using System; using System.Collections.Generic; using System.Threading.Tasks; using AutoFixture.NUnit3; using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Logging; using Moq; using NUnit.Framework; using SFA.DAS.EmployerDemand.Jobs.Domain.Interfaces; using SFA.DAS.EmployerDemand.Jobs.Endpoints; using SFA.DAS.Te...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
/* Even more algorithms for dithering images using C# * https://www.cyotek.com/blog/even-more-algorithms-for-dithering-images-using-csharp * * Copyright © 2021 Chris Marc Dailey (nitz) * Copyright © 2015 Cyotek Ltd. * * Licensed under the MIT License. See LICENSE for the full text. */ /* * Sierra Lite Ditherin...
using System; using System.Threading.Tasks; namespace Geek.Server { public class GlobalDBTimer { static readonly NLog.Logger LOGGER = NLog.LogManager.GetCurrentClassLogger(); public static GlobalDBTimer Singleton = new GlobalDBTimer(); Task timerTask; internal volatile bool Wo...
namespace Vulder.School.Form.IntegrationTests.Fixtures; public class SchoolFormFixture { public Core.ProjectAggregate.Form.Form Form { get; set; } }
using System; using Server; namespace Server.Items { public class MonksRobe : BaseOuterTorso { public override int LabelNumber{ get{ return 1076584; } } // A Monk's Robe [Constructable] public MonksRobe() : this( 0x21E ) { } [Constructable] public MonksRobe( int hue ) : base( ...