content stringlengths 23 1.05M |
|---|
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using Ew.Runtime.Serialization.Binary.Formatters;
using Ew.Runtime.Serialization.Binary.Interface;
namespace Ew.Runtime.Serialization.Binary.Factory
{
public static class StandardFormatterFactory
{
public static BinaryForma... |
@using SGSE.Entidad.Componentes
@helper ShowToastMessages(Toastr toastr)
{
if (toastr != null)
{
<script>
$(document).ready(function () {
toastr.options.closeButton = '@toastr.ShowCloseButton';
toastr.options.newestOnTop = '@toastr.ShowNewestOnTop';
... |
using System;
using System.Buffers.Binary;
using System.Collections.Generic;
using Negum.Core.Models.Sprites.Png;
namespace Negum.Core.Readers.Sff.V2.Png.Processors
{
/// <summary>
/// Default processor used for pHYs chunk.
/// </summary>
///
/// <author>
/// https://github.com/TheNegumProject... |
using System;
using System.Net.Sockets;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using CozyBus.Core.Bus;
using CozyBus.Core.Handlers;
using CozyBus.Core.Managers;
using CozyBus.Core.Messages;
using CozyBus.RabbitMQ.Classes;
using Microsoft.Extensions.Logging;
using Polly;
using RabbitMQ... |
using System;
using System.ComponentModel;
namespace Template10.Common
{
public delegate void TypedEventHandler<T>(object sender, T e);
public class EventArgs<T> : EventArgs
{
public EventArgs(T value)
{
Value = value;
}
public T Value { get; private set; }
... |
namespace Manufaktura.Controls.Model
{
/// <summary>
/// Describes a tuplet.
/// </summary>
public class Tuplet
{
/// <summary>
/// Inicates if single beams are present under tuplet.
/// </summary>
public bool AreSingleBeamsPresentUnderTuplet { get; set; }
/... |
@{
ViewBag.Title = "Password Reset Successful";
}
<div class="container">
<h1>Successful</h1>
<p>Your password has successfully been reset.</p>
</div>
|
namespace RFC_864_Server;
public class ServerOptions
{
private int _port;
public int Port
{
get => _port;
set
{
if (value <= 0 || value > 65535)
{
throw new ArgumentOutOfRangeException("Ports must be in the 1 to 65535 range.");
}
... |
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Providers;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Controller.IO;
using MediaBrowser.Model.IO;
namespace MediaBrowser.LocalMetadata
{
public abstract class BaseXmlProvider<T> : ILocalMetadataPr... |
using System;
using BenchmarkDotNet.Jobs;
namespace BenchmarkDotNet.Attributes
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assembly)]
public class LegacyJitX86JobAttribute : JobConfigBaseAttribute
{
public LegacyJitX86JobAttribute() : base(Job.LegacyJitX86)
{
}
... |
using System.Collections.Generic;
using SkyTimer.Model;
using System.IO;
using SkyTimer.Properties;
using System.Runtime.Serialization.Formatters.Binary;
namespace SkyTimer.Service
{
public class RecordListReader : IRecordListService
{
public List<RecordList> GetLists()
{
if (File.... |
using Dragon.Framework.Data.Dapper.Common.Enums;
namespace Dragon.Framework.Data.Dapper.Query
{
/// <summary>
/// 查询筛选器
/// </summary>
public abstract class QueryFilter
{
/// <summary>
/// 通过 and 语义合并两个查询过滤器。
/// </summary>
public static QueryFilter CombineAnd(Query... |
namespace TicketFlow.ApiGateway.WebApi.TicketsApi.Models
{
public class TicketOrderRequest
{
public int TicketId { get; set; }
public string Token { get; set; }
}
} |
using Microsoft.AspNetCore.SignalR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace vad_core.HubFunctions
{
public class VisualizationFunction : IHubFunction
{
private IHubContext hubContext;
public VisualizationFunction(IHubContext h... |
namespace Chartreuse.Today.Exchange.Ews.Commands
{
public class GetFolderIdentifiersParameter : EwsRequestParameterBuilderBase
{
protected override void EnsureCanExecute()
{
}
protected override string BuildXmlCore()
{
const string command =
... |
using TREnvironmentEditor.Helpers;
using TRLevelReader.Model;
namespace TREnvironmentEditor.Model.Types
{
public class EMMoveEntityFunction : BaseEMFunction
{
public int EntityIndex { get; set; }
public EMLocation TargetLocation { get; set; }
public override void ApplyToLevel(TR2Level... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace Erwine.Leonard.T.RexT.ViewModel.Home
{
public class TextResultItem : DependencyObject
{
#region Length Property Members
public const string PropertyName_Length = "Length";
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Netherlands3D.Traffic.VISSIM
{
public class VissimTypesSpawner : MonoBehaviour
{
public GameObject vissimButton;
public List<VissimType> allVissimTypes;
// Start is called before the first frame upd... |
using System;
using System.Web;
using System.Web.Mvc;
using TokenAuthMVC.Managers;
namespace TokenAuthMVC.Attributes
{
/// <summary>
/// Token-based authentication for ASP .NET MVC REST web services.
/// Copyright (c) 2015 Kory Becker
/// http://primaryobjects.com/kory-becker
/// License MIT
/... |
using System.Collections;
using Player;
using UnityEngine;
using Object = UnityEngine.Object;
namespace Pickups
{
public class PortalSpawner : MonoBehaviour
{
[SerializeField] private GameObject portalPrefab;
private Vector2 _playerStartPosition;
private PlayerManager _pm;
priva... |
namespace Gu.Roslyn.Asserts.Analyzers
{
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
internal static class MemberDeclarationSyntaxExt
{
internal static bool TrySingleIdentifier(this MemberDeclarationSyntax member, out SyntaxToken identifer)
{
swi... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Microsoft.Extensions.Logging;
using Quaestor.Environment;
using Quaestor.KeyValueStore;
using Quaestor.Utilities;
namespace Quaestor.MiniCluster
{
public class ... |
/* **************** VERSION 2 ****************** */
using UnityEngine;
namespace Steerings
{
public class Face : SteeringBehaviour
{
public float closeEnoughAngle = 2f;
public float slowDownAngle = 10f;
public float timeToDesiredAngularSpeed = 0.1f;
public GameObject target;
public override SteeringOut... |
using System;
using Xamarin.InAppBilling;
using Android.Widget;
using Android.Content;
using System.Collections.Generic;
using Android.App;
namespace InAppBilling
{
/// <summary>
/// Handles the data for the list of purchased items
/// </summary>
public class PurchaseAdapter : BaseAdapter<Purchase>
{
#region Pr... |
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using NaughtyAttributes;
using Random = UnityEngine.Random;
public class PlayerItemUser : MonoBehaviour {
[Header("Visual"), Space]
[SerializeField] SpriteRenderer leftI... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Shackle.Core.Factories;
namespace Shackle.Core.Models
{
public class Blockchain : IBlockchain
{
private readonly ISet<Block> _blocks = new HashSet<Block>();
private readonly ConcurrentQ... |
using Newtonsoft.Json;
namespace ZoomNet.Models
{
/// <summary>
/// Email notification user settings.
/// </summary>
public class EmailNotificationUserSettings
{
/// <summary>
/// Gets or sets a value indicating whether a notification is sent when attendees join a meeting before the host.
/// </summary>
[... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace M22
{
namespace Script
{
public class Script
{
private List<line_c> compiledLines;
//private List<Texture2D> loadedBackgrounds;
public line_c ... |
using System;
using UnityEngine;
namespace AirHockey.Match.Referees
{
/// <summary>
/// <see cref="ScoreReferee"/> which implements the rules of the "best of score" mode. See
/// <see cref="MatchMode.BestOfScore"/> for more.
/// </summary>
public class BestOfScoreReferee : ScoreReferee
{
... |
using System;
using System.Collections.Generic;
using TechTalk.SpecFlow.Assist;
namespace SpecFlowTests.Utils.Common.ValueRetrievers
{
public class NullableIntValueRetriever : IValueRetriever
{
public bool CanRetrieve(KeyValuePair<string, string> keyValuePair, Type targetType, Type propertyType)
... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using UnityEngine.SceneManagement;
public class HealthManager : MonoBehaviour {
public ScriptManager scriptManager;
private UIManager ui;
[Header("Health Settings")]
[Tooltip("Hit points")]
public float Health = 100.0f;
[Tooltip("Character max... |
namespace MyAwesomeLib
{
public interface IAwesomeClass
{
Platform WhatsMyPlatform();
}
} |
using Aggregates.Contracts;
using StructureMap.Pipeline;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
namespace Aggregates.Internal
{
// somewhat from https://github.com/Particular/NServiceBus.StructureMap/blob/master/src/NServiceBus.... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Amazon.Lambda.KinesisAnalyticsEvents
{
/// <summary>
/// This class represents the response from Lambda function for Kinesis Analytics input preprocessing.
/// </summary>
[DataContract]
public class Kines... |
using System;
using FFImageLoading.Work;
namespace FFImageLoading.Transformations
{
public class CircleTransformation : ITransformation
{
public CircleTransformation()
{
throw new Exception(Common.DoNotReferenceMessage);
}
public CircleTransformation(double borderSize, string borderHexColor)
{
thro... |
namespace Views
{
public struct Following
{
}
} |
@model MyServer.Web.Areas.Shared.Models.SortFilterAlbumViewModel
@{
ViewData["Title"] = SharedLocalizer["AlbumsAdmin"];
}
<div class="well well-mobile">
<div>
<h1 class="text-center">@SharedLocalizer["AlbumsAdmin"]</h1>
<hr />
</div>
@Html.Partial("_SortFilterPartial", Model)
</div>
<d... |
namespace SFA.DAS.EAS.Support.Web.Helpers
{
public static class AuthorizationConstants
{
public const string Tier2User = "Tier2User";
}
} |
using System;
namespace PipBenchmark
{
public class DelegatedBenchmark : Benchmark
{
private Action _executeAction;
public DelegatedBenchmark(string name, string description, Action executeAction)
: base(name, description)
{
if (executeAction == null)
... |
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;
using WixSharp;
using WixSharp.Controls;
namespace ConsoleApplication1
{
public partial class ProductActivationForm : WixSharp.Con... |
using System;
namespace SlackNet.Blocks
{
/// <summary>
/// An element which lets users easily select a date from a calendar style UI.
/// </summary>
[SlackType("datepicker")]
public class DatePicker : ActionElement, IInputBlockElement
{
public DatePicker() : base("datepicker") { }
... |
using System.IO;
using ImageMagick;
using Serilog;
using Sims1WidescreenPatcher.IO;
namespace Sims1WidescreenPatcher.Far.Models
{
public class ScaleImageJob : IJob
{
public byte[] Bytes { get; set; }
public string Output { get; set; }
public int Width { get; set; }
public int H... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using AngleSharp.Dom;
using AngleSharp.Html.Dom;
using Microsoft.Extensions.Logging;
using Statiq.Common;
namespace Statiq.Web
{
public class ValidateAb... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Oridashi.CDAAU.Core;
using Nehta.HL7.CDA;
namespace Oridashi.CDAAU.EventSummary
{
[RIMRole(ElementType = typeof(POCD_MT000040IntendedRecipient), ClassCode = "ASSIGNED")]
public class InformationRecipient
{
... |
using System;
namespace Ela.Compilation
{
internal enum DataKind
{
None = 0,
FunParams = 1,
FunCurry = 2,
VarType = 3,
Builtin = 4,
FastCall = 5,
BuiltinError = 6
}
}
|
using System;
using GParse.Math;
namespace GParse.Lexing.Composable
{
/// <summary>
/// Contains common character classes.
/// </summary>
public static partial class CharacterClasses
{
/// <summary>
/// Matches any character except newlines ([^\n]).
/// </summary>
p... |
using AdminService.Events.EventHandlers.UserAdded;
using AdminService.Events.EventHandlers.UserDeleted;
using AdminService.Events.EventHandlers.UserModified;
using AdminService.Events.EventHandlers.UserNotificationAdded;
using Microsoft.Extensions.DependencyInjection;
namespace AdminService.Extensions
{
public st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Univer.Common;
namespace Univer.Console
{
public class ProcessManager
{
public List<ConsoleProcessSandbox> Sandboxes
{
get;
private set;
}
public ProcessManager(... |
namespace Chiota.Messenger
{
using Tangle.Net.Entity;
/// <summary>
/// The constants.
/// </summary>
public static class Constants
{
/// <summary>
/// The end.
/// </summary>
public const string End = "9ENDEGUTALLESGUT9";
/// <summary>
/// The line break.
/// </summary>
p... |
using Dexih.Utils.MessageHelpers;
using System;
namespace dexih.operations
{
public sealed class Message : ReturnValue<object>
{
public string MessageId { get; set; }
public string SecurityToken { get; set; }
public string Command { get; set; }
public long HubKey { get; set; }
... |
using Controller;
using Model;
using NUnit.Framework;
namespace AutomatedTests
{
[TestFixture]
class RoverTest
{
Control controller;
[SetUp]
public void Init()
{
controller = new();
Model.RoverInfo.ListOfAllRovers.Clear();
}
/// <su... |
@page
@model IndexModel
@{
ViewData["Title"] = "Home page";
}
<h1>@Model.Message</h1>
<p> </p>
<p> </p>
<h3>User for tests:</h3>
<p>Login : Peter</p>
<p>Password : 123456</p>
|
// 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.Collections.Generic;
using Microsoft.AspNetCore.Builder;
namespace Microsoft.AspNetCore.Routing;
/// <summary>
/// Defines a contract for a route builder... |
using System;
using System.Data;
using System.Data.Common;
using NHibernate.AdoNet;
using NHibernate.Driver;
using StackExchange.Profiling.NHibernate.Infrastructure;
namespace StackExchange.Profiling.NHibernate.Drivers
{
public class MiniProfilerSql2008ClientDriver : Sql2008ClientDriver, IEmbeddedBatcher... |
using System.Collections.Generic;
namespace StoreKit.Domain.Constants
{
public static class DefaultPermissions
{
public static List<string> Basics => new List<string>()
{
PermissionConstants.Products.Search,
PermissionConstants.Products.View,
PermissionConsta... |
using Fermentation.Kinetic.Models;
using FluentAssertions;
using Xunit;
namespace UnitTests
{
public class ProductInhibitionUnitTests
{
[Fact]
public void TestLinearInhibition()
{
// Arrange
var productConcentration = 0.5;
var inhibitionConstant = 1.... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
using BenchmarkDotNet.Attributes;
namespace ... |
// 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.Linq;
using Microsoft.Build.Locator;
using Roslyn.Test.Utilities;
namespace Microsoft.C... |
namespace GR.Core.Razor.Helpers
{
internal static class Templates
{
public const string ListAddSectionTemplate = "AddSectionHtmlTemplate";
public const string ListTemplate = "ListTagHelperHtmlTemplate";
public const string ListDocumentationTemplate = "ListDocumentationHtmlTemplate";
... |
//------------------------------------------------------------------------------
// 生成时间 2021-09-01 10:03:53
//------------------------------------------------------------------------------
using Microsoft.EntityFrameworkCore;
using SnippetAdmin.Data.Cache;
using System.ComponentModel.DataAnnotations.Schema;
namespace... |
using System;
using System.Collections.Concurrent;
using System.Threading;
using Core.Profiling;
namespace Core.ECS.JobSystem
{
public class JobWorker
{
public Thread thread;
public ManualResetEventSlim waitForWork = new ManualResetEventSlim(false);
public volatile bool waiting = false;
public void Run()
... |
using UnityEngine;
public partial class PlayerController : Player, IControllable
{
private static Vector3 movement;
public static Vector3 Movement
{
get { return movement; }
}
public float Speed;
void FixedUpdate()
{
if (CheckForInput(out movement))
Move(Movem... |
using Microsoft.AspNetCore.Components;
using Template.Client.Areas.Localization.Services;
namespace Template.Client.Areas.Localization.Pages;
public partial class CultureForm
{
[Inject] private ICultureService CultureService { get; set; }
}
|
//
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requi... |
using System.Windows.Forms;
namespace WMBusinessTools.Extensions.Contracts
{
public interface IScreenProvider<in TContext>
where TContext : class
{
bool CheckCompatibility(TContext context);
Control GetScreen(TContext context);
}
}
|
using Bridge.Test.NUnit;
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace Bridge.ClientTest.Text.RegularExpressions.Methods
{
[Category(Constants.MODULE_REGEX)]
[TestFixture(TestNameFormat = "Regex.IsMatch - {0}")]
public class RegexIsMatchTests
{
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ConnectGame.Runner.Game;
using Microsoft.Extensions.Logging;
namespace ConnectGame.Runner.Engines
{
class Engine : IEngine
{
publi... |
using System;
using System.Collections.Generic;
using Xunit;
using UniversityOfBrighton.Contensis.OpeningHours;
namespace OpeningHoursUnitTests
{
public class OpenTimePeriodTests
{
/// <summary>
/// Open Mondays and half day Tuesdays July-Dec excluding Christmas
/// </summary>
... |
using System.Threading;
using Xunit;
namespace Ztm.Threading.Tests
{
public class TimerElapsedEventArgsTests
{
[Fact]
public void Constructor_WithContext_ShouldInitializeContextPropertyWithThatValue()
{
var context = new object();
var subject = new TimerElapsedEv... |
@page
@model IndexModel
@{
ViewData["Title"] = "Home page";
}
<a href="temperature.csv" download>Pobierz CSV</a>
<a href="temperature.json" download>Pobierz JSON</a>
<form method="post">
<input asp-route-myId=1 type="submit" value="Sensor 1">
<input asp-route-myId=2 type="submit" value="Sensor 2">
<input asp-rout... |
using System;
using System.Diagnostics;
using System.IO;
using Hybridizer.Imaging;
namespace MedianFilter
{
class Program
{
public static void NaiveCsharp(ushort[] output, ushort[] input, int width, int height, int window = 5)
{
int windowCount = 2 * window + 1;
var bu... |
using UnityEngine;
namespace SDFr
{
public struct AVolumeSettings
{
public Vector3Int Dimensions;
public Bounds Bounds;
}
public abstract class AVolumeData : ScriptableObject
{
public Vector3Int dimensions;
public Bounds bounds;
public Vector3 voxelSize;... |
using System;
namespace GakkoBackend.Domain
{
public partial class Candidate
{
public Guid IdCandidate { get; set; }
public Guid IdCurriculum { get; set; }
public virtual Person IdCandidateNavigation { get; set; }
public virtual Curriculum IdCurriculumNavigation { get; set; }
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TransformationFramework;
using TransformationFramework.Test.Examples;
namespace TransformationFramework.Test
{
[TestClass]
public class ExampleTest
{
#region Public Methods
[TestMethod]
public void Example1Tes... |
using System;
using System.Collections.Generic;
namespace Light.Data
{
class InsertSelector : Selector
{
readonly DataTableEntityMapping insertMapping;
readonly DataEntityMapping selectMapping;
readonly List<DataFieldInfo> insertList = new List<DataFieldInfo> ();
public InsertSelector (DataTableEntityMap... |
using Microsoft.WindowsAPICodePack.Shell;
namespace Toolkit.Models
{
public class Link
{
public Link()
{
Category = string.Empty;
}
public Link(string path, string title) : this()
{
Path = path;
Title = title;
}
publ... |
using System;
using System.IO;
using System.Collections;
using System.Collections.Concurrent;
namespace GeneXus.Encryption
{
/**
* This class acts as a central repository for an algorithm specific
* properties. It reads an (algorithm).properties file containing algorithm-
* specific properties. When using the A... |
namespace MLFlow.NET.Lib.Model.Responses.Run
{
public class LogMetric
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.Hpc.Scheduler.Session.GenericService;
using System.IO;
using System.ServiceModel;
namespace GenericService
{
public class GenericServiceWrapper : IGenericService
{
private Service1 service;
pu... |
using My.Common.Controls;
using NHotkey;
using NHotkey.WindowsForms;
using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace COIME
{
public partial class TrayIcon : Component
{
private InputForm InputForm;
public TrayIcon()
{
InitializeComponent();... |
using System;
using System.Collections.Generic;
using System.IO;
using MathNet.Numerics.LinearAlgebra;
namespace Regression
{
public static class File2Matrix
{
const int X1 = 0;
const int X2 = 1;
const int Y = 2;
public static Tuple<Matrix<double>, List<double>> Load()
... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Raid.Toolkit.Extensibility.Providers;
namespace Raid.Toolkit.Extensibility.Host.Services
{
public class DataUpdateSettings
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Context.FluentInterface.Interfaces;
using FlubuCore.Tasks.NetCore;
namespace FlubuCore.Context.FluentInterface
{
public class ToolsFluentInterface : IToolsFluentInterface
{
public TaskContext Context { get; set; }
... |
namespace WowSharp.BattleNet.Api.Wow.Community.Wow
{
/// <summary>
/// PvP zone Status enumeration
/// </summary>
public enum PvpZoneStatus
{
/// <summary>
/// Unknown status
/// </summary>
Unknown = -1,
/// <summary>
/// Idle (There is no bat... |
namespace Aquariums.Tests
{
using NUnit.Framework;
using System;
using System.Collections.Generic;
[TestFixture]
public class AquariumsTests
{
private Aquarium aquarium;
[SetUp]
public void Setup()
{
aquarium = new Aquarium("fishTank", 10);
... |
// 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;
namespace NuGet.VisualStudio.OnlineEnvironment.Client
{
internal static class GuidList
{
// NuGet Output window pane
... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Xml;
using Eon.ComponentModel.Dependencies;
namespace Eon.Runtime.Serialization {
public interface IDataContractServiceProvider
:IDisposableDependencySupport {
XmlObjectSerializer CreateDefaultXmlDataContractSeria... |
using System.Collections.Generic;
namespace Spite
{
/// <summary>
/// Represents a team of entities in a battle.
///
/// This shouldn't be used - use the generic ITeam instead.
/// </summary>
public interface ITeam
{
/// <summary>
/// The current standing of the team.
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
namespace MySqlSharp
{
// TODO:more MySQL specified Transaction option(chain, release, etc...)
// https://dev.mysql.com/doc/refman/5.6/ja/commit.html
public enum MySqlIsolationLevel
{
Unspecified,
Re... |
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
namespace MonoGame.Framework.Graphics
{
public partial class VertexDeclaration
{
/// <summary>
/// Data ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RuuviCTRL.Core.Entities;
using RuuviCTRL.Core.Services;
using Service_Tests.Factory;
namespace Service_Tests
{
[TestClass]
public class RuuviDataServiceTests
{
int seed = 100;
RuuviData data;
RuuviDataService service;
... |
using System;
namespace XmlBinaryConverter
{
public class XmlBinaryConverterException : Exception
{
public XmlBinaryConverterException()
{
this.Message = "XML Binary Converter Exception";
}
public XmlBinaryConverterException(string message)
{
this.Message = message;
}
public sealed override st... |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace Codility01.Misc
{
using InputData = KeyValuePair<string, string>;
using OutputData = KeyValuePair<string, int>;
public class ExcelTask
{
public static OutputData[] Sum(string... |
using Autofac;
using Propella.Infrastructure.Services.Integrations.Domain;
namespace Propella.Infrastructure.Modules.Internal
{
public class ServicesModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.RegisterType<DemographicsService>().AsImplementedIn... |
// <auto-generated>
// This code was generated by a TeeTextWriter.tt.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
#if DEBUG
using System.IO;
using System.Text;
namespace MsgPack.Serialization
{
internal sealed class TeeText... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LionFire.Trading
{
// For cAlgo compatibility - TODO: Only compile for cAlgo
public class Server
{
IAccount account;
public Server(IAccount account)
{
this.account... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
namespace iTEAMConsulting.O365
{
public interface IBackchannelFactory
{
IHttpClientAdapter CreateBackchannel(string baseAddress);
}
}
|
using System;
using System.Collections.Generic;
namespace JustDecompile.Tools.MSBuildProjectBuilder.Constants
{
internal class WinRTConstants
{
public const string WindowsStoreAppGUID = "{BC8A1FFA-BEE3-4634-8014-F334798102B3}";
public const string PortableClassLibraryGUID = "{786C830F-07A1-408B-BD7F-6EE04809D6D... |
using System;
using PrimeFuncPack.UnitTest;
using Xunit;
using static PrimeFuncPack.UnitTest.TestData;
namespace PrimeFuncPack.Tests;
partial class DependencyTest
{
[Fact]
public void From_Resolver_06_FirstIsNull_ExpectArgumentNullException()
{
var second = LowerSomeString;
var third = Min... |
using System.Threading.Tasks;
namespace Stoolball.Matches
{
/// <summary>
/// Get stoolball match data from a data source
/// </summary>
public interface IMatchDataSource
{
/// <summary>
/// Gets a single match based on its route
/// </summary>
/// <param name="rout... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.