text stringlengths 1 932k |
|---|
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("Em... |
/*
* Copyright (c) Contributors, http://aurora-sim.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must reta... |
namespace MicroLite.Tests.Mapping.Inflection
{
using MicroLite.Mapping.Inflection;
using Xunit;
/// <summary>
/// Unit Tests for the <see cref="EnglishInflectionService" /> class.
/// </summary>
public class EnglishInflectionServiceTests
{
[Fact]
public void ChangesWordEndi... |
/* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*
* Licensed to Elasticsearch B.V. unde... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UI
{
public class InversionContainer : IServiceProvider
{
private readonly Dictionary<Type, Func<IServiceProvider, dynamic>> _transients = new Dictionary<Type, Func<IServicePro... |
namespace Animals.Cats
{
public class Cat : Animal, ISound
{
public Cat(int age, string name, Sex sex)
: base(age, name, sex)
{
}
public Cat(int age, string name)
: base(age, name)
{
}
public override void ProduceSound()
{... |
using System;
using System.Collections.Generic;
using System.Text;
using ModelingFramework.Core.Expressions;
using ModelingFramework.Core.Interfaces;
using ModelingFramework.Core.Logging;
using System.Linq;
namespace ModelingFramework.Core.Numerics
{
public class DAEProblem
{
public string Name { get;... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/projectedfslib.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.... |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion: 4.0.30319.42000
//
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
// der Code neu gen... |
using Cosmos.Business.Extensions.Holiday.Core;
using Cosmos.I18N.Countries;
namespace Cosmos.Business.Extensions.Holiday.Definitions.SouthAmerica.Chile.Religion
{
/// <summary>
/// Christmas Day
/// </summary>
public class ChristmasDay : BaseFixedHolidayFunc
{
/// <inheritdoc />
pub... |
#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 Outracks.Fuse.Designer.Inspector
{
using Fusion;
public static class TextAlignmentIcon
{
public static IControl Create(TextAlignment alignment, Brush fill)
{
return Layout.StackFromTop(
Control.Empty.WithHeight(1).WithWidth(15),
Align(Shapes.Rectangle(fill: fill).WithWidth(13).WithHeight(1)... |
using System;
using JustAssembly.Interfaces;
using JustAssembly.Nodes.APIDiff;
using JustAssembly.Nodes;
namespace JustAssembly.ViewModels
{
class FolderBrowseTabItem : BrowserTabSourceItemBase
{
public FolderBrowseTabItem(IOldToNewTupleMap<string> tupleMap)
{
FilterSettings filterS... |
using System;
namespace Wintox.Helpers
{
public interface IShortcutManager
{
void Register(Action callback);
}
} |
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("7.... |
// Copyright 2011 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... |
using UnityEngine;
namespace MarkupAttributes.Samples
{
public class TitleGroupSample : SamplesBehaviour
{
[TitleGroup("Title Group")]
public int one;
public int two;
public int three;
}
} |
// Copyright (c) Arjen Post. See LICENSE and NOTICE in the project root for license information.
using System;
using Xunit;
namespace ProtoBuf.Data.Light.Tests
{
public partial class ProtoBufDataReaderTests
{
public class TheGetBytesMethod : ProtoBufDataReaderTests
{
[Fact]
... |
/*************************************************************
* Project: NetCoreCMS *
* Web: http://dotnetcorecms.org *
* Author: OnnoRokom Software Ltd. *
* Website: www.onnorokomsoftware.com *
* ... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Dms.Ambulance.V2100</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False<... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Xml;
using System.Collections;
using System.Collections.Generic;
using System.Globalizati... |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Frapid.Configuration;
using Frapid.Dashboard.ViewModels;
using Newtonsoft.Json;
namespace Frapid.Dashboard.Models
{
public static class WidigetDashboardModel
{
public const string WidgetLocation = "/Tenants/... |
using System;
using System.Collections;
using System.ComponentModel;
using System.Globalization;
using System.Web;
using System.Linq;
using System.Web.UI;
using System.Web.UI.WebControls;
using Umbraco.Core;
using Umbraco.Core.Services;
using Umbraco.Core.Models;
using Umbraco.Core.Models.PublishedContent;
using Umbra... |
using FluentMigrator;
using Ridics.Authentication.Database.Migrations.TagTypes;
using Ridics.DatabaseMigrator.Shared.TagsAttributes;
namespace Ridics.Authentication.Database.Migrations.Migrations.Authentication
{
[DatabaseTags(DatabaseTagTypes.VokabularAuthDB)]
[MigrationTypeTags(MigrationTypeTagTypes.Structu... |
using UnityEngine;
using System.Collections;
public class RotateAround : MonoBehaviour {
public Transform target; // the object to rotate around
public int speed; // the speed of rotation
void Start () {
if (target == null)
{
target = this.gameObject.transform;
Debug.Log ("RotateAround target not spe... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.8009
//
// 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... |
using System.IO;
using System.Linq;
using System.Management.Automation;
using JetBrains.Annotations;
using Snippy.Infrastructure;
using Snippy.Models;
using Snippy.Services;
namespace Snippy.Cmdlets
{
[PublicAPI]
[Cmdlet(VerbsData.Update, "SnippetWorkspaces")]
public class UpdateSnippetWorkspacesCmdlet : ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class enemyMover : MonoBehaviour {
public float speed;
// Use this for initialization
void Start () {
GetComponent<Rigidbody> ().velocity = transform.forward * speed;
}
// Update is called once per frame
void Update () {
... |
namespace Kenc.ACMELib.ACMEEntities
{
using Newtonsoft.Json;
/// <summary>
/// Describes a certificate revocation request in the ACME protocol.
/// </summary>
public class CertificateRevocationRequest
{
[JsonProperty("certificate")]
public string Certificate { get; set; }
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
using MvvmCross.Binding.Bindings.Source.Construction;
namespace MvvmCross.Plugin.MethodBinding
{
[MvxPlugin]... |
using Coldairarrow.Business.Base_SysManage;
using Coldairarrow.Entity.Base_SysManage;
using Coldairarrow.Util;
using System;
using System.Threading.Tasks;
namespace Coldairarrow.Business.Common
{
static public class BusHelper
{
/// <summary>
/// 写入日志
/// </summary>
/// <param n... |
/*
* Copyright(c) 2019 Samsung Electronics Co., 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 ... |
// *** 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 System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Domain.Models;
using Microsoft.AspNetCore.Authorization;
namespace MarketStore.Controllers
{
[Route("api/[con... |
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using OtterBot.Handlers;
namespace OtterBot.Commands
{
public class BanModule : ModuleBase<SocketCommandContext>
{
private readonly BanHandler banHandler;
public BanModule(BanHandler banHandler)
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace RPG.Data.Migrations
{
public partial class relations_update_2 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_Character_WeaponId",
... |
namespace softasinsoftware.Shared.Models
{
public class UserModel
{
public string Email { get; set; }
public bool IsAuthenticated { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace WebMaskDetection
{
public class Program
{
... |
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Windows.Input;
using Xamarin.Forms;
namespace EventToCommandBehavior
{
public class HomePageViewModel : INotifyPropertyChanged
{
public ObservableCollection<Person> People { get; private set; }
public ICommand Out... |
// 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 ClangSharp.Interop;
namespace ClangSharp
{
public sealed class BuiltinBitCastExpr : ExplicitCastExpr
{
... |
namespace Kros.KORM.UnitTests.Integration
{
internal static class IntegrationTestConfig
{
internal static string ConnectionString
{
get => "Server=(local)\\SQL2016; UID=sa;PWD=Password12!; Persist Security Info = 'TRUE'";
}
}
} |
//
// Encog(tm) Core v3.2 - .Net Version
// http://www.heatonresearch.com/encog/
//
// Copyright 2008-2014 Heaton Research, 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
//
// htt... |
// <copyright file="RayleighTests.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
// Copyright (c) 2009-2010 Math.NET
// Permission is hereby granted, free of charge, to any... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Prism.WinForms.Tests
{
[TestClass]
public class CollectionExtensionsFixture
{
[TestMethod]
public void CanAddRangeToCollection()
{
Collec... |
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("8C... |
@using ProductRecommendation.Areas.HelpPage
@model InvalidSample
@if (HttpContext.Current.IsDebuggingEnabled)
{
<div class="warning-message-container">
<p>@Model.ErrorMessage</p>
</div>
}
else
{
<p>Sample not available.</p>
} |
/*
* 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... |
//
// MailStore.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2021 .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
// in the Softwar... |
// 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.
// This RegexFCD class is internal to the Regex package.
// It builds a bunch of FC information (RegexFC) about
// t... |
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Localization;
namespace Blog.Common.Localization
{
public class LocalizedIdentityErrorDescriber : IdentityErrorDescriber
{
private readonly IStringLocalizer<LocalizedIdentityErrorDescriber> _localizer;
public LocalizedIdentityErr... |
// 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.Diagnostics.Tracing;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Micr... |
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("jbb... |
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using PureCloudPlatform.Client.V2.Client;
namespace PureClo... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using ProjectWhitepaper.Data.Entities;
namespace ProjectWhitepaper.Data.Repositories.Abstract
{
public interface IPersonRepository : IRepositoryBase<Person>
{
Task<IList<Person>> GetAllFullAsync();
Task<Person?> GetF... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Web.Http.Filters
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class HttpCacheControl
{
#if __ANDROID__ || __IOS__ || NET461... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
// 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 Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Localiz... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.System;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xam... |
/*
Copyright 2014-2015 Zumero, LLC
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 ... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... |
using System;
namespace UnityEngine.Perception.Randomization.Scenarios
{
/// <summary>
/// The base class of scenarios with serializable constants
/// </summary>
/// <typeparam name="T">The type of scenario constants to serialize</typeparam>
public abstract class Scenario<T> : ScenarioBase where T... |
// Copyright (c) 2021 ICT Cube, doWhile, and Eiffel Community collaborators.
//
// 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/LIC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DemoLib.Security.FW4._5.Common
{
/// <summary>
/// 验证ticket结果
/// </summary>
public enum TicketState
{
/// <summary>
/// 表示错误的ticket
/// </summary>
... |
//////////////////////////////////////////////
/// 2DxFX - 2D SPRITE FX - by VETASOFT 2016 //
//////////////////////////////////////////////
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
#if UNITY_EDITOR
using UnityEditor;
#endif
[ExecuteInEditMode]
[AddComponentMenu ("2DxFX/Advanced Lightning/G... |
namespace Promaster.Primitives.Measure.Quantity
{
public interface IMomentOfInertia : IQuantity
{
}
} |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... |
namespace Cosmos.Logging.Extensions.NHibernate.Core {
public class EventIdKeys {
public static readonly string Executed = "SqlOp_Executed";
public static readonly string LongTimeExecuted = "SqlOp_LongTime_Executed";
public static readonly string Error = "SqlOp_Error";
public static ... |
using Symbioz.World.Models.Fights.Fighters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Symbioz.Providers.SpellEffectsProvider.Buffs
{
public class ShieldBuff : Buff
{
public ShieldBuff(uint uid,short delta, short durati... |
namespace EasyOC.Core.ResultWaper.Internal
{
/// <summary>
/// RESTful 风格结果集
/// </summary>
/// <typeparam name="T"></typeparam>
public class RESTfulResult<T>
{
/// <summary>
/// 状态码
/// </summary>
public int? StatusCode { get; set; }
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
namespace Atlas_frontend.Utils.Validators
{
public class CustomPasswordFormatValidator : ValidationAttribute
{
public const string V... |
namespace Blackjack_Sharp
{
/// <summary>
/// Default implementation of <see cref="IDealer"/>.
/// </summary>
public sealed class Dealer : IDealer
{
#region Fields
private readonly uint additionalDecksCount;
private CardDeck deck;
#endregion
#region Propert... |
using System;
namespace DayOfWeek
{
class DayOfWeek
{
static void Main()
{
string[] days = { "Monday", "Tuesday", "Wednesday",
"Thursday", "Friday", "Saturday", "Sunday" };
int dayNumber = int.Parse(Console.ReadLine());
if (dayNum... |
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
namespace KelpNet.Tools
{
public class LabeledDataMaker
{
// TargetFolder
// ├ CategoryA
// │ ├ ImageA1.jpg
// │ ├ ImageA2.jpg
// │ └ I... |
@model MasteringEFCore.RawSql.Final.Models.User
@{
ViewData["Title"] = "Details";
}
<h2>Details</h2>
<div>
<h4>User</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.DisplayName)
</dt>
<dd>
@Html.DisplayFor(model => model.D... |
using System;
using System.Collections.Generic;
using Nop.Core;
using Nop.Core.Domain.News;
namespace Nop.Services.News
{
/// <summary>
/// News service interface
/// </summary>
public partial interface INewsService
{
#region News
/// <summary>
/// Deletes a news
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Heroes.ReplayParser.MPQFiles
{
public static class ReplayAttributeEvents
{
public const string FileName = "replay.attributes.events";
public static void Parse(Replay replay, byte[] buffer)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;
using System.Drawing.Imaging;
namespace AssetImporter {
public class TextureLoader {
// Tentative to decrypt the DATA/TEXTURE/GOU*.DAT files, which look like 256x256 paletted t... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicInvoice.Produce.Base
{
public interface IConfig
{
string GovAppId { get; }
string GovAPIKey { get; }
string IsMockAPI { get; }
Dictionary<s... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.ComponentModel.DataAnnotations
{
using System.Data.Entity.Resources;
using Xunit;
public class MinLengthAttributeTests
{
[Fact]
public v... |
// Copyright 2020 Samsung Electronics Co., Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
using System;
using System.Runtime.InteropServices;
namespace Tizen.Flutter.Embedding
{
internal static class Interop
{
[StructL... |
using System;
namespace NStandard
{
[Obsolete("May be removed in the future.")]
public class LabelValuePair<TValue>
{
public string Label { get; set; }
public TValue Value { get; set; }
}
} |
// 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 Xunit;
namespace System.Security.Cryptography.X509Certificates.Tests
{
[OuterLoop("Modifies system state"... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace Cisint.DynamicEvaluator
{
public static class Evaluator
{
public static dynamic Add(dynamic a, dynamic b) => a + b;
public static dynamic And(dynamic a, dynamic b) => a & b;
public static bool Eq(dynami... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _03.Vacation
{
class Program
{
static void Main(string[] args)
{
double budget = double.Parse(Console.ReadLi... |
using System;
namespace Day22
{
public class Poison : ISpell
{
private const int Damage = 3;
public Poison(int roundCast)
{
RoundCast = roundCast;
}
public string Name { get; } = "Poison";
public int ManaCost { get; } = 173;
public bool Imm... |
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("Ad... |
@model Page
@{
ViewData["Title"] = "Services";
}
@Html.Raw(Model?.Content) |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Navig... |
// *** 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 System;
using System.Collections.Generic;
namespace Astroants.Core
{
public enum Direction
{
Up = 1,
Left,
Right,
Down
}
public static class DirectionEx
{
public static char GetCode(this Direction direction)
{
switch (direction)
... |
// Copyright (C) 2006-2010 Jim Tilander. See COPYING for and README for more details.
using System;
using EnvDTE;
using System.Threading;
using System.Collections.Generic;
namespace Aurora
{
public static class AsyncProcess
{
private static int s_defaultTimeout = 30000; // in ms
public delegate void... |
// <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 Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiByValue(fqn: "aws.Wafv2RuleGroupRuleStatementXssMatchStatementFieldToMatchQueryString")]
public class Wafv2RuleGroupRuleStatementXssMatchStatementFieldToMatchQueryString : aws.IWafv2RuleGroupRuleStatementXssMat... |
// Copyright (c) Pomelo Foundation. All rights reserved.
// Licensed under the MIT. See LICENSE in the project root for license information.
using System.Collections.Generic;
using System.Linq;
// ReSharper disable once CheckNamespace
namespace System.Linq
{
// ReSharper disable once InconsistentNaming
inter... |
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE.md file or at
* https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.452/blob/master/LICENSE
*
*/
#endregion
using System;
using System.Drawing;
namespace Core.Classes.Colours
{
... |
using System;
using System.IO;
using System.Windows.Forms;
using System.Collections.Generic;
using Microsoft.FSharp.Core;
using Microsoft.FSharp.Collections;
using N2O;
using TWAIN32;
namespace INFOTECH
{
class WTwain : Scan.ITwain {
public static TWAINI self = Program.global.twain;
public int ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.