text stringlengths 1 932k |
|---|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
using System;
using System.Xml;
using System.Xml.XPath;
using XPathTests.Common;
namespace XPathTests.FunctionalTests
{
/// <summary>
/// Node set... |
using ICSharpCode.NRefactory.CSharp;
using System.Linq;
namespace Bridge.Translator
{
public class ArrayInitializerVisitor : Visitor
{
public override void VisitArrayCreateExpression(ArrayCreateExpression node)
{
node.Initializer.Elements.ToList().ForEach
(
... |
using System;
using System.Collections.Generic;
using System.Net;
using NBitcoin;
using NBitcoin.BouncyCastle.Math;
using NBitcoin.DataEncoders;
using NBitcoin.Protocol;
using Stratis.Bitcoin.Features.Consensus.Rules.CommonRules;
using Stratis.Bitcoin.Features.Consensus.Rules.ProvenHeaderRules;
using Stratis.Bitcoin.F... |
/*****************************************************************************
Copyright 2018 The TensorFlow.NET Authors. 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 Licen... |
// *** 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.AwsN... |
// Copyright (c) Microsoft and Contributors. All rights reserved. Licensed under the University of Illinois/NCSA Open Source License. See LICENSE.txt in the project root for license information.
using System;
using ClangSharp.Interop;
namespace ClangSharp
{
public sealed class PackExpansionType : Type
{
... |
using Microsoft.Extensions.Options;
using NewAge.Infra.Exceptions;
using NewAge.Infra.Extensions;
using NewAge.Infra.Helpers;
using NewAge.Redis.Const;
using NewAge.Redis.Interfaces;
using NewAge.Redis.Options;
using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.T... |
namespace BookLovers.Auth.Application.WriteModels
{
public class GenerateResetPasswordTokenWriteModel
{
public string Email { get; set; }
}
} |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Todo.Contracts.Enums
{
public enum TodoListItemStatus
{
Created = 1,
Completed = 2,
Pending = 3,
}
} |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.ExpressionEvaluator;
using Microsoft.VisualStudio.Debugger.Clr;
using Microsoft.VisualStudio.Debugger.Evaluation;
using Xunit;
n... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace Microsoft.Data.Entity.Design.Model.Commands
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
... |
@{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
@if (Session["Email"] != null)
{
<p>Hello! @Session["Email"]</p>
}
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a ... |
namespace ClearHl7.Codes.V231
{
/// <summary>
/// HL7 Version 2 Table 0109 - Report Priority.
/// </summary>
/// <remarks>https://www.hl7.org/fhir/v2/0109</remarks>
public enum CodeReportPriority
{
/// <summary>
/// R - Routine.
/// </summary>
Routine,
... |
namespace ClassLib028
{
public class Class005
{
public static string Property => "ClassLib028";
}
} |
// Modified by SignalFx
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.CompilerServices;
using SignalFx.Tracing.Logging;
namespace SignalFx.Tracing.Propagation
{
/// <summary>
/// Class that handles B3 style context propagation.
/// </sum... |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Formats.Red.Records.Enums;
namespace GameEstate.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class BTTaskManageFlies : IBehTreeTask
{
[Ordinal(1)] [... |
// *** 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 Windows.UI.Core;
namespace XamarinFormsTemplate.UWP
{
public sealed partial class MainPage
{
public MainPage()
{
InitializeComponent();
LoadApplication(new XamarinFormsTemplate.App());
// HACK: https://github.com/xamarin/Xamarin.Forms/issues/12443
... |
using System;
using Microsoft.IdentityModel.Tokens;
namespace ABP.TBK.Authentication.JwtBearer
{
public class TokenAuthConfiguration
{
public SymmetricSecurityKey SecurityKey { get; set; }
public string Issuer { get; set; }
public string Audience { get; set; }
public Signing... |
namespace Hamster.Plugin.Sequence
{
/// <summary>
/// Interface zum verwenden von Sequenzen.
/// </summary>
public interface ISequenceProvider
{
/// <summary>
/// Liefert den Wert der Sequenz und setzt diese einen Schritt weiter.
/// Falls die Sequenz nicht existiert, wird si... |
using System;
using System.Windows.Media.Imaging;
namespace Instagram_Assistant.Model
{
public class ActionModel
{
public BitmapImage AccountImage { get; set; }
public string AccountName { get; set; }
public long AccountID { get; set; }
public BitmapImage PostImage { get; set; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Depende... |
// 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.Concurrent;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Securit... |
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;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
namespace Optimization.Genetic
{
/// <summary>
/// Defines a interface to a task executor.
/// </summary>
public interface ITaskExecutor
{
/// <summary>
/// Gets or s... |
using System;
//Developed by: @LucasMarcuzo
namespace _1153___Fatorial_Simples
{
class Program
{
static void Main(string[] args)
{
int n, f, x;
x=f=1;
n=int.Parse(Console.ReadLine());
while (x <= n)
{
f=f*x;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace RT.Util.ExtensionMethods
{
/// <summary>Provides extension methods on types involved in the Reflection API.</summary>
#if EXPORT_UTIL
public
#endif
static class ReflectionExtensions
{
/// <sum... |
namespace AsyncRAT_Sharp.Forms
{
partial class FormCertificate
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System;
using System.ComponentModel;
using Woozle.Model.SessionHandling;
namespace Woozle.Domain.Fields
{
public abstract class AbstractPlaceHolderResolver<T>
{
private readonly IPlaceholderLogic placeHolderLogic;
protected AbstractPlaceHolderResolver(IPlaceholderLogic placeHolderLogic)... |
@model AdminLteMvc.Models.WEBSales.EIROutLD
@{
ViewBag.Title = "EIR-Out (PULLED OUT OF LADEN CONVAN)";
Layout = "~/Views/Shared/_AdminLteLayout.cshtml";
}
<div class="box box-success">
<div class="box-header with-border">
<h3 class="box-title">@Html.Awe().TextBox("txtsearch").Placeholder("Search"... |
using System;
using UnityEngine;
namespace UnityExtensions
{
public static class ExApplication
{
/// <summary>
/// Open blowser.
/// url is urlencoded.
/// </summary>
public static void OpenURLWithEscapeUri(string url) {
if (string.IsNullOrEmpty(url)) {
ExDebug.LogError("url is null or empty");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GraphQL;
using GraphQL.Types;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.DependencyInjection;
using OrchardCore.Sett... |
using DomainFramework.Core;
using System;
using System.Collections.Generic;
using System.Linq;
namespace MechanicServicesSingleVehicle.GarageBoundedContext
{
public class SaveMechanicCommandAggregate : CommandAggregate<Mechanic>
{
public SaveMechanicCommandAggregate() : base(new DomainFramework.DataAcc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IcgSoftware.Threema.CoreMsgApi.Exceptions
{
public class CoreMigrationException : Exception
{
public CoreMigrationException(string message) :
base(message)
{
... |
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace LJardim.InventorySystem {
public class ItemUi : MonoBehaviour {
[SerializeField]private Image icon;
[SerializeField]private TextMeshProUGUI amount;
[SerializeField]private Image durability;
public Item Item { get; set... |
using SAIP.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Windows;
namespace SAIP.Data
{
public class Sucursal_Data
{
#region SINGLETON
private static Sucursal_Data Instance;
public static Sucursal_Data GetInstance()
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Entities;
namespace Interfaces
{
public interface ISupplierRepository
{
Task<IEnumerable<Purchasing_Supplier>> GetSuppliersAsync(bool trackChanges);
Task<Purchasing_Supplier> GetSupplierAsync(int supplierId, bool trackChang... |
//
// Copyright (c) 2004-2021 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 ... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.ServiceFabr... |
using System;
using System.Collections.Generic;
namespace ConsoleToolkit.CommandLineInterpretation
{
/// <summary>
/// Emulate the console application command line splitting behaviour.
/// This is an example:
///
/// ShowArgs.exe a b c "d with space" "embed \"speech marks\"" "or ""force"" them"
... |
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("Ex... |
////////////////////////////////////////////////////////////////////////////////
//
// ADOBE SYSTEMS INCORPORATED
// Copyright 2003-2007 Adobe Systems Incorporated
// All Rights Reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file
// in accordance with the terms of the license agreeme... |
using TouhouLauncher.Models.Application.SettingsInfo;
namespace TouhouLauncher.Models.Infrastructure.Persistence.FileSystem.YamlTypes {
public record GeneralSettingsYaml : Yaml {
public bool? CloseOnGameLaunch { get; init; }
public bool? CombineMainCategories { get; init; }
public GeneralSettings ToDomain() ... |
// *** 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 Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Mix.Cms.Lib.Enums;
using Mix.Cms.Lib.Models.Cms;
namespace Mix.Cms.Lib.Models.EntityConfigurations.MySQL
{
public class MixModulePostConfiguration : IEntit... |
using UnityEngine;
using System.Collections;
public class Pivot : MonoBehaviour
{
void Update()
{
var mousePos = Input.mousePosition;
mousePos.z = 10.0f; //The distance from the camera to the arm object
Vector3 lookPos = Camera.main.ScreenT... |
/* Copyright 2010-present MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrderBookAggregator.Objects
{
public class ExchangeOrder:IComparable<ExchangeOrder>
{
public int ID { get; private set; }
public int ExchangeID { get; private set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DMedia.Utility
{
public class Column
{
/// <summary>
/// 标识
/// </summary>
public bool IsIdentity { get; set; }
/// <summary>
/// 是否主键
/// </summary>
... |
using UnityEngine;
using Zenject;
public class DummyInstaller : MonoInstaller
{
public override void InstallBindings()
{
}
} |
#if !UNITY_WINRT || UNITY_EDITOR || (UNITY_WP8 && !UNITY_WP_8_1)
#region License
// Copyright (c) 2007 James Newton-King
//
// 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
// rest... |
using System.Diagnostics;
using System.Net.Mime;
using System;
using System.Reflection;
using Xunit;
using Prob;
using FluentAssertions;
namespace ProbTest
{
public class ApplicationVersionInfoTest
{
static readonly Assembly _systemAssembly;
static ApplicationVersionInfoTest()
{
... |
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("FAt... |
using QuickGraph;
namespace GraphSharp.Algorithms.Layout.Contextual
{
public interface IContextualLayoutAlgorithmFactory<TVertex, TEdge, TGraph> : ILayoutAlgorithmFactory<TVertex, TEdge, TGraph>
where TVertex : class
where TEdge : IEdge<TVertex>
where TGraph : class, IBidirectionalGraph<TV... |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 16.06.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... |
using System.Collections.Generic;
namespace Profiler
{
public interface ISerilogReportFormatter
{
IEnumerable<(string messageTemplate, object[] propertyValues)> Format(IEnumerable<ISectionMetrics> metricsCollection);
}
} |
using System.Data.Linq.Provider.Common;
namespace System.Data.Linq.Provider.NodeTypes
{
internal class SqlSharedExpression : SqlExpression {
private SqlExpression expr;
internal SqlSharedExpression(SqlExpression expr)
: base(SqlNodeType.SharedExpression, expr.ClrType, expr.SourceExpression) {
this.expr = e... |
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using Radix.Data;
using static Radix.Control.Option.Extensions;
namespace Radix.Components;
public abstract class TaskBasedComponent<TViewModel, TCommand, TEvent, TFormat> : Component<TViewModel>
where TViewModel : ViewModel
where TEvent : not... |
using HL7Data.Contracts.Messages.CollaborativeCareReferralMessages;
using HL7Data.Models.Types;
namespace HL7Data.Models.Messages.ContinuityOfCareRecordMessages
{
public class CancelCollaborativeCareReferral : BaseContinuityOfCareRecordMessage, ICancelCollaborativeCareReferral
{
public override Trigge... |
using Bug_Tracker.DAL;
using Bug_Tracker.Models;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Web;
using System.Web.Mvc;
namespace Bug_Tracker.Controllers
{
public class BugController : Controller
{
... |
using System;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace pi_service.Pages
{
public class NowModel : PageModel
{
public NowModel() {
LastModified = DateTime.Now.AddHours(-34);
}
public DateTime LastModified { get; set; }
public void OnGet() { }
}
} |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text.Json;
using System.Text.Json.Serialization;
using Plotly.Models.Traces.Sunbursts.Markers.ColorBars.Titles;
namespace Plotly.Models.Traces.Sunbursts.Markers.ColorBars
{
/// ... |
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Resources;
using System.Reflection;
using System.Data;
namespace Mediachase.Ibn.WebAsp.Modules
{
public partial class TariffGroupEdit : System.Web.UI.UserControl
{
protected Resourc... |
/*
* 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... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>smtp4dev</title>
<base href="~/" />
<link rel="stylesheet" href="~/dist/vendor.css" asp-append-version="true" />
<environment exclude="Development">
<l... |
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("Ran... |
// Adapted from https://github.com/jasonpang/desktop-duplication-net
using SharpDX.DXGI;
using System;
using System.Drawing;
using System.Linq;
using Captura;
using Captura.Models;
using System.Collections.Generic;
namespace DesktopDuplication
{
public class FullScreenDesktopDuplicator : IDisposable
{
... |
/*
* Copyright (c) Contributors, http://virtual-planets.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
* For an explanation of the license of each contributor and the content it
* covers please see the Licenses directory.
*
* Redistribution and use in source and binary forms, with or without
... |
//-----------------------------------------------------------------------
// <copyright file="DateLabelPage.xaml.cs" company="Microsoft Corporation and Crown copyright 2007 - 2010.">
// Copyright (c) Microsoft Corporation and Crown copyright 2007 - 2010.
// All rights reserved.
//
// CERTAIN PARTS OF THIS WORK CONTAIN ... |
namespace SMOWMS.DTOs.Enum
{
public enum OperateType
{
资产=0,
耗材=1
}
} |
using Newtonsoft.Json;
using System.Collections.Generic;
namespace FikaAmazonAPI.NotificationMessages
{
public class NotificationPayload
{
/// <summary>
/// An explanation about the purpose of this instance.
/// </summary>
[JsonProperty("AnyOfferChangedNotification")]
p... |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace Workday.HumanResources
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrou... |
using System;
namespace Beirinha.DesignPatterns.Behavioral.Mediator
{
/// <summary>
/// Concrete Colleage
/// </summary>
public class User : Colleague
{
public User(Mediador mediador) : base(mediador)
{
}
public void Send(string mensagem)
{
_m... |
namespace DermasterSystem.Forms
{
partial class FrmBookingRoom
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
#pragma checksum "..\..\..\..\YingControls\YingItems\YingConsoleMessageItem.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A3E3140F77481E6AD876A4AF9EA29B2EB966CE46"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// ... |
using System.Collections.Generic;
using System.Linq;
namespace NHamcrest.Core
{
internal class IsEquivalentSetMatcher<T> : NonNullDiagnosingMatcher<IEnumerable<T>>
{
private readonly IEnumerable<IMatcher<T>> _matcherCollection;
public IsEquivalentSetMatcher(IEnumerable<IMatcher<T>> matcherColl... |
using Lidgren.Network;
using Gem.Network.Messages;
using Gem.Network.Utilities.Loggers;
using Gem.Network.Extensions;
using Gem.Network.Client;
namespace Gem.Network
{
/// <summary>
/// Processes the client's network incoming messages
/// </summary>
internal class ClientMessageProcessor : IMessagePro... |
using BepInEx;
using BepInEx.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace DSP_Helmod.Classes
{
public class Language
{
private static Dictionary<string, string> values;
public st... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading;
using Microsoft.CodeAnalys... |
using System.ComponentModel;
namespace Vividl.Model
{
/// <summary>
/// Specifies the possible outcomes of a download process.
/// </summary>
public enum DownloadResult
{
Success, Cancelled, Failed
}
/// <summary>
/// Specifies the possible states of a download item
/// a... |
using Super.Model.Commands;
using Super.Runtime;
namespace Super.Model.Selection.Adapters
{
sealed class Any : ICommand<object>
{
readonly ICommand<None> _command;
public Any(ICommand<None> command) => _command = command;
public void Execute(object _)
{
_command.Execute();
}
}
} |
// Copyright 2013-2014 Albert L. Hives, Chris Patterson, et al.
//
// 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 require... |
#region Copyright notice and license
// Copyright 2015 gRPC authors.
//
// 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 req... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/objidl.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.... |
/*
* 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
*
... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.... |
/*
* 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 may no... |
using System.Linq;
using Content.Server.Body.Behavior;
using Content.Server.Body.Components;
using Content.Server.Body.Systems;
using Content.Server.Chemistry.Components.SolutionManager;
using Content.Server.Chemistry.EntitySystems;
using Content.Server.Fluids.Components;
using Content.Server.Nutrition.Components;
usin... |
namespace Ofl.Atlassian.Jira.V2
{
public class Application
{
public string Type { get; set; }
public string Name { get; set; }
}
} |
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("08... |
/*
* 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... |
namespace Spectacles.NET.Types
{
/// <summary>
/// The value set for a team members's membership state.
/// </summary>
public enum MembershipState
{
/// <summary>
/// Invited Membership State.
/// </summary>
INVITED = 1,
/// <summary>
/// Accepted Membership State.
/// </summary>
ACCEPTED
}
} |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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,... |
using StreamLogger.Api.MessageTypes;
namespace StreamLogger.Api.EventArgs
{
public class GameChangeEventArgs : System.EventArgs
{
public GameChangeEventArgs(GameChange gameChange)
{
GameChange = gameChange;
}
public GameChange GameChange;
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
namespace Ultraviolet.Core.Design
{
/// <summary>
/// Represents a custom type descriptor which reads type metadata from an XML file.
/// </summary>
internal sealed class XmlDrivenCustomTypeDescriptor : Cus... |
using System.Collections.Generic;
using System.IO;
using Microsoft.AspNet.Builder;
using Nancy;
using Nancy.Owin;
using Nancy.ViewEngines.Razor;
namespace JobBoard
{
public class Startup
{
public void Configure(IApplicationBuilder app)
{
app.UseOwin(x => x.UseNancy());
}
}
public class Custom... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class DeityToggleScript : MonoBehaviour {
void Start()
{
}
public void DeityToggle()
{
if (CharacterStatsScript.deityModeEnable == false) {
CharacterStatsScript.deityModeEnable = true;
} else if (Ch... |
//
// NFS Server
//
// Copyright (c) 2004-2012 Pete Barber
//
// Licensed under the The Code Project Open License (CPOL.html)
// http://www.codeproject.com/info/cpol10.aspx
//
using System;
namespace nfsV2
{
/// <summary>
/// Summary description for NFSStatusValues.
/// </summary>
public enum NFSStatus
{
NFS_O... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.