content stringlengths 23 1.05M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NuGet.Versioning;
namespace BaGet.Core
{
public class PackageService : IPackageService
{
private readonly IPackageDatabase _db;
priv... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using AdaptiveExpressions;
using Microsoft.Bot.Builder.Adapters;
using Microsoft.Bot.Schema;
using Newto... |
using UnityEngine;
using UnityEngine.Advertisements;
public abstract class Ads:MonoBehaviour,IUnityAdsListener
{
protected string gameId="3719115"; //id for google playstore
protected string rewardAd = "rewardedVideo";
protected bool testMode = true;
public abstract void Reward();
public abstrac... |
namespace KafkaFlow.Configuration
{
using System;
using System.Collections.Generic;
using Confluent.Kafka;
using Acks = KafkaFlow.Acks;
/// <summary>
/// Represents the producer configuration values
/// </summary>
public interface IProducerConfiguration
{
/// <summary>
... |
namespace Correlate
{
/// <summary>
/// Provides access to the <see cref="CorrelationContext"/>.
/// </summary>
public interface ICorrelationContextAccessor
{
/// <summary>
/// Gets or sets <see cref="CorrelationContext"/>.
/// </summary>
CorrelationContext? CorrelationContext { get; set; }
}
}
|
@{
if (ViewData.TryGetValue("ParentLayout", out var parentLayout))
{
Layout = (string)parentLayout;
}
else
{
Layout = "/Areas/Identity/Pages/_Layout.cshtml";
}
}
<section class="page-title">
<div class="page-title-img bg-img bg-overlay-darken">
<div class="container"... |
using System;
using Quartz;
namespace Spring.Scheduling.Quartz.Integration.Tests
{
public class TestJob : IJob
{
public void Execute(IJobExecutionContext context)
{
Console.WriteLine("Executing Execute!");
}
public void DoIt()
{
Console.WriteLin... |
using System;
using System.Data.Common;
using System.Data.OleDb;
namespace FastFoodPOS.DatabaseUtil
{
class DatabaseMSAccessProvider : DatabaseProvider
{
private OleDbConnection connection = null;
public override DbConnection GetConnection()
{
if (connection == null)
... |
using Moq;
using NUnit.Framework;
namespace Jama.JustTest.SampleTests.Example
{
public class WhenAValidRequestForLogInRecieved : BaseTestFixture<LoginService>
{
private LoginRequest _lr;
private bool _result;
protected override void SetupDependencies()
{
var userSe... |
using FlappyBirdDemo.Core.Interfaces;
using FlappyBirdDemo.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
namespace FlappyBirdDemo.Core
{
public sealed class Game : IGame
{
private readonly G... |
using System;
// Problem 4. Hexadecimal to decimal
// • Write a program to convert hexadecimal numbers to their decimal representation.
class HexadecimalToDecimal
{
static void Main()
{
Console.WriteLine("Please enter a hexadecimal number: ");
string hex = Console.ReadLine();
int[] n... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace GoldenSweets.Core.Models
{
public interface IShoppingCartService
{
string Id { get; set; }
IEnumerable<ShoppingCartItem> ShoppingCartItems { get; set; }
Task<int> AddToCartAsync(Cake cake, int qty = 1);
... |
//
// Copyright (C) 2014 EllieSpeed
//
// All rights reserved
//
// www.EllieSpeed.com
//
using System;
using System.Threading;
using EllieSpeed.Broadcast;
using EllieSpeed.Receive;
using Moq;
using NUnit.Framework;
namespace EllieSpeed.Arduino.Test
{
[TestFixture]
public class ArduinoTest
{
// Virtual ... |
using System;
namespace P05.ConvertToDouble
{
internal class Program
{
static void Main(string[] args)
{
string[] userInput = Console.ReadLine()
.Split(' ', StringSplitOptions.RemoveEmptyEntries);
int a = Convert.ToInt32(userInput[0]);
int b... |
using System;
using System.Net;
using Bespoke.Common;
using Bespoke.Common.Osc;
using EiMM.ViewModel.Model.Interface;
namespace EiMM.ViewModel.Model.Impl
{
public class UdpTransmitter : ITransmitter
{
private static IPEndPoint _destination;
private OscPacket _packet;
public UdpTransm... |
using Microsoft.EntityFrameworkCore;
public class TaskDbContext : DbContext{
public DbSet<Task> TasksSet {get;set;}
public DbSet<Status> Status { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder){
modelBuilder.Entity<Status>()
.HasMany(c => c.Tasks)
.... |
namespace NoteMap.Elements
{
public class Style
{
public double Height { get; set; }
public double RealHeight { get; set; }
public double RealWidth { get; set; }
public Scale Scale { get; set; }
public double Width { get; set; }
}
} |
using NUnit.Framework;
namespace FubuMVC.IntegrationTesting.Assets
{
[TestFixture]
public class can_write_font_related_assets_Issue_764
{
[Test]
public void read_WOFF_file()
{
TestHost.Scenario(_ =>
{
_.Get.Url("content/styles/fon... |
using System;
using Xmpp.protocol;
using Xmpp.protocol.client;
namespace Xmpp.protocol.iq.disco
{
/// <summary>
/// Discovering Information About a Jabber Entity
/// </summary>
public class DiscoInfoIq : IQ
{
private DiscoInfo m_DiscoInfo = new DiscoInfo();
public DiscoInfoIq()
{
base.Query = m_Disco... |
using System;
using System.Collections.Generic;
using LiveHAPI.Core.Model.People;
namespace LiveHAPI.Core.Interfaces.Repository
{
public interface IClientRelationshipRepository : IRepository<ClientRelationship,Guid>
{
IEnumerable<ClientRelationship> GetIndexRelations();
}
} |
using DataAccess.Entity.AccountEntity;
using DataAccess.Model.Contexts;
using Framework.Security;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using System;
using System.Threading.Tasks;
namespace DataAccess.Repository
{
/// <summary>
/// Provides account based data access.
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Newtonsoft.Json;
using LuaSTGEditorSharp.EditorData.Node.NodeAttributes;
using LuaSTGEditorSharp.EditorData.Message;
namespace LuaSTGEditorSharp.EditorData.Node.Object
{
[Ser... |
using System;
namespace De.Osthus.Ambeth.Proxy
{
public interface IPropertyChangeConfigurable
{
bool Is__PropertyChangeActive();
void Set__PropertyChangeActive(bool active);
}
}
|
using GAFBot.Modules;
using System;
using System.Collections.Generic;
using System.Text;
namespace GAFBot.Server
{
public interface IServerModule : IModule
{
}
}
|
namespace DocFx.Plugin.LastModified
{
public enum CommitDataType
{
Date,
Body
}
} |
namespace BodySculptor.Exercises.Services
{
using BodySculptor.Exercises.Data;
using BodySculptor.Exercises.Models.MuscleGroups;
using BodySculptor.Exercises.Services.Interfaces;
using BodySculptor.Services.Mapping;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
usin... |
namespace dBASE.NET.Encoders
{
using System.Text;
internal class CharacterEncoder : IEncoder
{
private static CharacterEncoder instance;
private CharacterEncoder() { }
public static CharacterEncoder Instance => instance ??= new CharacterEncoder();
/// <inheritdoc />
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using Aarvani.ConstantContactV2.Configurations;
namespace Aarvani.ConstantContactV2.Models
{
[DataContract]
[Serializable]
public class ResultSet<T>
{
[DataMember(Name = "results")]
... |
using System.Reflection;
using Xunit;
namespace Atc.Rest.Extended.Tests.Extensions
{
public class AssemblyExtensionsTests
{
[Fact]
public void GetValidationTypes()
{
// Act
var actual = Assembly.GetExecutingAssembly().GetValidationTypes();
// Assert... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Automatic9045.AtsEx.PluginHost.BveTypeCollection;
namespace Automatic9045.AtsEx.PluginHost.ClassWrappers
{
/// <summary>
/// 停車場のリストを表します。
/// </summary>
... |
using Xunit;
namespace Structurizr.Core.Tests
{
public class GroupableElementTests : AbstractTestBase
{
[Fact]
public void Test_getGroup_ReturnsNullByDefault()
{
Person element = Model.AddPerson("Person");
Assert.Null(element.Group);
}
[Fa... |
namespace SensateIoT.Platform.Router.Common.Settings
{
public class HealthCheckSettings
{
public int DefaultQueueLimit { get; set; }
public int? LiveDataServiceQueueLimit { get; set; }
public int? TriggerServiceQueueLimit { get; set; }
public int? PublicMqttQueueLimit { get; set; }
public int? InputQueueLi... |
using System.Collections.Generic;
namespace LevelEditor.Engine.Mesh
{
/// <summary>
///
/// </summary>
internal sealed class ActorBatch
{
public readonly List<Actor> mActors;
public readonly Mesh mMesh;
/// <summary>
///
/// </summary>
/// <para... |
using AutoMapper;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using MyCodeCamp.Controllers;
using MyCodeCamp.Data.Entities;
using MyCodeCamp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MyCodeCamp.MappingProfiles
{
public c... |
using System;
using System.Runtime.Serialization;
namespace GatheringAPI.Services
{
[Serializable]
internal class NullTwilioPhoneException : Exception
{
public NullTwilioPhoneException() : base("Twilio phone is invalid/empty.")
{
}
}
} |
using System.Threading.Tasks;
namespace Accelerider.Windows.Infrastructure.Upgrade
{
public interface IUpgradeTask
{
string Name { get; }
Task LoadFromLocalAsync();
Task LoadFromRemoteAsync(UpgradeInfo info);
}
}
|
namespace vdocs
{
partial class vdocsParser
{
}
}
|
using Jint.Native;
using Jint.Native.Array;
using Jint.Runtime.Interop;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Manticore
{
public interface IJsTypeConverter
{
JsValue AsJs(Object nativeValue);
... |
namespace MotiNet.Entities
{
public interface INameBasedEntityAccessor<TEntity>
where TEntity : class
{
object GetId(TEntity entity);
string GetName(TEntity entity);
void SetNormalizedName(TEntity entity, string normalizedName);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Threading.Tasks;
using CitizenFX.Core;
using CitizenFX.Core.UI;
using CitizenFX.Core.Native;
using static CitizenFX.Core.Native.Function;
using static CitizenFX.Core.Native.API;
namespace topcam3
{... |
//
// Unit tests for CallingEqualsWithNullArgRule
//
// Authors:
// Nidhi Rawal <sonu2404@gmail.com>
// Sebastien Pouliot <sebastien@ximian.com>
//
// Copyright (c) <2007> Nidhi Rawal
// Copyright (C) 2008 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a... |
using AutoMapper;
using Google.Protobuf.WellKnownTypes;
using Restaurants.Domain.Models;
namespace Restaurants.API.Mapping
{
public class MappingProfile : Profile
{
public MappingProfile()
{
CreateMap<Restaurant, RestaurantsApi.Restaurant>()
.ForMember(dest => dest.... |
using UnityEngine;
using System.Collections;
public class SetAnimationSpeed : MonoBehaviour
{
public Animator animator; //The target animatior
public float animatorSpeed; //The speed of the animation [0..1]
// Use this for initialization
void Start ()
{
animator.sp... |
#region Using Statements
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
#endregion
n... |
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Security;
using System.Security.Claims;
using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;
using KeycloakIdentityModel.Extensions... |
using System;
using System.Collections.Generic;
namespace ListaComNomesDeCarros
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
List<string> carros = new List<string>;
{
"Megane",
"s10",... |
using EventFlow.Core;
namespace M5x.CEQS.Schema
{
public interface IFact
{
public string CorrelationId { get; set; }
}
public interface IFact<TAggregateId>: IFact
{
TAggregateId AggregateId { get; set; }
}
public interface IFact<TAggregateId, TPayload>: ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Do_not_give_up.Interface
{
interface IIntroduction
{
public void Introduction();
}
}
|
using System;
using System.Threading;
using System.Threading.Tasks;
using IzzyDevo.CQRS.Domain.YouTube.Entities;
using IzzyDevo.CQRS.Infrastructure.Pipeline;
using IzzyDevo.CQRS.Infrastructure.Pipeline.Transactional;
using MediatR;
using Raven.Client;
namespace IzzyDevo.CQRS.Domain.YouTube
{
/// <summary>
/// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FSFISCATLLib;
using FSP11CRYPTATLLib;
namespace BeanfunLogin
{
public class PlaySafe
{
public string cardType;
public string CardReader;
public string cardid;
FSFISCClass fs;
FSP... |
using System.Collections.Generic;
using technicaltest.API.Classes;
namespace technicaltest.API.Repositories
{
/// <summary>
/// Reference repository interface
/// </summary>
public interface IReferenceRepository
{
/// <summary>
/// GetAllItems method to returl all reference items
... |
using Microsoft.Practices.EnterpriseLibrary.Data;
using MTSEntBlocks.ExceptionBlock.Handlers;
using System;
using System.Configuration;
using System.Data;
using System.Data.Common;
namespace MTSEntBlocks.DataBlock
{
/// <summary>
/// </summary>
public static class ImageDataAccess
{
private sta... |
namespace MisTweet.Data.EfCore
{
using Microsoft.EntityFrameworkCore;
using MisTweet.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
public abstract class EfCoreRepository<TEntity, TContext> : IRepository<TEntity>
where TEn... |
using System;
using UnityEngine;
using Object = UnityEngine.Object;
namespace SleepyApe
{
[DefaultExecutionOrder(-2000)]
public class ObjectVariableSetter : MonoBehaviour
{
[SerializeField] private VariableData[] _variables = null;
private void Awake()
{
foreach (var va... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ShareLink.Models
{
public class Images
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Key]
public long ID { get; set; }
public TypeImage Type {get;set;}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Baseline;
using Baseline.Dates;
using Jasper;
using Jasper.Attributes;
using Jasper.Configuration;
using Jasper.ErrorHandling;
using Jasper.Runtime.Handlers;
using Jasper.Tracking;
using Jasper.Util;
using Microsoft.... |
using AutoMapper;
using Courier.Data.Models;
using Courier.Models.Dto;
namespace Courier;
public class AutoMapperProfile : Profile
{
public AutoMapperProfile()
{
CreateMap<Package, PackageDto>()
.ForMember(a => a.Id, x => x.MapFrom(b => b.Id))
.ForMember(a => a.Name, x => x.Map... |
namespace BLogger.API.Domain.DTOs
{
public class DescriptionDTO
{
public string Description { get; set; }
public string ShortDescription { get; set; }
}
}
|
using Newtonsoft.Json;
using Sber.SmartApp.Models.Constants;
namespace Sber.SmartApp.Models
{
public class Action
{
[JsonProperty(PropertyName = "text")]
public string Text { get; set; }
/// <summary>
/// Recommend to get values from <see cref="ActionTypes"/>
/// </sum... |
using System;
using System.Linq;
using Acme.Module.BusinessObjects;
using DevExpress.ExpressApp.Model;
using DevExpress.ExpressApp.Model.NodeGenerators;
using static Acme.Module.Helpers.ApplicationModelCreator;
using static Acme.Module.Helpers.VisualizeNodeHelper;
var application = CreateModel(typeof(Person), type... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FChatDicebot
{
class Program
{
static void Main(string[] args)
{
BotMain m = new BotMain();
if (BotMain._debug)
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using MonoDroid.Generation;
using NUnit.Framework;
namespace generatortests
{
[TestFixture]
public class EnumMappingsTests
{
[Test]
public void BasicEnumifi... |
#if UNITY_EDITOR || UNITY_EDITOR_BETA
using migrationtool.windows;
using System.IO;
using migrationtool.controllers;
using Newtonsoft.Json;
using System.Collections.Generic;
using migrationtool.models;
using migrationtool.utility;
using UnityEngine;
namespace migrationtool.views
{
public class IDExportView
{
... |
using System.Collections.Generic;
namespace WampSharp.V2.Rpc
{
/// <summary>
/// Indicates how to treat results of type <see cref="ICollection{T}"/>.
/// </summary>
public enum CollectionResultTreatment
{
/// <summary>
/// Indicates that result of type <see cref="ICollection{T}"/> ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Cogito.MassTransit.Scheduler.Util;
using Quartz;
namespace Cogito.MassTransit.Scheduler
{
/// <summary>
/// Periodically sets up the Periodic jobs.
/// </summary>
public class PeriodicSchedulerJob... |
using Draken.Web.Middlewares;
using Microsoft.AspNetCore.Builder;
namespace Microsoft.Extensions.DependencyInjection
{
public static class SecurityMiddlewareExtensions
{
public static IApplicationBuilder UseOWASPSecurity(this IApplicationBuilder applicationBuilder)
=> applicationBuilder.Use... |
using Saga.Common.Messaging;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Saga.Participants.Tests.Utils.Stubs
{
public class InMemoryMessageProducer : IMessageProducer
{
public List<object> Items { get; set; }
public InMemoryMessageProducer()
{
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using ECommerce.Domain.Models;
namespace ECommerce.Domain.Repositories
{
public interface IPurchaseRepository
{
public Task AddAsync(Purchase purchase);
public void Update(Purchase purchase);
public void Delete(Purchase p... |
using FubuMVC.Core.UI.Elements;
using FubuMVC.Core.Validation.Web.UI;
using NUnit.Framework;
using Shouldly;
namespace FubuMVC.Tests.Validation.Web.UI
{
[TestFixture]
public class NumberElementModifierTester : ValidationElementModifierContext<NumberElementModifier>
{
[Test]
public void adds... |
using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main()
{
List<int> lineOfDigits = Console.ReadLine().Split().Select(int.Parse).ToList();
for (int cycle = 0; cycle < lineOfDigits.Count; cycle++)
{
if (lineOfDigits[cycle] % 2 == ... |
using System;
namespace BEncoding.NET {
public static class Message {
static public int Write(byte[] buffer, int offset, byte value) {
buffer[offset] = value;
return 1;
}
static public int Write(byte[] dest, int destOffset, byte[] src, int srcOffset, int count) {
... |
using UnityEngine;
public class Build_Objects : MonoBehaviour
{
public GameObject barracks_obj;
public GameObject house_obj;
public GameObject button_barracks;
[SerializeField] private ResourceInv resourceInv;
public void SpawnBarracks()
{
if (resourceInv.wood >= 10 && resourceInv.sto... |
using System.Runtime.Serialization;
namespace Bitmex.Client.Websocket.Responses.Instruments
{
public enum InstrumentFairMethod
{
Undefined,
[DataMember(Name = "impactMidPrice")]
ImpactMidPrice,
[DataMember(Name = "fundingRate")]
FundingRate
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MillitaryManager : MonoBehaviour {
public List<Troop> troops;
public GameObject[] troopModels;
public GridManager GM;
public void Start()
{
troops = new List<Troop>();
GM = GameObject.Find... |
// Copyright (c) InfoTeCS JSC. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using Infotecs.Cryptography.NativeApi;
... |
using System;
using System.Collections.Generic;
interface I
{
}
namespace Outer.Inner
{
class Test {
static void M (I list)
{
list.AddRange(new Test[0]);
}
public static void Main()
{
}
}
}
namespace Outer {
static class ExtensionMethods {
public static void AddRange<T>(this I list, IEnumerabl... |
using System.IO;
namespace Elzar.Pdf{
public interface IPdfGenerator{
Stream Generate(string path);
}
} |
using Unity.Entities;
using Unity.Mathematics;
using UnityEngine;
[DisallowMultipleComponent]
[RequiresEntityConversion]
public class RegenCustom : MonoBehaviour, IConvertGameObjectToEntity
{
public int Regen;
public int Health;
public void Convert(Entity entity, EntityManager dstManager, GameObject... |
using System;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Application.Common.Extensions
{
public static class StringExtensions
{
public static string ToEmptyIfNull(this string s)
{
return s ?? string.Empty;
}
public static ... |
using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using ygo.application.Commands.UpdateRulings;
using ygo.application.Dto;
using ygo.core.Models.Db;
using ygo.core.Services;
using ygo.tests.core;
namespace ygo.appl... |
using System;
using System.Collections.Generic;
using System.Linq;
using AdventureWorksCosmos.Core.Models.Cart;
using AdventureWorksCosmos.Core.Models.Fulfillments;
namespace AdventureWorksCosmos.Core.Models.Orders
{
public enum Status
{
New = 0,
Submitted = 1,
Approved = 2,
Re... |
namespace demo_tpp_dotnet_angular.Models
{
public class TokenResponse
{
public string? access_token { get; set; }
public string? refresh_token { get; set; }
public string? scope { get; set; }
public int? expires_in { get; set; }
}
} |
namespace ExtentionMethods
{
using System;
using System.Collections.Generic;
using System.Linq;
using Student;
public static class StudentExtentions
{
public static List<Student> SortByGroup(this List<Student> students, uint groupNumber)
{
if (students.Count() == 0)... |
#region File Description
//-----------------------------------------------------------------------------
// AIManager.cs
//
// Ben Scharbach - XNA Community Game Platform
// Copyright (C) Image-Nexus, LLC. All rights reserved.
//-----------------------------------------------------------------------------
#endre... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace NetWebScript.Script
{
[ScriptAvailable]
public static class RuntimeHelper
{
[ScriptBody(Inline = "obj.$itfs||null")]
private static JSFunction[] GetImplemen... |
using GenHTTP.Api.Content.IO;
using GenHTTP.Api.Infrastructure;
using GenHTTP.Modules.SinglePageApplications.Provider;
namespace GenHTTP.Modules.SinglePageApplications
{
public static class SinglePageApplication
{
public static SinglePageBuilder From(IBuilder<IResourceTree> tree) => From... |
using System;
using System.Windows.Forms;
using SIL.WritingSystems;
using SIL.Windows.Forms.Miscellaneous;
namespace SIL.Windows.Forms.WritingSystems
{
public partial class LanguageLookupDialog : FormForUsingPortableClipboard
{
public LanguageLookupDialog()
{
InitializeComponent();
}
/// <summary>
/// ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Inbox2.Platform.Channels.Attributes;
namespace Inbox2.Platform.Channels.Entities
{
public class ChannelAttachment
{
public string Filename { get; set; }
public long SourceChannelId { get; se... |
using Hippo.Application.Common.Exceptions;
using Hippo.Application.Common.Interfaces;
using Hippo.Core.Entities;
using Hippo.Infrastructure.ReverseProxies.Configuration;
using Microsoft.Extensions.Logging;
using Yarp.ReverseProxy.Configuration;
namespace Hippo.Infrastructure.ReverseProxies;
public class YarpReversePr... |
using IServices.Infrastructure;
using Microsoft.AspNetCore.Identity;
using Models.SysModels;
namespace IServices.ISysServices
{
public interface ISysRoleService : IRepository<IdentityRole>
{
}
} |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Linq;
using BuildXL.Native.IO;
using BuildXL.Pips.Operations;
using BuildXL.Utilities.Configuration.Mutable;
using Test.BuildXL.FrontEnd.Core;
using Test.BuildXL.FrontEnd.Yarn;
using Test.B... |
// Copyright (c) Microsoft Corporation. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.Json.Schema.ToDotNet.Hints
{
/// <summary>
/// Represents a c... |
// Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using Nuke.Common.IO;
using Nuke.Common.ValueInjection;
using static Nuke.Common.Constants;
namespace Nuke.Common.Ex... |
using AdvantureWork.Common.Helper;
namespace AdvantureWork.Common.ViewModel
{
public class DataTableViewModel<T> : TransactionalInformation
{
public DataTableViewModel()
{
}
public int draw { get; set; }
public string error { get; set; }
public long recordsFilt... |
using System;
using System.IO;
using System.Runtime.Serialization;
using System.Text.RegularExpressions;
using Thycotic.RabbitMq.Helper.Logic.OS;
namespace Thycotic.RabbitMq.Helper.Logic.ManagementClients.Cli
{
/// <summary>
/// CTL RabbitMqProcess interactor
/// </summary>
/// <seealso cref="IProces... |
using Milvaneth.Server.Statics;
using Org.BouncyCastle.Crypto.Agreement.Srp;
using Org.BouncyCastle.Crypto.Digests;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.Crypto.Prng;
using Org.BouncyCastle.Math;
using Org.BouncyCastle.Security;
using System;
using System.Collections.Concurrent;
using System... |
using CustomHost.EntityFrameworkCore;
using Volo.Abp.Modularity;
namespace CustomHost
{
[DependsOn(
typeof(CustomHostEntityFrameworkCoreTestModule)
)]
public class CustomHostDomainTestModule : AbpModule
{
}
} |
using UnityEngine;
using UnityEngine.UI;
public class UIUnitInfo : MonoBehaviour {
[SerializeField] Text m_NameLabel;
[SerializeField] Slider m_SliderHP;
[SerializeField] Image m_SliderHPFill;
[SerializeField] Text m_HPValue;
[SerializeField] Text m_CountAmmo;
Transform m_TF;
public boo... |
using iSujou.Domain.Entities;
using iSujou.Domain.Repositories;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace iSujou.Infra.Repositories
{
public class ProposalRepository : Repository<Proposal>, IProposalRepository
{
public ProposalReposi... |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Iracle
{
/// <summary>
/// Base class for all types of connections that can have Bots added to them.
/// </summary>
public abstract class BotConnection : IDisposable
{
private readonly AggregateBot _aggregateBot;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.