text stringlengths 1 932k |
|---|
// *** 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 ArticulationUtility.Entities.MidiEvent.Value;
using ArticulationUtility.UseCases.Values.Spreadsheet.Value;
namespace ArticulationUtility.Gateways.Translating.MidiEvent.FromSpreadsheet
{
public class MidiNoteVelocityCellToVelocity : IDataTranslator<MidiNoteVelocityCell, MidiVelocity>
{
public Midi... |
// 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.CodeDom.Compiler;
using System.Collections;
using System.Collections.Generic;
using System.DirectoryServices;
using System.DirectoryServices.... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using nscreg.Data;
using nscreg.Data.Constants;
using nscreg.Server.Common.Models.Addresses;
using nscreg.Server.Common.Services;
using nscreg.Server.Common.Services.Contracts;
using nscreg.Server.Core.Authorize;
namespace nscreg.Server.Controllers
{
//... |
using GostCryptography.Asn1.Gost.Gost_R3410_2012_256;
namespace GostCryptography.Gost_R3410
{
/// <summary>
/// XML-сериализатора параметров ключа цифровой подписи ГОСТ Р 34.10-2012/256.
/// </summary>
public sealed class Gost_R3410_2012_256_KeyExchangeXmlSerializer : Gost_R3410_KeyExchangeXmlSerializer<Gost_R341... |
using System;
using System.IO;
using System.Text;
using System.Xml;
namespace BuildTool
{
public class SteamGameData
{
private SteamGameData()
{
}
public SteamGameData(uint id, string name, string installFolderName, string installDir)
{
Id = id;
... |
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("8. 10. Blocking and Asynchronous Queues"... |
using Soothsharp.Contracts;
namespace Soothsharp.Translation.Tests.Systemwide.scala2silver.basic
{
class Fields
{
private int variable;
private C value;
public Fields()
{
this.variable = 3;
Contract.Assert(this.variable < 4);
Contract.Asser... |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
// This code was generated by an automated template.
namespace Mosa.Compiler.Framework.IR
{
/// <summary>
/// StoreParamInt8
/// </summary>
/// <seealso cref="Mosa.Compiler.Framework.IR.BaseIRInstruction" />
public sealed class StoreParamInt8 : B... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace _03Time_15
{
public partial class Form1 : Form
{
#region attributiForm
ushort typeP = 0;
us... |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NClap.Exceptions;
using NClap.Metadata;
using NClap.Tests.Metadata;
namespace NClap.Tests.Exceptions
{
[TestClass]
public class InvalidArgumentSetExceptionTests : ExceptionTests<InvalidArgumentSetException>
{
public ... |
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace Senparc.Weixin.MP.Sample.WebForms {
pub... |
// *** 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.Diagnostics.CodeAnalysis;
using Content.Server.GameTicking;
using Content.Server.Mobs;
using Content.Shared.Preferences;
using Content.Shared.Roles;
using Robust.Server.Player;
using Robust.Shared.GameObjects;
using Robust.Shared.Map;
using Robust.Shared.Timi... |
// 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.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// BatchedJoinBlock.cs
... |
// ----------------------------------------------------------------------------------
//
// 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 UnityEngine;
public class ProjectileMovement : MonoBehaviour
{
public float speed = 10;
// Update is called once per frame
private void Update()
{
var transform1 = transform;
var position = transform1.position;
var velocity = new Vector3(0, Time.deltaTime * speed, 0);
... |
// 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.Diagnostics;
using Microsoft.JSInterop.Infrastructure;
namespace Microsoft.JSInterop
{
/// <summary>
/// Wraps a JS ... |
using System.Linq;
namespace RTSLockstep
{
public static class BehaviourHelperManager
{
private static ILockstepEventsHandler[] Helpers { get; set; }
public static void Initialize(ILockstepEventsHandler[] helpers)
{
Helpers = helpers;
foreach (ILockstepEventsHandler helper in Helpers)
{... |
#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
// restriction, including without limitation the rights to use,
// copy, ... |
using Game.ViewModel;
using JetBrains.Annotations;
using TMPro;
using UniRx;
using UnityEngine;
using UnityEngine.Assertions;
using UnityEngine.UI;
namespace Game.View {
public sealed class UnitInfoView : MonoBehaviour {
readonly DisposableOwner _owner = new DisposableOwner();
[SerializeField] Image _unitI... |
// Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Specialized;
using System.Linq;
using Avalonia.Controls.Primitives;
using Avalonia.Contr... |
//------------------------------------------------------------------------------
// <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 CMS.Base.Web.UI;
using CMS.UIControls;
public partial class CMSModules_Widgets_Dialogs_WidgetProperties_Buttons : CMSWidgetPropertiesPage
{
#region "Methods"
/// <summary>
/// Handles the Load event of the Page control.
/// </summary>
protected void Page_Load(object sender, ... |
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("He... |
// <copyright>
// Copyright 2020 Max Ieremenko
//
// 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 (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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... |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using NuGet.Versioning;
namespace Microsoft.Extensions.ProjectModel.Graph
{
public class LockFilePackageL... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace MvcDemo.Web.Pages
{
public class VueDemoModel : PageModel
{
public void OnGet()
{
}
}
} |
using System;
using System.CommandLine;
using System.CommandLine.Invocation;
namespace EifelMono.CommandLine
{
public class ArgsCommandBuilderLevel6 : ArgsCommandBuilder { }
public class ArgsCommandBuilderLevel6Command : ArgsCommandBuilderLevel6, IArgsCommandBuilderAlias
{
public ArgsCommandBuild... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using h0wXD.IO.Domain;
using h0wXD.IO.Interfaces;
namespace h0wXD.IO
{
public class DirectoryWatcher : IDirectoryWatcher
{
protected readonly List<FileSystemWatcher> _watchers;
public event FileSystemEventHand... |
/*
* 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... |
// Copyright (c) Brian Reichle. 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.Runtime.InteropServices;
namespace CausalityDbg.Core
{
#pragma warning disable SA1401 // Fields should be private
static parti... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Orleans;
using Orleans.Config... |
using System.Windows;
using System.Windows.Input;
namespace MediaPack.ViewModel.App
{
public class DeleteDialogViewModel : WindowViewModel
{
public DeleteDialogViewModel(Window window, string title, string itemTitle) : base(window)
{
WindowMinimumHeight = 350;
WindowMin... |
using System.IO;
using ScreenToGif.Util;
namespace ScreenToGif.ImageUtil.Psd
{
internal class LayerAndMask : IPsdContent
{
internal LayerInfo LayerInfo = new LayerInfo();
public long Length => Content?.Length ?? 0;
public byte[] Content
{
get
{
... |
using NPreprocessor.Input;
using NPreprocessor.Output;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace NPreprocessor.Macros
{
public class IfNDefMacro : IMacro
{
public IfNDefMacro()
{
}
public string Pattern => "ifndef";
public bool AreArgum... |
@using SmartDormitory.Web
@using SmartDormitory.Web.Models
@using SmartDormitory.Web.Areas.Administration.Models
@using SmartDormitory.Web.Areas.Administration.Models.Sensors
@using SmartDormitory.Models.DbModels
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
using System.Diagnostics;
using TES4Lib.Base;
using Utility;
namespace TES4Lib.Subrecords.NPC_
{
/// <summary>
/// Hair length
/// </summary>
[DebuggerDisplay("HairLength: {HairLength}")]
public class LNAM : Subrecord
{
public float HairLength { get; set; }
public LNAM(byte[] ... |
using Esquio.CliTool.Internal;
using McMaster.Extensions.CommandLineUtils;
using Newtonsoft.Json;
using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
namespace Esquio.CliTool.Command
{
[Command(Constants.FeaturesCommandName, Description = Constants.FeaturesDescriptionCommandNa... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Splash.cs" company="Hämmer Electronics">
// Copyright (c) All rights reserved.
// </copyright>
// <summary>
// The splash form.
// </summary>
// ------------------------------... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms;
using Mud... |
// 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.Linq;
namespace Microsoft.AspNetCore.Razor.Language
{
internal class DefaultRazorDocumentClassifierPhase
: RazorEnginePhaseBa... |
using Apache.NMS;
using NSubstitute;
using Xunit;
namespace DarwinClient.Test
{
public class PropertiesExtensionTest
{
[Fact]
public void ReturnsStringProperty()
{
var properties = Substitute.For<IPrimitiveMap>();
properties.Contains("Test").Returns(true);
... |
/* _BEGIN_TEMPLATE_
{
"id": "ULDA_Reno_11",
"name": [
"弑君狂徒",
"Kingsbane"
],
"text": [
null,
null
],
"cardClass": "MAGE",
"type": "SPELL",
"cost": 0,
"rarity": null,
"set": "ULDUM",
"collectible": null,
"dbfId": 58079
}
_END_TEMPLATE_ */
namespace HREngine.Bots
{
class Sim_U... |
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using EventReminder.Application.Core.Abstractions.Notifications;
using EventReminder.Application.GroupEvents.Events.GroupEventCancelled;
using EventReminder.BackgroundTasks.Abstraction... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fusee.Math.Core;
namespace Fusee.Engine.Common
{
/// <summary>
/// Interface to abstract a box shape
/// </summary>
public interface IBoxShapeImp : ICollisionShapeImp
{
/// <summary>
/// Get... |
using System.Collections.Generic;
using System.Text;
using ExtensionBlocks;
namespace RegistryPlugin.LastVisitedPidlMRU.ShellItems
{
public abstract class ShellBag : IShellBag
{
public string FriendlyName { get; set; }
public string Value { get; set; }
public List<IExtensionBlock> ... |
using GVFS.FunctionalTests.FileSystemRunners;
using GVFS.FunctionalTests.Tests;
using System;
using System.IO;
using System.Threading;
namespace GVFS.FunctionalTests.Tools
{
public class GVFSFunctionalTestEnlistment
{
private const string ZeroBackgroundOperations = "Background operations: 0\r\n";
... |
#if SILVERLIGHT
using SilverArcade.SilverSprite;
#else
using Microsoft.Xna.Framework;
#endif
namespace GameDev.Core
{
public class Placeable : DrawableGameComponent, IPlaceable
{
private int _x;
private int _y;
public Placeable() : this(0,0)
{
}
public Placeab... |
using Newtonsoft.Json;
namespace OpenHAB.NetRestApi.Models
{
public class FilterCriteria
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("value")]
public string Value { get; set; }
protected bool Equals(FilterCriteria other)
{
... |
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
// -----------... |
namespace Util
{
public class Console
{
static public string AskQuestion(string question)
{
System.Console.Write(question);
return System.Console.ReadLine();
}
static public int AskQuestionInt(string question)
{
System.Console.Write(q... |
using System.Data;
namespace AdoNetCore.AseClient.Interface
{
internal interface IInfoMessageEventNotifier
{
void NotifyInfoMessage(AseErrorCollection errors, string message);
}
internal interface IStateChangeEventNotifier
{
void NotifyStateChange(ConnectionState originalState, Con... |
using CommandLine;
namespace PInstaller
{
class CmdOptions
{
[VerbOption("certificates")]
public CertificatesOptions CertificatesVerb { get; set; }
[VerbOption("install")]
public InstallOptions InstallVerb { get; set; }
[ParserState]
public IParserState LastPa... |
// <copyright file="SomeCalenderWindowViewModel.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace WpfApp1
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using S... |
using System.Threading.Tasks;
namespace Attractor.Implementation.Common
{
internal static class ValueTaskBuilder
{
public static ValueTask CompletedTask
{
get
{
#if NETSTANDARD2_0
return new ValueTask(Task.CompletedTask);
#else
return Val... |
// *** 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 2021 Google 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
/*
* Created by SharpDevelop.
* User: jkuehner
* Date: 30.01.2015
* Time: 09:56
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System.Xml;
namespace WPFDesign.XamlDom
{
/// <summary>
/// A special XamlXmlWriter wich fixes & and " in MarkupExtension... |
// Copyright (c) Alden Wu <aldenwu0@gmail.com>. Licensed under the MIT Licence.
// See the LICENSE file in the repository root for full licence text.
using Unity.Entities;
using Unity.Jobs;
using Unity.Mathematics;
using Unity.Transforms;
public class StagesSystem : SystemBase
{
protected override void OnUpdate(... |
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("Od... |
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("Sh... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using LentoCore.Exception;
using LentoCore.Util;
namespace LentoCore.Lexer
{
public class Tokenizer
{
private string _currentToken;
private StreamReader _input;
private Token... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HuaweiAgentGateway.Entity.AgentGatewayEntity
{
class RegAgentConfParm
{
public int memberNum { set; get; }
public string confCallerNo { set; get; }
public int time { set; get; }
p... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using PluginCore;
namespace ASCompletion.Model
{
/// <summary>
/// Object representation of an ActionScript MemberModel
/// </summary>
[Serializable]
public class MemberModel: ICloneable, IComparable
{
... |
namespace BeHealthy.Web
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
public static class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(st... |
using System;
using System.IO;
using static System.IO.File;
using System.Linq;
using System.Collections.Generic;
using System.Text;
namespace EasyIO {
public partial class Converter {
public static string[] ToArray ( List < string > input) {
string[] output = new string[input.Count];
int i = 0;
foreach (st... |
#if UNITY_EDITOR
using System;
using System.IO;
using System.Reflection;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEditorInternal;
namespace MCU.Registry {
public static partial class MCURegistry {
/// <summary>
/// Contain a collection of functions and va... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root for license information.
#nullable disable
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Razor.Extensions;
using Micros... |
using System;
using System.Diagnostics;
namespace SIL.ObjectModel
{
/// <summary>
/// base class for helper classes who don't want to copy the same basic code
/// trying to implement IDisposable
/// </summary>
public abstract class DisposableBase : IDisposable
{
#region IDisposable & Co. implementation
/// ... |
using GameCanvas;
using Unity.Collections;
using Unity.Mathematics;
using UnityEngine;
public sealed class Game : GameBase
{
enum State
{
Init,
Running,
Success,
Fail
}
const int k_TileSize = 256;
const int k_CanvasW = k_TileSize * 3;
const int k_CanvasH = k_Til... |
@model CyberWeb.Models.RoleViewModel
@{
ViewBag.Title = "Edit";
Layout = "~/Views/Shared/_HomeLayoutPage.cshtml";
}
<h2>Edit.</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Roles.</h4>
<hr />
@Html.ValidationSummary(true)
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace HostOcean.Persistence.Migrations
{
public partial class UserRequired : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_UserQueues_AspNetU... |
// 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.Immutable;
using System.Threading;
using Microsoft.CodeAnalysis.Completion;
using Microsoft.CodeAnalysis.Completion.Providers;
using... |
//
// Copyright (c) Microsoft. 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 l... |
using UnityEngine;
using System.Collections;
namespace UnityOps
{
public class OperationProgress
{
#region properties
public float Value;
#endregion
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing;
using Aspose.Words.Drawing;
namespace MakeSignleDocumentByTemplate
{
class GetTemplateInfo:MainForm
{
public v... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace WarHub.ArmouryModel.Source.XmlFormat
{
public readonly struct RootElementInfo : IEquatable<RootElementInfo>
{
public RootElementInfo(RootElement element)
{
Element = element;
}
... |
//
// Copyright (c) David Wendland. 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.Linq;
using System.Windows;
using System.Windows.Controls;
using SniffCore.Navigation.PleaseWai... |
namespace Mix.Cms.Lib.Enums
{
public enum MixCompareOperatorKind
{
Equal,
NotEqual,
Contain,
NotContain,
InRange,
NotInRange,
GreaterThanOrEqual,
GreaterThan,
LessThanOrEqual,
LessThan
}
} |
using System;
using System.Globalization;
using System.Windows.Data;
namespace BandcampDownloader {
/// <summary>
/// Converts Boolean values to their logical AND operation result.
/// </summary>
internal class BooleanAndConverter: IMultiValueConverter {
public object Convert(object[] values... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BowlingScoreCalculator
{
class Scores
{
private List<Score> bowlingScores = new List<Score>();
public List<Score> BowlingScores { get { ret... |
using Chloe.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Chloe.Extensions
{
static class DataReaderConstant
{
#region
internal static MethodInfo GetReaderMethod(Type type)
... |
/*
* 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;
namespace BlogPosts.Buzzwords.DataAccess
{
public class NullableIdentity
{
}
} |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.OpenApi.Models;
using MongoDB.Bson.Serialization.Conventions;
using MongoDB.Driver;
using Newtonsoft.Json;... |
using System.Threading;
using System.Threading.Tasks;
using Incontrl.Sdk.Abstractions;
using Incontrl.Sdk.Models;
namespace Incontrl.Sdk.Services
{
internal class ProductApi : IProductApi
{
private readonly ClientBase _clientBase;
public ProductApi(ClientBase clientBase) => _clientBase = clie... |
/*
* 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.IO;
using System.Text;
namespace Protogame
{
public class ReadableSerializedAsset : IReadableSerializedAsset
{
private readonly Stream _stream;
private readonly long _readCacheOffset;
private readonly MemoryStream _readDataCa... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
using System;
using System.Net;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
namespace InfrastructureInsights.Tests
{
/// <summary>
/// B... |
using System;
using System.ComponentModel;
using EfsTools.Attributes;
using EfsTools.Utils;
using Newtonsoft.Json;
namespace EfsTools.Items.Efs
{
[Serializable]
[EfsFile("/nv/item_files/rfnv/00020499", true, 0xE1FF)]
[Attributes(9)]
public class Wcdma800TxLinVsTemp2Mtd
{
[ElementsCount(8)]
... |
using System;
using System.IO;
namespace DotNet.Cleaner.Tools
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Cleaning...");
try
{
if (Directory.Exists("./bin"))
Directory.Delete("./bi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace m0.Foundation
{
public interface IStoreUniverse:ITransactionRoot
{
IList<IStore> Stores { get; }
IStore GetStore(string StoreTypeName, string StoreIdentifier);
... |
using Newtonsoft.Json;
namespace Certes.Jws
{
/// <summary>
/// Represents a JWK using RSA.
/// </summary>
/// <seealso cref="Certes.Jws.JsonWebKey" />
internal class RsaJsonWebKey : JsonWebKey
{
/// <summary>
/// Gets or sets the exponent value for the RSA public key.
... |
///////////////////////////////////////////////////////////////
// QueryEngine.cs - execute queries //
// Ver 1.0 //
// Application: Demonstration for CSE681-SMA, Project#2 //
// Language: C#, ver 6.0, Visual Studio 2015 /... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ToDoApp.AppServices.Dtos;
namespace ToDoApp.AppServices.Interfaces
{
public interface IReportAppService
{
ReportDto CreateReport(ReportDto report);
IEnumerable<ReportDto> List(ReportFilterDto... |
namespace AgileObjects.NetStandardPolyfills
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
#if NETSTANDARD1_0
using Extensions;
#endif
/// <summary>
/// Provides a set of static methods for obtaining member information in .NET Standard 1.0+ an... |
@model ErrorViewModel
@{
this.ViewData["Title"] = SharedLocalizer.GetHtmlString("error");
}
<h1 class="text-danger">@SharedLocalizer.GetHtmlString("error")</h1>
<h2 class="text-danger">@SharedLocalizer.GetHtmlString("errorRequestStatus")</h2>
@if (this.Model.ShowRequestId)
{
<p>
<strong>Request ID:</... |
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System;
using System.Collections.Generic;
u... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.