text
stringlengths
1
932k
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Himawari { public static class Config { public const string ConsumerKey = "PMpc5nrvUEiND1zFEYVonA"; public const string ConsumerSecret = "ASX3hnW08Oy4vf16Q6SerFOBwrO29zeC4xBCRVA2R8"; } ...
using Discord.Commands; using Discord; using NadekoBot.Core.Services; using System.Threading.Tasks; using System; using NadekoBot.Common; using NadekoBot.Common.Attributes; using NadekoBot.Extensions; using NadekoBot.Modules.Games.Common; using NadekoBot.Modules.Games.Services; namespace NadekoBot.Modules.Games { ...
using Newtonsoft.Json; namespace Bham.Plaid.Income { /// <summary> /// Represents a response from plaid's '/income/get' endpoint. The Income endpoint allows you to retrieve information pertaining to a Item’s income. In addition to the annual income, detailed information will be provided for each contributing ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO.Packaging; using DocumentFormat.OpenXml.Packaging; using DocumentFormat.OpenXml; using DocumentFormat.Op...
// 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; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using JetBrains.Annotations; using Microsoft.EntityFra...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("GtkClient")] [assembly: AssemblyDescription ("")] [assembly: AssemblyConfiguration ("")] [assemb...
using System; using System.Threading; using QuickFix; public class ApplicationImpl : Application { private bool loggedOn = false; private bool created = false; private bool stopRunning = false; private Message message = null; public void onCreate(SessionID sessionId) { created = true; } public ...
using NUnit.Framework; using System; using System.Collections.Generic; using System.Reflection; namespace VRM { public class VRMBlendShapeKeyTest { static BlendShapeKey CreateBlendShapeKey(string name, BlendShapePreset preset) { var argTypes = new Type[] { typeof(string), typeof(B...
@{ ViewData["Title"] = "Home Page"; } <div class="text-center"> <h1 class="display-4">Welcome to NetLearner!</h1> <p>Get started by browsing the <a asp-area="" asp-controller="ResourceLists" asp-action="Index">Resource Lists</a>.</p> </div>
using System; using System.Collections.Generic; using System.IO; using Microsoft.Build.Utilities; using Xamarin.Forms; using Xamarin.Forms.Build.Tasks; using NUnit.Framework; using Xamarin.Forms.Core.UnitTests; using Xamarin.Forms.Controls; using Xamarin.Forms.MSBuild.UnitTests; using IOPath = System.IO.Path; namesp...
/* The MIT License (MIT) Copyright (c) 2018 Helix Toolkit contributors */ /* The MIT License (MIT) Copyright (c) 2018 Helix Toolkit contributors */ #if NETFX_CORE using Windows.UI.Xaml; namespace HelixToolkit.UWP #else using System.Windows; namespace HelixToolkit.Wpf.SharpDX #endif { using Model; using Model.S...
using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Primitives; using Avalonia.Input; using Avalonia.Threading; using AvalonStudio.Extensibility; using AvalonStudio.Extensibility.Utils; using System; using System.Threading.Tasks; namespace AvalonStudio.Controls.Standard.CodeEditor { public class Code...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. using Azure.Base.Http; using Azure.Base.Http.Pipeline; using Newtonsoft.Json; using NUnit.Framework; using System; using System.Collections.Generic; using Sys...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - MySql.Tutorial.Razor</title> <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" /> <link rel="stylesheet" href=...
// This file is part of the DisCatSharp project, based off DSharpPlus. // // Copyright (c) 2021-2022 AITSYS // // 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, includin...
using SQLiteBAL.Services; using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace AutoZap.view { public partial class WhatsAppReg : Form { public string PhoneNum { get; set; } ...
using System; using LiteDB; using System.Collections.Generic; namespace nats_standard.Index.DataObjects { public class FileItem { [BsonId] public Int64 Id { get; set; } public DateTime LastModified { get; set; } public string Name { get; set; } [BsonRef("Keywords")]...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Ogólne informacje o zestawie są kontrolowane poprzez następujący // zestaw atrybutów. Zmień wartości tych atrybutów, aby zmodyfikować informacje // powiązane z zestawem. [assembly: AssemblyTitle("GTNH Jenksins Do...
using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using System.Collections.Generic; namespace MultiTouchActionsTest { [Activity(Label = "MultiTouchActionsTest", MainLauncher = true, Icon = "@drawable/icon")] public class MainA...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CodeComposerLib.SyntaxTree.Expressions { /// <summary> /// This class represents a universal expression tree /// </summary> public sealed class SteExpression : ISyntaxTreeElement { /// <summary>...
using System; using System.Threading; using OpenQA.Selenium; using OpenQA.Selenium.Support.UI; namespace TestsMaintainabilityDemos { public class WebElement : Element { private IWebDriver _webDriver; private IWebElement _webElement; private By _by; public WebElement(IWebDriver...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
using TUNING; using UnityEngine; public class SublimationStationConfig : IBuildingConfig { public const string ID = "SublimationStation"; private const float DIRT_CONSUME_RATE = 1f; private const float DIRT_STORAGE = 600f; private const float OXYGEN_GENERATION_RATE = 0.66f; private const float OXYGEN_TEMPERAT...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Dolittle. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *--------------------------------------------------------------------------------...
using MagusCharacterGenerator.GameSystem.Qualifications; using Mtf.Languages; namespace MagusCharacterGenerator.Qualifications.Laical { class TrackReadingAndHiding : Qualification { public TrackReadingAndHiding(QualificationLevel qualificationLevel = QualificationLevel.Base, byte level = 1) ...
/* * 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.Linq; using Jiml.Utils; using Newtonsoft.Json.Linq; namespace Jiml.Expressions.Extracting.ByIndex.PickIndex { public class PickIndexComposer { private readonly IConditionalPickIndexElementComposer[] _elements; public PickIndexCompos...
using System; using System.Threading.Tasks; namespace DSharpPlus.SlashCommands.Attributes { /// <summary> /// Defines that usage of this slash command is restricted to members with specified permissions. This check also verifies that the bot has the same permissions. /// </summary> [AttributeUsage(Att...
// // System.Web.UI.WebControls.SiteMapPath.cs // // Authors: // Lluis Sanchez Gual (lluis@novell.com) // // (C) 2005 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...
// <auto-generated /> namespace WebApi.Example.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed partial clas...
using System.Collections.Generic; using System.Threading.Tasks; namespace Admin.NET.Core.Service { public interface ISysUserRoleService { Task DeleteUserRoleListByRoleId(long roleId); Task DeleteUserRoleListByUserId(long userId); Task<List<long>> GetUserRoleDataScopeIdList(long userI...
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; #pragma warning disable 1591 namespace Silk.NET.OpenGL.Legacy { public enum CombinerPortionNV { Alpha = 0x1906, Rgb = 0x1907,...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- using System.Threading.Tasks; using Windows.ApplicationModel.Activation; namespace Microsoft.Win...
using System; using CMS.Base.Web.UI; using CMS.Helpers; using CMS.WebAnalytics.Web.UI; public partial class CMSModules_WebAnalytics_Tools_Default : CMSWebAnalyticsPage { protected override void OnPreRender(EventArgs e) { analyticsTree.Attributes["src"] = "Analytics_Statistics.aspx" + RequestContext....
using NetoDotNET.Entities; using System; using System.Collections.Generic; using System.Text; namespace NetoDotNET.Resources.Supplier { public class SupplierResource : NetoResourceBase, ISupplierResource { private const string RESOURCE_ENDPOINT = "/suppliers"; public SupplierResource(StoreCon...
@using Orchard.AuditTrail.Helpers @{ var eventData = (IDictionary<string, object>) Model.EventData; var contentTypeName = eventData.Get<string>("ContentTypeName"); var oldDisplayName = eventData.Get<string>("OldDisplayName"); var newDisplayName = eventData.Get<string>("NewDisplayName"); } <section clas...
 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" name=recortes-plan-c> <defs> <clipPath id=PC1> <polygon points="62, 105,52, 105,52, 109,35, 109,34, 106,4, 105,5, 53,40, 52,40, 49,54, 48,54, 73,61, 74"></polygon> </clipPath> <clipPath id=PC2> <polygon po...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="JoinRandomGameRequest.cs" company="Exit Games GmbH"> // Copyright (c) Exit Games GmbH. All rights reserved. // </copyright> // <summary> // Defines the JoinRandomGameRequest ...
namespace HandiworkShop.DAL.Entities { /// <summary> /// Entity UserTag. /// </summary> public class UserTag { /// <summary> /// Identifier. /// </summary> public int Id { get; set; } /// <summary> /// Tag identifier. /// </summary> p...
using System; using System.Windows.Forms; namespace FontEditor { static class Program { [STAThread] static void Main() { if (Environment.OSVersion.Version.Major >= 6) SetProcessDPIAware(); Application.EnableVisualStyles(); Application.SetCompatibleTe...
using System; //c) //7 11 14 16 //4 8 12 15 //2 5 9 13 //1 3 6 10 class FillTheMatrixC { static void Main() { Console.Write(@"Enter ""n"":"); int n = int.Parse(Console.ReadLine()); int[,] array = new int[n, n]; int number = 1; int row = 0; int col = 0; ...
/* * 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.IO; using System.Text; namespace mml2vgmIDE { public static class log { #if DEBUG public static bool debug = true; #else public static bool debug = false; #endif public static string path = ""; public static bool consoleEchoBack = false; priva...
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("p02...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
using System; using Azure.Messaging.ServiceBus; using GuardNet; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; namespace Arcus.Messaging.Abstractions.ServiceBus.MessageHandling { /// <summary> /// Represents the default template when handling Azure Service Bus messages an...
// // Copyright (c) Microsoft and contributors. 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 // // Unless requi...
// Copyright 2020 Maksym Liannoi // // 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 ...
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
using TestWrapper.Workers; using Unity.Collections; namespace TestCase.Basic.Subtraction.Simple { public struct SimpleSubtractionFloatJob : IJobExt<NativeArray<float>, NativeArray<float>, NativeArray<float>> { private NativeArray<float> _data1; private NativeArray<float> _data2; privat...
using UnifiedAnime.AniList.Model; using UnifiedAnime.Collections; using UnifiedAnime.Converters; namespace UnifiedAnime.AniList.Converters { public class SortMapper : TypeToTypeMapper<string, SortingMethod> { protected override Map<string, SortingMethod> Map { get; } = new Map<string, SortingMethod> ...
//----------------------------------------------------------------------- // <copyright file="BaseServiceFacade.cs" company="Thinking Solutions Pty Ltd"> // Copyright (c) Thinking Solutions 2015. All rights reserved. // </copyright> //----------------------------------------------------------------------- using S...
using System.Data; using FluentMigrator.Exceptions; using FluentMigrator.Expressions; using FluentMigrator.Model; using FluentMigrator.Runner; using FluentMigrator.Runner.Generators.SQLite; using FluentMigrator.SqlServer; using NUnit.Framework; using NUnit.Should; namespace FluentMigrator.Tests.Unit.Generators.SQLit...
using System.Collections; using System.Collections.Generic; using UnityEngine; using MotionFramework.Utility; using MotionFramework.Audio; public class CharacterSkill { #region Skill private class Skill { private readonly EntityCharacter _owner; private readonly CfgSkillTable _skillTable; private readonly Cf...
/* * 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...
// <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...
using System; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using JetBrains.Annotations; namespace LinqToDB { using Common; using Expressions; using Linq; using Mapping; using SqlProvider; using SqlQuery; using Extensions; public partial class Sql { private ...
namespace LearningSystem.Services.Student { public class PaymentBindingModel { public string PaymentId { get; set; } public string PayerId { get; set; } public string Token { get; set; } public string StudentId { get; set; } public string Username { get; set; } } ...
using System; using System.Collections.Generic; using System.Composition; using System.Linq; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Completion; using Microsoft.CodeAnalysis.Recommendations; using Microsoft.CodeAnalysis.Text; using OmniSharp.Extensions; using OmniSharp.M...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Caldest.CSharpConcepts { public class State { public string Name { get; set; } public string City { get; set; } public string TwoLetterCode { get; set;...
using Microsoft.Xna.Framework; using StardewValley; using SObject = StardewValley.Object; namespace Pathoschild.Stardew.Automate.Framework.Machines.Objects { /// <summary>A mushroom box that accepts input and provides output.</summary> /// <remarks>Derived from <see cref="SObject.DayUpdate"/> (search for 'case...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.EntityFrameworkCore; using GameWebApp.Models; namespace GameWebApp.Pages.GameRooms { public class DeleteModel : PageModel ...
// 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 Silk.NET.Core.Attributes; #pragma warning disable 1591 namespace Silk.NET.Vulkan { [Flags()] [NativeName("Name", "VkAccessFlags")] public enum Acce...
namespace Springboard365.Xrm.Plugins.Core.IntegrationTest { using Microsoft.Crm.Sdk.Messages; using Microsoft.Xrm.Sdk; public class CancelSalesOrderSpecificationFixture : SpecificationFixtureBase { public CancelSalesOrderRequest CancelSalesOrderRequest { get; private set; } public stri...
namespace Dot6502.AddressingModes { class Relative : AddressingMode { public override string Name => "Relative"; public override string ShortName => "rel"; public override ushort OperandLength => 1; public override Pointer Resolve(ExecutionState state) { ret...
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ using BootstrapBlazor.Components; using BootstrapBlazor.Shared.Common; us...
// <auto-generated /> namespace DataAccessLayer.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.4.4")] public sealed partial class mi...
@model EDiary.Web.ViewModels.Teachers.Lessons.OutputViewModels.AllTeacherLessonStudentDetailsViewModel @{ ViewData["Title"] = "Details"; } <h1 class="text-center">Add attendance of students</h1> @if (Model.Students.Count() == 0) { <h1>There are no students yet!</h1> } else { <div class="table-responsive"...
// Copyright (c) Pomelo Foundation. All rights reserved. // Licensed under the MIT. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.Reflection; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Diagnostics; using Microsoft.En...
/* _BEGIN_TEMPLATE_ { "id": "KARA_09_08", "name": [ "基尔里克", "Kil'rek" ], "text": [ "<b>嘲讽</b>", "<b>Taunt</b>" ], "cardClass": "WARLOCK", "type": "MINION", "cost": 4, "rarity": null, "set": "KARA", "collectible": null, "dbfId": 39864 } _END_TEMPLATE_ */ namespace HREngine.Bots {...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Xml; using System.Xml.Linq; using System.Xml.Schema; using System.Xml.XPath; namespace Ensconce.Update { public class TagDictionary : IDictionary<string, object> ...
/******************************************************************************* * Copyright (c) 2015 Bo Kang * * 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.a...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CSharpSocket.cs" company="Exit Games GmbH"> // Protocol & Photon Client Lib - Copyright (C) 2013 Exit Games GmbH // </copyright> // <summary> // Uses the UDP socket for a peer ...
@using NSE.WebApp.MVC.Extensions @model IEnumerable<NSE.WebApp.MVC.Models.PedidoViewModel> @{ ViewData["Title"] = "Meus Pedidos"; } <section class="padding-y"> <div class="container"> @{ foreach (var pedido in Model.OrderBy(p=>p.Data)) { <div class="col-md-12"...
using Microsoft.Kiota.Abstractions; using Microsoft.Kiota.Abstractions.Serialization; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace Graphdotnetv4.Users.MailFolders.Messages.MultiValueExtendedProperties.Item { /// <summary>Builds and execu...
// Fill out your copyright notice in the Description page of Project Settings. using UnrealBuildTool; public class LittleSprouts : ModuleRules { public LittleSprouts(TargetInfo Target) { PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" }); PrivateDependencyModule...
namespace TodoList.WebApi.Controllers { using System.Collections.Generic; using System.Collections.ObjectModel; using System; using Microsoft.AspNetCore.Mvc; using TodoList.Core.Boundaries.List; using TodoList.Core.Boundaries; using TodoList.Core.UseCases; using TodoList.WebApi.Models; ...
using System.Windows; namespace WcfCalculatorClient { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } } }
using System; using System.Collections.Generic; using System.IO; namespace JsBuild.Core { public class Joiner: IWorker { #region IWorker Members Configuration cfg; public void Configure(Configuration cfg) { this.cfg = cfg; } private List<string> G...
using Pekspro.PolicyScope.LogicTest; using Pekspro.PolicyScope.LogicTest.Workers; using Pekspro.PolicyScope.Mock; using System.Threading.Tasks; using Xunit; namespace Pekspro.PolicyScope.Test.Mock { public class UnitTestSyncTypeNotFound { [Fact] public async Task TestNoAsyncPolicyFound() ...
using BepuUtilities; using DemoContentLoader; using DemoUtilities; using OpenTK; namespace Demos { class Program { static void Main() { var window = new Window("pretty cool multicolored window", new Int2((int)(DisplayDevice.Default.Width * 0.75f), (int)(DisplayDevic...
// The MIT License (MIT) // // Copyright © 2019-2020 Tobias Koch // // 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,...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Humanizer; using JetBrains...
using System; using System.Runtime.CompilerServices; using __AS3__.vec; namespace Avm { [PageFX.FP("10")] [PageFX.GenericVector] public partial class Vector<T> : Object { #region ctors /// <summary> /// Creates a <see cref="Vector{T}"/> instance. /// </summary> ...
namespace Ardalis.Specification.Operators { public sealed class FalseSpecification<T> : Specification<T> { public FalseSpecification() { Query.Where(e => false); } } }
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
using System; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Octokit.GraphQL.Model { /// <summary> /// The possible item types found in a timeline. /// </summary> [JsonConverter(typeof(StringEnumConverter))] public enum IssueTimelineItemsItemT...
using Lyra.Core.API; using Lyra.Core.Blocks; using Lyra.Data.Blocks; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lyra.Data.API { /// <summary> /// access all primary nodes to determinate state /// </summary> public class...
using System; using System.Linq; using CoffeeAndCode.Domain.Entities; namespace CoffeeAndCode.Domain.DbContexts { public static class DbInitializer { public static void Initialize(CoffeeAndCodeDbContext context) { context.Database.EnsureCreated(); // Look for any users...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CyclopWeaponScript_L1 : MonoBehaviour { // Use this for initialization void Start() { } // Update is called once per frame void Update() { } void OnCollisionEnter(Collision col) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using IdentityServer4.Models; using IdentityServer4.Services; using Microsoft.Extensions.Logging; using TwilightSparkle.Forum.DomainModel.Entities; using TwilightSparkle.Repository.Interfac...
using BlogMVCApp.Infastracture; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; namespace BlogMVCApp.Controllers { public class FashionController : Controller { private Data.BlogDbContext _blogDbContext; p...
/** * Copyright 2018 IBM Corp. 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 * * Unless required by applicable law o...
/* * Copyright 2010-2013 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...
// <copyright file="IncomingCallHandler.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // </copyright> namespace Sample.IncidentBot.Bot { using System; using System.Collections.Generic; using System.Threading; using ...
/* * Copyright 2012 Paul Brombosch, Ehssan Doust, David Krauss, * Fabian Müller, Yannic Noller, Hanna Schäfer, Jonas Scheurich, * Arno Schneider, Sebastian Zillessen * * This file is part of MISD-OWL, a project of the * University of Stuttgart (Institution VISUS, Studienprojekt Spring 2012). * * MISD-OWL is pu...
// Copyright (c) 2019, WebsitePanel-Support.net. // Distributed by websitepanel-support.net // Build and fixed by Key4ce - IT Professionals // https://www.key4ce.com // // Original source: // Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary forms, wit...
// <auto-generated /> using System; using GAB.BatchServer.API.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namesp...
using System; using System.Collections.Generic; using System.Linq; namespace bowling_kata_csharp1 { internal class BowlingGame { private List<Frame> _frameHistory = new List<Frame>(); internal void OpenFrame(int firstThrow, int secondThrow) { var frame = Frame.initializeFra...