content stringlengths 23 1.05M |
|---|
using UnityEngine;
using UnityEngine.Networking;
// by @Bullrich
namespace game
{
public class HostGame : MonoBehaviour
{
[SerializeField] private uint roomSize = 6;
private string roomName;
private NetworkManager networkManager;
private void Start()
{
n... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AV_1
{
public partial class Form2 : Form
{
double sl,spf,nf,sf,sb,INSS,txINSS,... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EasyAbp.EzGet.NuGet.Packages
{
public class NuGetPackageSearchPackageListResult
{
public long Count { get; }
public IReadOnlyList<NuGetPackageSearchResult> Packages { get; }
public NuGetPackageSearchPackageLi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Summary description for DataStudents
/// </summary>
public class DataStudents
{
public string label { get; set; }
public int value { get; set; }
} |
using System;
using System.Collections.Generic;
using System.Linq;
using TiltBrush;
using UnityEngine;
public sealed class GlTF_Accessor : GlTF_ReferencedObject {
public enum Type {
SCALAR,
VEC2,
VEC3,
VEC4
}
public enum ComponentType {
BYTE = 5120,
UNSIGNED_BYTE = 5121,
SHORT = 5122... |
using UnityEngine;
namespace spaar.ModLoader.UI
{
// This class was taken from Vapid's ModLoader with permissions.
// All credit goes to VapidLinus.
public class Settings
{
public RectOffset DefaultMargin { get; set; }
public RectOffset DefaultPadding { get; set; }
public RectOffset LowMargin { ge... |
using System;
using System.Text;
using SharpMessaging.Connection;
namespace SharpMessaging.Frames
{
internal class ErrorFrame : IFrame
{
private readonly byte[] _readBuffer = new byte[2000];
private FrameFlags _flags;
private int _messageLength;
private int _readOffse... |
using UnityEngine;
using System.Collections.Generic;
// By @JavierBullrich
namespace SimpleMainMenu
{
public class SimpleMenuManager : MonoBehaviour
{
[Header("Title Text")]
public string GameName;
public string CopyrightText;
public Color textColor = Color.white;
public... |
using System;
using System.Web.Mvc;
// ReSharper disable CheckNamespace
namespace AMV.CQRS
{
/// <summary>
/// Date-Time model binder that checks if dates are out of range of SQL Server
/// </summary>
public class SqlDateTimeModelBinder : DefaultModelBinder
{
public override o... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.Finance
{
public interface ITraderBalance
{
string TraderId { get; }
string Currency { get; }
double Amount { get; }
}
public interface IBalanc... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TwentyThreeNet;
namespace DemoApplication
{
class Program
{
static void Main(string[] args)
{
string token = String.Empt... |
using HttpReports.Core.Interface;
using System.Threading.Tasks;
namespace HttpReports
{
public interface IReportsTransport
{
Task Write(IRequestInfo requestInfo, IRequestDetail requestDetail);
Task WritePerformanceAsync(IPerformance performance);
}
} |
using System.Collections.Generic;
namespace AutoBuyer.Logic
{
public class BuyerPortfolio : IBuyerPortfolio
{
private readonly List<IPortfolioListener> _listeners = new List<IPortfolioListener>();
private readonly List<Buyer> _buyers = new List<Buyer>();
public void AddBuyer(Buyer buye... |
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Steropes.UI.Annotations;
namespace Steropes.UI.Bindings
{
internal abstract class DerivedBinding<T> : IReadOnlyObservableValue<T>
{
T value;
protected bool AlreadyHandlingEvent { get; set; }
pr... |
using VaultLib.Core.Types;
namespace VaultLib.Support.World.VLT.GameCore
{
[VLTTypeInfo("GameCore::RewardMode")]
public enum RewardMode
{
kRewardMode_Singleplayer = 1,
kRewardMode_Multiplayer = 2,
kRewardMode_PrivateMatch = 3,
}
}
|
using System;
namespace Paydock_dotnet_sdk.Models
{
public class ResponseException : Exception
{
public ErrorResponse ErrorResponse { get; private set; }
public ResponseException(ErrorResponse errorResponse, string error, Exception innerException = null)
: base(error, innerExcepti... |
//------------------------------------------------------------------------------
// <copyright file="ScriptReference.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace Syst... |
using App.Security.AspNet.Auth0;
using App.Security.AspNet.Authentication;
using App.Security.AspNet.Authorization;
using App.Security.AspNet.Authorization.Extensions;
using Autofac;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Secu... |
using System.Reflection;
namespace Patchwork.Engine.Utility {
/// <summary>
/// Commonly used combinations of the BindingFlags enum.
/// </summary>
public static class CommonBindingFlags {
/// <summary>
/// Instance, Static, Public, NonPublic
/// </summary>
public static BindingFlags Everything = B... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum Categorie {Physique, Special, Statut};
public class Attaque : MonoBehaviour {
public PhysicType type;
public Categorie categorie;
public int PP;
public int puissance;
public int precision;
[HideInInspector]public bool i... |
namespace CoreAll.Msmq.ErrorQueue
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Messaging;
using System.Text;
using System.Transactions;
using System.Xml.Serialization;
public static class ErrorQueue
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rainnier.DesignPattern.Builder.Structural
{
public class Director
{
public Product Construct(Builder builder)
{
builder.BuildPartA();
builder.Bu... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using Cardbooru.Application;
using Cardbooru.Application.Entities;
using Cardbooru.Application.Exceptions;
using C... |
// <copyright file="RecordTidal.cs" company="Traced-Ideas, Czech republic">
// Copyright (c) 1990-2021 All Right Reserved
// </copyright>
// <author></author>
// <email></email>
// <date>2021-09-01</date>
// <summary>Part of Astro Observatory</summary>
namespace AstroSharedEvents.Records
{
using AstroSharedClasse... |
using OnLineShop.Data.Models;
using System.Linq;
namespace OnLineShop.MVP.Products.Client
{
public class ProductsViewModel
{
public IQueryable<Product> Products { get; set; }
}
}
|
namespace MotiNet.Entities
{
public interface ITaggedEntityManager<TEntity> : IManager<TEntity>
where TEntity : class
{
ITagProcessor TagProcessor { get; }
ITaggedEntityAccessor<TEntity> TaggedEntityAccessor { get; }
}
}
|
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using Discord.Commands;
namespace QuizBowlDiscordScoreTracker.Commands
{
[AttributeUsage(AttributeTargets.Method)]
public class HumanOnlyAttribute : PreconditionAttribute
{
[SuppressMessage(
"Design",
... |
using System.Windows;
namespace SlrrLib.View
{
public partial class FlagEditor : Window
{
public bool ClosedWithOK
{
get;
private set;
} = false;
public FlagEditor()
{
InitializeComponent();
}
public void SetFlagInt(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.Storage.Search;
namespace SuperMap.WinRT.Utilities
{
internal static class StorageHelper
{
public async static Task<bool> FolderExist(this StorageFol... |
//
// Copyright (c) Nick Guletskii and Arseniy Aseev. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the solution root for full license information.
//
namespace WixWPFWizardBA
{
using System;
using System.Diagnostics;
using System.Globalization;
using System.Threadin... |
using ExtendedXmlSerializer.ContentModel.Format;
using ExtendedXmlSerializer.Core.Sources;
namespace ExtendedXmlSerializer.ContentModel.Content
{
interface IInnerContentActivator : IParameterizedSource<IFormatReader, IInnerContent> {}
} |
using System;
using System.ComponentModel;
namespace AInBox.Astove.Core.Options.EnumDomainValues
{
public enum BooleanEnum
{
[Description("Não")]
Nao = 0,
Sim = 1
}
public enum ActionEnum
{
Details=0,
Edit=1,
Insert=2,
List=3
}
}
|
using System;
namespace NuSightConsole.Commands.Options
{
public class CloneCommandOption
{
public string SourcePath { get; set; }
public bool DisplayOnly { get; set; }
public string TargetPath { get; set; }
public bool UseLatestVersion { get; set; }
}
}
|
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xbehave;
using Xunit;
using Xunit.Abstractions;
namespace RelationalLock.Tests {
public class RelationalLockBuilderTests : TestBase {
private RelationalLockBuilder builder;
... |
// <auto-generated />
// Built from: hl7.fhir.r4b.core version: 4.1.0
// Option: "NAMESPACE" = "fhirCsR4"
using fhirCsR4.Models;
namespace fhirCsR4.ValueSets
{
/// <summary>
/// MedicationKnowledge Package Type Codes
/// </summary>
public static class MedicationknowledgePackageTypeCodes
{
/// <summary... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class SavePicker : MonoBehaviour {
GameObject[] pointButtons = new GameObject[6 * 2];
// Use this for initialization
void Start ()
{
for (int i = 0; i < gameObject.transform.childCount; i++)
{
GameObject... |
using System;
using System.Collections.Generic;
using System.Text;
namespace wfQuery {
public partial class wfQueryContext {
}
}
|
using ShineEngine;
/// <summary>
/// (generated by shine)
/// </summary>
public class HMainUI:GameUIBase
{
/// <summary>
/// 玩家对象
/// </summary>
public HPlayer hme=HGameC.player;
/** UI模型 */
private UIModel_mainUI _model;
protected override UIModel createModel()
{
return _model=new UIMode... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NinjectExample.ex1
{
public class TaskFinder
{
private readonly ExchangeService service = new ExchangeService(new Uri("http://www.someserver.com"));
public IEnumerable... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class CreatePanel : MonoBehaviour {
public void createButton () {
string nick = GameObject.Find ("Canvas/CreatePanel/NickInput/Text").GetComponent<Text> ().text;
if (nick.Length < 3 || Service.db.SelectCount ("FROM characters WHERE name ... |
using System.Collections.Generic;
using Chartreuse.Today.Core.Shared.Model;
using Chartreuse.Today.Core.Shared.Tools.Navigation;
namespace Chartreuse.Today.App.Shared.ViewModel.Settings
{
public class TaskOrderSettingsPageViewModel : PageViewModelBase
{
private string sortOption1;
private bool... |
using GeometryDashAPI.Exceptions;
using GeometryDashAPI.Levels.GameObjects;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace GeometryDashAPI.Levels
{
public class BindingBlockID : Dictionary<int, ConstructorInfo>
{
public void Bind(int id, Type type)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using MoreLinq;
using UCLouvain.KAOSTools.Core;
using UCLouvain.KAOSTools.Core.SatisfactionRates;
namespace UCLouvain.KAOSTools.Propagators.BDD
{
public class BDDBasedPropagator : IPropagator
{
protected KAOSModel _model;
... |
using System;
using System.Diagnostics;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Debugging;
using Serilog.Events;
using Serilog.Sinks.SystemConsole.Themes;
namespace lookaroond
{
public class Program
... |
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;
namespace ChompShop.Controls
{
public partial class TextInputForm : Form
{
public TextInputForm()
{
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Azure.Core.Tests
{
public class TestDiagnosticListener : IObserver<DiagnosticListener>, IDisposable
{
private readonly Fu... |
// Aliases Func<AppQuery, AppQuery> with Query
using Query = System.Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery>;
namespace TailwindTraders.UITests
{
public class ApplianceDetailPage : BasePage
{
private readonly Query addCartButton;
protected override PlatformQuery ... |
public List<string> listaArquivos(string dir)
{
List<string> lstDirs = Directory.GetDirectories(dir).ToList();
List<string> lstFiles = Directory.GetFiles(dir, "*.frm", SearchOption.AllDirectories).ToList();
List<string> lstFilesAux = new List<string>();
foreach(string ldir in lstDirs)
lstFilesAu... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace JobSite.Models
{
public class PostJobDetail
{
public string CompanyId { get; set; }
public string JobTitle { get; ... |
//
// doc-bootstrap.cs: Stub support for XML documentation.
//
// Author:
// Raja R Harinath <rharinath@novell.com>
//
// Dual licensed under the terms of the MIT X11 or GNU GPL
//
// Copyright 2004 Novell, Inc.
//
//
#if BOOTSTRAP_WITH_OLDLIB || NET_2_1
using XmlElement = System.Object;
namespace Mono.CSharp {
pub... |
using System;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.ServiceBus;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace Contoso
{
public static class AsyncProc... |
#region Copyright 2010-2012 by Roger Knapp, Licensed under the Apache License, Version 2.0
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.... |
using System.Collections.Generic;
namespace HomeAutomation.Areas.MyRecipes.Models
{
public class RecipeResponse
{
public int Id { get; set; }
public string Name { get; set; }
public string VideoId { get; set; }
public string Amount { get; set; }
public string Description { get; set; }
publ... |
using System.Diagnostics;
namespace WestWorld1 {
using System;
using WestWorld1.MinerStates;
public class Miner : BaseGameEntity {
public const int ComfortLevel = 5;
private const int MaxNuggets = 3;
private const int ThirstLevel = 5;
private const int TirednessThreshold =... |
using System.Collections.Generic;
using Microsoft.LiveLabs.JavaScript;
namespace Ribbon
{
internal class TemplateManager
{
Dictionary<string, Template> _templates;
static TemplateManager _instance;
public static TemplateManager Instance
{
get
{
... |
// Author: Prasanna V. Loganathar
// Project: Liara.Hosting.Owin
// Copyright (c) Launchark Technologies. All rights reserved.
// See License.txt in the project root for license information.
//
// Created: 8:31 AM 15-02-2014
using System.Collections.Generic;
namespace Liara.Extensions
{
public static class OwinD... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using UnityEngine.Events;
namespace UIF
{
public enum SelectionInputAction { TouchOrEnter = 0, Click = 1 }
public class Selectable : UIPageElementFeature, IPointerClickHandler, I... |
namespace Oliviann.Collections.Concurrent
{
/// <summary>
/// Notifies listeners of dynamic changes, such as when items get enqueued
/// and dequeued or the whole collection is refreshed.
/// </summary>
/// <typeparam name="T">The type of the item contained in the queue.
/// </typeparam>
pu... |
using System;
namespace WireMock.Matchers.Request
{
public class MatchDetail
{
public Type MatcherType { get; set; }
public double Score { get; set; }
}
} |
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using NUnit.Framework;
namespace DoubleTapTest.Tests
{
[TestFixture]
public class QueuedLockCommandTests
{
QueuedLock _queuedLock;
[SetUp]
public void Setup()
{
_queuedLock = new QueuedLock()... |
using MathEx;
using System.Linq;
using SystemEx;
using UnityEditor;
using UnityEngine;
using UnityEngine.UI;
using UnityEngineEx;
namespace UnityEditorEx.Components
{
[CustomEditor(typeof(PrefabPanel))]
class Inspector_PrefabPanel : Editor<PrefabPanel>
{
public override void OnInspectorGUI()
{
base.OnInspe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
public class CommandInterpreter : ICommandInterpreter
{
public CommandInterpreter(IHarvesterController harvesterController, IProviderController providerController)
{
... |
namespace MrRobot.Core.Boundaries.Clean
{
public sealed class Command
{
public int StepsCount { get; }
public Direction Direction { get; }
public Command(int stepsCount, Direction direction)
{
StepsCount = stepsCount;
Direction = direction;
}
... |
namespace SkyCommerce.Site.Models
{
public class AtualizarQuantidadeCarrinhoViewModel
{
public string NomeUnico { get; set; }
public int Quantidade { get; set; }
}
} |
using System;
namespace Conreign.LoadTest.Core
{
public class BotFarmOptions
{
public BotFarmOptions()
{
BotStartInterval = TimeSpan.FromSeconds(2);
GracefulStopPeriod = TimeSpan.FromSeconds(10);
}
public TimeSpan BotStartInterval { get; set; }
... |
using System.Windows.Media.Imaging;
namespace TotoBook.ViewModel
{
public interface IFileListItemViewModel
{
bool IsDisplayed { get; set; }
BitmapSource Icon { get; set; }
}
}
|
using System;
using Autofac.Features.AttributeFilters;
using Microsoft.Azure.WebJobs.Extensions.Timers;
using ModernSlavery.BusinessDomain.Admin;
using ModernSlavery.BusinessDomain.Shared;
using ModernSlavery.BusinessDomain.Shared.Interfaces;
using ModernSlavery.BusinessDomain.Viewing;
using ModernSlavery.Core;
using ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MozJpegSharp
{
public static class MozJpeg
{
public static byte[] Recompress(
ReadOnlySpan<byte> jpegBytes,
int quality = 70,
TJSubsamplingOp... |
// 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 more information.
using System;
using System.Security;
using System.Security.Permissions;
using MS.Internal;
using MS.Internal.Present... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UserService.Core.PolindromHasher.Tests
{
[TestClass]
public class PolinomialHasher_Tests
{
private const string UserName = "testerUser";
private const string Password = "testPassword";
private readonly PolinomialHasher ... |
namespace Platform.Validation
{
public enum SizeFlexibility
{
Variable,
Fixed,
LargeVariable
}
}
|
using Multiplatformer.Helpers;
using Multiplatformer.Model;
using Multiplatformer.ViewModel;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace Multiplatformer.UWP.Views
{
public sealed partial class AddItems : Page
{
ItemsViewModel BrowseView... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharper disable ClassNeverInstantiated.Global
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Linq.Mapping;
using System.Data.SqlTypes;
[Table(Name = "Players")]
public class Players
{
[Column(IsPrimaryKey = true)]
public int PlayerID;
[Column]
public string Name;
[Column]
public stri... |
namespace Multilang;
using Raven.Client.Documents.Indexes;
public class Search : AbstractIndexCreationTask<Article>
{
public class Entry
{
public string Text_en { get; set; }
public string Text_fr { get; set; }
public Dictionary<string, object> Text { get; set; }
}
public S... |
// Copyright 2015 The Minibench Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
namespace Minibench.Framework
{
/// <summary>
/// Attribute applied to any benchmark method or class to specify that it belongs
... |
namespace School.Web.Areas.Administration.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web.Mvc;
using School.Services.Interfaces;
public class SchoolClassEditViewModel : IValidatableObject
... |
namespace Prototype
{
public enum State { Run, Freeze, Catch };
}
|
using System.Collections.Generic;
namespace CoreBoy.Avalonia
{
public class MainWindowViewModel
{
public IReadOnlyList<MenuItemViewModel> MenuItems { get; set; }
}
}
|
using System;
using System.IO;
namespace LiteDB.Issues.Tests.Common
{
public sealed class LiteRepositoryFixture : IDisposable
{
private readonly MemoryStream _stream;
public LiteDB.LiteRepository Instance { get; }
public LiteRepositoryFixture()
{
_stream = new Memor... |
using System.Globalization;
namespace YuriyGuts.RegexBuilder
{
public class RegexNodeGroupReference : RegexNode
{
public int? GroupIndex { get; set; }
public string GroupName { get; set; }
protected override bool AllowQuantifier
{
get { return true; }
}
... |
using GW2_Win10.Services;
using Template10.Mvvm;
namespace GW2_Win10.ViewModels
{
public class CharactersPageViewModel : ViewModelBase
{
public AccountPartViewModel AccountPart { get; } = new AccountPartViewModel();
public bool CanViewCharacters => AccountPart?.Session?.HasPermission("charact... |
namespace Interpreter;
public class Comma : Expression
{
public Comma(string value) : base(",")
{
}
public override int Precedence => 1;
public override Value Evaluate(Context context) => Value.Empty;
}
|
using Fap.Core.DataAccess;
using Fap.Workflow.Engine.Common;
using Fap.Workflow.Engine.Core;
using Fap.Workflow.Engine.Enums;
using Fap.Workflow.Engine.Event;
using Fap.Workflow.Engine.Exceptions;
using Fap.Workflow.Engine.Manager;
using Fap.Workflow.Engine.Xpdl;
using Fap.Workflow.Engine.Xpdl.Entity;
using Fap.Workfl... |
using System;
namespace Dyes
{
[AttributeUsage(AttributeTargets.Class)]
public class UsageAttribute : Attribute
{
public string CmdWithArgs;
public string Description;
public string Example;
public UsageAttribute(string cmdWithArgs, string description, string example = "")
... |
namespace Sancho.Web
{
/// <summary>
/// Represents a message exchanged between server/client parts of a plugin.
/// </summary>
public class Message
{
public string command { get; set; }
public object data { get; set; }
public MessageMetadata metadata { get; set; }
}
}
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
using EF2OR.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace EF2OR.Controllers.Tests
{
[TestClass()]
public class TemplatesControllerTests
{
... |
using DataDynamics.PageFX.Common.NUnit;
namespace DataDynamics.PageFX.Common.TypeSystem
{
public static class TypeMemberExtensions
{
public static string BuildFullName(this ITypeMember member)
{
var declType = member.DeclaringType;
return declType != null ? declType.FullName + "." + member.Name :... |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using DumpStackToCSharpCode.ObjectInitializationGeneration.CodeGeneration;
using DumpStackToCSharpCode.ObjectInitializationGeneration.Type;
namespace DumpStackToCSharpCode.ObjectInitializationGeneration.Init... |
#nullable disable
namespace PasPasPas.Globals.Types {
/// <summary>
/// short string type definition
/// </summary>
public interface IShortStringType : IStringType {
/// <summary>
/// string size
/// </summary>
byte Size { get; }
}
}
|
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Text;
using Telerik.DataSource;
namespace CustomSerializer.Server.JsonConverters
{
/// <summary>
/// Handles serialization and deserialization of the Telerik DataSourceRequest filter descriptors fo... |
using System;
using System.Drawing;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using NuGetSearch.Common;
namespace NuGetSearch.IOS
{
/// <summary>
/// Version history table view cell.
/// </summary>
public class VersionHistoryTableViewCell : UITableViewCell
{
public const float R... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.Threading;
public class TaskDropdown : MonoBehaviour {
public Dropdown task_dropdown; //操作するオブジェクトの設定
public Dropdown user_dropdown;
private Connect2MySQL sql;
private bool isSelecting ... |
using System;
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
namespace FileHelpers.Tests.CommonTests
{
[TestFixture]
public class ReflectionOrder
{
[Test]
public void ReadFile()
{
typeof (SampleType).GetField("Field2");
... |
using System.Threading.Tasks;
using QuizApp.Core.DTOs;
using Refit;
namespace QuizApp.Core.Services
{
public interface ITriviaServiceClient
{
[Get("/api.php?type=multiple&amount={amount}&category={category}&difficulty={difficulty}&token={token}")]
Task<TriviaRootDTO> GetTriviaQuestionsAsync(int amount, int cate... |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
... |
using CursoCore.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
namespace CursoCore.Domain.Interfaces.Services
{
/// <summary>
/// Junção do repositorio e especializada
/// </summary>
public interface IServiceProduto : IDisposable
... |
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using TrackApartments.Contracts.Models;
using TrackApartments.User.Domain.Queue.Contracts;
using TrackApartments.User.Domain.Sinks.Abstract;
using TrackApartments.User.Domain.Sinks.Conditions.Interfaces;
namespace TrackApartments.User.Domain.Sinks
{
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using EventSourcing.Poc.Messages;
namespace EventSourcing.Poc.EventSourcing.Command {
public interface ICommandHandler<in TCommand> where TCommand : ICommand {
Task<IReadOnlyCollection<IEvent>> Handle(TCommand command);
}
} |
/* Generated by QSI
Date: 2020-08-12
Span: 56:1 - 61:14
File: src/postgres/include/nodes/parsenodes.h
*/
namespace Qsi.PostgreSql.Internal.PG10.Types
{
internal enum SortByNulls
{
SORTBY_NULLS_DEFAULT = 0,
SORTBY_NULLS_FIRST = 1,
SORTBY_NULLS_LAST = 2
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.