content stringlengths 23 1.05M |
|---|
using SEC.Filters;
using System;
using System.Collections.Generic;
using System.Text;
namespace SEC
{
public interface ISECParser
{
NumberToken Parse(string expression);
NumberToken Parse(IEnumerator<INodeToken> tokens);
}
}
|
namespace Stoolball.Competitions
{
public enum ResultsTableType
{
None,
LeagueTable,
NonLeagueResultsTable
}
}
|
using System;
using BlazorBlog.Core.Models;
using Xunit;
namespace BlazorBlog.Core.Tests.Models
{
public class PagedPostCollectionTests
{
[Fact]
public void PostsPerPage_Set0_ThrowsException()
{
Assert.Throws<ArgumentOutOfRangeException>(() =>
{
... |
using System;
namespace Course.MasterLinq
{
public class S09L68_PurityAndSideEffects
{
private int state = 0;
// Probably no side effect
// Pure function
public double Add(double a, double b)
{
return a + b;
}
// Could produce a side effect ... |
using Ideator.Domain.Common;
using Ideator.Domain.Model;
namespace Ideator.Domain.Ports
{
public interface IArticleRepository
: IRepository<ArticleId, Article>
{
Article Insert(AuthorId authorId, Title title, Content content);
}
} |
using UnityEngine;
using System.Collections;
public class Stage : MonoBehaviour
{
static public Vector2 MinPos = new Vector2(-1f, -1f);
static public Vector2 MaxPos = new Vector2(1f, 1f);
static public float PosMarginX = 1.0f;
static public float PosMarginY = 0.2f;
static public bool IsInArea(Vector2 p)
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Arke.DSL.Step;
using Arke.SipEngine.Api;
using Arke.SipEngine.BridgeName;
using Arke.SipEngine.Bridging;
using Arke.SipEngine.CallObjects;
using Arke.SipEngine.Events;
using Arke.SipEngine.FSM;
using Arke.SipEngine.P... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HelloWord
{
class Program
{
static void Main(string[] args)
{
//declarando variáveis
int segundaGuerraMundial = 1942;
string cor_favorita = "Vermelho";
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// This is the base class
public abstract class SuperPower : MonoBehaviour
{
public string superPowerName;
public ParticleSystem particleSystem;
public AudioSource audioSource;
public List<AudioClip> audioClips = new List<A... |
using System.Collections.Generic;
using GSoft.Dynamite.Fields;
using Microsoft.SharePoint;
namespace GSoft.Dynamite.Lists
{
/// <summary>
/// Helper to manage lists.
/// </summary>
public interface IListHelper
{
/// <summary>Creates the list or returns the existing one.</summary>
/... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BUILDER.PATTERN
{
public partial class Form1 : Form
{
public Form1()
{... |
using UnityEngine.EventSystems;
using Run4YourLife.InputManagement;
namespace Run4YourLife.Player
{
public interface IPlayerHandleEvent : IEventSystemHandler
{
void OnPlayerHandleChanged(PlayerHandle playerHandle);
}
public enum CharacterType
{
ACorn,
Skull,
Snake... |
namespace Atc.Cosmos.EventStore.Streams
{
internal interface IStreamSubscriptionFactory
{
IStreamSubscription Create(
ConsumerGroup consumerGroup,
SubscriptionStartOptions startOptions,
ProcessEventsHandler eventsHandler);
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ThrowController : MonoBehaviour
{
public float thrust;
private bool throwRight;
private bool isRotating = false;
Rigidbody2D rb;
PolygonCollider2D polyCol;
public enum State
{
Thrown,
... |
using System;
using System.ComponentModel.DataAnnotations;
namespace OMSAPI.Dtos.SalesOrderHeaderDtos
{
public class SalesOrderHeaderUpdateDto
{
[Required]
public DateTime OrderDate { get; set; }
[Required]
public DateTime ShipmentDate { get; set; }
public decimal Profit... |
using System;
using Newtonsoft.Json;
namespace Claytondus.Square.Models
{
public class SquareOrderHistory
{
[JsonProperty(PropertyName = "action")]
public string Action { get; set; }
[JsonProperty(PropertyName = "created_at")]
public DateTimeOffset CreatedAt { get; set; }
}
} |
using System;
using NUnit.Framework;
using Python.Runtime;
namespace Python.EmbeddingTest
{
public class TestNamedArguments
{
[OneTimeSetUp]
public void SetUp()
{
PythonEngine.Initialize();
}
[OneTimeTearDown]
public void Dispose()
{
... |
using System;
using JetBrains.Annotations;
using LiteGuard;
using Raven.Database.Bundles.Replication.Data;
namespace Mileage.Server.Infrastructure.Extensions
{
public static class StringExtensions
{
public static string AppendEmailSuffix([NotNull]this string self, string suffix)
{
... |
namespace DelegateDecompiler.EntityFramework.Tests.EfItems.Abstracts
{
public interface IPerson
{
[Computed]
string FullNameHandleNull { get; }
}
}
|
namespace Zen.App.Model.Audience {
public class ReferenceDefinition
{
public string Type { get; set; }
public string Payload { get; set; }
}
} |
using UnityEngine;
using System.Collections;
public class MuzzleFlashManager : MonoBehaviour {
[System.Serializable]
public class LightProperty{
public float LightDelay = 0,Intensity = 0,Range = 0,LightTime = 0;
public Color color = Color.red;
}
public LightProperty lightProperty;
// Use this for initializati... |
namespace EA.Iws.DocumentGeneration.Movement.Blocks.Factories
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Domain.Movement;
using Domain.NotificationApplication;
using Domain.NotificationApplication.Shipment;
internal class MovementBlockFactory : IM... |
using NUnit.Framework;
using AppInsightOwinDeepDive.Models;
using AppInsightOwinDeepDive.Services;
namespace AppInsightOwinDeepDive.IntegrationTests
{
[TestFixture]
public class SlackClientShould
{
[Test]
public void PostMessage()
{
string urlWithAccessToken = ""; // Us... |
using System.ComponentModel.DataAnnotations;
namespace ProjectTimeSheet.Models
{
public class UserViewModel
{
[Display(Name = "User ID")]
public int UserId { get; set; }
[Display(Name = "Department")]
public string Department { get; set; }
[Display(Name = "UserName")]... |
#region USING_DIRECTIVES
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using DSharpPlus.Entities;
using DSharpPlus.Interactivity;
using Freud.Common.Attributes;
using Freud.Database.Db;
using Freud.Modules.Search.Services;
using System.Linq;
using System.Threading.Tasks;
#endregion USING_D... |
using Kerberos.NET;
using Kerberos.NET.Crypto;
using Kerberos.NET.Entities;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
namespace Tests.Kerberos.NET
{
[TestClass]
public class ValidatorTests : BaseTest
{
... |
using Entitas;
using Smooth.Slinq;
namespace TowerDefenceLike
{
public class TearDownSystem : ITearDownSystem
{
private readonly Contexts m_contexts;
public TearDownSystem(Contexts contexts)
{
m_contexts = contexts;
}
public void TearDown()
... |
using System.Reflection;
namespace Checkout.Store.Contracts
{
public class ReflectionHelper {
public static Assembly ContractsAssembly = typeof(ReflectionHelper).GetTypeInfo().Assembly;
}
}
|
// Copyright 2021 Google Inc. 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 applica... |
using BeyondNet.App.Ums.Domain.Common.Interface;
namespace BeyondNet.App.Ums.Domain.Common.Impl
{
public class DomainEventHandle<TDomainEvent> : IHandles<TDomainEvent> where TDomainEvent : DomainEvent
{
private readonly IDomainEventRepository _domainEventRepository;
private readonly IRequestCo... |
using System;
using System.Collections.Generic;
using System.Text;
using Aspose.Words;
namespace _05._04_UsingControlCharacters
{
class Program
{
static void Main(string[] args)
{
Document doc = new Document("../../data/document.doc");
// Enter a dummy fi... |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Draconine
{
class clsDataGetter
{
const string API_KEY = "";
clsForecast current = new clsForecast();
... |
using Application.Parametros;
namespace Application.Features.Estados.Queries.ListarEstados
{
public class EstadosParametros : PaginacionDePeticion
{
public string Estatus { get; set; }
public string Nombre { get; set; }
public string VariableAbrev { get; set; }
}
}
|
namespace ATM_Case_Study
{
public abstract class ITransaction
{
public int AccountNumber { get; private set; }
public BankDatabase BankDatabase { get; private set; }
public ITransaction(int userAccountNumber, BankDatabase atmBankDatabase)
{
this.AccountNumbe... |
using System;
using System.Diagnostics;
using System.Globalization;
using System.Management.Automation;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
namespace MS.Dbg.Commands
{
[Cmdlet( VerbsCommunications.Connect, "DbgServer" )]
public class ConnectDbgServerComma... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.ApplicationModel.Core;
namespace StartupHelper
{
class Program
{
static AutoResetEvent areWeDone = new AutoResetEvent(false);
static ... |
using System.ComponentModel.DataAnnotations.Schema;
namespace Studies.models
{
[Table("eCommerce", Schema = "BazaDeDate")]
public class eCommerce : Business
{
public string URL { get; set; }
}
} |
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright 2020 Raritan Inc. All rights reserved.
//
// This file was generated by IdlC from TfwEvent.idl.
using System;
using System.Linq;
using LightJson;
using Com.Raritan.Idl;
using Com.Raritan.JsonRpc;
using Com.Raritan.Util;
#pragma warning disable 0108, 0219, 0414,... |
using WpfPrism72.CommonDialogs.InnerServices;
namespace WpfPrism72.CommonDialogs
{
/// <summary>コモンダイアログ表示用サービスクラスを表します。</summary>
public class CommonDialogService : ICommonDialogService
{
/// <summary>コモンダイアログを表示します。</summary>
/// <param name="settings">ダイアログと値を受け渡しするためのICommonDialogSettings。</param>
/// <r... |
@using ASPNETCore_NetFramework
@using ASPNETCore_NetFramework.Models
@using ASPNETCore_NetFramework.Models.AccountViewModels
@using ASPNETCore_NetFramework.Models.ManageViewModels
@using Microsoft.AspNetCore.Identity
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@inject Microsoft.ApplicationInsights.Extensibili... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
class Program
{
public const string ConnectionString = @"Server=.\SQLEXPRESS;Database=MinionsDb;Integrated Security=True;";
static void Main()
{
using var connection = new SqlConnection(ConnectionString);
connectio... |
using RingCentral.Sdk.TestApp.ViewModels;
using Windows.UI.Xaml.Controls;
namespace RingCentral.Sdk.TestApp.Views
{
public sealed partial class UserDialog : ContentDialog
{
public UserViewModel ViewModel = new UserViewModel();
public UserDialog()
{
this.InitializeComponent... |
using FluentAssertions;
using System.Collections.Generic;
using System.Linq;
using TenureInformationApi.V1.Infrastructure;
using Xunit;
namespace TenureInformationApi.Tests.V1.Infrastructure
{
public class EnumerableExtensionsTests
{
[Fact]
public void ToListOrEmptyTestNullReturnsEmpty()
... |
namespace JavaScriptEngineSwitcher.Core
{
/// <summary>
/// Defines a interface of JS engine factory
/// </summary>
public interface IJsEngineFactory
{
/// <summary>
/// Gets a name of JS engine
/// </summary>
string EngineName { get; }
/// <summary>
/// Creates a instance of JS engine
/// </summa... |
using System;
using UnityEngine;
using System.Collections.Generic;
[Serializable]
public class CameraScript : MonoBehaviour
{
public List<Transform> targets;
public float smoothingFactor;
public int zoom;
public Camera cam;
public int outer_percent;
public int inner_percent;
public void Start()
{
}
p... |
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents
{
/// <summary>Информация об МЧД и её текущем статусе проверки</summary>
public class DiadocPowerOfAttorneyInfo
{
/// <summary>Идентификатор подписанного с МЧД документа в пакете документов</summary>
public string DocumentEn... |
/*******************************************************************
* Copyright(c) #YEAR# #COMPANY#
* All rights reserved.
*
* 文件名称: #SCRIPTFULLNAME#
* 简要描述:
*
* 创建日期: #DATE#
* 作者: #AUTHOR#
* 说明:
******************************************************************/
public delegate void BaseAction();
public dele... |
namespace BeatSaberModManager.Services.Interfaces
{
public interface IModVersionComparer
{
int CompareVersions(string? availableVersion, string? installedVersion);
}
} |
using SanAndreasUnity.Utilities;
using UnityEngine;
namespace SanAndreasUnity.Behaviours.World
{
public enum TimeState { Dawn = 0, Noon = 90, Dusk = 180, Midnight = 270 }
// TODO: TimeFactor -> AngleFactor
public class WorldController : MonoBehaviour
{
public static WorldController Instance;
... |
using CyberCAT.Core.Classes.Mapping;
using CyberCAT.Core.Classes.NodeRepresentations;
namespace CyberCAT.Core.Classes.DumpedClasses
{
[RealName("WorldTransform")]
public class WorldTransform : GenericUnknownStruct.BaseClassEntry
{
[RealName("Position")]
public WorldPosition Position { get; ... |
// <copyright file="GeometryHelper.cs" company="IIASA">
// Copyright (c) IIASA. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
namespace TileCacheService.Shared.Helpers
{
using System;
using System.Collections.Generic;
usin... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Lightest.Data.Models;
using Lightest.Data.Models.TaskModels;
using Microsoft.AspNetCore.Mvc;
using Moq;
using Xunit;
namespace Lightest.Tests.Api.Tests.TasksController
{
public class SetLanguages : BaseTest
{
protected readonly TaskL... |
namespace CoinbasePro.Specs.JsonFixtures.Services.Accounts
{
public static class AccountByIdResponseFixture
{
public static string Create()
{
var json = @"
{
""id"": ""e316cb9a-0808-4fd7-8914-97829c1925de"",
""balance"": ""1.100"",
""holds"": ""0.100"",
""available""... |
using System;
namespace FappSettings
{
public static class AppSettings
{
public static string ValueOf(Func<dynamic, string> func, bool allowNull = false)
{
return func(new AppSettingValues(typeof(string), allowNull));
}
public static bool TryValueOf(Func<dynamic, st... |
namespace AutoTest.Core.FileSystem
{
using System;
public interface IDirectoryWatcher : IDisposable
{
bool IsPaused { get; }
void LocalConfigurationIsLocatedAt(string path);
void Pause();
void Resume();
void Watch(string path);
}
} |
using Newtonsoft.Json;
namespace Zilon.Core.Persons
{
/// <summary>
/// Структура для работы с данными работы по атаке актёра.
/// </summary>
/// <remarks>
/// Одновременно можеть быть заполнено либо <see cref="WeaponTags" />, либо <see cref="MonsterTags" />.
/// </remarks>
public sealed c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Orchard.ImageGallery.Models.Plugins.SlideViewerPro
{
public class SlideViewerPro : ImageGalleryPlugin {
private readonly SlideViewerProSettings _settings;
public SlideViewerPro(SlideViewerProSettings slideVie... |
using MGen.Builder.BuilderContext;
using System;
using System.Linq;
namespace MGen.Builder.Writers
{
partial class WriteDefaultConstructor
{
public bool HasDefaultConstructor { get; set; }
public static readonly WriteDefaultConstructor Instance = new();
}
partial class WriteDefaultCo... |
using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Input.Platform;
using Avalonia.LogicalTree;
using Avalonia.Markup.Xaml;
using Prism.Commands;
namespace WDE.DatabaseEditors.Avalonia.Views.Template
{
public class TemplateDbTableEditorView : UserControl
{
public TemplateDbTab... |
using System;
using Dirichlet.Numerics;
using Scripts.Maths;
using UnityEngine;
namespace Currencies
{
[Serializable]
public class Price
{
[Tooltip("Null if IAP.")]
public Currency Currency;
[SerializeField]
private ulong Amount;
[SerializeField]
... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using PairedDeviceManager.Contract.Requests.Hubs;
using PairedDeviceManager.Contract.Responses;
using PairedDeviceManager.Contract.Responses.Hubs;
using PairedDeviceManager.Services;
namespace PairedDeviceManager.Api.Controllers
{
/// <summary>
///... |
using System.Windows.Forms;
namespace FarsiLibrary.WinFormDemo.Pages
{
partial class BindingToDataSet
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resour... |
#region License
/*
* All content copyright Marko Lahma, unless otherwise indicated. 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.o... |
using Grpc.Core;
using Microsoft.Extensions.Logging;
using ow.Framework.IO.Network.Relay.Attrubutes;
using ow.Framework.IO.Network.Relay.World.Server.Protos.Requests;
using ow.Framework.IO.Network.Relay.World.Server.Protos.Responses;
using ow.Service.World.Game;
using System.Threading.Tasks;
using static ow.Framework.... |
using System.Threading.Tasks;
using Customers.Application.Interfaces;
using Customers.Application.Models;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace Customers.Test
{
public class Test : IClassFixture<DependencySetupFixture>
{
private readonly ServiceProvider _serviceProvider... |
using UnityEngine;
using System.Collections;
public class NetworkManager : MonoBehaviour {
private const string room = "mainRoom";
private const string version = "0.1a";
public bool offlineMode = true;
private bool connecting = false;
// Use this for initialization
void Connect()
... |
using System;
using System.IO;
namespace White.Repository.ScreenFlow
{
public class StringGraphWriter
{
private class Digraph
{
public const string Start = "digraph G {";
public const string End = "}";
public const string RedEdge = @"edge [color=re... |
using System;
using System.Diagnostics;
using System.Reflection;
using DevExpress.Logify.Core;
namespace DevExpress.Logify.Core.Internal {
public class AssemblyCollector : IInfoCollector {
readonly Assembly asm;
readonly string name;
public AssemblyCollector(Assembly asm) {
th... |
using System;
namespace lm.Comol.Core.DomainModel
{
[Serializable(), CLSCompliant(true)]
public enum ItemRepositoryStatus
{
FolderCreated = 1,
FileUploaded = 2,
ChangeSaved = 3,
Impersonated = 4,
Deleted = 5,
EditError = -1,
UploadError = -2,
... |
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using Pantheon.Core.Application.Dto.Reads;
using Pantheon.Core.Applic... |
// <copyright file="AgentTelemetryEventGenerator.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
using Microsoft.Azure.IoT.Agent.Core.AgentTelemetry;
using Microsoft.Azure.IoT.Contracts.Events;
using Microsoft.Azure.IoT.Contracts.Events.OperationalEvents;
using Mi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace fifo_animal_shelter.Classes
{
public class Shelter
{
/// <summary>
/// set Shelter properties
/// </summary>
public Animal Front { get; set; }
public Animal Rear { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RandomDirectionGenerator
{
private class WeightedDirection
{
public Direction direction;
public int weight;
public WeightedDirection(Direction direction, int weight)
{
this.... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace Programatica.Saft.Models
{
[XmlRoot(ElementName = "Line", Namespace = "urn:OECD:StandardAuditFile-Tax:PT_1.04_01")]
public class Line : ILine
{
[XmlElement(ElementName = "LineNumber", Names... |
/*
* This file is part of Taichi project.
*
* (c) MuGuangyi <muguangyi@hotmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Taichi.Asset.Editor.Internal
{
internal class SpriteNode : AssetNode
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Nucleo.Logs
{
public class LogVerbosityType
{
private string _name = null;
private byte _level = 0;
#region " Properties "
public byte Level
{
get { return _level; }
}
public string Name
{
get { return _name; }
... |
namespace Clide
{
/// <summary>
/// Interface implemented by the references node in a project.
/// </summary>
public interface IReferencesNode : IProjectItemNode
{
}
}
|
using System;
using System.Collections.Generic;
namespace ByteCrusher.Addition
{
public class AsciiCode
{
private readonly Dictionary<string, string> _colorsByPattern = new Dictionary<string, string>();
private readonly Dictionary<string, string> _backgroundByPattern = new Dictionary<string, string>();
... |
using System;
namespace Sawmill
{
public static partial class Rewriter
{
/// <summary>
/// Rebuild a tree by repeatedly applying a transformation function to every node in the tree,
/// until a fixed point is reached. <paramref name="transformer"/> should always eventually return
... |
using Unity.Burst;
using Unity.Collections;
using Unity.Entities;
using Unity.Jobs;
using Unity.Mathematics;
using Unity.Transforms;
namespace Main.ECS
{
// 衝突判定プリミティブの更新
[UpdateInGroup(typeof(CollisionUpdateGroup))]
sealed class UpdateColliderSystem : JobComponentSystem
{
[BurstCompile]
... |
using System;
using System.Collections.Generic;
using BookLovers.Base.Domain.Events;
namespace BookLovers.Publication.Events.Book
{
public class BookHashTagsChanged : IEvent
{
public Guid Guid { get; private set; }
public Guid AggregateGuid { get; private set; }
public IList<string> ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BFS : MonoBehaviour {
public GameObject[] nodes;
List<int>[] adjacencyList;
void Start()
{
// create an adjacencyList as List<int>[]
adjacencyList = new List<int>[nodes.Length];
... |
using System.Threading;
namespace Chubrik.Kit
{
public static class CancellationTokenExtensions
{
public static CancellationTokenSource CreateLinkedSource(this CancellationToken cancellationToken) =>
CancellationTokenSource.CreateLinkedTokenSource(cancellationToken);
}
}
|
using System.IO;
using Spike.CryptographyService.Models.DigitalSigning;
namespace CryptographyService.Contracts
{
public interface ICryptographyService
{
string Encrypt(string serializedObject, string salt);
string Decrypt(string encryptedContent, string salt);
SigningOutput SignCon... |
using Xunit;
using Xunit.Abstractions;
namespace Sylvan.BuildTools.Data.Tests
{
[Collection("MSBuild")]
public class SylvanDataCodeGenTests : MSBuildTest
{
public SylvanDataCodeGenTests(ITestOutputHelper testOutputHelper)
: base(testOutputHelper) { }
[Fact(Skip = "This test is flakey, and it works in practi... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Tibialyzer {
public partial class SummaryTab : Form, TabInterface {
public Summary... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Http;
using App.Models;
namespace App.Pages
{
public class AddAlbumModel : PageModel
{
[Bin... |
public static class Constants
{
public static readonly string AcceptedContentType = "application/dns-message";
public static readonly StringComparison IgnoreCase = StringComparison.InvariantCultureIgnoreCase;
public static readonly string GET = HttpMethod.Get.ToString();
public static readonly string PO... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Webprofusion.Scalex.Util;
namespace Webprofusion.Scalex.Rendering
{
public interface IGenericDrawingSurface
{
void DrawString(double x, double y, string text);
void DrawString(double x, double y, strin... |
namespace AngleSharp.Performance.Css
{
using System;
using ExCSS;
class ExCssParser : ITestee
{
public String Name => "ExCSS";
public Type Library => typeof(Parser);
public void Run(String source)
{
var parser = new Parser();
parser.Parse(sourc... |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... |
namespace Microsoft.Protocols.TestSuites.MS_ASCNTC
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Threading;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestTools;
using DataStructu... |
// Copyright (c) Valdis Iljuconoks. All rights reserved.
// Licensed under Apache-2.0. See the LICENSE file in the project root for more information
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using DbLocalizationProvider.Abst... |
// 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.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
usi... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite CSharp Client
* Copyright (C) 2006, 2007, 2009, 2010 Zimbra, Inc.
*
* The contents of this file are subject to the Zimbra Public License
* Version 1.3 ("License"); you may not use this file except in
* compliance with the License. You may obtain... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using Uavcan.NET.IO.Can;
using Uavcan.NET.IO.Can.Drivers;
namespace Uavcan.NET
{
public class TxToken : IDisposable
{
IEnumerable<ICanInterface> _drivers;
public TxToken(IEnumerable<ICanInterface> drive... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Threading;
namespace ControlAgent
{
class Server
{
private Logger _logger;
private Thread _thread;
private Boolean _running = false;
private readonly Manua... |
using System;
using Newtonsoft.Json;
namespace PublishUtil
{
internal sealed class PackageGroup : IPackageGroup
{
[JsonConstructor]
public PackageGroup(
string id,
string[] dependencies)
{
Dependencies = dependencies;
Id = id;
}
... |
namespace Ignition.Foundation.Search.Results
{
public interface ISearchOptionsFactory
{
ISearchOptions<T> CreateSearchOptions<T>();
}
} |
using System;
namespace Socks5
{
internal class LogItem
{
/// <summary>
/// 时间
/// </summary>
internal DateTime Date { get; set; }
/// <summary>
/// 日志级别
/// </summary>
internal LogType LogType { get; set; }
/// <summary>
/// 错误信... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.