content stringlengths 23 1.05M |
|---|
namespace RPGStatSystem {
public interface IStatModiferValueChange {
void AddValueListener(RPGStatModifierEvent func);
void RemoveValueListener(RPGStatModifierEvent func);
}
}
|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Win32.SafeHandles;
namespace System.Net.NetworkInformation
{
internal class SafeFreeMibTable : SafeHandleZeroOrMinusOneIsInvalid
{
publ... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using TMPro;
using UnityEngine;
/// <summary>
/// Displays a floating message panel to the user
/// </summary>
public class MessageBoxUI : MonoBehaviour
{
[SerializeField]
private string headerText;
[SerializeFie... |
using System;
using System.Text;
using System.Collections.Generic;
namespace Altazion.Api.Data
{
///<summary>
///Objet de données ProduitsDevis
///</summary>
public class ProduitsDevis
{
///<summary>
///Obtient ou définit la valeur ArticleId
///</summary>
public long ArticleId{ get; set; }
///<summary... |
// Copyright © 2015 by Comodo Group Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, m... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MvcExtensions.MeepMeep
{
public interface IViewFinder
{
object GetView(object viewmodel);
}
public interface IViewViewmodelBinder
{
void Set(object view, object viewmodel);
obje... |
using System;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Testura.Code.Models.References;
#pragma warning disable 1591
namespace Testura.Code.Generators.Common.Arguments.ArgumentTypes
{
/// <summary>
/// Provides the functionality to generate reference arguments. Exam... |
using BooksLib;
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
namespace ClientSideBlazor.Services
{
public class BooksApiClient : IBooksService
{
private readonly HttpClient _httpClient;
... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Rollvolet.CRM.DataProvider.Models
{
public class Building : CustomerRecord
{
public Customer Customer { get; set; }
}
} |
namespace WraithavenGames.Bones3
{
/// <summary>
/// Analyzes a chunk when it is queued and generates new remesh tasks.
/// </summary>
public interface IRemeshDistributor
{
/// <summary>
/// Looks over a chunk and generates new remesh tasks as needed.
/// </summary>
/... |
using System;
using System.ComponentModel.DataAnnotations;
using Twitter.Models.UserModels;
namespace Twitter.Models.GroupModels
{
public class Message
{
[Key]
public int Id { get; set; }
[Required]
public string SenderId { get; set; }
public virtual User Sender { get... |
using Microsoft.AspNetCore.Identity;
using WeatherForecastSample.WebAPI.Entities;
namespace WeatherForecastSample.WebAPI.DataAccess.TestData
{
internal class UserSettingsSeeder
{
private readonly WeatherForecastDbContext _context;
private readonly UserManager<IdentityUser> _userManager;
... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
using VegFoods.Core.Models;
namespace VegFoods.Data.Config
{
class RecipeConfiguration : IEntityTypeConfiguration<Recipe>
{
public RecipeConfig... |
var target = Argument("target", "Build");
var buildId = EnvironmentVariable("GITHUB_RUN_NUMBER");
var @ref = EnvironmentVariable("GITHUB_REF");
const string prefix = "refs/tags/";
var tag = !string.IsNullOrEmpty(@ref) && @ref.StartsWith(prefix) ? @ref.Substring(prefix.Length) : null;
Task("Build")
.Does(() =>
{
... |
using System;
using System.Text;
using MinerWars.AppCode.Toolkit.Input;
using MinerWars.AppCode.Game.GUI.Core;
using MinerWars.AppCode.Game.Localization;
using SysUtils.Utils;
namespace MinerWars.AppCode.Game.Utils
{
public enum MyGuiGameControlType
{
GAME,
EDITOR
}
enum MyGuiControlT... |
using Apworks.Repositories;
using CloudNotes.Domain.Model;
using CloudNotes.ViewModels;
using CloudNotes.WebAPI.Controllers;
using CloudNotes.WebAPI.Models.Exceptions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
namespace CloudNotes... |
// 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.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Runtime.Serialization.Json;
using Syste... |
using System;
using System.Windows;
using Melville.IOC.IocContainers;
using Melville.MVVM.Wpf.MvvmDialogs;
using Melville.MVVM.Wpf.RootWindows;
using Melville.WpfAppFramework.StartupBases;
namespace WebDashboard.Startup
{
public class Startup : StartupBase
{
[STAThread]
public static int Main(... |
using System;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml;
namespace Bonsai.Editor
{
class XmlnsIndentedWriter : XmlWriter
{
bool isRootElement;
int indentLevel = -1;
readonly Stream stream;
readonly TextWriter textWriter;
... |
namespace MarketingPageAcceptanceTests.Actions.Collections
{
using MarketingPageAcceptanceTests.Actions.Pages;
public sealed class PageActionCollection
{
public Common Common { get; set; }
public Dashboard Dashboard { get; set; }
public EditFeatures EditFeatures { get; set; }
... |
namespace EndlessJourney.Web.Controllers
{
using System;
using System.Threading.Tasks;
using EndlessJourney.Services.Data.Cities;
using EndlessJourney.Services.Data.Countries;
using EndlessJourney.Web.ViewModels.Cities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SqlSugar;
namespace FytSoa.Core.Model.Bbs
{
///<summary>
/// 问题类
///</summary>
public partial class Bbs_Questions
{
public Bbs_Questions()
{
}
/// <summary>
/// Des... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Utility
{
public interface IProgress
{
/// <summary>
/// Marking if a process is done or not.
/// </summary>
public bool Finished { get; }
/// <summary>
/// Grabs the curren... |
using System;
namespace Barista.Shared.Events
{
public class ScriptingSharesEnemyEntityOutEvent
{
public string Id { get; }
public int EnemyEntityInstanceId { get; }
public ScriptingSharesEnemyEntityOutEvent(string id, int enemyEntityInstanceId)
{
Id = id;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using Autofac.Integration.Mvc;
using IFramework.DependencyInjection;
using IFramework.DependencyInjection.Autofac;
namespace Sample.CommandService.App_Start
{
public static class Depen... |
namespace Stock.Domain.Entities.MlModelParameters.Rnn
{
public class AdadeltaRnnParameters : SharedRnnParameters
{
public double LearningRate { get; set; }
public double Rho { get; set; }
public double Epsilon { get; set; }
public double Decay { get; set; }
}
}
|
using System;
using System.Net.Mail;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Ringo.Norif.Client.Test
{
[TestClass]
public class HttpClientTest
{
[TestMethod]
public void Send_Notification_Sync()
{
var notif = new Notification
{
... |
// Guids.cs
// MUST match guids.h
using System;
namespace Xavalon.XamlStyler.Package
{
internal static class GuidList
{
public const string guidXamlStyler_PackagePkgString = "a224be3c-88d1-4a57-9804-181dbef68021";
public const string guidXamlStyler_PackageCmdSetString = "83fc41d5-eacb-4fa8-aa... |
using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
namespace Selenium_WebDriver_course_homeworks.Lesson_11.Task_19
{
internal class Page
{
protected IWebDriver driver;
protected WebDriverWait wait;
public Page(IWebDriver driver)
{
this.driver = ... |
namespace ContentReportBuilder.Models.ElementDataModels
{
/// <summary>
/// List Item element model data
/// </summary>
public class ListItemData
{
public string Text { get; set; }
}
}
|
namespace Discuz.Entity
{
public class TemplateAboutInfo
{
public string name = "";
public string author = "";
public string createdate = "";
public string ver = "";
public string fordntver = "";
public string copyright = "";
public string width = "600";
... |
using System;
namespace AutoProxy
{
[Serializable]
public class ProxyHost
{
private string _host; //contains IP and port
public string Host { get { return _host; } }
public ProxyHost (string Host)
{
this._host = Host;
}
public ProxyHost ... |
using System;
using System.Collections.Generic;
namespace PizzaBox.Domain.Models
{
public partial class AStore
{
public AStore()
{
Orders = new HashSet<AOrder>();
}
public int StoreId { get; set; }
public string StoreLocation { get; set; }
public vi... |
// See https://aka.ms/new-console-template for more information
using System;
using System.Diagnostics;
using soa_benchmark;
long NanoTime(long ticks)
{
return (long) (1000000000.0 * (double) ticks / Stopwatch.Frequency);
}
var aor = new Aor(300);
var soa = new Soa(aor);
var mor = new Mor(aor);
const int benchm... |
using System.Text.Json.Serialization;
namespace LinqToTwitter
{
public record RetweetTweetID
{
[JsonPropertyName("tweet_id")]
public string? TweetID { get; init; }
}
} |
namespace MiniUML.View.Windows
{
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Markup;
using MiniUML.Framework;
using MiniUML.Model.ViewModels.Document;
using MiniUML.View.Converter;
using MsgBox;
/// <summary>
/// Interaction logic for New... |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityModel;
using IdentityServer4.Extensions;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.L... |
global using Dapr.Actors.Runtime;
global using System.Text.Json;
global using sample.microservice.reservationactor.interfaces;
global using sample.microservice.state.reservationactor;
global using sample.microservice.reservationactor.service; |
using System.Collections.Generic;
namespace PatreonClient.Models
{
public interface IRelationship
{
void AssignRelationship(IReadOnlyCollection<PatreonData> includes);
}
} |
using System.Linq;
using JetBrains.ProjectModel.Resources;
using JetBrains.ReSharper.Plugins.Json.Psi.DeclaredElements;
using JetBrains.ReSharper.Plugins.Unity.Utils;
using JetBrains.UI.Icons;
#nullable enable
namespace JetBrains.ReSharper.Plugins.Unity.AsmDef.Psi.DeclaredElements
{
public class AsmDefDeclaredEl... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace DataAssemblyLine.Domain.Items
{
public interface IItemRepository
{
public Task<IEnumerable<Item>> GetNonStartedItemsByProcessIdAsync(int processId);
public Task AddAsync(Item item);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
namespace Cartomatic.Utils.Data
{
/// <summary>
/// DbConnection extensions
/// </summary>
public static class DbConnectionExtensions
{
/// <summary>
... |
using AccountManagement.UI.QueryModels.ContainerInstallers;
using AccountManagement.UI.QueryModels.DocumentDB.Updaters.Services;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using Composable.KeyValueStorage;
using Composable.UnitsOfWork;
using JetBrain... |
using NLog;
using System.Globalization;
using System.Windows.Forms;
using Timetabler.DataLoader;
namespace Timetabler
{
/// <summary>
/// Form to display an About dialog.
/// </summary>
public partial class AboutBox : Form
{
private static readonly Logger Log = LogManager.GetCurrentClassLo... |
namespace CslaCross
{
/// <summary>
/// Defines a CSLA .NET viewmodel
/// object.
/// </summary>
public interface IViewModel
{
/// <summary>
/// Gets or sets the Model property
/// of the viewmodel object.
/// </summary>
object Model { get; set; }
}
... |
using System;
using System.Collections.Generic;
namespace LandRush.IO.DMF
{
public abstract class Primitive
{
public Primitive(
byte groupNumber,
Pen pen,
Brush brush)
{
this.groupNumber = groupNumber;
this.pen = pen;
this.brush = brush;
}
public byte GroupNumber
{
get { return this.... |
namespace OrderingExample.Application.Handlers
{
using System.Threading.Tasks;
using Core;
using Domain.Events;
public class KickOffCooldownWorkflowHandler : IHandleAggregateEventsOf<OrderPlaced>
{
private readonly ICooldownWorkflowHandler handler;
public KickOffCooldownWorkflowHa... |
using Microsoft.Extensions.DependencyInjection;
using Seed.Environment.Engine;
using Seed.Environment.Engine.Models;
using Seed.Modules;
using System;
using System.Threading.Tasks;
namespace Seed.Data.Migrations
{
/// <summary>
/// Tenant 事件中自动执行数据库迁移
/// </summary>
public class AutoDataMigration : IM... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using BenchmarkDotNet.Mathematics;
using BenchmarkDotNet.Reports;
using JetBrains.Annotations;
namespace BenchmarkDotNet.Engines
{
public struct RunResults
{
private readonly OutlierMode outlierMode;... |
//____________________________________________________________________________
//
// Copyright (C) 2020, Mariusz Postol LODZ POLAND.
//
// To be in touch join the community at GITTER: https://gitter.im/mpostol/TP
//____________________________________________________________________________
using Microsoft.VisualSt... |
using System;
using System.Threading;
using System.Threading.Tasks;
using IServiceProvider = UnstableSort.Crudless.Common.ServiceProvider.IServiceProvider;
namespace UnstableSort.Crudless
{
public interface IBoxedItemHook
{
Task<object> Run(object request, object item, CancellationToken ct = default(... |
namespace OkonkwoOandaV20.TradeLibrary.Transaction
{
/// <summary>
///
/// </summary>
public class ClientConfigureTransaction : Transaction
{
public string alias { get; set; }
public decimal marginRate { get; set; }
}
} |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class Title : MonoBehaviour {
public Button StartButton;
public Button ExitButton;
public Button DoubleButton;
// board窗口
public GameObject board;
public MainLoop loop;
// Use this for initialization
void Start ()... |
@using Microsoft.Extensions.Options;
@using coreWeb;
@model coreWeb.Models.Department
@inject IOptions<coreWebOptions> coreWebOpiton
<tr>
@if (Model.EmployeeCount > coreWebOpiton.Value.BoldDepartmentEmployeeCountThreshold)
{
<td><strong>@Model.Name</strong></td>
}
else
{
<td>@Mode... |
//----------------------------------------------------------------------------
// <copyright file="SortExtensions.cs"
// company="Markus M. Egger">
// Copyright (C) 2018 Markus M. Egger. All rights reserved.
// </copyright>
// <author>Markus M. Egger</author>
// <description>
// Array sorting extension ... |
using UnityEngine;
namespace TinyMatter.Core.Analytics {
public abstract class AnalyticsProvider : ScriptableObject, IAnalyticsProvider {
public abstract void SubmitEvent(string name, AnalyticsParameter[] parameters);
}
} |
using BitStreams;
namespace ResourceTypes.Prefab.CrashObject
{
public class S_InitSMDeformBone
{
public ulong SMJointName { get; set; }
public C_Vector3 OriginalPosition { get; set; }
public C_Vector3 Range { get; set; }
public C_Vector3 MoveAccumulator { get; set; }
pu... |
namespace fmCommon
{
public class fmDataMission : fmData
{
public int m_nCode = 0;
public eMission m_eMission = eMission.None;
public int m_nCondition = 0;
public string m_strContents = string.Empty;
//public int m_nExp = 0;... |
// Copyright (c) Aurora Studio. All rights reserved.
//
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using Aurora.Music.Core;
using Aurora.Music.Core.Models;
using Windows.UI.Xaml.Controls;
// https://go.microsoft.com/fwlink/?LinkId=234238 上介绍了“内容对话框”项模板
... |
namespace JenkinsClient.Net.Models
{
public class PrimaryView : View
{
}
} |
<h2>Welcome to ASP.NET MVC</h2>
<p>Version : @ViewData["Version"] on @ViewData["Runtime"] !</p>
<p>ViewBag.Toto = @ViewBag.Toto</p>
<a href="Home/ListContacts">List contacts</a>
|
using System.ComponentModel;
using System.Windows;
namespace CMCL.Wpf.Window
{
public partial class LoadingFrm : System.Windows.Window
{
private static LoadingFrm _loadingFrm;
private LoadingFrm()
{
InitializeComponent();
}
~LoadingFrm()
{
... |
// Copyright (c) Geta Digital. 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.Linq;
using BVNetwork.NotFound.Core.CustomRedirects;
using EPiServer.ServiceLocation;
namespace BVNetwork.NotFou... |
using System;
using System.Collections.Generic;
using System.Text;
namespace NeedMoreBeer.Domain.Dto
{
/// <summary>
/// Images
/// </summary>
public class Label
{
/// <summary>
/// Medium
/// </summary>
public string Medium { get; set; }
/// <summary>
... |
using System;
using System.Collections.Generic;
namespace DecisionTreeCS {
class DecisionTree {
Dataset dataset;
DecisionNode root;
// This function is used to generate the tree (aka training).
// It will recursively work out each Node and save it with a
// private method called BuildTree (defi... |
using System;
namespace ETModel
{
public class MessageHandlerAttribute : Attribute
{
public AppType Type { get; }
public MessageHandlerAttribute()
{
}
public MessageHandlerAttribute(AppType appType)
{
this.Type = appType;
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Zeltex.Editor
{
/// <summary>
/// A helper material shader setter script
/// </summary>
[ExecuteInEditMode]
public class MaterialEditor : MonoBehaviour
{
public bool IsSetShad... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Servic... |
using IniLanguageService.CodeRefactorings;
using IniLanguageService.Diagnostics;
using IniLanguageService.Syntax;
using Microsoft.VisualStudio.Text;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
namespace IniLanguageService.CodeFixes
{
[Export(typeof(ICodeFixProvide... |
// <Snippet1>
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
class Example
{
static void Main(string[] args)
{
int[] values = { 2, 4, 6, 8, 10 };
ShowCollectionInformation(values);
var names = new List<string>();
names.AddRange(new... |
using System;
using Microsoft.Extensions.Configuration;
// ReSharper disable InconsistentNaming
namespace DNTFrameworkCore.EFCore.Configuration
{
public static class ConfigurationBuilderExtensions
{
public static IConfigurationBuilder AddEFCore(this IConfigurationBuilder builder,
IServicePr... |
@model ProjectDetailModel
<label data-translation="project_name">project_name</label>
<div>@Model.Name</div>
<label data-translation="project_slug">project_slug</label>
<div> @Model.Slug</div>
<label data-translation="description">description</label>
<div> @Model.Description</div>
<label data-translation="organ... |
namespace iDi.Blockchain.Framework.Protocol
{
public interface IPayload : IByteData
{
/// <summary>
/// Type of the message
/// </summary>
public MessageTypes MessageType { get;}
/// <summary>
/// Protocol Version
/// </summary>
public short Versi... |
private void txtValorFinal_TextChanged(object sender, EventArgs e) {
if (decimal.TryParse(txtValorFinal.Text, out var valorFinal) && decimal.TryParse(txtValorFornecedor.Text, out var valorFornecedor)) {
txtLucro.Text = (valorFinal - valorFornecedor).ToString("0.00");
} else {
//tratar o erro aqu... |
using Autofac;
using Geisha.Editor.Core.Docking;
using Geisha.Editor.Core.Properties;
namespace Geisha.Editor.Core
{
internal sealed class CoreModule : Module
{
protected override void Load(ContainerBuilder builder)
{
// Docking
builder.RegisterType<CompositeDocumentFac... |
using System.Collections.Generic;
namespace Aya.Polls
{
public interface IPollService
{
Poll ActivePoll { get; }
public delegate void OnPollUpdatedDelegate(Poll poll);
event OnPollUpdatedDelegate OnPollUpdated;
event OnPollUpdatedDelegate OnPollStateUpdated;
Poll StartP... |
namespace Cardbooru.Application.Configurations
{
public class GlobbingConfiguration
{
public string Limit { get; set; }
public string PageNumber { get; set; }
public string Tags { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Text.RegularExpressions;
namespace Centaurus
{
public static class CertificateExtensions
{
public static X509Certifi... |
using Jeelu.Win;
namespace Jeelu.SimplusD.Client.Win
{
partial class lineUserControl
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <par... |
using Sedc.Server.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace sedc_server_Server
{
public interface IRequestProcessor
{
IResponse Process(Request request, ILogger logger);
bool ShouldProcess(R... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class EndingManager : MonoBehaviour
{
public Image blackScreen;
public static System.Action OnDialogueCall;
private void Start()
{
blackScreen.gameObject.SetActive(false);
Dialo... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using UtilityDelta.Encryption;
using Xunit;
namespace UtilityDelta.EncryptedImages.Test
{
public class TestSaveImages
{
private static Stream ExtractResource(string filename)
{
var a = Assembl... |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Oocx.ReadX509CertificateFromPem;
namespace Oocx.ReadX509CertificateFromPem.Tests
{
[TestClass]
public class CertificateFromPemReaderTests
{
[TestMethod]
[DeploymentItem("rsa")]
public void ... |
// MvxCommand.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, me@slodge.com
using System;
namespace Cirrious.MvvmCross.ViewModels... |
using System;
using System.Threading.Tasks;
using Lime.Protocol;
namespace Lime.Transport.Http.Storage
{
public interface IEnvelopeStorage<T> where T : Envelope
{
Task<bool> StoreEnvelopeAsync(Identity owner, T envelope);
Task<string[]> GetEnvelopesAsync(Identity owner);
Task<T> GetE... |
using System;
using System.Collections.Concurrent;
namespace DotNetZyre
{
public class ZreGroup
{
#region Fields
private readonly string _name;
private readonly ConcurrentDictionary<Guid, ZrePeer> _peers;
#endregion Fields
#region Constructors
public ZreGrou... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using BLL.DTOs;
using BLL.DTOs.Objects.Insurance;
using BLL.DTOs.Objects.InsuranceOffer;
using BLL.Facades.Common;
using BLL.QueryObjects;
using BLL.Services.Insurance;
using BLL.Services.InsuranceOffer;
using DAL.Infrastructure.UnitOfWork;
... |
using Microsoft.AspNetCore.Identity;
using System;
namespace BL.API.Core.Domain.User
{
public class User : IdentityUser<Guid>
{}
}
|
using System.Security.Claims;
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Rusell.Employees.Application;
using Rusell.Employees.Application.FindByUser;
namespace Rusell.Employees.Api.Controllers;
[ApiController]
[Authorize]
[Route("api/employees/current")]
public clas... |
using System;
namespace Manticore
{
public enum SDKTestStatuses : uint {
ON_FIRE = 0,
WET = 1,
UNINMAGINABLE = 2
}
} |
using System.Collections.Generic;
namespace Esprima.Ast
{
public class ArrayPattern : Node, BindingPattern
{
public readonly List<ArrayPatternElement> Elements;
public ArrayPattern(List<ArrayPatternElement> elements)
{
Type = Nodes.ArrayPattern;
Elements = elem... |
using HalKit.Json;
using HalKit.Models.Response;
using System.Runtime.Serialization;
namespace GogoKit.Models.Response
{
[DataContract(Name = "shipments")]
public class Shipments : PagedResource<Shipment>
{
/// <summary>
/// Creates a new shipment for the ticket(s).
/// </summary>
... |
using System.Linq.Expressions;
namespace ExpressionTreeParsing.Domain
{
public class ParsedConditionalExpression : ParsedExpression
{
public ParsedConditionalExpression(
ParsedExpression ifFalse,
ParsedExpression ifTrue,
ParsedExpression test,
ParsedType... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using XNode;
namespace InteractML.FeatureExtractors
{
/// <summary>
/// Feature extractor for rotations
/// </summary>
public class ExtractRotation : Node, IFeatureIML
{
/// <summary>
... |
using Xamarin.Forms;
using Newtonsoft.Json;
using System.Net.Http;
using ModernHttpClient;
namespace NuGetTest
{
public partial class NuGetTestPage : ContentPage
{
HttpClient httpClient;
public const string ZhuanlanHost = "https://zhuanlan.zhihu.com/api";
public const string DailyHost = "https:/... |
// 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.IO;
using System.Net.Http;
using System.Net.Sockets;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Server.IIS.Func... |
using Microsoft.Crm.Sdk.Messages;
using Microsoft.Xrm.Sdk;
using System;
using System.Collections.Generic;
using System.Linq;
namespace FakeXrmEasy.Permissions
{
public class AccessRightsRepository : IAccessRightsRepository
{
protected Dictionary<EntityReference, List<PrincipalAccess>> _accessRights;
... |
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace HealthStory.Authorization.Users
{
[Table("h_patient")]
public class Patie... |
#if ALTCOINS
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using BTCPayServer.Abstractions.Constants;
using BTCPayServer.Abstractions.Extensions;
using BTCPayServer.Abstractions.Models;
using BTCPayServer.Client;
using BTCPayServer.Da... |
using System.Runtime.Serialization;
namespace Spotify.NetStandard.Responses
{
/// <summary>
/// Context Object
/// </summary>
[DataContract]
public class Context : BaseResponse
{
/// <summary>
/// The object type of the object
/// </summary>
[DataMember(Name = "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.