content stringlengths 23 1.05M |
|---|
using System;
using System.Runtime.InteropServices;
namespace Windows.Win32.Interop
{
public class NativeArrayInfoAttribute : Attribute
{
//
// Summary:
// Indicates the number of elements in the fixed-length array or the number of characters
// (not bytes) in a string t... |
using UnityEngine;
namespace tezcat.Framework.Game
{
public interface ITezHoverable
{
void onEnter(ref RaycastHit hit);
void onExit();
void onHovering(ref RaycastHit hit);
}
} |
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using LightDirectory.Asn1.Serialization;
using LightDirectory.Asn1.Suport;
namespace LightDirectory.Asn1.Universal.Serializers
{
public class Asn1BooleanSerializer : Asn1ObjectSerializer<Asn1Boolean>
{
public Asn1BooleanS... |
// Copyright (c) 2012, Joshua Burke
// All rights reserved.
//
// See LICENSE for more information.
using System;
using System.IO;
using System.Diagnostics.Contracts;
using Frost.Surfacing.Contracts;
namespace Frost.Surfacing
{
namespace Contracts
{
[ContractClassFor(typeof(ISurface2D))]
internal abstract ... |
using System;
namespace HackerRank
{
/// <summary>
/// Problem link: https://www.hackerrank.com/challenges/sock-merchant
/// </summary>
class SockMerchant
{
public static void Main()
{
Console.ReadLine();
int[] c = Array.ConvertAll(Console.ReadLi... |
using Microsoft.Extensions.DependencyInjection;
using Paramore.Darker.Builder;
namespace Paramore.Darker.AspNetCore
{
public interface IQueryProcessorAspNetExtensionBuilder : IQueryProcessorExtensionBuilder
{
IServiceCollection Services { get; }
}
} |
namespace DanubeJourney.Web.ViewModels.Employees
{
using System;
using DanubeJourney.Data.Models;
using DanubeJourney.Services.Mapping;
public class EmployeeViewModel : IMapFrom<Employee>
{
public string Id { get; set; }
public string Avatar { get; set; }
public ... |
using Computer.Bus.RabbitMq.Contracts;
namespace Computer.Bus.ProtobuffNet.Model;
internal class SerializationResult<T> : ISerializationResult<T>
{
public T? Param { get; }
public bool Success { get; }
public string? Reason { get; }
private SerializationResult(T? param, bool success, string? reason =... |
using System;
using System.Collections.Generic;
using OfficeRibbonXEditor.Helpers;
namespace OfficeRibbonXEditor.Events
{
public class ReplaceResultsEventArgs : EventArgs
{
public ReplaceResultsEventArgs(FindReplace findReplace, List<CharacterRange> replaceAllResults)
{
this.FindRe... |
using System;
using System.Collections.Generic;
public class ListTabsModule : global::UIModule
{
public void Setup(global::System.Action<int> tabChanged, int current)
{
this.tabChangedCallback = tabChanged;
for (int i = 0; i < this.tabs.Count; i++)
{
int index = i;
this.tabs[i].onAction.AddListener(dele... |
using GenderPayGap.Database;
using GovUkDesignSystem;
using GovUkDesignSystem.Attributes;
using GovUkDesignSystem.Attributes.ValidationAttributes;
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace GenderPayGap.WebUI.Models.Admin
{
public class ChangeOrganisationAddressViewModel : GovUkViewModel
... |
namespace BonusCalcListener
{
public static class EventTypes
{
// Define the event types this service will be interested in here.
public const string DoSomethingEvent = "DoSomethingEvent";
}
}
|
using System.IO;
using Microsoft.Xna.Framework.Audio;
using StardewModdingAPI;
using StardewValley;
namespace SimpleSoundManager
{
public class XACTMusicPair
{
public WaveBank waveBank;
public ISoundBank soundBank;
/// <summary>Create a xwb and xsb music pack pair.</summary>
//... |
namespace XnaFlash.Swf.Structures.Filters
{
public class BlurFilter : Filter
{
public override Filter.ID FilterID { get { return ID.Blur; } }
public decimal BlurX { get; private set; }
public decimal BlurY { get; private set; }
public byte Passes { get; private set; }
... |
/*****************************************************************************
Copyright 2018 The TensorFlow.NET Authors. All Rights Reserved.
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 Licen... |
using System;
using Humanizer.Localisation;
using Xunit;
using Xunit.Extensions;
namespace Humanizer.Tests.Localisation.it
{
public class DateHumanizeTests : AmbientCulture
{
public DateHumanizeTests()
: base("it")
{
}
[Theory]
[InlineData(-2, "2 ... |
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.ComponentModel.Composition;
namespace Sce.Atf
{
/// <summary>
/// A service to log unhandled exceptions (crashes) to a remote server, by listening
/// to the AppDomain.CurrentDomain.UnhandledEx... |
using System;
using System.ComponentModel;
namespace PublishingUtility
{
[AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = true)]
public class SRDescriptionAttribute : DescriptionAttribute
{
private bool _localized;
public override string Description
{
get
{
if (!_localized)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ITVComponents.UserInterface
{
/// <summary>
/// Provides Methods to control the main-application of an ITVUserInterface - App
/// </summary>
public interface IUIApp
{
/// <summary>
/// G... |
/////////////////////////////////////////////////////////////////////////
// Server.cs - CommService server //
// ver 2.4 //
// Author: Ayush Khemka, 538044584, aykhemka@syr.edu //
// Source: Jim Fawcett, CSE681 -... |
using System.Linq;
using CqrsPattern.Actions;
using CqrsPattern.Domain;
using CqrsPattern.Infrastructure;
namespace CqrsPattern.Handlers
{
public class CommandHandler
{
private Db _db;
public CommandHandler(Db db)
{
_db = db;
}
public void Handle(AddCustom... |
using Microsoft.Xna.Framework.Graphics;
namespace Pong.Objects
{
public class GameCage
{
public Wall UpperWall { get; set; }
public Wall LowerWall { get; set; }
public Wall LeftWall { get; set; }
public Wall RightWall { get; set; }
public void Draw(SpriteBatch spriteBa... |
using Newtonsoft.Json;
namespace LocaHealthLog.Plotly
{
[JsonConverter(typeof(AxisTypeJsonConverter))]
enum AxisType
{
Category,
Date,
Linear,
Log,
None
}
}
|
using System;
namespace Scenario.Domain.Services.ScenarioManagement
{
public class ScenarioCreateService : IScenarioCreateService
{
public ScenarioCreateService()
{
}
}
}
|
using WarHub.ArmouryModel.Concrete;
using WarHub.ArmouryModel.Source;
namespace WarHub.ArmouryModel.EditorServices;
/// <summary>
/// Represents a point-in-time roster together with dataset used to create the roster and roster diagnostics.
/// Diagnostics will contain warnings and errors to show to the user.
/// </su... |
using System;
using SimpleCommandParser.Core.Initializer;
using SimpleCommandParser.Core.Settings;
using SimpleCommandParser.Core.StageResults;
namespace SimpleCommandParser.Examples.ExtendParser
{
public class CustomCommandInitializer : ICommandInitializer
{
private readonly ICommandInitializer _sour... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _08.GreaterOfTwoValues
{
class GreaterOfTwoValues
{
static void Main()
{
string input = Console.ReadLine().ToLower();
string first = Console.Rea... |
using VA = VisioAutomation;
using SMA = System.Management.Automation;
using IVisio = Microsoft.Office.Interop.Visio;
namespace VisioPowerShell.Commands
{
[SMA.Cmdlet(SMA.VerbsCommon.Set, "VisioDocument")]
public class Set_VisioDocument : VisioCmdlet
{
[SMA.Parameter(Position = 0, Mandatory = true, ... |
using BannerKings.Managers.Titles;
using TaleWorlds.CampaignSystem;
using TaleWorlds.SaveSystem;
using static BannerKings.Managers.TitleManager;
namespace BannerKings.Managers.Duties
{
public abstract class BannerKingsDuty
{
[SaveableProperty(1)]
public float Completion { get; private set; }
... |
using System;
namespace AltLib
{
/// <summary>
/// Property access helper for an instance of <see cref="CmdData"/>
/// where <see cref="CmdData.CmdName"/> has a value of "ICreateStore".
/// </summary>
public partial class CmdData : ICreateStore
{
/// <summary>
/// Th... |
using System;
namespace ITA.Common.Host
{
internal class AdjustPrivileges
{
internal const int SE_PRIVILEGE_ENABLED = 0x00000002;
internal const int TOKEN_QUERY = 0x00000008;
internal const int TOKEN_ADJUST_PRIVILEGES = 0x00000020;
internal const string SE_SHUTDOWN_NAME = "Se... |
using System;
using UnityEngine;
namespace TheBunniesOfVegetaria
{
[RequireComponent(typeof(AudioSource))]
public class BattleMusicPlayer : MonoBehaviour
{
[SerializeField] private AudioClip regularBattleMusic;
[SerializeField] private AudioClip finalAreaBattleMusic;
[SerializeFiel... |
using ProtoBuf;
namespace Abc.Zebus.Tests.Messages
{
[ProtoContract]
public class FakeCommandResult : IMessage
{
[ProtoMember(1, IsRequired = true)]
public readonly string StringValue;
[ProtoMember(2, IsRequired = true)]
public readonly int IntegerValue;
public Fak... |
namespace SubmissionEvaluation.Client.Services
{
public class MaintenanceService
{
public delegate void MaintenanceChange();
public event MaintenanceChange OnMaintenanceChange;
public void InvokeEvent()
{
OnMaintenanceChange?.Invoke();
}
}
}
|
namespace MultilayerPerceptron.Core
{
public struct Neuron
{
public float Error;
public float Value;
}
}
|
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using System;
using System.Collections.Concurrent;
using System.IO;
using System.Threading;
using JetBrains.Annotations;
// from https://stackoverflow.com/a/3729877
namespace Soddi.Services
{
public class BlockingStream : Stream
{
private readonly BlockingCollection<byte[]> _blocks;
private b... |
namespace MarkdownSnippets
{
[ObsoleteEx(
TreatAsErrorFromVersion = "10.0",
RemoveInVersion = "11.0",
ReplacementTypeOrMember = nameof(DirectoryMarkdownProcessor))]
public class GitHubMarkdownProcessor
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using Vuforia;
public class VBloadsceneEventHandler : MonoBehaviour, IVirtualButtonEventHandler {
private GameObject vbButtonObject;
// Use this for initialization
void Start () {
vbButtonObject =... |
namespace ZWaveControllerClient.CommandClasses
{
public class CommandParameterDescLoc
{
public byte Key { get; internal set; }
public int Param { get; internal set; }
public int ParamDesc { get; internal set; }
public int ParamStart { get; internal set; }
}
}
|
using System;
public class CustomDateTime : IDatetime
{
public void AddDays(DateTime date, double daysToAdd) => date.AddDays(daysToAdd);
public DateTime Now() => DateTime.Now;
public TimeSpan SubstractDays(DateTime date, int daysToSybstract)
=> date.Subtract(DateTime.Parse($"{daysToSybstract}", ... |
using System.Threading.Tasks;
namespace Abc.Zebus.Tests.Dispatch.DispatchMessages
{
public class AsyncDoNotStartTaskCommandHandler : IAsyncMessageHandler<AsyncDoNotStartTaskCommand>
{
public Task Handle(AsyncDoNotStartTaskCommand message)
{
return new Task(() => {});
}
... |
// Copyright (c) 2021 Carpe Diem Software Developing by Alex Versetty.
// http://carpediem.0fees.us/
// License: MIT
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
namespace CDSD.Data
{
class Serialization
{
public stati... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ESC.Infrastructure;
using ESC.Core;
using ESC.Infrastructure.DomainObjects;
using ESC.Infrastructure.Repository;
namespace ESC.Service
{
/// <summary>
/// 组织结构
/// </summary>
public class SOrganizationService
... |
using System;
using MattsWorld.Stations.Domain.Models.Views;
using MattsWorld.Stations.Domain.Ports;
namespace MattsWorld.Stations.Domain
{
public class ViewFacade : IViewFacade
{
private readonly IViewStore _viewStore;
public ViewFacade(IViewStore viewStore)
{
_viewStore ... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using ServiceCenterWeb.Models.Database;
namespace ServiceCenterWeb.Controllers.WebAPI
{
[Route("api/[controller]")]
[ApiController]
... |
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Azmoon.Core.Quiz.Entities;
using System;
namespace Azmoon.Application.Shared.Quiz.Questions.Dto
{
[AutoMap(typeof(MatchSet))]
public class MatchSetDto : EntityDto<Guid>
{
public MatchSetDto()
{
}
public Guid Qu... |
using Firebase;
using Firebase.Database;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;
using Newtonsoft.Json;
public class FirebaseManager : MonoBehaviour
{
[SerializeField]
private List<Level> levels = new List<Level>();
[SerializeField] TMPro.TMP_Inpu... |
using RN.Network;
using UnityEngine;
namespace RN.Network.SpaceWar.Fx
{
public class ExplosionFx : ActorFx<ExplosionSpawner>
{
public override void onCreateFx(ExplosionSpawner actorSpawner)
{
Debug.Assert(actorSpawner.isClient == true, "isClient == true", this);
foreac... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace FisherYates
{
class Program
{
static void Main()
{
var nums = Enumerable.Range(0, 10);
var numsShuffled = nums.Shuffle<int>();
foreach (var item in numsShuffled)
Console.Write("{0} ", item);
Console.WriteLine();
va... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace api_worker.Models
{
[Table("Parcari")]
public class ParcariTableModel
{
[Key]
public int ID_PARCAR... |
using System;
using Microsoft.SPOT;
using System.Runtime.CompilerServices;
namespace Microsoft.SPOT.Hardware
{
/// <summary>Base class for access to a memory address space</summary>
/// <remarks>
/// An Address space consists of a base address, bit width and length
/// for some Memory or I/O Mapped re... |
using System;
using System.IO;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Justgrow.Engine.Containers.H... |
using Blazored.Toast.Services;
using Microsoft.AspNetCore.Components;
using System;
using Xunit;
namespace Blazored.Toast.Tests.ToastServiceTests
{
public class ShowToastComponent
{
private readonly ToastService _sut;
public ShowToastComponent()
{
_sut = new ToastService();... |
namespace CoreWCF.IdentityModel.Claims
{
internal static class XsiConstants
{
public const string Namespace = "http://schemas.xmlsoap.org/ws/2005/05/identity";
public const string System = "System";
}
} |
namespace openECAClient.Model
{
public class SchemaVersion
{
public int VersionNumber { get; set; }
}
}
|
using System;
using System.Threading;
using System.Threading.Tasks;
using Loly.Kafka.Producer;
namespace Loly.Agent.Kafka
{
public interface IProducerService<TKey, TValue> : IDisposable
{
IProducerQueue<TKey, TValue> Queue { get; set; }
Task Start(CancellationToken cancellationToken);
T... |
using System;
using Newtonsoft.Json;
namespace Warframe.World.Models
{
public class SortieVariant
{
[Obsolete("This property isn't used anymore and will most likely always return \"Deprecated\"")]
[JsonProperty]
public string Boss { get; private set; }
[Obsolete("This property... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Cognitive Services: http://www.microsoft.com/cognitive
//
// Microsoft Cognitive Services Github:
// https://github.com/Microsoft/Cognitive
//
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
//... |
using System;
using essentialMix.Data.Model;
namespace MongoPOC.Model;
public interface IEntity<T> : IEntity
where T : IComparable<T>, IEquatable<T>
{
T Id { get; set; }
} |
using MaoDeVaca.Domain.Commands;
using MaoDeVaca.Domain.Dto;
using MaoDeVaca.Domain.Query;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace MaoDeVaca.Domain.Interfaces
{
public interface IUserService
{
Task CreateAsync(CreateUserCommand request... |
using System;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace TextProcessingExercise
{
class Program
{
static void Main(string[] args)
{
string[] words = Console.ReadLine().Split(", ");
Regex regex1 = new Regex(@"^[a-zA-Z0-9_-]+$");... |
using Microsoft.Xna.Framework;
using System.Collections.Generic;
namespace OpenVIII
{
public abstract partial class SP2
{
#region Classes
public class TexProps
{
#region Fields
/// <summary>
/// For big textures.
/// </summary>
... |
using System;
namespace Jord.Core.Items
{
public class ItemPile
{
private int _quantity = 0;
public Item Item
{
get; set;
}
public int Quantity
{
get
{
return _quantity;
}
set
{
if (value < 0)
{
throw new ArgumentOutOfRangeException(nameof(value));
}
_quant... |
using ScrapyCore.Core.Platform.Commands;
namespace ScrapyCore.Core.Platform.MessageOperation
{
public interface IMessageOperationManager
{
IMessageRawOperation GetRawOperation(CommandTransfer transfer);
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace WindowsFormsApplication1
{
public partial class Form4 : Form
{
public Form4()
{
... |
//
// Copyright (c) 2019-2022 Angouri.
// AngouriMath is licensed under MIT.
// Details: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md.
// Website: https://am.angouri.org.
//
using AngouriMath.Core.Exceptions;
namespace AngouriMath
{
using SortLevel = Functions.TreeAnalyzer.SortLevel;
p... |
using System;
using Microsoft.Extensions.DependencyInjection;
using GraphQL.Types;
namespace GraphQL.Relay.StarWars.Types
{
public class StarWarsSchema : Schema
{
public StarWarsSchema(IServiceProvider provider) : base(provider)
{
Query = provider.GetService<StarWarsQuery>();
... |
using System.IO;
using System.Linq;
using System.Reflection;
using System.Web;
using Autofac;
namespace ModulesMvc.Infrastructure
{
public static class AutofacExtension
{
public static void RegisterModules(this ContainerBuilder builder, string pluginsPath)
{
var mapPath = HttpConte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Configuration;
namespace EjemplosTasks
{
class CLConexionDestino
{
//Conexion para mi BulkSqlCopy
public static SqlConnection getConnecti... |
using System;
using System.Collections.Generic;
using UnityEngine;
using JuloUtil;
public interface IFocusTarget {
bool isFocused();
Vector3 getFocusPosition();
}
public interface IFocusable {
void focusObject(Component obj);
void focusAny<T>(IList<T> objects) where T : Component;
void focusPosition(Vector3 p... |
using Quasar.Common.Messages;
using Quasar.Common.Networking;
using Quasar.Server.Networking;
using System;
using System.Collections.Generic;
namespace Quasar.Server.Messages
{
public class SayHelloHandler : MessageProcessorBase<List<string>>
{
private readonly Client _client;
public ... |
namespace ExperimentFramework.Evaluation
{
/// <summary>
/// 公式运算,用于检测某些数值是否合理
/// </summary>
public interface IFormula
{
FormulaMessage Formula(string[] args,params string[] anwser);
}
} |
using FluentAssertions;
using NUnit.Framework;
using Sanchez.Processing.Models;
using Sanchez.Processing.Services;
using Sanchez.Test.Common;
namespace Sanchez.Processing.Test.Services
{
[TestFixture(TestOf = typeof(VisibleRangeService))]
public class VisibleRangeServiceTests : AbstractTests
{
pri... |
using Cerber.Models;
using Cerber.ViewModels;
using Xamarin.Forms;
namespace Cerber.Views
{
public partial class ServiceDetailsPage : ContentPage
{
private ServiceDetailsViewModel _viewModel => BindingContext as ServiceDetailsViewModel;
public ServiceDetailsPage(ServiceModel serviceModel)
... |
using System.IO;
using System.Drawing;
using Aspose.Cells;
using Aspose.Cells.Rendering;
namespace Aspose.Cells.Examples.CSharp.Files.Utility
{
public class WorksheetToImage
{
public static void Run()
{
// ExStart:1
// The path to the documents directory.
st... |
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Threading.Tasks;
//using Microsoft.AspNetCore.Http;
//using Microsoft.AspNetCore.Mvc;
//using Evol.TMovie.Domain.QueryEntries;
//using Evol.Domain.Messaging;
//using Evol.TMovie.Domain.QueryEntries.Parameters;
//using Evol.TMovie.Do... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Net.Sockets;
using SecureApp.Utilities.Model.Enum;
using SecureApp.Utilities.Model.Interface;
using SecureApp.Utilities.Network.Callbacks;
using SecureApp.Utilities.Network.Packets;
using SecureApp.Utilities.Network.RemoteCalls;
usi... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
namespace ZChatSystem
{
internal static class errorLogging
{
private static string errorLogFile = "d:\\errorLog.txt";
internal static void LogError(Exception ex)
{
System.IO.Stream... |
using System.Text.RegularExpressions;
using Xunit;
namespace MR.QueryBuilder
{
public class QueryBuilderTest
{
[Fact]
public void Works()
{
var qb = new QueryBuilder<Model1>();
var query = qb
.Where("UserName = 'root'")
.Skip(1).Take(10)
.Select("AspNetUsers u", null, c => c.Exclude("Name"))... |
using Contoso.DigitalGoods.DigitalLocker.Service.Models;
using Contoso.DigitalGoods.TokenService.Models;
using Microsoft.Azure.TokenService.Proxy;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Contoso.DigitalGoods.TokenService.Interfaces
{
public interface ITokenServiceAgent
{
... |
@model IList<MyShop.ViewModels.CategoryVm>
<ul class="navbar-nav" style="margin: 0 auto">
@foreach (var cat in Model)
{
<li class="nav-item"><a class="nav-link" href="/categories/@cat.Id">@cat.Name</a></li>
}
</ul> |
/* Copyright (c) 2021, John Lenz
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the follo... |
using Bridge.Contract;
using ICSharpCode.NRefactory.CSharp;
using ICSharpCode.NRefactory.TypeSystem;
using System.Linq;
namespace Bridge.Translator.Lua
{
public class VisitorMethodBlock : AbstractMethodBlock
{
public VisitorMethodBlock(IEmitter emitter, MethodDeclaration methodDeclaration)
... |
namespace Nest.Linq.Internals
{
public enum JoinOperation
{
AndAlso,
OrElse
}
}
|
using System.CodeDom;
using System.Web.Compilation;
namespace System.Web.WebPages.Razor
{
internal sealed class AssemblyBuilderWrapper : IAssemblyBuilder
{
public AssemblyBuilderWrapper(AssemblyBuilder builder)
{
if (builder == null)
{
throw new Argument... |
// Needed for NET40
#pragma warning disable CA1812 // Avoid uninstantiated internal classes
// ReSharper disable ImplicitlyCapturedClosure
using System;
namespace Theraot.Collections
{
internal sealed class ProgressorProxy
{
private readonly IClosable _node;
public ProgressorProxy(IClosable... |
using Microsoft.VisualStudio.ConnectedServices;
namespace Contoso.Samples.ConnectedServices.UITemplates.SinglePage.ViewModels
{
internal class AuthenticatorViewModel : ConnectedServiceAuthenticator
{
public AuthenticatorViewModel()
{
this.View = new Views.AuthenticatorView();
... |
//Copyright (c) 2018 Yardi Technology Limited. Http://www.kooboo.com
//All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kooboo.IndexedDB
{
public interface IObjectStore
{
string Name { get; set; }
... |
using System.Collections.Generic;
using HotChocolate.Resolvers;
namespace HotChocolate.Data.Sorting
{
public interface ISortProvider
{
IReadOnlyCollection<ISortFieldHandler> FieldHandlers { get; }
IReadOnlyCollection<ISortOperationHandler> OperationHandlers { get; }
FieldMiddleware Cr... |
using System.Diagnostics.CodeAnalysis;
#nullable enable
namespace EFT.Trainer.Extensions
{
public static class ThrowableExtensions
{
public static bool IsValid([NotNullWhen(true)] this Throwable? throwable)
{
return throwable != null
&& throwable.transform != null;
}
}
}
|
using System;
using System.ServiceModel;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using Wcf.Demonstration.WcfService;
using Wcf.Tracker;
namespace Wcf.Demonstration
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// <... |
using System.ComponentModel;
namespace NMockaroo.Attributes
{
/// <summary>
/// Represents the Mockaroo Formula type
/// <see cref="https://www.mockaroo.com/api/docs#type_formula" />
/// </summary>
public class MockarooFormulaAttribute : MockarooInfoAttribute
{
/// <summary>
///... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Solutions.Skills;
namespace PointOfInterestSkill
{
public class FindPointOfInterestDialog : PointOfInterestSkillDialog
{
... |
namespace DeviceIOControlLib.Objects.FileSystem
{
public class FileExtentInfo
{
/// <summary>
/// Position in file
/// </summary>
public ulong Vcn { get; set; }
/// <summary>
/// Position on disk
/// </summary>
public ulong Lcn { get; set; }
... |
using System;
using Newtonsoft.Json.Linq;
namespace WebAPI.JsonTranslation
{
public interface IJsonTranslatorStrategy
{
Type TargetType { get; }
string[] SupportedProperties { get; }
void WriteObjectToJson(object target, JObject output);
void VerifyJsonUpdate(object target, JO... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NuGet.Packaging;
namespace NuGetPe
{
public static class PackageBuilderExtensions
{
public static IPackage Build(this PackageBuilder builder)
{
return new Simpl... |
using Xunit.Abstractions;
namespace ExRam.Gremlinq.Core.Tests
{
public sealed class InlinedGroovyGremlinQuerySerializationTest : QuerySerializationTest
{
public InlinedGroovyGremlinQuerySerializationTest(ITestOutputHelper testOutputHelper) : base(
GremlinQuerySource.g.ConfigureEnvironment(... |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.WordApi
{
/// <summary>
/// DispatchInterface ContentControl
/// SupportByVersion Word, 12,14,15,16
/// </summary>
/// <remarks> MSDN Online: http://msdn.microsoft.com/en-us/en-us/library/... |
using System;
public class Hanoi
{
public class Stack
{
public int size;
public int top;
public int[] array;
}
Stack createStack(int size)
{
Stack stack = new Stack();
stack.size = size;
stack.top = -1;
stack.array = new int[size];
re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.