content stringlengths 23 1.05M |
|---|
using Common;
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace WebApi.Configuration
{
internal class ConfigReader : IConfiguration
{
#region Fields
private ushort transactionId = 0;
private byte unitAddress;
private int tcp... |
/*
Copyright 2006 - 2010 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.CommunityToolkit.ObjectModel;
using Xamarin.Essentials;
using Xamarin.Forms;
namespace Svg.Skia.Forms.Sample
{
/// <summary>
/// View model for the sample page, providing so... |
using Universalis.Mogboard.Entities;
using Universalis.Mogboard.Entities.Id;
namespace Universalis.Mogboard.Identity;
public class MogboardAuthenticationService : IMogboardAuthenticationService
{
private readonly IMogboardTable<User, UserId> _users;
private readonly IMogboardSessionTable _sessions;
publ... |
// Doc/Reference/Logging.md
#if !(UNITY_EDITOR || DEBUG)
#define AL_OPTIMIZE
#endif
#if !AL_OPTIMIZE
using Active.Core;
using Active.Core.Details;
using F = Active.Core.Details.StatusFormat;
using L = System.Runtime.CompilerServices.CallerLineNumberAttribute;
using V = Active.Core.Details.ValidString;
using M = S... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MeleeWeapon : MonoBehaviour
{
public int Damage = 10;
private void OnTriggerEnter(Collider other)
{
if(other.GetComponent<DamageObjectInterface>() != null && !other.CompareTag("Player"))
{
... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Rhino.Geometry;
using Rhino.Display;
namespace SpeckleRhino
{
/// <summary>
/// kudos to Luis @fraguada
/// </summary>
public class SpeckleDisplayConduit : Rhino.Di... |
using Genesis.Cli.Extensions;
using Genesis.Output;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Genesis.Cli.Commands
{
public class DepsCommand : GenesisCommand
{
public override string Name => "deps";
public override string Descri... |
using JNCC.PublicWebsite.Core.Constants;
using System.Web.Mvc;
namespace JNCC.PublicWebsite.Core.Extensions
{
public static class TempDataDictionaryExtensions
{
public static void SetSuccessFlag(this TempDataDictionary tempData, string key = SuccessFlags.Default)
{
tempData.Add(key... |
// Copyright (c) 2013 Richard Long & HexBeerium
//
// Released under the MIT license ( http://opensource.org/licenses/MIT )
//
using System;
using System.Collections.Generic;
using System.Text;
namespace dotnet.lib.CoreAnnex.json
{
public interface JsonDocumentHandler
{
///////////////... |
using System;
using System.Threading.Tasks;
using Fibon.Messages.Commands;
using Fibon.Messages.Events;
using RawRabbit;
namespace Fibon.Service.Handlers
{
public class CalculateValueCommandHandler : ICommandHandler<CalculateValueCommand>
{
private readonly IBusClient busClient;
public Calculat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Umbraco.Core.Composing;
namespace Our.Umbraco.ContentList.DataSources.Listables
{
public class ListableDataSourceFactory
{
static readonly object LockObj = new object();
public virtual IListableD... |
public interface IKs { }
public class GoodCar { }
public class BadCar { public BadCar(string message) { } }
public class OfficeCamper : GoodCar, IKs { }
public class CarValue<T> where T : struct { } // 값 형식만
public class CarReference<T> where T : class { } // 참조 형식만
public class CarNew<T> where T : new() { } // Defaul... |
using System;
using System.Collections.Generic;
namespace Exceptionless.Core.Repositories {
public class OneOptions : QueryOptions {
public OneOptions() {
Fields = new List<string>();
}
public List<string> Fields { get; set; }
public string CacheKey { get; set; }
... |
using Content.Shared.Administration.Logs;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;
namespace Content.Client.Administration.UI.CustomControls;
public class AdminLogLabel : RichTextLabel
{
public AdminLogLabel(ref SharedAdminLog log, HSeparator separator)
{
Log = l... |
using System;
using System.Collections.Generic;
using SierpinskiFractal.Data;
namespace SierpinskiFractal
{
public class Triangle:ITriangle
{
public delegate void TriangleMessageHandler(string message);
public delegate void TrianglePointsHandler(object point);
public event TrianglePoi... |
using System.Collections.Generic;
using TipsTrade.HMRC.Api.Model;
namespace TipsTrade.HMRC.Api.CreateTestUser.Model {
/// <summary>Represents a model that provides a list of service names.</summary>
public interface ICreateTestUserRequest {
/// <summary>The list of services that the user should be enrolled fo... |
using System.Collections.ObjectModel;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Navigation;
namespace AppStudio.Uwp.Samples
{
[SamplePage(Category = "LayoutControls", Name = "Pivorama", Order = 20)]
public sealed partial class PivoramaPage : SamplePage
{
public PivoramaPage()
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace RabbitMQ.Client.Impl
{
public struct MethodArgumentWriter
{
private byte _bitAccumulator;
private int _bitMask;
private bool _needBitFlush;
public int Offset { get; private set; }
public ... |
//-----------------------------------------------------------------------
// <copyright file="PolylineUtils.cs" company="Mapbox">
// Copyright (c) 2016 Mapbox. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Mapbox.Utils
{
using System;
us... |
using System.Threading.Tasks;
using Volo.Abp.Data;
using Volo.Abp.DependencyInjection;
using Volo.Abp.EventBus.Distributed;
namespace LINGYUN.Abp.IM.Messages
{
public class MessageSender : IMessageSender, ITransientDependency
{
protected IDistributedEventBus EventBus { get; }
public MessageSen... |
using System.Threading;
namespace Fluxor.UnitTests.StoreTests.UnhandledExceptionTests.SupportFiles
{
public class ThrowSimpleExceptionAction
{
public ManualResetEvent TriggerHasFinished { get; } = new(initialState: false);
}
}
|
using EPDM.Interop.epdm;
using System;
using System.Linq;
using System.Runtime.InteropServices;
namespace PdmCardVariableUpdate
{
[ComVisible(true)]
[Guid("9AD5B02B-5027-4751-BBC3-6EF4AE6E3206")]
public class ButtonPdmAddIn : IEdmAddIn5
{
private const string BUTTON_TAG = "_UpdateDesc_";
... |
@model cloudscribe.SimpleContent.ContentTemplates.ViewModels.SectionsWithImageViewModel
@{
Layout = "_LayoutEmpty";
}
<partial name="@Model.Layout" model="Model" />
|
using System;
using System.Collections.Generic;
namespace Mutations
{
class RealOneFifthRuleMutationES11Adaptation : ARealMutationES11Adaptation
{
private const double OneFifth = 0.2;
private readonly int archiveSize;
private readonly double modifier;
private int successCount... |
using System;
namespace website_performance
{
public class RobotsDoesNotContainSitemaps : Exception
{
}
} |
namespace ParseDiff
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
internal class DiffParser
{
const string noeol = "\\ No newline at end of file";
const string devnull = "/dev/null";
... |
namespace OzekiDemoSoftphone.PM.Data
{
/// <summary>
/// Keep alive settings data.
/// </summary>
public class KeepAliveSettingInfo
{
/// <summary>
/// The desired interval of keep alive packets in seconds.
/// </summary>
public int Interval { get; private set; }
... |
/*
Copyright 2010 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... |
// Copyright (c) 2021 Keen Software House
// Licensed under the MIT license.
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json;
using System.Text.Json.Serialization;
using Unreal.Converters;
using Unreal.NativeMetadata;
namespace Unreal
{
public class MetadataCollector
{
... |
using Google.Apis.Services;
using Google.Apis.YouTube.v3;
using Newtonsoft.Json;
using Organize_YT.Models;
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Organize_YT.Data
{
public class ChannelData
{
public async Task<Strin... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.Arcade.Common;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using NuGet.Frameworks;
using NuGet.Packaging;
using NuGet.Packaging.Core;
using NuGe... |
namespace DCET
{
/// <summary>
/// 每个Config的基类
/// </summary>
public interface IConfig
{
long _id { get; set; }
}
} |
using RulesEngine.Models;
using System;
using System.Collections.Concurrent;
using System.Linq;
namespace RulesEngine
{
/// <summary>Maintains the cache of evaludated param.</summary>
internal class ParamCache<T> where T : class
{
/// <summary>
/// The compile rules
/// </summary>
... |
namespace Xamarin.Android.Tasks.LLVMIR
{
// See: https://llvm.org/docs/LangRef.html#module-flags-metadata
static class LlvmIrModuleMergeBehavior
{
public const int Error = 1;
public const int Warning = 2;
public const int Require = 3;
public const int Override = 4;
public const int App... |
// 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.CommandLine.Binding;
using System.CommandLine.Invocation;
namespace System.CommandLine;
public static partial class Handler
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
using GSF.Data.Model;
namespace openSPM.Model
{
[Table("HistoryView")]
public class HistoryView
{
[PrimaryKey(true)]
public int PatchStatusI... |
namespace KanbanBoard.WebApi.Repositories.QueryBuilder
{
public interface IPatchQueryBuilder<TPatchParams>
{
(string query, TPatchParams queryParams) Build();
}
}
|
using System.Threading.Tasks;
using Service.Liquidity.Monitoring.Domain.Models;
using Service.Liquidity.Monitoring.Domain.Services;
using Service.Liquidity.Monitoring.Grpc;
using Service.Liquidity.Monitoring.Grpc.Models;
namespace Service.Liquidity.Monitoring.Services
{
public class AssetPortfolioSettingsManager ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine.SceneManagement;
using System.IO;
public class ReadyForExport {
[MenuItem("Tools/MakeSpriteInfo")]
static void MakeSpriteInfo()
{
... |
namespace LzhamWrapper
{
public static class LzhamConsts
{
public const uint MinDictionarySizeLog2 = 15;
public const uint MaxDictionarySizeLog2X86 = 26;
public const uint MaxDictionarySizeLog2X64 = 29;
public const uint MaxHelperThreads = 64;
}
} |
@{
ViewBag.Title = "InformationItemEdit";
Layout = "~/Views/Shared/_LayoutBlank.cshtml";
}
<link rel="stylesheet" type="text/css" href="/Scripts/wangEditor/css/wangEditor.min.css">
<script type="text/javascript" src='/Scripts/wangEditor/js/wangEditor.min.js'></script>
<style>
.wangEditor-container .wangE... |
using FakeBackend;
using System.Web.UI;
namespace SessionDemo
{
public partial class ItemTr : UserControl
{
public Item Item { get; set; }
}
} |
using Newtonsoft.Json;
using Paribu.Net.Attributes;
using System.Collections.Generic;
namespace Paribu.Net.RestObjects
{
public class ParibuMarketData
{
public ParibuOrderBook OrderBook { get; set; }
public IEnumerable<ParibuTrade> Trades { get; set; }
public ParibuChartData ChartDat... |
using System;
using System.Collections;
namespace RBWINDOW_SOURCE_NOV_2017
{
/// <summary>
/// STORAGE CLASS FOR EACH ELEMENT IN FILE
/// objname REFERS TO HEADER NAME
/// fieldArray REFERS TO ARRAY CONTAINING EACH VALUE AFTER
/// </summary>
class Fields
{
... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace consumer_lib
{
#pragma warning disable CS0649
public struct WeatherForecast
{
public DateTime date;
public int temperatureC;
public in... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Titanfall2_SkinTool.Titanfall2.WeaponData.Default.Titan
{
class BroadSword
{
public struct ReallyData
{
public string name;
public long seek;
... |
using Fusee.Engine.Common;
using Fusee.Math.Core;
namespace Fusee.Engine.Core
{
/// <summary>
/// Base class for various collision shape types.
/// </summary>
public class CollisionShape
{
/// <summary>
/// The implementation object.
/// </summary>
internal ICollisi... |
using UnityEngine;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEditor.iOS.Xcode;
using System;
using System.IO;
//=============================================================================
// This PostProcessor does all annoying Xcode steps automatically for us
//=====================================... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace WeChatSDK.Model
{
[Serializable]
[XmlRoot("xml")]
public class WxReceiveMsg
{
public Int64 MsgId { get; set; }
[XmlText]
p... |
namespace Cortside.SqlReportApi.WebApi.Models.Responses {
/// <summary>
/// Configuration
/// </summary>
public class ConfigurationModel {
/// <summary>
/// HotDocs Url
/// </summary>
public string HotDocsUrl { get; set; }
/// <summary>
/// Nautilus Url
... |
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
using VRC.Udon;
namespace Player
{
/// <summary>
/// Basic gameobject toggle on key press script.
/// </summary>
public class KeyToggle : UdonSharpBehaviour
{
[Tooltip("State of game objects when scene is loaded.")]
public bool... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using M_url.Data.ResourceParameters;
using M_url.Data.Helpers;
using M_url.Domain.Entities;
namespace M_url.Data.Repositories
{
public interface IMurlRepository
{
Task<PagedList<SlugEntity>> GetAllSlugsAsync(SlugsResourcePar... |
using System.Windows.Forms;
namespace Gma.UserActivityMonitorDemo
{
public partial class TestFormComponent : Form
{
public TestFormComponent()
{
InitializeComponent();
}
#region Event handlers of particular events. They will be activated when an appropriate checkbo... |
using loon.action.map;
using loon.utils;
namespace loon.geom
{
public class Vector2f : XY
{
private static readonly Array<Vector2f> _VEC2_CACHE = new Array<Vector2f>();
public readonly static Vector2f STATIC_ZERO = new Vector2f();
public static Vector2f TMP()
{
V... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Dynamic;
namespace UnitTestImpromptuInterface
{
public class TestMethodAttribute : Attribute
{
}
public class TestClassAttribute : Attribute
{
}
public class... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using ModestTree;
using UnityEngine.TestTools;
using Assert=ModestTree.Assert;
using Zenject;
#if ZEN_SIGNALS_ADD_UNIRX
using UniRx;
#endif
namespace ZenjectSignalsAndSignals.Tests
{
... |
using Microsoft.EntityFrameworkCore;
using OpenHouse.Core.Services.Interfaces;
using OpenHouse.Core.Web.Services.Interfaces;
using OpenHouse.Model.Core.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OpenHouse.Core.Services
{
public class AlertServ... |
using RCommon.Configuration;
using RCommon.DependencyInjection;
using System;
namespace RCommon.Persistence
{
/// <summary>
/// Base interface implemented by specific data configurators that configure RCommon data providers.
/// </summary>
public interface IObjectAccessConfiguration : IRCommonConfigu... |
using Newtonsoft.Json;
namespace XamarinActivator.Models
{
internal class XamarinUser
{
[JsonProperty("Company")]
public string Company;
[JsonProperty("Email")]
public string Email;
[JsonProperty("FirstName")]
public string FirstName;
[JsonProperty("Gu... |
namespace FootballApp.API.Dtos
{
public class MatchStatusToReturnDto
{
public bool Checked { get; set; }
public bool Confirmed { get; set; }
}
} |
namespace _6.GraphicalWebCounterUsingDb
{
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Drawing.Text;
using System.IO;
using System.Text;
using System.Web;
public class TextToImageHttpHandler : IHttpHandler
{
... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
namespace ProjectW... |
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Database.Entities;
namespace Database
{
public class SchoolContext : DbContext
{
public SchoolContext(DbContextOptions<SchoolContext> options) : base(options)
{ ... |
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.IdentityModel.Tokens;
namespace API.ServicesConfigurations
{
internal static class AuthenticationConfiguration
{
... |
namespace MvcForum.Web.ViewModels.Post
{
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using Application;
public class MovePostViewModel
{
public PostViewModel Post { get; set; }
public IList<SelectListItem> LatestTopics { get; set; }
[ForumMvc... |
using System;
namespace Magic
{
class A
{
public void Method()
{
Foo()();
}
static Action Foo() => null;
}
}
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class GenericTypeParameterBuilderMakeArrayType
{
[Fact]
public void MakeArrayType()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Calendar.Dart
{
internal partial class JokersPanel : ThemedPanel
{
public JokersPanel()
{
InitializeComponent();
JokerControls = new List<JokerControl>
{
jokerContr... |
using ServiceStack.Text;
using System;
using System.IO;
using System.Linq;
namespace CsvJoin.Utilities
{
public static class CsvUtilities
{
public static string[] ReadHeader(string directory, string fileName)
{
string path = Path.Combine(
Environment.CurrentDirector... |
// HeaderSection.cs
// Created by: Adam Renaud
// Created on: 2018-01-05
// System Using Statements
using System.Collections.Generic;
using System.Linq;
// Internal Using Statements
namespace DxfLibrary.Parse.Sections
{
/// <summary>
/// Class that contains all of the properties for the header of the
/// ... |
using System;
using System.Data;
namespace Arch.Data.Orm.sql
{
public class SqlColumn : IColumn
{
public SqlColumn(ITable table, String name, IDataBridge data)
{
Ordinal = -1;
Table = table;
Name = name.ToLower();
Data = data;
... |
using System;
namespace VinilEcommerce.Infrastructure.Data.DataBase.Disk.Services.Spotify
{
public class SpotifyDateDataBaseRequest
{
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public int Page { get; set; }
public int RecordsNumber { get; s... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using NUnit.Framework;
using Rebus.AzureStorage.Transport;
using Rebus.Messages;
using Rebus.Tests;
using Rebus.Tests.Contracts.Transports;
using Rebus.Time;
namespace Rebus.AzureStorage.Tests.Transport
{
[TestFixture, Categ... |
using System;
using System.IO.Compression;
namespace MonoGame.Imaging.Coders.Formats.Png
{
[Serializable]
public class PngEncoderOptions : EncoderOptions
{
public CompressionLevel CompressionLevel { get; }
public PngEncoderOptions(CompressionLevel compression)
{
Compre... |
// GENERATED AUTOMATICALLY FROM 'Assets/InputMaster.inputactions'
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.Utilities;
public class @InputMaster : IInputActionCollection, IDisposable
{
public InputActionAsset asset { get;... |
using System.Collections.Generic;
namespace Satsuma
{
public sealed class ReverseGraph : IGraph, IArcLookup
{
private IGraph graph;
public static ArcFilter Reverse(ArcFilter filter)
{
return filter switch
{
ArcFilter.Forward => ArcFilter.Backward,
ArcFilter.Backward => ArcFilter.Forward,
_... |
using System;
namespace Strategy
{
public interface IProduct
{
decimal SellingPrice();
bool IsOnSale();
}
} |
using SimPaulOnbase.Core.Boundaries.Customers;
namespace SimPaulOnbase.Core.UseCases.Customers
{
/// <summary>
/// CustomerIntegrationUseCase interface
/// </summary>
public interface ICustomerIncompledIntegrationUseCase
{
CustomerIntegrationOutput Handle();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Text;
namespace Tohasoft.Net.Extension
{
public static class StaticExtensions
{
public static IPAddress[] GetAllSubnet(this IPA... |
namespace Masa.Framework.Admin.Service.Authentication.Application.Permissions.Queries;
public class PermissionDetailQueryValidator : AbstractValidator<PermissionDetailQuery>
{
public PermissionDetailQueryValidator()
{
RuleFor(query => query)
.NotNull().WithMessage($"Parameter error");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using CapaDatos;
namespace CapaNegocio
{
public class NVenta
{
//Método insertar que llama al método insertar de la clase dcategoria
//de la cap... |
using AspNet.Dev.Pkg.Infrastructure.Controller;
using AspNet.Dev.Pkg.Infrastructure.Interface;
using Microsoft.AspNetCore.Mvc;
namespace AspNet.Dev.Pkg.Demo.Controllers
{
[ApiController]
[Route("[controller]")]
public class DemoController : CrudController<Demo, DemoGet, DemoCreate>
{
public De... |
//_______________________________________________________________
// Title : ToolStripMenuItemInfo
// System : Microsoft VisualStudio 2013 / C#
// $LastChangedDate$
// $Rev$
// $LastChangedBy$
// $URL$
// $Id$
//
// Copyright (C) 2015, CAS LODZ POLAND.
// TEL: +48 (42) 686 25 47
// mailto://tec... |
using FluentAssertions;
using NUnit.Framework;
using Testing.Common.Domain.TestClasses;
namespace ServiceLayer.UnitTests.Models.DataResult_2.Operators.Implicit
{
public class From_SuccessResult : UnitTestBase
{
private readonly SuccessResult<TestData> _successResult = new SuccessResult<TestData>(new T... |
using System.IO;
using System;
using System.Runtime.Serialization.Formatters.Binary;
using System.Reflection;
namespace DCL_Core.Wallet
{
class FileBinIO
{
public static void WriteBin(byte[] _storage, string _fileName)
{
//Write to wallet file
String FileFolder = AppDom... |
namespace Semantity
{
using Definitions;
public class PicoSecond : Unit<Time>
{
public static PicoSecond Instance { get; } = new PicoSecond();
public override string Symbol => "ps";
public override double FactorToBaseUnit => 1.0e-12;
}
} |
using AtCoderBeginnerContest127.Questions;
using AtCoderBeginnerContest127.Extensions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace AtCoderBeginnerContest127.Questions
{
public class QuestionB : AtCoderQuestionBase
{
public override I... |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
namespace Elastic.Ingest
{
public enum ConnectionPoolType
{
Unknown = 0,
SingleNode,
Sniffing,
Static,
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Stashbox.Utils.Data
{
internal class Stack<TValue> : ExpandableArray<TValue>
{
public new static Stack<TValue> FromEnumerable(IEnumerable<TValue> enumerable) =>
new(enumerable);
public Stack()
{ }... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace com.bitscopic.hilleman.core.domain
{
[Serializable]
public class Message
{
public String from;
public String to;
public String subject;
public String body;
p... |
namespace Orc.Automation
{
using System;
public class AutomationEventArgs : EventArgs
{
public string EventName { get; set; }
public object Data { get; set; }
}
}
|
//
// Copyright (c) XSharp B.V. All Rights Reserved.
// Licensed under the Apache License, Version 2.0.
// See License.txt in the project root for license information.
//
using Antlr4.Runtime;
using Antlr4.Runtime.Misc;
using Antlr4.Runtime.Tree;
using LanguageService.CodeAnalysis.XSharp.SyntaxParser;
using System.C... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DroneVectors : MonoBehaviour {
// Use this for initialization
Rigidbody drone_body;
LineRenderer velocity_renderer;
public float velocity_scale = 0.3f;
void Start () {
drone_body = gameObject.GetCompo... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Middle.cs" company="Microsoft Corporation">
// Copyright (c) 2008, 2009, 2010 All Rights Reserved, Microsoft Corporation
//
// This source is subject to the Microsoft Permissiv... |
using System.Text.Json.Serialization;
namespace Dec.DiscordIPC.Entities {
/// <summary>
/// Used to represent a user's voice connection status.
/// </summary>
public class VoiceState {
/// <summary>Whether this user is deafened by the server</summary>
[JsonPropertyName("deaf")]
... |
using Entities.Enums;
using System;
namespace Entities.Products
{
public class PizzaSize : Entity
{
public int FlvorsQty { get; set; }
public string SizeRemark { get; set; }
public double AdditionalPrice { get; set; }
public Status SizeStatus { get; set; }
public DateTi... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... |
using System;
using System.IO;
namespace CursoCSharp.Api
{
public static class ExtensaoString {
public static string ParseHome(this string path) {
string home = (Environment.OSVersion.Platform == PlatformID.Unix ||
Environment.OSVersion.Platform == PlatformID.MacOSX)
... |
using System.Collections.Generic;
using System.Linq;
using ScheduledPublish.Extensions;
using ScheduledPublish.Models;
using Sitecore;
using Sitecore.Data.Items;
using Sitecore.Diagnostics;
using System;
using System.Net;
using System.Net.Mail;
using Sitecore.Security.Accounts;
namespace ScheduledPublish.Smtp
{
/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.