content stringlengths 23 1.05M |
|---|
using AutoMapper;
namespace StudentsFirst.Api.Monolithic.Tests
{
public interface IMapperProvider
{
public IMapper Mapper { get; }
}
}
|
using System.Net.Http;
namespace BeyondTrust.BeyondInsight.PasswordSafe.API.Client.V3
{
public sealed class AttributeTypesEndpoint : BaseEndpoint
{
internal AttributeTypesEndpoint(PasswordSafeAPIConnector client)
: base(client)
{
}
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Time.OrderLog.Models
{
public class DatePickerVM
{
public DateTime? StartDate { get; set; }
public DateTime? EndDate { get; set; }
public DatePickerVM()
{
S... |
using System.Threading;
using System.Threading.Tasks;
using CarsManager.Application.Common.Interfaces;
using CarsManager.Application.Common.Security;
using CarsManager.Domain.Entities;
using MediatR;
namespace CarsManager.Application.RepairShops.Commands.CreateRepairShop
{
[Authorise]
public class CreateRepai... |
using Microsoft.AspNetCore.Components;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorComponent
{
public partial class BExpansionPanels : BItemGroup
{
public BExpansionPanels() : base(GroupType.ExpansionPanels)
{
}
public Lis... |
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence.Migrations;
using Umbraco.Core.Persistence.SqlSyntax;
using Umbraco.Core.Services;
namespace DM.MemberLogin.Migrations {
[Migration("1.0.0", 1, "DM.MemberLogin")]
public class Version_1_1_0 : MigrationBas... |
using System;
using LitJson;
using UnityEngine;
using UnityEngine.UI;
using XLua;
namespace XLuaFramework
{
public class TestLua : MonoBehaviour
{
public Button _btn;
[SerializeField] private TextAsset _textAsset;
[SerializeField] private TextAsset _textAsset1;
private void Sta... |
using System;
using CarManager;
using NUnit.Framework;
namespace Tests
{
public class CarTests
{
[SetUp]
public void Setup()
{
}
[Test]
public void TestValidCtor()
{
Assert.DoesNotThrow( () => new Car("bmw", "z3", 10.3d, 55.8d));
... |
namespace Letmebe.Binding.Nodes {
internal sealed class BoundFunctionSymbol {
public readonly BoundFunctionTemplate Template;
public BoundSymbol[] ParameterSymbols = null!;
public readonly BoundType ReturnType;
public BoundFunctionSymbol(BoundFunctionTemplate template, BoundType re... |
using System;
using System.Linq;
namespace MetuljmaniaDatabase.Helpers
{
public class StringHelper
{
private static readonly Random random = new();
/// <summary>
/// Generate random string.
/// </summary>
/// <param name="length">Length.</param>
/// <returns></... |
using System;
using libTracer;
using NUnit.Framework;
namespace TestLibTracer
{
internal class TestTColour
{
private const Single SOME_RED = 0.1f;
private const Single SOME_GREEN = 0.2f;
private const Single SOME_BLUE = 0.3f;
private TColour _colour;
[Test]
pu... |
using System.Text;
using Docker.DotNet.Models;
namespace Squadron
{
internal class SqlCommand : ICommand
{
private readonly StringBuilder _command = new StringBuilder();
private SqlCommand(
string command,
ContainerResourceSettings settings)
{
_comma... |
using System;
namespace Umbraco.Core.Exceptions
{
/// <summary>
/// An exception that is thrown if the umbraco application cannnot boot
/// </summary>
public class UmbracoStartupFailedException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="T:System.Ex... |
/*
Copyright (c) 2011, thinktecture (http://www.thinktecture.com).
All rights reserved, comes as-is and without any warranty. Use of this
source file is governed by the license which is contained in LICENSE.TXT
in the distribution.
*/
using System;
using System.Diagnostics;
using System.Reflection;
using ... |
using System;
using Microsoft.Extensions.DependencyInjection;
using Rsk.Enforcer;
using Rsk.Enforcer.PDP;
using Rsk.Enforcer.PEP;
namespace EnforcerFramework
{
class Program
{
static void Main(string[] args)
{
var sc = new ServiceCollection();
ConfigureServices(sc);
... |
using System;
using System.Collections.Concurrent;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using System.Threading.Tasks;
using CodeTiger.Resources;
namespace CodeTiger.Threading
{
/// <summary>
/// Provides a mechanism for the mutual-exclusion of running code.
/// </summary>
[Su... |
using System.Drawing;
namespace OE.NIK.ImPro.Logic.UI.Models
{
/// <inheritdoc />
/// <summary>
/// Class that calculates histogram values from an image
/// </summary>
public sealed class HistogramCalculator : BaseImageProcesser
{
/// <summary>
/// Initialize a new instance of ... |
#pragma warning disable 8618
using CommandDotNet;
namespace BbGit.ConsoleApp
{
[Command("BbGit", Description = "GitTools for BitBucket")]
public class GitApplication
{
[Subcommand]
public BitBucketRepoCommand BitBucketRepoCommand { get; set; }
[Subcommand]
public LocalRep... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace LilyPath.Shapes
{
/// <summary>
/// An object that compiles a low-level geometry cache for a grid.
/// </summary>
/// <remarks>Geometry... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Stuuck.Tests
{
[TestClass]
public class ReminderUnitTest
{
// TODO: Unit Test Reminders
// So, how do I start? 😕
// I want to make sure my code handles the CRUD correctly
// I want to make sure m... |
using System;
using Foundation;
using UIKit;
namespace AutoWait
{
public struct MediaItem
{
public string Name;
public NSUrl Url;
}
public partial class MediaSelectionTableViewController : UITableViewController
{
readonly MediaItem [] mediaItems = {
new MediaItem {
Name = "In the Woods",
Url = n... |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using Microsoft.Extensions.Caching.Memory;
using System;
namespace IdentityServer4.Quickstart.UI
{
public sealed class CorsOriginsCac... |
using System;
using ReMi.Commands.ReleasePlan;
using ReMi.Contracts.Cqrs.Commands;
using ReMi.Contracts.Cqrs.Events;
using ReMi.DataAccess.BusinessEntityGateways.ReleasePlan;
using ReMi.Events.ReleasePlan;
namespace ReMi.CommandHandlers.ReleasePlan
{
public class CompleteReleaseTaskCommandHandler : IHandleCommand<... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Reflection;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Running;
namespace Microsoft.EntityFr... |
#pragma warning disable CS0649
namespace Dissonance.Framework.Graphics
{
partial class GL
{
[MethodImport("glDrawElementsBaseVertex")]
private static DrawElementsBaseVertexDelegate glDrawElementsBaseVertex;
[MethodImport("glDrawRangeElementsBaseVertex")]
private static DrawRangeElementsBaseVertexDelegate gl... |
namespace ClangSharp {
public enum TokenKind {
Punctuation,
Keyword,
Identifier,
Literal,
Comment,
All
}
} |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using log4net;
namespace YMP.Model
{
public class PlayList
{
private static ILog log = LogManager.GetLogger("PlayList");
public PlayList(string name, stri... |
/*
* Hüseyin Uslu, shalafiraistlin@gmail.com
* This code is provided as is.
* Original code by: http://techcraft.codeplex.com/discussions/247791
*/
using System;
namespace arraytests.Tests
{
public class ArrayTest
{
protected int DimensionSize;
public ArrayTest(int dimensionSize)
{
... |
using UnityEngine;
using System.Collections;
/// <summary>
/// Used as a container for all <see cref="Message"/>. It will mimic an implementation of a circular array.
/// </summary>
public class MessageContainer {
private const int defaultNumberOfMessages = 20;
private int messagesStored;
private Message[] messa... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Highway.Data
{
/// <summary>
/// The readonly interface used to interact with the ORM-specific implementations
/// </summary>
public interface IReadonlyRepository
{
/// <summary>
/// Executes a prebui... |
/*
* Copyright (c) Brock Allen. All rights reserved.
* see license.txt
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Security.Claims;
using System.Security.Cryptography.X509Certificates;
names... |
/*
* Copyright 2017, Optimizely
*
* 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... |
//-----------------------------------------------------------------------
// <auto-generated />
//-----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Context;
using FlubuCore.Tasks;
using FlubuCore.Tasks.Process;
na... |
using FluentValidation;
using System;
using TMSA.SistemaEducacional.Domain.Core.Models;
using TMSA.SistemaEducacional.Domain.Pessoas;
namespace TMSA.SistemaEducacional.Domain.Enderecos
{
public class Endereco : Entity<Endereco>
{
public Endereco(
string logradouro,
int numero,
... |
using UnityEditor;
using MoonBehavior.BehaviorTrees;
namespace MoonBehaviorEditor.Core.Inspector
{
[CustomEditor(typeof(Task) , true )]
class TaskInspector : Editor
{
public override void OnInspectorGUI()
{
MoonGUILayout.DrawDefaultInspectorNoScript(serializedObject);
}... |
// © 2020 Koninklijke Philips N.V. See License.md in the project root for license information.
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Philips... |
using System.Collections.Generic;
using SonarQube.Net.Models;
namespace SonarQube.Net.Common.Converters
{
public class SystemStatusesConverter : JsonEnumConverter<SystemStatuses>
{
public override Dictionary<SystemStatuses, string> Map { get; } = new Dictionary<SystemStatuses, string>
{
[SystemStatuses.Start... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace NerdyMishka
{
public static class Check
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static T ArgNotNull<T>([Valida... |
// 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 Newtonsoft.Json.Linq;
using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net... |
using System.Collections.Generic;
using System.Linq;
namespace CollectionsOnline.Core.Utilities
{
public static class IdShortener
{
private const string _alphabet = "abcdefghijklmnopqrstuvwxyz0123456789";
private static Dictionary<string, string> _objectTypeMap = new Dictionary<string, string>... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
class Demon
{
public double Health { get; set; }
public double Damage { get; set; }
public Demon(double h, double d)
{
this.Health = h;
... |
using System;
using System.Net.Http;
using Microsoft.Extensions.Configuration;
using Swisschain.Sdk.Server.Common;
namespace Swisschain.Sdk.Server.Configuration.WebJsonSettings
{
internal static class WebJsonHttpClientProvider
{
public static readonly HttpClient DefaultClient;
static WebJsonH... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Firebase.NET.Messages
{
public class ResponseMessageResult
{
public string MessageId { get; set; }
/// <summary>
/// If Firebase servers return da... |
using System;
namespace XAS.App {
public interface ICommandOptions {
String Prompt { get; set; }
Int32 Process(params String[] args);
CommandOptions Add(string name, string description, Func<String[], Boolean> action);
}
}
|
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace Dangl.WebDocumentation.IdentityMigration.Standalone
{
public class StandaloneDbContext : IdentityDbContext<ApplicationUser>
{
public StandaloneDbContext(DbContextOptions<StandaloneDbContext> options... |
using UIKit;
namespace Microsoft.Maui.Graphics.Platform
{
public static class UIKitExtensions
{
public static UIColor AsUIColor(this Color color)
{
if (color != null)
{
return UIColor.FromRGBA(color.Red, color.Green, color.Blue, color.Alpha);
}
return UIColor.White;
}
public static Color As... |
using CardanoSharp.Wallet.Models.Transactions;
using System;
using System.Collections.Generic;
using System.Text;
namespace CardanoSharp.Wallet.TransactionBuilding
{
public class BootStrapWitnessBuilder: ABuilder<BootStrapWitness>
{
public BootStrapWitnessBuilder()
{
_model = new B... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Google.Apis.Bigquery.v2.Data;
using System.Collections.Generic;
namespace BigQuery.Linq.Tests
{
[TestClass]
public class MetaTableTest
{
[TestMethod]
public void Construction()
{
{
v... |
using System;
using System.IO;
using SQLite;
namespace CreditRepairPrototype
{
public class DatabaseAccessHelper : Singleton<DatabaseAccessHelper>
{
SQLiteConnection database;
string databasePath;
public virtual string DatabasePath {
get
{
return databasePath;
}
}
public bool DatabaseCreate... |
using Newtonsoft.Json;
namespace Klarna.Common.Models
{
public class OrderManagementShippingOptionTimeslot
{
/// <summary>
/// The timeslot id.
/// </summary>
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
/// <summary>
/// S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Drawing;
namespace Duality.Editor.Controls.TreeModels.FileSystem
{
public abstract class BaseItem
{
private string path = "";
private DateTime lastWriteDate = DateTime.MinValue;
pri... |
//**********************************************************************************
//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd.
//**********************************************************************************
#region Apache License
//
// Licensed under the Apache License, Version 2.0 (the "License");
// y... |
// Copyright (c) Abriom srl. All rights reserved. See License.txt in the project root for license information.
using System.Reflection;
[assembly: AssemblyDefaultAlias("YaccLexTools.Powershell.Utility.dll")]
[assembly: AssemblyDescription("YaccLexTools.PowerShell.Utility.dll")]
[assembly: AssemblyProduct("Abri... |
*(byteArray + i)
byteArray[i]
//https://pt.stackoverflow.com/q/415168/101
|
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class Customer : Interactable
{
public
static string[] names = {
"Jessie",
"Marion",
"Jackie",
"Alva",
"Ollie",
"Jodie",
"Cleo",
"Kerry",
"Frankie",
"Guadalu... |
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\d3dkmthk.h(3401,9)
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct _D3DKMT_QUERYSTATSTICS_ALLOCATIONS
{
public _D3DKMT_QUERYSTATISTICS_COUNTER Created... |
// ***********************************************************************
// Copyright (c) Charlie Poole and TestCentric contributors.
// Licensed under the MIT License. See LICENSE.txt in root directory.
// ***********************************************************************
using System;
using TCLite.Internal;
... |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharedApplication;
using YamlDotNet.Serialization;
namespace Tests
{
/// <summary>
/// </summary>
[TestClass]
public class YamlAssumptionTests
{
... |
using JetBrains.Annotations;
namespace Amsel.Models.Rundown.Models {
public class RundownValue {
protected RundownValue() { }
public RundownValue([NotNull] string parameterName, string value)
{
ParameterName = parameterName;
Value = value;
}
public... |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public enum LocalizedLanguage
{
Russian, English
}
public enum LocalizedString
{
game_name,
start_game,
authors,
options,
back,
authors_top,
authors_name,
authors_info,
quit
}
[Execute... |
@model IEnumerable<UserInterface.Models.SongViewModel>
@{
ViewData["Title"] = "SongIndex";
}
<body>
<div class="container col-12" style="font-size: 20px; margin:200px 7px 2px 100px">
@foreach (var item in Model)
{
<div class="row">
<div class="col-1">
... |
using System.Threading.Tasks;
namespace Codestellation.SolarWind.Threading
{
internal class SolarWindCompletionSource<T> : TaskCompletionSource<T>, IClientCompletionSource
{
public void SetGenericResult(object data) => TrySetResult((T)data);
}
} |
using System;
namespace Lamar
{
/// <summary>
/// Allows Lamar to fill in missing registrations by unknown plugin types
/// at runtime
/// </summary>
[LamarIgnore]
// SAMPLE: IFamilyPolicy
public interface IFamilyPolicy : ILamarPolicy
{
/// <summary>
/// ... |
namespace Moq.AutoMock.Tests.Util
{
public interface IService7
{
void Void(int value);
void Void(string value);
object ReturnValue(int value);
object ReturnValue(string value);
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using HuaweiCloud.SDK.Core;
namespace HuaweiCloud.SDK.Swr.V2.Model
{
/// <summary>
///
/// </summary>
public class ShowRepo... |
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace RockLib.Logging.SafeLogging
{
/// <summary>
/// An attribute that signifies a property or all the properties of a class are safe to add as extended properties
/// in a log. When used with a class, use the <see cref="NotSafeToL... |
using System;
using System.Linq;
using WorkflowCore.Interface;
using WorkflowCore.Sample02.Steps;
namespace WorkflowCore.Sample02
{
public class SimpleDecisionWorkflow : IWorkflow
{
public string Id => "Simple Decision Workflow";
public int Version => 1;
public void Build(IWorkflowBu... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.Quantum.Samples.SudokuGrover
{
/// <summary>
/// Classical code to solve a Sudoku puzzle
/// </summary>
class SudokuClassi... |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Windows;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.Gui;
namespace ICSharpCode.Package... |
using System;
using System.Text.Json.Serialization;
namespace EbookArchiver.JNovelClub.Models
{
internal class JNovelClubPurchase
{
//[JsonPropertyName("legacyId")]
public string? LegacyId { get; set; }
//[JsonPropertyName("volume")]
public JNovelClubVolume Volume { get; set; }... |
using AskMe.Services.DTOs;
using System;
namespace AskMe.Web.Models
{
public class ViewDetailAdViewModel
{
public int Id { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public CategoryDTO Category { get; set; }
public DateTime... |
// 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 Newtonsoft.Json;
namespace NuGet.Services.Validation.Issues
{
public class ClientSigningVerificationFailure : ValidationIssue
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using YapperChat.ViewModels;
namespace YapperChat.Views
{
public part... |
using System;
namespace NetWatcher
{
[Flags]
public enum Connectivity
{
Unknown = -1,
Disconnected = 0,
IPv6NoTraffic = 2,
IPv4NoTraffic = 1,
IPv4Subnet = 16,
IPv4LocalNetwork = 32,
IPv4Internet = 64,
IPv6Subnet = 256,
... |
// Copyright (c) Hugues Valois. All rights reserved.
// Licensed under the X11 license. See LICENSE in the project root for license information.
namespace Woohoo.Agi.Interpreter
{
/// <summary>
/// View motion type.
/// </summary>
public enum Motion
{
Normal,
Wander,
Follow,... |
using System;
using Newtonsoft.Json;
namespace Shashlik.Utils.Extensions
{
/// <summary>
/// 使用Newtonsoft.Json
/// </summary>
public static class JsonExtensions
{
/// <summary>
/// json反序列化(Newtonsoft.Json)
/// </summary>
/// <param name="json"></param>
/// ... |
/*
* Copyright 2018 faddenSoft
*
* 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 ... |
using System;
using Simplified.Ring2;
namespace Starcounter.Authorization.Partial
{
public class PermissionSelectionPartialEventArgs : EventArgs
{
public PermissionSelectionPartialEventArgs(SomebodyGroup group) { SomebodyGroup = group; }
public SomebodyGroup SomebodyGroup { get; private set; }... |
using System.Collections.Generic;
using UnityEngine;
public class Task : MonoBehaviour
{
public string description;
public bool isCompleted = false;
bool isActive;
public List<SubTask> subtasks;
public List<SubTask> challengingSubtasks;
public bool IsCompleted
{
get {... |
using System;
using System.Collections.Generic;
namespace SJP.Schematic.Serialization.Dto;
public class RelationalDatabaseTable
{
public Identifier? TableName { get; set; }
public DatabaseKey? PrimaryKey { get; set; }
public IEnumerable<DatabaseColumn> Columns { get; set; } = Array.Empty<Dat... |
using System;
namespace TicTacToe
{
class Program
{
private const string welcomeMessage = "This application lets you play Tic-Tac-Toe. What do you want to do?";
private static readonly string[] menuOptions =
{
"1. Start a new game.",
"2. Load game.",
... |
using System;
namespace ExampleOne
{
public class Simulation
{
public Player Current;
public IPlayerLocator Locator;
public Enemy Individual;
}
}
|
using RimWorld;
using System;
using Verse;
namespace RimThreaded
{
class StoreUtility_Patch
{
internal static void RunDestructivePatches()
{
Type original = typeof(StoreUtility);
Type patched = typeof(StoreUtility_Patch);
RimThreadedHarmony.Prefix(original, ... |
using System;
using CondenserDotNet.Client.DataContracts;
namespace CondenserDotNet.Client
{
public class HealthConfiguration
{
public bool IgnoreTls { get; set; } = true;
public string Url { get; set; }
public int IntervalInSeconds { get; set; } = 30;
public HealthCheck Build... |
namespace OpenProtocolInterpreter.Messages.Desoutter
{
/// <summary>
/// Report field. Used in <see cref="DetailedTightening.Mid7404"/> and Mid7406.
/// </summary>
public enum Report
{
TORQUE_MIN = 0,
TORQUE_MAX = 1,
ANGLE_MIN = 2,
ANGLE_MAX = 3,
RATE_MIN = 4... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AzureIntegrationMigration.ApplicationModel.Report;
namespace Microsoft.AzureIntegrationMigration.ApplicationModel.Target
{
/// <summary>
/// Defines a ba... |
using System;
using System.Collections.Generic;
public class GridInformation
{
private int MaxDynamicCollisizeSize;
private Dictionary<int, bool> _WalkBlocker;
public bool IsTree
{
get
{
return (this.Data & 1) != 0;
}
}
public int Data
{
get;
set;
}
public GridInformation()
{
this.Data = 0... |
using AlarmCenter.Entities.Models;
using AlarmCenter.OplogService.Models;
using AutoMapper;
namespace AlarmCenter.OplogService.Profiles
{
public class OplogProfile : Profile
{
public OplogProfile()
{
CreateMap<CreateForm, Oplog>();
}
}
} |
using System.IO;
using System.Runtime.InteropServices;
using Spect.Net.VsPackage.Vsx;
// ReSharper disable AssignNullToNotNullAttribute
// ReSharper disable SuspiciousTypeConversion.Global
namespace Spect.Net.VsPackage.CustomEditors.RomEditor
{
/// <summary>
/// Editor pane class for the ROM viewer
/// <... |
@using Aspose.Cells.GridJsDemo
@using Aspose.Cells.GridJsDemo.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
using System;
using System.Collections;
public class ArrayListClass {
public static void logMethod() {
ArrayList al = new ArrayList();
Console.WriteLine("Adding some numbers:");
al.Add(45);
al.Add(78);
al.Add(33);
al.Add(56);
al.Add(12);
al.Add(23);... |
using Manatee.Trello.Internal;
namespace Manatee.Trello.Json
{
/// <summary>
/// Defines the JSON structure for the StarredBoard object.
/// </summary>
public interface IJsonStarredBoard : IJsonCacheable
{
/// <summary>
/// Gets or sets the board.
/// </summary>
IJsonBoard Board { get; set; }
/// <summa... |
using System;
using System.Reactive;
using System.Reactive.Linq;
using Android.Support.V4.Widget;
using Toggl.Foundation.MvvmCross.Reactive;
using Toggl.Multivac.Extensions;
namespace Toggl.Giskard.Extensions.Reactive
{
public static class SwipeRefreshLayoutExtensions
{
public static IObservable<Unit>... |
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Reflection;
using System.Windows.Forms;
using FlashDevelop.Utilities;
using PluginCore;
using PluginCore.Controls;
using PluginCore.Helpers;
using PluginCore.Localization;
using PluginCore.Managers;
nam... |
namespace ImgurSharp
{
public enum ImgurAlbumLayout
{
Blog,
Grid,
Horizontal,
Vertical,
None
}
}
|
namespace Cuemon.Extensions.DependencyInjection.Assets
{
public class DefaultService : IService
{
public DefaultService()
{
ServiceType = nameof(DefaultService);
}
public string ServiceType { get; protected set; }
public override string ToString()
{... |
#region Using directives
using System;
using System.Data;
using System.Drawing;
using System.Reflection;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Xml;
using System.Xml.Schema;
using log4net;
using Commanigy.Iquomi.Api;
using Commanigy.Iquomi.Dat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using PillarBox.Business.Services.Messages;
using PillarBox.Web.Models;
using PillarBox.Web.Models.Me... |
using System.Collections.Generic;
using UnityEngine;
namespace FullInspector.Samples.FullSerializer {
[AddComponentMenu("Full Inspector Samples/FullSerializer/Lists")]
public class SampleFullSerializerLists : BaseBehavior<FullSerializerSerializer> {
public struct Container {
public List<Tr... |
using System;
using CommandLine;
namespace PipelineProject {
class Program {
static void Main(string[] args) {
Parser.Default.ParseArguments<Options>(args).WithParsed<Options>(o => {
Pipeline p = new Pipeline(o.Input, o.Root, o.Output, o.Layer);
});
}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.