content stringlengths 23 1.05M |
|---|
namespace Template10.Services
{
public enum ResourceTypes { Ok, Yes, No, Cancel }
}
|
namespace Project0.StoreApplication.Domain.Models
{
/// <summary>
///
/// </summary>
public class Order
{
public string CustomerName { get; set; }
public string ProductName { get; set; }
public string Total { get; set; }
public int OrderId { get; set; }
// public DateTime OrderDate { get... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Hosting;
using System.Data.Entity;
namespace WebApp.Models
{
public class Aluno
{
public int id { get; set; }
public string nome { get; set; }
p... |
using UnityEngine;
public static class srPhotonUtility
{
public static void SetEnable ( MonoBehaviour _mono , bool _enable )
{
if ( _mono == null )
{
LogError( "Mono" );
return;
}
_mono.enabled = _enable;
}
public static void SetActive ( GameObj... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace SchoolSafeID
{
public static class ValidatorExtensions
{
public static bool IsValidEmailAddress(this string s)
{
Regex... |
using System;
using StackExchange.Redis;
namespace GlutenFree.Akka.Metrics.MetricMailbox.RedisPubSubListener
{
public interface IObservableMailboxMetricProvider
{
IObservable<MailboxMetric> ObservableSet { get; }
}
public class ObservableMetricSubscriber : MetricSubscriberAbstraction, IObserva... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Indexer;
namespace CrawlerWebSite.Services
{
public class TfIdfCalc
{
private readonly Dictionary<string, List<UrlWordCount>> _dictionary;
public TfIdfCalc(Dictionary<string, List<UrlWordCount>... |
#region Namespaces
using System;
using System.Collections.Generic;
using System.Linq;
using Autodesk.Revit.ApplicationServices;
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using Autodesk.Revit.UI.Events;
using Point = System.Drawing.Point;
using Size = System.Drawing.Siz... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
namespace Tyvj.DataModels
{
public class DB : DbContext
{
public DbSet<User> Users { get; set; }
public DbSet<Contest> Contests { get; set; }
public DbSet<Problem>... |
namespace Dependencies.Graph.Api.Options
{
public class SecurityOption
{
public bool Enabled { get; init; }
public SecurityOidc Oidc { get; init; }
public SecuritySwagger Swagger { get; init; }
public string RoleMappings { get; init; }
}
}
|
// (c) gfoidl, all rights reserved
using System.Xml.Linq;
using gfoidl.Trx2Junit.Core.Internal;
using gfoidl.Trx2Junit.Core.Models.Trx;
using NUnit.Framework;
namespace gfoidl.Trx2Junit.Core.Tests.Internal.TrxTestResultXmlParserTests;
[TestFixture]
public class Parse
{
[Test]
[TestCase("./data/trx/mstest.trx... |
@{
Layout = "_Layout";
}
@model Factory.Models.Engineer
<div class="container">
<div class="jumbotron">
<h2>Are you sure you want unassign this engineer?</h2>
</div>
<div>
<div class="card">
<div class="card-body">
@Html.DisplayNameFor(model => model.Name): @Html.DisplayFor(model => model.Name)
... |
using DarkUI.Config;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DarkUI.Controls
{
public partial class DarkDataGridView : DataGridView
{
public DarkDataGridView()
... |
using LinFx.Collections;
using System.Collections.Generic;
namespace LinFx.Extensions.PermissionManagement
{
public class PermissionManagementOptions
{
//TODO: rename to Providers
public ITypeList<IPermissionManagementProvider> ManagementProviders { get; }
public Dictionary<string, st... |
namespace Xamanimation
{
using System;
using System.Threading.Tasks;
using Xamarin.Forms;
public class TurnstileInAnimation : AnimationBase
{
protected override Task BeginAnimation()
{
if (Target == null)
{
throw new NullReferenceException("N... |
namespace PtVzzlexMasCake
{
internal enum Operation
{
Div,
Add,
Sub
}
internal static class OperationExtensions
{
public static string OperationToString(this Operation operation)
{
switch (operation)
{
case Operation.A... |
#nullable enable
namespace Examples.Dynamic;
using System.Dynamic;
using Examples.Common;
using Examples.Reflection;
using Microsoft.CSharp.RuntimeBinder;
public class DynamicWrapper<T> : DynamicObject
{
#region Constants and Fields
#pragma warning disable 414
[SuppressMessage("Microsoft.Performance", "CA1... |
using NeoCA.Identity.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Moq;
using System;
namespace NeoCA.Identity.UnitTests.Fakes
{
public class FakeUserManager : UserManager<ApplicationUser>
{
public FakeUserManager()
... |
using Lime;
namespace Tangerine.UI.Widgets.ConflictingAnimators
{
public class SectionWidget : Widget
{
public readonly ThemedExpandButton ExpandButton;
public readonly DescriptionWidget Description;
private readonly Widget content;
private Spacer Margin => Spacer.HSpacer(
DescriptionWidget.IconSize +
... |
using DGCLib_Base;
using DGCLib_Base.DomainTypes;
using DGCLib_Base.DomainTypes.LinearAlgebra;
using System.Collections.Generic;
using System.Linq;
namespace DGCLib_Misc
{
public class Convex_Triangulation : IAlgorithm<Triangle>
{
[BindInGUI]
public IEnumerable<Point> Points { get; set; }
... |
using System.Collections.Generic;
using Project0.StoreApplication.Domain.Models;
using Project0.StoreApplication.Storage.Repositories;
namespace Project0.StoreApplication.Client.Singletons
{
/// <summary>
///
/// </summary>
public class OrderSingleton
{
private static OrderSingleton _OrderSingleton;
... |
using UI;
using UnityEngine;
namespace Systems
{
public class AudioManager : MonoBehaviour
{
public static AudioManager instance;
// 인스펙터 노출 변수
// 일반
[SerializeField]
private AudioSource audioSource; // 해당 오디오 소스
[SerializeField]
private AudioClip[] audioClip; // 오디오 클립의 모음
... |
using System;
namespace AntData.ORM.Mapping
{
public class InheritanceMapping
{
public object Code;
public bool IsDefault;
public Type Type;
public ColumnDescriptor Discriminator;
public string DiscriminatorName
{
get { return Discriminator.MemberName; }
}
}
}
|
using System.Collections.Generic;
using torrentdl.Model;
namespace torrentdl.Parsers
{
public interface ITorrentParser
{
string BaseUrl { get; }
string ShowList { get; }
Source Source { get; }
Dictionary<string, IEnumerable<Episode>> Find(IEnumerable<Show> shows);
}
}
|
using System;
using System.Collections.Generic;
namespace APIServer.Models
{
public class Answer
{
public DateTime Time;
public string Author;
public string Content;
public int Approvals;
public List<Reply> Replies;
}
} |
// Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Text.RegularExpressions;
using DotNetCore.CAP.Persistence;
using Microsoft.AspNetCore.Http;
namespace DotNetCore.CAP.Dashboard
{
pu... |
using System;
namespace PetLib
{
/// <summary>
/// This component of the class contains behaviors/methods
/// </summary>
public abstract partial class Pet
{
/// <summary>
/// This method returns the formatted string with all details of a pet, name, id, gender, dob
/// </summa... |
using System;
using Paillave.Etl.Core;
namespace Paillave.Etl.EntityFrameworkCore
{
public static class EntityFrameworkCoreDeleteEx
{
// [Obsolete]
// public static IStream<TIn> EfCoreDelete<TIn, TEntity>(this IStream<TIn> inputStream, string name, Expression<Func<TIn, TEntity, bool>> match)
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Web;
using System.Web.Compilation;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load (object sender, EventArgs e)
{
List<string> messag... |
using GMac.Engine.AST.Expressions;
namespace GMac.Engine.AST
{
public interface IAstObjectWithExpression : IAstObjectWithType
{
/// <summary>
/// The AST expression of this object
/// </summary>
AstExpression Expression { get; }
}
}
|
using PasswordManager.Bot.Commands.Enums;
using PasswordManager.Core.Entities;
namespace PasswordManager.Bot.Commands.Abstractions;
public interface ICommandFactory {
///<summary></summary>
/// <returns>null in no command found.</returns>
IMessageCommand GetMessageCommand(string messageCommand);
///<summary></s... |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace IronFrame.Messaging
{
/// <summary>
///
/// </summary>
/// <remarks>
/// Based on Stephen Toub's article(s) of Async Coordination primitives.
/// See http://blogs.msdn.com/b/pfxteam/archive/2012/02/12/10266988.aspx
... |
namespace OpenDDD.Common
{
public abstract class GenericValueObject<T> : IValueObject
{
protected T Value { get; set; }
protected GenericValueObject(T value)
{
Value = value;
}
public override int GetHashCode()
{
return Va... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RaiLTools
{
/// <summary>
/// Represents an entry in a XFL archive.
/// </summary>
public class XflArchiveEntry
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
namespace Snake {
public partial class Canvas : Form {
private readonly Func<int,i... |
using FluiTec.AppFx.Data.TestLibrary;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FluiTec.AppFx.Data.Dapper.Mssql.IntegrationTests
{
/// <summary>
/// (Unit Test Class) a mssql entity data test.
/// </summary>
[TestClass]
[TestCategory("Integration")]
public class MssqlDummyD... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Eneter.Messaging.DataProcessing.MessageQueueing;
using System.Threading;
using Eneter.Messaging.Diagnostic;
using System.Diagnostics;
namespace Eneter.MessagingUnitTests.DataProcessing.MessageQ... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic; //Access to lists
public class ObjectPoolerScript : MonoBehaviour {
//generic pooling script. refer to ShootBulletScript class for details
public static ObjectPoolerScript current;
public GameObject pooledObject; // Create 20 bulle... |
namespace FireSim
{
using System.Collections.Generic;
using FireSim.Neighbour;
/// <summary>
/// Provides an interface for selecting <see cref="NeighbourState"/> of a given cell
/// </summary>
public interface INeighbourStrategy
{
/// <summary>
/// Creates the <see cref="Ne... |
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading.Tasks;
using Backend.Mocks.SSB;
using Backend.Models.SSBPopulationStatistics.POCO;
namespace Backend.API.Services
{
public interface IPopulationInNorwayService
{
public Task<PopulationPerMunicipalityNorway> GetPopulationsInNorway... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace NeoNftProject.Data
{
public class Address
{
public Address()
{
this.OutgoingTransactions = new List<Transaction>();
this.IncomingTransactions = ne... |
using System.Collections.Generic;
namespace NoData.Tests.SharedExampleClasses.Database.Entity
{
public class Person
{
public int Id { get; set; }
public string Name { get; set; }
public string Region_code { get; set; }
public int? PartnerId { get; set; }
public int? Favo... |
using Microsoft.CodeAnalysis;
namespace NTypewriter.CodeModel.Roslyn
{
internal sealed class Field : SymbolBase, IField
{
private readonly IFieldSymbol symbol;
public IType Type => NTypewriter.CodeModel.Roslyn.Type.Create(symbol.Type, this);
public bool IsConst => symbol.IsConst... |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace AerialForWindows.Updates {
public class TestReleaseProvider : IReleaseProvider {
public Task<IReadOnlyCollection<ReleaseInfo>> GetReleaseInfosAsync() {
var releaseInfos = (IReadOnlyC... |
using System;
using System.Collections.Generic;
namespace Fabric.Authorization.API.Models
{
public class PermissionRequestContext
{
public string RequestedGrain { get; set; }
public string RequestedSecurableItem { get; set; }
}
public class PermissionRequestContextComparer : IEquality... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIManager : MonoBehaviour
{
public Text TargetText;
public Text ScoreText;
public Text LivesText;
public int Score { get; set; }
private void Start()
{
Brick.O... |
using DbDeltaWatcher.Interfaces.Entities;
namespace DbDeltaWatcher.Classes.Entities
{
public class TableDescription : ITableDescription
{
public string TableName { get; }
public TableDescription(string tableName)
{
TableName = tableName;
}
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using ICSharpCode.Decompiler.Util;
namespace ICSharpCode.Decompiler.IL
{
internal static class ILInstructionExtensions
{
public static T WithILRange<T>(this T target, ILInstruction sourceInstruction) where T : ILInstruction
{
target.AddILRang... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Sceelix.Extensions
{
public static class JsonReaderExtension
{
public static bool IsProperty(this JsonReader reader, string propertyName)
{
return reader.TokenType == JsonToken.PropertyName && (string) reader.Value ... |
using Apocalypse.Any.Core.Collision;
using System.Collections.Generic;
namespace Apocalypse.Any.Infrastructure.Server.Services.Mechanics.Interfaces
{
public interface IRectangleCollisionMechanic
{
void HandleCollisions(ICollidable collidable, IEnumerable<ICollidable> collidableObjects);
IEnume... |
namespace SkbKontur.Cassandra.DistributedTaskQueue.Tracing
{
public class PublishTaskTraceContext : PrimitiveTaskTraceContext
{
public PublishTaskTraceContext()
: base("Publish")
{
}
}
} |
using System.Web.Mvc;
public class AccessBetaAttribute : ActionFilterAttribute
{
public override void OnActionExecuting(ActionExecutingContext filterContext)
{
var actionName = filterContext.ActionDescriptor.ActionName;
var controllerName = filterContext.Controller.GetType().Name;
... |
// MADE Apps licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace MADE.Networking.Http.Requests
{
using System;
using MADE.Runtime;
/// <summary>
/// Defines a model for a network request callback.
/// </summary>
public s... |
using InterflowFramework.Core.Message.Model.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using InterflowFramework.Core.Message.Interface;
using System.Xml.XPath;
namespace InterflowFramework.Core.Message.Model.Xml.Executor
{
[XmlExecutor("x... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace TriggersTools.DiscordBots.Database {
/// <summary>
/// An encrypter interface that symmetrically converts binary data.
/// </summary>
public interface IByteEncrypter... |
namespace GameBoyEmulator.Desktop.GBC {
public static class Flags {
#region Interrupts
public static readonly byte INT_VBLANK = 0x01;
public static readonly byte INT_LCDSTAT = 0x02;
public static readonly byte INT_TIMER = 0x04;
public static readonly byte INT_SERIAL = 0x08;
... |
using System;
using Moq;
using NUnit.Framework;
using RememBeer.Data.DbContexts.Contracts;
using RememBeer.Data.Repositories;
using RememBeer.Services;
namespace RememBeer.Tests.Services.FollowerServiceTests
{
[TestFixture]
public class Ctor_Should
{
[Test]
public void ThrowArgumentNull... |
namespace jwt_implement.Models.Api;
public class ApiResponse<Result>
{
public ApiResponse(Result data)
{
Data = data;
}
public ApiResponse(IEnumerable<string> messages)
{
Messages = messages;
}
public IEnumerable<string> Messages { get; set; } = new List<string>();
pu... |
using System;
using System.Diagnostics;
using Foundation;
using ObjCRuntime;
using OpenTK;
using MatrixFloat2x2 = global::OpenTK.NMatrix2;
using NUnit.Framework;
namespace MonoTouchFixtures.Simd
{
[TestFixture]
[Preserve (AllMembers = true)]
public class MatrixFloat2x2Test
{
[Test]
public void Identity ()... |
using System;
using System.Reactive.Subjects;
using System.Threading;
using BenchmarkDotNet.Attributes;
using Fibrous.Extras;
namespace Fibrous.Benchmark
{
[MemoryDiagnoser]
public class ObserverBenchmarks
{
private const int OperationsPerInvoke = 100000;
[Benchmark(OperationsPerInvoke =... |
using GocdTray.App.Abstractions;
using GocdTray.Rest;
namespace GocdTray.Test.App
{
public class GocdServiceFactoryFake : IGocdServiceFactory
{
public GocdServiceFake GocdService { get; set; } = new GocdServiceFake();
public IGocdService Create(ConnectionInfo connectionInfo)
{
... |
using System;
using TCP.Enums;
namespace TCP.EventArguments
{
/// <summary>
/// Arguments for connection events.
/// </summary>
public class ConnectionEventArgs : EventArgs
{
/// <summary>
/// The IP address and port number of the connected peer socket.
/// </summary>
... |
using System;
namespace SchoolManager
{
public class Teacher : SchoolMember, IPayroll
{
public string Subject;
private int income;
private int balance;
public Teacher(string name, string address, int phoneNum, string subject = "", int income = 25000)
{
Name... |
using SPICA.Math3D;
using System.Collections.Generic;
namespace SPICA.Formats.CtrGfx.Animation
{
public class GfxAnimMtxTransform
{
public float StartFrame;
public float EndFrame;
public GfxLoopType PreRepeat;
public GfxLoopType PostRepeat;
private ushort Padding;
... |
using Lidgren.Network;
namespace LmpCommon.Message.Interface
{
public interface IMessageData
{
/// <summary>
/// Name of the class
/// </summary>
string ClassName { get; }
/// <summary>
/// Retrieves the major version of the multiplayer
/// </summary>
... |
namespace Memoria.Data
{
public enum BattleStatusIndex : byte
{
None = 0,
Regene = 1,
Disable = 2,
Poison2Poison = 3,
StoneStoning = 4,
SilenceDarkConfuPoisonSleepHeatFreezeMiniStoning = 5,
Shell = 6,
Protes = 7,
Haste = 8,
Silence... |
using UnityEngine;
using System.Collections;
public class Map : MonoBehaviour
{
public Player map;
void OnMouseDown()
{
CameraMovement.setstate = true;
CameraMovement.movement = false;
if (DataLoader.enableclick)
transform.GetChild(0).transform.localSca... |
using System;
class HexadecimalToDecimal
{
static long HexadecimalToDecimalConvert(string hexadecimalNumber)
{
long result = 0;
int power = hexadecimalNumber.Length - 1;
for (int i = 0; i < hexadecimalNumber.Length; i++)
{
int currentDigit = 0;
if (hexad... |
using UnityEngine;
using UnityEngine.AI;
namespace Enemies.Scripts
{
public class ChaseBehavior : StateMachineBehaviour
{
private Transform _playerTransform;
private NavMeshAgent _agent;
public float attackRange;
private static readonly int Chance = Animator.StringToHash("Chance... |
using UnityEngine;
using UnityEngine.Playables;
using UnityEngine.Timeline;
[TrackBindingType(typeof(CutsceneManager))]
[TrackClipType(typeof(DialogueClip))]
public class DialogueTrack : PlayableTrack
{
public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount)
{
CutsceneManager... |
using Dev.Core.IoC;
using Dev.Framework.Security.Model;
namespace Dev.Framework.Security.Token
{
public interface IAccessTokenHandler : IService
{
/// <summary>
/// Token Almak İçin
/// </summary>
/// <param name="user"></param>
/// <returns></returns>
AccessTok... |
using System;
using System.CommandLine;
using System.CommandLine.Invocation;
namespace Shirhatti.Pm3
{
internal class ManifestCommand
{
internal static Command Create()
{
var command = new Command(
name: "manifest",
description: "The manifest subcomm... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Threading;
using FGDeliveryWPF.SalesServices;
namespace FGDeliveryWPF
{
/// <summary>
/// Interaction logic for... |
using System.Diagnostics;
using System.Text;
using Miningcore.Blockchain.Ethereum;
using Miningcore.Contracts;
using Miningcore.Extensions;
using Miningcore.Messaging;
using Miningcore.Native;
using Miningcore.Notifications.Messages;
using NLog;
namespace Miningcore.Crypto.Hashing.Ethash;
public class Dag : IDisposab... |
namespace Miruken.Http.Tests
{
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Patch;
[TestClass]
public class PatchHandlerTests : HttpTestScenario
{
[TestMethod]
public async Task Should_Perform_Http_Patch()
{
var pla... |
namespace ImagePixelReadTournament.Common
{
interface IPixelReader
{
string Name { get; }
double GetAverageY();
}
}
|
namespace GoogleAnalyticsClientDotNet.ServiceModel
{
public class EventParameter : BaseMeasurementParameter
{
/// <summary>
/// Event Category.
/// <para>Required for event hit type.</para>
/// </summary>
[HttpProperty("ec", HttpPropertyFor.POST)]
public string C... |
namespace HotChocolate.Stitching.SchemaDefinitions;
internal static class SchemaDefinitionFieldNames
{
public const string SchemaDefinitionField = "_schemaDefinition";
public const string ConfigurationArgument = "configuration";
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MeowDSIO.DataTypes.TAE.Events
{
public class Tae000 : TimeActEventBase
{
public Tae000(float StartTime, float EndTime)
{
this.StartTime = StartTime;
... |
// Copyright (c) 2021 .NET Foundation and Contributors. All rights reserved.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.
using System;
namespace Akava... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace TinyHttp
{
public abstract class OAuthTokenBase : IOAuthToken
{
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Harmony;
using TinyRoadsMod.Zoning;
namespace TinyRoadsMod.Patches
{
[HarmonyPatch(typeof(RoadAI), nameof(RoadAI.CreateZoneBlocks))]
internal static class RoadAI_CreateZoneBlocks
{
internal static bool Pref... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApp1
{
public static class ExtensionMethods
{
public static byte GetHigh(this int i)
{
return (byte)((i >> 8) & 0xFF);
}
public static byte GetLow(this int i)
{
... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using LinkedMink.Data.Base.Entities;
using LinkedMink.Data.Base.Entities.Identity;
namespace LinkedMink.Data.Base.Repositories.Concrete
{
public class Repo... |
using System.ComponentModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using BabelFish.Requests;
namespace BabelFish {
public abstract class APIClient {
[JsonConverter( typeof( StringEnumConverter ) )]
public enum APIStage {
[Descript... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JarhfStomp4Net.Stomp
{
/// <summary>
///
/// </summary>
/// @author JHF
/// @since 4.6
public class Subscription
{
public string Id { get; set; }
... |
using System.Text.Json.Serialization;
namespace YandexLinguistics.NET
{
public class YandexError
{
[JsonPropertyName("code")]
public int Code { get; set; }
[JsonPropertyName("message")]
public string Message { get; set; }
public override string ToString() => $"Code: {Code}; Message: {Message}";
}
}
|
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NUnit.Framework.Constraints;
namespace Nucleo.Assertions
{
[TestClass]
public class BaseDateTimeConstraintTest : BaseDateTimeConstraint
{
#region " Methods "
public override bool Matches(object actual)
{
throw new Exception("The meth... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HospitalModel
{
public class Treatment
{
internal string medicineName { get; set; }
internal int doses { get; set; }
public void SetMedicineName (string medName)
{
this.medicineName = medN... |
namespace SUGCON.Event.Bot.Models
{
public class HeroCardButton
{
public string ButtonUrl { get; set; }
public string ButtonText { get; set; }
}
} |
using System.Collections.Generic;
using Microsoft.Xna.Framework;
namespace MononokeEngine.Utils.Pathfinding
{
public interface IPathfinder
{
List<Vector2> FindPath(float xStart, float yStart, float xTarget, float yTarget);
List<Vector2> FindPath(Vector2 start, Vector2 target);
}
} |
using System.Linq;
using NUnit.Framework;
using PeanutButter.ServiceShell;
using static PeanutButter.RandomGenerators.RandomValueGen;
namespace EmailSpooler.Win32Service.Tests
{
[TestFixture]
public class TestProgram
{
[Test]
public void Main_ShouldInvoke_Shell_RunMain_WithEmailSpoolerServi... |
using System.Collections.Generic;
using Fop.Filter;
namespace Fop.Utils
{
public class Operator
{
public static Dictionary<string, FilterOperators> Dictionary => new Dictionary<string, FilterOperators>
{
{"==", FilterOperators.Equal},
{"!=", FilterOperators.NotEqual},
... |
using System;
namespace SleepHunter.Win32
{
[Flags]
internal enum ProcessAccessFlags
{
None = 0x0,
Terminate = 0x01,
CreateThread = 0x2,
VmOperation = 0x8,
VmRead = 0x10,
VmWrite = 0x20,
QueryInformation = 0x400
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace LanguageServer.VsCode.Contracts
{
/// <summary>
/// A document highlight is a range inside a text document which deserves
/// special attention. Usually a document highlight is visualized by changing
//... |
namespace CodeMetrics.Parsing.Contracts.NRefactory
{
public interface IAstMethodsVisitorFactory
{
IAstMethodsVisitor Create();
}
} |
namespace Abp.Zero.AspNetCore
{
public enum SignInStatus
{
RequiresVerification,
Success,
Failure,
LockedOut
}
} |
using Surveys.Web.DAL.SqlServer;
using Surveys.Entities;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Http;
namespace Surveys.Web.Controllers
{
public class SurveysController : ApiController
{
private readonly SurveysProvider surveysProvider = new SurveysProvider();... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace NeuroSpeech.Tasks
{
public delegate void TaskOutputHandler(object sender, DataReceivedEventArgs args);
public class ProcessTask : IDisp... |
using System;
namespace FrontEnd.Models
{
public class Entry
{
public Uri LongUri { get; set; }
public Uri ShortUri { get; set; }
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.