content stringlengths 23 1.05M |
|---|
namespace ProSuite.Commons.Validation
{
public interface IValidated
{
void Validate(Notification notification);
}
} |
using System.Windows;
namespace Restless.Tools.Converters
{
/// <summary>
/// Provides option values that may be passed to <see cref="BooleanToVisibilityMultiConverter"/>
/// that affect how the converter evaluates the passed boolean values.
/// </summary>
public enum BooleanToVisibilityMultiConve... |
using Newtonsoft.Json;
namespace TinderApp.Lib
{
public class UpdatesResponse
{
[JsonProperty("blocks")]
public string[] Blocks { get; set; }
[JsonProperty("deleted_lists")]
public object[] DeletedLists { get; set; }
[JsonProperty("last_activity_date")]
public... |
using System;
using System.Reflection;
namespace DanSerialiser.Reflection
{
internal sealed class MemberAndReader<T> where T : MemberInfo
{
public MemberAndReader(T member, Func<object, object> reader)
{
Member = member ?? throw new ArgumentNullException(nameof(member));
Reader = reader ?? throw new Argum... |
namespace ScriptableObjectArchitecture
{
[System.Serializable]
public sealed class CharReference : BaseReference<char, CharVariable>
{
public CharReference() : base() { }
public CharReference(char value) : base(value) { }
}
} |
using System.Collections;
using System.Collections.Generic;
using UniRx;
using UnityEngine;
using UnityEngine.UIElements;
public abstract class View<VM> : MonoBehaviour where VM:ViewModel<VM>
{
[SerializeField]
protected UIDocument document;
[SerializeField]
private VM viewModel;
CompositeDisposa... |
using System;
using System.Collections.Generic;
namespace Shelfy.Infrastructure.Commands.Book
{
public class UpdateBook
{
public string Title { get; set; }
public string OriginalTitle { get; set; }
public IEnumerable<Guid> AuthorsIds { get; set; }
public string Description { ge... |
using System.Collections.Generic;
using Bewit.Http.Endpoint;
using Bewit.Validation;
using FluentAssertions;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace Bewit.Extensions.Http.Tests
{
public class ServiceCollectionExtensionsTests
{
[Fa... |
using System;
using System.Diagnostics;
using System.Windows.Forms;
namespace DataTerminalProject
{
public partial class MainWindow : Form
{
public MainWindow()
{
InitializeComponent();
}
const string pathToExec = @"C:\Program Files\Heidelberg\Data Terminal\app\H... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace sselOnLine.AppCode.BLL
{
public static class KioskDB
{
public static bool IsKiosk(string IP)
{
return IP.StartsWith("192.168.1");
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
public class UnityTaskScheduler : TaskScheduler
{
public string Name { get; }
public UnitySynchronizationContext Context { get; }
private readonly LinkedList<Task> queue = new LinkedList<Task>()... |
namespace Nest
{
internal class CreateJsonConverter : GenericProxyRequestConverterBase
{
public CreateJsonConverter() : base(typeof(CreateRequest<>)) { }
}
}
|
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using WebApi.Hal.Web.Data;
namespace WebApi.Hal.Web.Migrations
{
[DbContext(typeof(BeerDbContext))]
partial class BeerDbContextModelSnapshot : ModelSnapshot
{
protected override void Bui... |
using Abp.Dependency;
namespace Abp.RemoteEventBus.RabbitMQ
{
public class RabbitMqEventBusOptions : IRabbitMqEventBusOptions, ITransientDependency
{
public string Url { get; set; }
public string ClientName { get; set; }
public string ExchangeName { get; set; }
public RabbitMq... |
namespace DotNetWhy.Services;
public interface IDotNetWhyService
{
void Run(string[] arguments);
} |
using Rainbow.DomainDriven.Event;
using System;
using System.Collections.Generic;
using System.Text;
namespace Rainbow.DomainDriven.Store
{
public interface ISubscribeEventStore
{
SubscribeEvent Get(Guid id);
void Save(SubscribeEvent subscribeEvent);
IEnumerable<SubscribeEvent> Get();
... |
// =========================================================================
// Copyright 2020 EPAM Systems, 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.... |
using UnityEngine;
using System.Collections;
using AndroidUtils;
namespace FirebaseUnityWrapper.Database
{
public class DataSnapshot : JavaObjectWrapper
{
public DataSnapshot(AndroidJavaObject javaObject) : base(javaObject) { }
public bool Contains(string field) => Call<bool>("contains", fie... |
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using NetCore.Diary.CQRS.Events;
using NetCore.Diary.CQRS.Reporting;
namespace NetCore.Diary.CQRS.EventHandlers
{
//public class ItemCreatedEventHandler:IEventHandler<ItemCreatedEvent>
public class ItemCreatedEventHandler:INotificationHandle... |
using System;
namespace CloudantDotNet.Models
{
public class Cekilis
{
public string tarih_view { get; set; }
public string tarih { get; set; }
public string numbers { get; set; }
public DateTime GetDateTime()
{
string[] format = { "yyyyMMdd" };
... |
// 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 FluentAssertions;
using Microsoft.Build.Framework;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xunit;
nam... |
using System.ComponentModel;
using Sceelix.Core.Procedures;
using Sceelix.Core.Utils;
namespace Sceelix.Core.Caching
{
[DefaultValue(typeof(MemoryCacheManager))]
public interface ICacheManager
{
void Clear();
CacheData GetCache(Procedure procedure, string cacheKey);
string GetCach... |
using System;
using System.Collections.Generic;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Difficulty.Preprocessing;
using osu.Game.Rulesets.Difficulty.Skills;
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Tau
{
public class TauDifficultyCalculator :... |
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
using JDCloudSDK.Core.Http;
using JDCloudSDK.Core.Utils;
namespace JDCloudSDK.Core.Auth.Sign
{
/// <summary>
/// 抽象签名类
/// </summary>
public abstract class AbstractSigner : Signer
{
/// ... |
using UnityEngine;
namespace traVRsal.SDK
{
[AddComponentMenu("traVRsal/Animator Trigger")]
public class AnimatorTrigger : MonoBehaviour, IVariableReactor
{
[Tooltip("Animator to use. If empty will use first animator found in hierarchy.")]
public Animator animator;
public string p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Web.UI.Interfaces;
using Web.UI.Models;
namespace Web.UI.Controllers
{
public class ItemController : BaseController
{
private IItemsRepository _itemRepository;
public ItemControlle... |
using System;
using System.Collections.Generic;
using System.Linq;
using CoolWebsite.Domain.Entities.Financial;
namespace CoolWebsite.Application.Services
{
public static class OweRecordExtenstion
{
//TODO CREATE UNIT TEST FOR THIS KEKW
public static void AddReceiptItemCost(this ICollection<O... |
// Copyright (c) 2013 Eugen Pechanec
using System;
using System.Text;
using System.Runtime.InteropServices;
using System.Net.NetworkInformation;
using System.Security.Permissions;
namespace EugenPechanec.NativeWifi {
//= BASIC ======================================================================================... |
using System;
namespace DotNetTestProject
{
/// <summary>
/// 方法
/// </summary>
public class MethodTests
{
/// <summary>
/// 测试IL指令call和callvir
/// </summary>
public void Test1()
{
MyBaseClass myBaseClass = new MyClass();
//方法调用 ... |
using System;
using System.Security.Cryptography;
using NUnit.Framework;
using TagLib.Mpeg4;
namespace TagLib.Tests.TaggingFormats
{
[TestFixture]
public class Mpeg4Test
{
private static string val_sing =
"01234567890123456789012345678901234567890123456789";
private static string [] val_mult = new string ... |
using System;
using System.Collections.Generic;
using System.Text;
using Chino.Chip.K210.HAL.Serial;
namespace Chino
{
public static class ChipControl
{
public static void Initialize()
{
}
public static void Write(string message)
{
Uarths.DebugWrite(message... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HangMan0021
{
internal class PlayLoop
{
public static bool GameOver = false;
public static void DisplayPlayLoop()
{
while (!GameOver)
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using AzureFromTheTrenches.Commanding.Abstractions;
using FunctionMonkeyRepro.Commands;
namespace FunctionMonkeyRepro.Handlers
{
public class HelloWorldCommandHandler : ICommandHandler<HelloWorldCommand, string>
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SkillEngine.SkillCore
{
class ActionRateEffect
{
//<Succ/Miss>(HelpDefenceRate,StealRate,AntiStealRate,TurnStealRate,ThoughRate,PassRate,ShootRate,MoveFreeRate)
//脱手
}
}
|
using System;
using System.Threading.Tasks;
namespace Italbytz.Ports.Common
{
/// <summary>
/// A Service asynchronously executes business logic for a use case.
/// </summary>
public interface IService<in TInDTO, TOutDTO>
{
/// <summary>
/// Executes the use case.
/// </su... |
using System.Threading.Tasks;
using PS4ExploitHost.Common.Interfaces;
using Unosquare.Labs.EmbedIO.Modules;
using Xamarin.Forms;
namespace PS4ExploitHost.Controllers
{
public class ControllerBase : WebApiController
{
protected IFileSystem FileSystem { get; private set; }
public ControllerBase... |
// Copyright (C) AS Sertifitseerimiskeskus
// This software is released under the BSD License (see LICENSE.BSD)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography.X509Certificates;
using System.Security.Cryptography;
using System.Security.Cryptograp... |
using System;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
namespace Ktyl.Rendering
{
public class RelativisticDepth : ScriptableRenderPass, IDisposable
{
private CommandBuffer _cb;
private RenderTexture _depth;
private Rend... |
// Copyright (c) 2019 Lykke Corp.
// See the LICENSE file in the project root for more information.
using System;
namespace MarginTrading.AccountsManagement.Contracts.Models
{
public class AccountStatContract
{
/// <summary>
/// Realised pnl for the day
/// </summary>
... |
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
// This code is generated by tool. DO NOT EDIT.
using AccelByte.Sdk.Api.Platform.Model;
using AccelByte.Sdk.Api.Platform.Operation;
using... |
namespace APITools.Core.Base.DAO.SerializationErrors
{
/// <summary>
/// Represents the serialization error when an entity don't respects at least one unique index.
/// </summary>
/// <typeparam name="TIdentifier">Type of the identifier of the entity affected by the error</typeparam>
public class U... |
using Lexica.Core.IO;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Lexica.CLI.Core.Services
{
class BuildService : IService
{
public string GetBuild()
{
string buildFilePath = Path.Combine(AppDomain.CurrentDomain.BaseDire... |
using System;
using System.Collections.Generic;
using System.Linq;
using PizzaBox.Domain;
using PizzaBox.Storing.Entities;
namespace PizzaBox.Storing.Repositories
{
public class ToppingRepository : IRepository<PizzaBox.Storing.Entities.Topping>
{
private readonly Entities.pizzaappContext context;
... |
using AutoMapper;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using TheCodeCamp.Data;
using TheCodeCamp.Models;
namespace TheCodeCamp.Controllers
{
[RoutePrefix("api/camps... |
using System;
namespace GitAutoVersionTool
{
public class GitAutoVersionSimple
{
public GitAutoVersionSimple(
int major,
int minor,
int patch,
string special,
int buildCounter,
DateTime dateUtc,
string env)
{
... |
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using Assets.Scripts;
using Assets.Scripts.Models;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.Networking;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class LoginButton : MonoBehaviour, IPointe... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
using System;
using FluentAssertions;
using Xunit;
using static LanguageExt.UnitTesting.Tests.TestsHelper;
namespace LanguageExt.UnitTesting.Tests
{
public class OptionExtensionsTests
{
[Fact]
public void ShouldBeSome_GivenNone_Throws()
{
Action act = () => GetNone().Should... |
namespace ApeVolo.Common.Model.ServerMonitor;
public class Disk
{
/// <summary>
///
/// </summary>
public string Total { get; set; }
/// <summary>
///
/// </summary>
public string Available { get; set; }
/// <summary>
///
/// </summary>
public string Used { get; se... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Globalization;
using Microsoft.Internal.Web.Utils;
namespace System.Web.Razor.Generator
{
public struct GeneratedCodeMapping
{
public GeneratedCodeMapping(... |
using AutoMapper;
using ImageGallery.API.Services;
using ImageGallery.Model;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ImageGallery.API.Controllers
{
[Route("api/applicationus... |
using System.Collections.Generic;
using UnityEngine;
namespace TrackPrinting
{
public class TrackSegment : MonoBehaviour
{
public List<TrackPiece> trackPieces = new List<TrackPiece>();
}
} |
public interface IDataSave
{
void SaveData(string key, string value);
string GetData(string key);
} |
using System.Reflection;
namespace MyNUnit.MethodInformation
{
/// <summary>
/// Reresents information about ignored test method.
/// </summary>
public class IgnoredTestInfo : Info
{
/// <summary>
/// Reason to ignore method execution.
/// </summary>
public string M... |
namespace GameLogic.ActionLoop
{
using System.Collections.Generic;
using System.Linq;
using AI.Model;
using Osnowa.Osnowa.Grid;
class BroadcastStimulusSender : IBroadcastStimulusSender
{
private readonly IEntityDetector _entityDetector;
public BroadcastStimulusSender(IEntityDetector entityDetector)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ImageQuantization
{
class AutoKdetection
{
public List<Edge> currentEdges { set; get; }
Edge edgeLeadToMax;
public double mean { set; get; }
public double... |
#Tue Nov 30 21:55:03 EST 2021
lib/features/com.ibm.websphere.appserver.mpJwt-1.1.mf=1ec16c6bc01ca77cdd7e772a0dc0e1c0
lib/com.ibm.ws.security.mp.jwt.1.1.config_1.0.59.jar=d0c6b811530b93b1db6a0a47049c1166
lib/com.ibm.ws.security.mp.jwt_1.0.59.jar=46d3bd1e3da8fc0fd0beda9b601bc11d
lib/io.openliberty.org.apache.commons.logg... |
using System;
using System.Net;
using System.Net.Http;
namespace GitterApi
{
public class GitterApiException : Exception
{
public GitterApiException(string message)
: base(message)
{
}
public GitterApiException(string message, Exception innerException)
: base(message, innerException)
{
}
publi... |
namespace FoxOffice.Controllers
{
using System;
using System.Net;
using System.Threading.Tasks;
using FoxOffice.Commands;
using Khala.Messaging;
using Microsoft.AspNetCore.Mvc;
[Route("api/commands")]
[ApiController]
public class CommandsController : ControllerBase
{
[H... |
using Exrin.Abstraction;
using Exrin.Framework;
namespace ExrinSampleMobileApp.Logic.VisualState
{
public class MenuVisualState : Exrin.Framework.VisualState
{
public MenuVisualState(IBaseModel model) : base(model) { }
}
}
|
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MakeLemonadeBot.Jobs;
using MakeLemonadeBot.Sheets;
using Serilog;
namespace MakeLemonadeBot.Updates
{
public sealed class SheetDownloading : Job
{
private readonly ILogger log;
private re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Mono.Cecil.Cil;
using MonoMod.Cil;
using Terraria;
using Terraria.Audio;
using Terraria.ID;
using Terraria.ModLoader;
using TerrariaOverhaul.Common.ModEn... |
namespace BrickPort.Infrastructure.DependencyInjection
{
public interface IBrickPortInfrastructureOptions
{
bool UseDomainCommands { get; set; }
bool UseDomainQueries { get; set; }
bool UseInMemoryCommands { get; set; }
bool UseInMemoryQueries { get; set; }
}
public clas... |
using UnityEngine;
using TMPro;
namespace CwispyStudios.FingerprintTrainer.UI
{
using FingerprintAnnotation;
public class AnnotationAnswerPanel : MonoBehaviour
{
[SerializeField] private TMP_Text detailText = null;
[SerializeField] private TMP_Text distanceText = null;
[SerializeField] private TMP_... |
using System;
using System.Windows.Forms;
using System.Linq;
using System.Text;
namespace ResourceMonitor
{
static class Battery
{
private static readonly PowerStatus status = SystemInformation.PowerStatus;
//Returns (hours, minutes, seconds)
public static (int, int, int) BatteryRema... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InmobiliariaLogicLayer.Intereses.InteresStrategies
{
public class InteresRefugio: IStrategyInteres
{
public double calcularInteres(double precioSinEnganche, int tiempoDeFinanci... |
namespace Spice86.Emulator.LoadableFile.Dos.Com;
using Spice86.Emulator.VM;
using Spice86.Emulator.Memory;
using Spice86.Emulator.CPU;
using Spice86.Emulator.LoadableFile.Dos;
public class ComLoader : ExecutableFileLoader {
private const ushort ComOffset = 0x100;
private readonly ushort _startSegmen... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class Packer
{
/// <summary>
/// Pack 4 low-precision [0-1] floats values to a float.
/// Each value [0-1] has 64 steps(6 bits).
/// </summary>
public static float ToFloat(float x, float y, float z, float w)
{
x = x <... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RayTracing
{
class Color
{
public int r, g, b, alpha;
public Color(int r, int g, int b)
{
this.r = r;
this.g = g;
... |
using System;
using NBitcoin.BouncyCastle.Crypto.Parameters;
using NBitcoin.BouncyCastle.Utilities;
namespace NBitcoin.BouncyCastle.Crypto.Macs
{
/**
* HMAC implementation based on RFC2104
*
* H(K XOR opad, H(K XOR ipad, text))
*/
internal class HMac
: IMac
{
private const b... |
@using MusicOrganizer.Models;
@{
Layout = "_Layout";
}
<h1>Formats</h1>
@if (@Model.Count == 0)
{
<h3>No formats have been added yet!</h3>
}
@foreach (Format format in Model)
{
<h3><a href='/formats/@format.Id'>@format.Type</a></h3>
}
<h3><a href='/'>Back Home</a></h3> |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace SoulsFormats
{
public partial class TAE
{
/// <summary>
/// Template for the parameters in an event.
/// </summary>
public class Templ... |
using System.Collections.Generic;
using System.Threading.Tasks;
using CoreWiki.Models;
namespace CoreWiki.SearchEngines
{
public interface IArticlesSearchEngine
{
Task<SearchResult<Article>> SearchAsync(string query, int pageNumber, int resultsPerPage);
}
}
|
// Copyright © 2018 Wave Engine S.L. All rights reserved. Use is subject to license terms.
#region Usings Statements
#endregion
namespace WaveEngine.Vuforia
{
/// <summary>
/// The AR adapter states
/// </summary>
public enum ARState
{
/// <summary>
/// The AR adapter is stopped. ... |
using System.Net;
using System;
namespace synch
{
public class DnsServiceConfig
{
public string ListenAddress { get; set; } //IP
public string Domain { get; set; } //FQDN
public string Record { get; set; } //FQDN
public int RecordTtl { get; set; } //32 bit
public strin... |
using System;
using Xunit;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using BooksApi.Controllers;
using BooksApi.Models;
using BooksApi.Repositories;
using BooksApi.Services;
//[assembly: CollectionBehavior(DisableTestParallelization = true)]
namespace BooksApi.UnitTest... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using RVTR.Account.ObjectModel.Interfaces;
using RVTR.Account.ObjectModel.Models;
using RVTR.Account.WebApi.ResponseObject... |
using System.Collections.Generic;
namespace Iviz.MsgsGen
{
public enum ElementType
{
Empty,
Comment,
Variable,
Constant,
Invalid,
ServiceSeparator
}
public interface IElement
{
ElementType Type { get; }
IEnumerable<string> ToCsStr... |
namespace TTraversalDemo.Development
{
using System;
using System.Collections.Generic;
using System.Linq;
using TTraversalDemo;
static class LevelOrderV1
{
/// <summary>
/// http://urosv.blogspot.de/2011/04/iterative-binary-tree-traversal.html
/// C/C++ Blog Post by: Ur... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections;
using System.Collections.Generic;
namespace BuildXL.Utilities.PackedTable
{
/// <summary>
/// Interface to tables which store multiple values per ID.
/// </summary>
public in... |
// Copyright (c) Adriano Ueda. All rights reserved.
namespace Maoli
{
using System;
using Maoli.V2;
/// <summary>
/// Represents a valid CPF number.
/// </summary>
public class Cpf
: IEquatable<Cpf>
{
/// <summary>
/// Stores the CPF number without punctuation.
... |
//
// Copyright Seth Hendrick 2016-2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
using Cake.Frosting;
using DevOps.Template;
namespace DevOps.Tasks
{
[TaskName( "template" ... |
namespace Orleankka.Meta
{
public interface Query : Message
{}
public interface Query<TResult> : Query
{}
public interface Query<TActor, TResult> : ActorMessage<TActor, TResult>, Query<TResult> where TActor : IActorGrain
{}
} |
namespace Prometheus.Client.MetricServer
{
internal static class Consts
{
public const string DefaultHost = "*";
public const string DefaultUrl = "metrics";
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
public class SimPac
{
public int Id;
public Point Pos;
public Path CurPath = new Path();
public Path LastPath = new Path();
public int Geathered;
public SimPac(Pac pac)
{
Id = pac.Id;
Pos = pac.Pos;
}
}
public class SimContex... |
using Unity.Mathematics;
namespace Voxell.Jobx
{
public static partial class Jobx
{
public const int S_BATCH_SIZE = 16;
public const int M_BATCH_SIZE = 64;
public const int L_BATCH_SIZE = 128;
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text.RegularExpressions;
using System.IO;
using System.Text;
namespace Oak
{
public class SqlQueryLog
{
public SqlQueryLog(object sender, string query, string stackTrace, int threadId, object[] args)
... |
using System.Collections.Generic;
using Clarity.Engine.Platforms;
namespace Clarity
{
public class DesktopEnvironment : IEnvironment
{
public IReadOnlyList<IExtension> Extensions { get; private set; }
public DesktopEnvironment(params IExtension[] extensions)
{
Extensions =... |
using System.Threading.Tasks;
namespace NChainlink.Controllers
{
public partial class Pricefeed
{
/// <summary>
/// Get contract owner address
/// </summary>
/// <returns>
/// A string with contract owner address
/// </returns>
public Task<string... |
using System;
using System.Collections.Generic;
using System.Text;
using Conductor.Domain.Interfaces;
using Conductor.Domain.Models;
using Microsoft.Extensions.Logging;
using SharpYaml.Serialization;
namespace Conductor.Domain.Services
{
public class DefinitionService : IDefinitionService
{
private r... |
using System;
using Xunit;
using StoreModels;
namespace StoreTests
{
public class CustomerTest
{
[Fact]
public void CustomerShouldSetValidData() {
string firstName = "Kylie";
Customer test = new Customer("firstName", "lastName","birthdate", "phone#", "email", "Mailing Add... |
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace TOTPManager
{
public class NotifyBase : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
... |
using System;
namespace BareE
{
public static class Log
{
public static bool WriteTraceToConsole { get; set; } = true;
public static bool WriteExceptionToConsole { get; set; } = true;
public static void EmitError(Exception e)
{
if (WriteExceptionToConsole)
... |
// 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.Reflection;
using System.Web.Caching;
using System.Web.Compilation;
using System.Web.Hosting;
using System.Web.Profile;
using System.Web.W... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.Geometry;
using Autodesk.AutoCAD.Runtime;
using DotNetARX;
... |
using System;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
using VContainer.Unity;
namespace VContainer.Editor
{
[CustomEditor(typeof(VContainerSettings))]
public class VContainerSettingsEditor : UnityEditor.Editor
{
ReorderableList co... |
using System.Runtime.InteropServices;
namespace TopBar.Plugins.Extensions
{
public static class DrawingExtensions
{
[DllImport("User32.dll")]
private static extern long LockWindowUpdate(IntPtr Handle);
public static void LockWindowUpdate(this Form form)
{
... |
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;
using System.Threading;
namespace Login
{
public partial class Form1 : Form
{
Thread t1;... |
using System.ComponentModel;
// ReSharper disable IdentifierTypo
// ReSharper disable CommentTypo
namespace Cosmos.Date.Islamic;
/// <summary>
/// Islamic / Hijri Months
/// </summary>
/// <remarks>
/// Reference to:
/// https://en.wikipedia.org/wiki/Islamic_calendar
/// </remarks>
public enum IslamicMonths
{
... |
using System;
using AutoTest.Core.Configuration;
using Castle.Facilities.Logging;
using System.Reflection;
using Castle.MicroKernel.Registration;
namespace AutoTest.Console
{
public static class ConsoleConfiguration
{
public static void Configure()
{
BootStrapper.Configure();
BootStrapper.Container... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.