content stringlengths 23 1.05M |
|---|
using System;
using System.Collections.Generic;
namespace Supercode.Core.ErrorDetails
{
public record ErrorDetails(
string Name,
FormattableString? PrincipalMessage,
string? Code,
string? Source)
{
public ICollection<ErrorMessage> SecondaryMessages { get; init; } = new ... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NhInterMySQL;
using NhInterMySQL.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using NhInterMySQL.Manager;
using TLJCommon;
using TLJ_MySqlService.Utils;
namespace TLJ_MySqlService.Handler
{
[Handler(Consts.Tag_BindTuiGuangCode)]... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Gov.Entity
{
/// <summary>
/// 产品目录
/// </summary>
public class ProductCatalog : Catalog
{
public List<Product> Products { get; set; }
}
}
|
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.SCIM
{
using System.Collections.Generic;
using System.Runtime.Serialization;
[DataContract]
p... |
using System;
using UnityEngine;
namespace LDtkUnity
{
public class LDtkParsedBool : ILDtkValueParser
{
bool ILDtkValueParser.TypeName(FieldInstance instance) => instance.IsBool;
public object ImportString(object input)
{
//bool can never be null but just in case
... |
using System;
public class StartUp
{
public static void Main()
{
var pizzaName = Console.ReadLine().Split();
try
{
MakePizza(pizzaName);
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
}
public static void Make... |
using Microsoft.Extensions.DependencyInjection;
using Quartz;
using Quartz.Spi;
using System;
using System.Threading.Tasks;
namespace QuartzHostedServices
{
public class ScopedJobFactory : IJobFactory
{
private readonly IServiceProvider _rootServiceProvider;
public ScopedJobFactory(IServicePr... |
using System.Diagnostics;
using System.Text.Json;
namespace Cloud_ShareSync.Core.CloudProvider.BackBlaze {
internal partial class B2 {
// All Paths are relative to the bucket root.
private string CleanUploadPath( string uploadFilePath, bool json ) {
using Activity? activity ... |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Running;
using FastBFF.HTTP.Client;
using FastBFF.HTTP.Server;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
namespace FastBFF.Benchmark... |
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.DurableTask;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Extensions.Logging;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace ADPControl
{
public static class HttpSurface
{
public clas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Installer;
namespace UnitTests.Installer
{
[TestFixture]
public class ShellExtensionLoaderTests
{
[Test]
public void CanLoad()
{
... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Dnx.Runtime.Common.CommandLine;
namespace Microsoft.Dnx.Tooling
{
internal static class ClearCacheConsoleCommand
{
pub... |
using System;
using System.Diagnostics;
using System.Windows.Forms;
namespace ProjectsTM.UI.Main
{
public partial class RsExportSelectForm : Form
{
public bool allPeriod => radioAll.Checked;
public string selectGetsudo => textSelectGetsudo.Text;
public RsExportSelectForm()
{
... |
using ComputerFunda.ProgrammingProblem.Array;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ComputerFunda.DataStructure.Test.ArrayList
{
[TestCategory("Array")]
[TestClass]
public class ArrayRotationV1Test
{
[TestMethod]
public void TestLeftRotation_RotationLessThanSize... |
using System;
using System.Collections.Generic;
namespace MsdnDataIntegrationPatterns.DataIntegration.Entities
{
public class OrderEntity : Entity
{
public string OrderNumber { get; set; }
public Guid CustomerId { get; set; }
public DateTime CreatedOn { get; set; }
public de... |
namespace Stravaig.FamilyTreeGenerator.Requests
{
public class InitFileSystem : Request
{
}
} |
using Insight.Shared;
namespace Insight
{
public interface IProject
{
string Cache { get; }
IFilter DisplayFilter { get; set; }
string SourceControlDirectory { get; set; }
bool IsDefault { get; }
bool IsValid();
void Load(string path);
ISourceControlPro... |
namespace Dynamic.Data
{
using MongoDB.Driver;
public class Context
{
private string connectionString;
private string databaseName;
private string defaultCollectionName;
private readonly IMongoClient client;
private readonly IMongoDatabase database;
public ... |
// Copyright (c) Daniel Crenna & Contributors. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Reflection;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using TypeKitchen.Benchmarks.ObjectEx... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GeneXus.Application;
using GeneXus.Notifications.ProgressIndicator;
namespace GeneXus.Notifications
{
public class GXWebProgressIndicator
{
private static string ID = "GX_PROGRESS_BAR";
private GXWebNot... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class QuestUI : MonoBehaviour {
private InputManager playerInput;
public static QuestUI questUI;
public GameObject questPanel;
public List<Quest> activeQuests = new List<Quest>();
... |
namespace AdminLteMvc.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class TransactionDetails23 : DbMigration
{
public override void Up()
{
AddColumn("dbo.TransactionDetails", "consignee6", c => c.String());
AddColumn("dbo.Tran... |
using System.Numerics;
using System.Runtime.Intrinsics.X86;
namespace IntrinsicsPlayground
{
public static unsafe partial class MatrixIntrinsics
{
public static Matrix4x4 Negate_Avx(Matrix4x4 matrix)
{
float* matrixPtr = &matrix.M11;
var row12 = Avx.LoadVector256(matrix... |
using Microsoft.Owin;
using Microsoft.Owin.Host.SystemWeb;
using Microsoft.Owin.Security.OpenIdConnect;
using Owin;
[assembly: OwinStartup(typeof(OwinApp.Startup))]
namespace OwinApp
{
#region snippet
public class Startup
{
public void Configuration(IAppBuilder app)
{
app.UseO... |
using LinqToLdap.Mapping;
using LinqToLdap.QueryCommands;
using LinqToLdap.QueryCommands.Options;
namespace LinqToLdap.Tests.TestSupport
{
public class MockQueryCommandFactory : IQueryCommandFactory
{
public QueryCommandType Type { get; set; }
public IQueryCommandOptions Options { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using Telerik.Core;
using Telerik.Data.Core;
using Telerik.Data.Core.Layouts;
using Telerik.UI.Xaml.Controls.Grid;
namespace Telerik.UI.Xaml.Controls.Grid
{
internal class DecorationsController
{
private Dictionar... |
// Copyright (c) 2005-2020, Coveo Solutions Inc.
using System;
using System.Diagnostics;
namespace sfdx4csharpClient.Core.Attributes
{
/// <summary>
/// Attribute used to store the cli command associated with a command's class.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
pu... |
using System;
namespace Duracion
{
class Duracion
{
private int horas;
private int minutos;
private int segundos;
public Duracion(int h, int m, int s){
horas=h;
minutos=m;
segundos=s;
}
public void imprime(){
Con... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Another_Morrowind_Utility.FileStructure.Records;
namespace Another_Morrowind_Utility.FileStructure
{
class ESXParser
{
private const int HEADER_SIZE = 16;
... |
namespace GraphQL.AspNetCore3.WebSockets;
/// <summary>
/// Processes a stream of messages received from a WebSockets client.
/// <see cref="IDisposable.Dispose"/> must be called when the connection terminates.
/// Methods defined within this interface need not be thread-safe.
/// </summary>
public interface IOperatio... |
@model List<Livro>
@{
ViewData["Title"] = "Listagem de Livros";
}
<div class="row">
<div class="col-md-12">
<form class="form-inline" method="POST">
<div class="form-group mb-2">
<select name="TipoFiltro" class="form-control">
<option value="Autor">Autor</option>
... |
using Application.Common.Interfaces;
using Application.Common.Models;
using Domain.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Application.PontosRisco.Commands.UpdatePontoRisco
{
public... |
using System.Collections.Generic;
using Newtonsoft.Json;
using Umbraco.Core.Models;
using System;
namespace FormEditor.Fields
{
public abstract class FieldWithValue : Field
{
private string _formSafeName;
public virtual string Name { get; set; }
[JsonIgnore]
public string FormSafeName
{
get
{
... |
//
// Copyright 2019 Google LLC
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Ver... |
using System.IO;
using System.Xml;
using System.Xml.Serialization;
using Newtonsoft.Json;
namespace CiscoListener.Helpers
{
public static class Serializer
{
public static void SaveXml<T>(string path, T config)
{
var x = new XmlSerializer(typeof(T));
using (var w = XmlWr... |
using System;
using System.Collections.Generic;
namespace Strings
{
public class StringsTest
{
public const string test = "test";
public string string1 = string.Format("string format");
string string2 = $"string interpolation {test}";
string string3 = $"string \"interpolation\" ... |
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Newtonsoft.Json;
namespace Disunity.Management.Extensions {
public static class PropertyBuilderExtensions {
public static PropertyBuilder<T> HasJsonConversion<T>(this PropertyBuilder<T> builder) {
return builder.HasConve... |
using FluentAssertions;
using Xunit;
using static System.Text.Json.JsonSerializer;
namespace Golden.Common.Tests
{
public class JsonUtilsTests
{
[Fact]
void ToJson_serializes_an_object_to_string_with_json_format()
{
var obj = new Fake { Id = 10, Name = "Test" };
... |
using Builder.Astralis;
using Builder.Astralis.Descriptors;
using Builder.Astralis.Execution;
using System.IO;
namespace Builder
{
public static class RepositoryResolver
{
static void ResolveRepo(Descriptor desc)
{
if (desc.Repositories == null)
return;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleSimPrt.PrtModel
{
/// <summary>
/// 程序模拟初始化
/// </summary>
public class PrtInit
{
public static EventHandlerPool eventhandlerpool = n... |
/* Copyright (C) 2004 - 2011 Versant Inc. http://www.db4o.com */
using Db4objects.Db4o.NativeQueries.Expr;
using Db4objects.Db4o.NativeQueries.Expr.Cmp.Operand;
namespace Db4objects.Db4o.NativeQueries.Expr
{
public class TraversingExpressionVisitor : IExpressionVisitor, IComparisonOperandVisitor
{
publ... |
namespace Etch.OrchardCore.Leaflet.ViewModels
{
public class BuildDisplayViewModel
{
public dynamic DisplayShape { get; set; }
}
}
|
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;
using System.Net.Sockets;
using System.Net.Http;
using LiteNetLib;
using System.Threading;
using System.N... |
using InmobiliariaLogicLayer.Decimales;
using InmobiliariaLogicLayer.Lotes;
using InmobiliariaLogicLayer.Lotes.PrecioLoteDecorators;
using InmobiliariaViewModels.Cuotas;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InmobiliariaLogicLayer... |
using System;
using System.ComponentModel;
namespace ServerGui.UserControls
{
/// <summary>
/// Holds options for a DataGrid Column.
/// </summary>
[Serializable]
public class ColumnOptions
{
public int DisplayIndex { get; set; }
public double Width { get; set; }
public... |
using UnityEngine;
using System.Collections;
abstract public class BehaviourBase
{
public int m_id;
public int m_percent;
public BehaviourBase(int id, int percent)
{
m_id = id;
m_percent = percent;
}
abstract public bool IsNeed();
abstract public bool IsAvailable();
}
public class BehaviourGeneric : B... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class GameOverUIManager : MonoBehaviour
{
public void OnNoClicked()
{
GameManager.LoadAfterLoadingScene("MainMenu");
}
public void OnYesClicked()
{
GameManager.Player.Set(3, 0);
GameManager.LoadAfterLoadingScene("M1");
}
}
|
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using UnityEngine.SceneManagement;
public class MenuUi : MonoBehaviour
{
public Text code;
public Text mission1;
public Text mission2;
public Text mission3;
public Image star;
void Update()
{
//显示任务
switch ... |
using System.Collections.Generic;
namespace ArduinoAPI.Service
{
public interface IMemoryStorage
{
/// <summary>
/// Adds an item to the dictionary
/// </summary>
/// <param name="key">The given key for the value</param>
/// <param name="value">The given value</param>
... |
using UnityEngine;
public class MovementScript : MonoBehaviour {
void Update () {
transform.Translate(Input.GetAxis("Horizontal") * 0.5f, Input.GetAxis("Vertical") * 0.5f, 0f);
}
}
|
using Microsoft.Maui.Controls;
using Microsoft.Maui.Controls.Xaml;
using Microsoft.Maui.Dispatching;
using System;
using Telerik.Maui.Controls;
using QSF.Services.Interfaces;
namespace QSF.Examples.BadgeViewControl.FirstLookExample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class First... |
/*
* Copyright 2017 Mikhail Shiryaev
*
* 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.0
*
* Unless required by applicable law or a... |
using FileHelpers;
namespace truck_manifest
{
[DelimitedRecord("|")]
public class A1TruckTimeData : BaseRecord
{
public string TruckID;
public string TruckTime;
}
} |
@{
Layout="shared/_Layout.cshtml";
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<div class="container">
<div class="jumbotron">
<h1>answer:</h1>
</div>
<h2>the word you selected appear's @Model times</h2>
<h3><a href="/">Return Home</a></h3>
</body>... |
using System;
#if WINDOWS_UWP
using Windows.UI.ViewManagement;
#elif __MACOS__
using AppKit;
#endif
using Xam.Forms.Markdown;
using Xamarin.Forms;
namespace ConferenceKiosk
{
public partial class GuidePage : ContentPage
{
Color activeColor = Color.FromHex("#e3008c");
Color otherColor = Color.FromHex... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _04.Logistics
{
class Logistics
{
static void Main(string[] args)
{
int loads = int.Parse(Console.ReadLine());
double microbusPrice = 200d;
... |
#nullable enable
namespace BizHawk.Client.Common
{
public readonly struct KeyEvent
{
public readonly DistinctKey Key;
public readonly bool Pressed;
public KeyEvent(DistinctKey key, bool pressed)
{
Key = key;
Pressed = pressed;
}
}
}
|
using MVCCaching;
using Generic.Repositories.Interfaces;
using Generic.Models;
using CMS.DataEngine;
using Generic.Repositories.Helpers.Interfaces;
namespace Generic.Repositories.Implementations
{
public class KenticoSiteSettingsRepository : ISiteSettingsRepository
{
private IKenticoSiteSettingsReposi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EM.GIS.Symbology
{
/// <summary>
/// 要素分类
/// </summary>
public interface IFeatureCategory : ICategory
{
/// <summary>
/// 过滤表达式
/// </summary>
string FilterExpression { get; set; }
... |
using System.Collections.Generic;
namespace UltimateTeam.Toolkit.Parameters
{
public class ClubInfoType : SearchParameterBase<string>
{
public const string Kit = "kit";
public const string Badge = "badge";
private ClubInfoType(string descripton, string value)
{
... |
using System;
using Microsoft.Maui.Controls.Compatibility.ControlGallery.Issues;
namespace Microsoft.Maui.Controls.Compatibility.ControlGallery
{
public class FlyoutPageTabletPage : ContentPage
{
public FlyoutPageTabletPage()
{
Title = "FlyoutPage FlyoutLayoutBehavior Gallery";
var btn = new Button { Tex... |
namespace NHSD.GPIT.BuyingCatalogue.UI.Components.Views.Shared.TagHelpers.TaskList
{
public sealed class TaskListContext
{
public TaskListContext()
{
SectionNumberCount = 1;
}
public int SectionNumberCount { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OwinFramework.Pages.Core.Collections;
using OwinFramework.Pages.Core.Debug;
using OwinFramework.Pages.Core.Extensions;
using OwinFramework.Pages.Core.Interfaces.Collections;
using OwinFramework.Pages.Core.Interfaces.DataModel;
... |
using Roguelike.Attributes;
using Roguelike.Tiles.Looting;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Roguelike.Abilities
{
public class AbilitiesSet
{
List<PassiveAbility> passiveAbilities = new List<PassiveAbility>();
List<ActiveAbility> activeAbilities = new List<Activ... |
using CloudinaryDotNet;
using Picturra.Models.Image;
namespace Picturra.Presenter.Adapters
{
public interface ICloudinaryAdapter
{
Account Credentials { get; set; }
Image UploadImage(ImageUpload imageUpload);
void DeleteImage(string token);
}
}
|
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using TimsWpfControls.Converter;
using TimsWpfControls.Model;
namespace DataGridCellStyleExample
{
public class Person : BaseClass
{
public Person(string firstName, string lastName, int age)
... |
using System;
namespace STak.WinTak
{
public interface IModelHighlighter
{
bool IsHighlighted { get; }
void Highlight(bool highlight);
}
}
|
using System;
using System.Data;
using SavepointHandlers;
namespace SavepointHandlers.SqlServer
{
public class SqlServerSavepointAdapter : ISavepointAdapter
{
public string SetSavepoint(IDbCommand command)
{
var savePointName = Guid.NewGuid().ToString("N");
... |
using System;
using CMS.UIControls;
public partial class CMSInstall_Controls_LayoutPanels_Warning : CMSUserControl
{
/// <summary>
/// Gets client ID of warning label control.
/// </summary>
public string WarningLabelClientID
{
get
{
return lblWarning.Clie... |
namespace BinaryPuzzleDotComScraper
{
public enum PuzzleDifficulty
{
Easy = 1,
Medium,
Hard,
VeryHard
}
}
|
using DotGather.Interfaces;
namespace DotGather.GatherContent.Objects
{
/// <summary>
/// This class maps to a GatherContent DueDate Object.
/// </summary>
/// <seealso cref="IDueDate"/>
/// <seealso cref="Page"/>
public class DueDate : IDueDate
{
/// <summary>The unique ID used ... |
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace CronJobs.Infrastructure.Extensions
{
public static class ApplicationBuilderJobExtensions
{
public static void UseJobServer(this IApplicationBuilder builder)
{
var options = builder.Applica... |
using System;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Righthand.ViceMonitor.Bridge.Commands;
using Righthand.ViceMonitor.Bridge.Services.Implementation;
namespace Righthand.ViceMonitor.Bridge.Services.Abstract
{
/// <summary>
/// Interface to access <see cref="ViceBridge"... |
using System.Collections.Generic;
using Telerik.Charting;
using Windows.Foundation;
using Windows.UI.Composition;
using Windows.UI.Xaml.Media;
namespace Telerik.UI.Xaml.Controls.Chart
{
internal abstract class ChartSeriesRenderer
{
internal ChartSeriesModel model;
internal IList<DataPoint> re... |
using AutoMapper;
using SolarDigest.Api.Data;
using SolarDigest.Api.Logging;
using SolarDigest.Shared.Utils;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace SolarDigest.Api.Repository
{
internal sealed class SolarDigestExceptionTable : SolarDigestTableBase, ISolarDigestExceptionTable... |
using Domain;
namespace DataAccess
{
public interface IStudentRepository
{
void Save(Student toSave);
}
}
|
@model Fap.AspNetCore.ViewModel.FormViewModel
<fap-form id="@Model.FormId" form-model="Model"></fap-form>
<script>
function entry(offerUid) {
var entryUid = $("#frm-profile #Fid").val();
$.post(basePath + "/Recruit/Api/Entry", { offerUid: offerUid, entryUid: entryUid }, function (rv) {
... |
using System.Text.Json.Serialization;
namespace SyntSky.GoodGame.Api.V4.Dto.Comments;
public class DonatDto
{
[JsonPropertyName("objId")]
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public long ChannelId { get; set; }
[JsonPropertyName("level")]
[JsonNumberHandling(JsonNumberHandling.AllowR... |
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.Win32;
namespace fos.Workarounds;
internal class RenderLoopFix
{
public static void Initialize()
{
SystemEvents.SessionSwitch += SystemEvents_SessionSwitch;
SystemEvents.PowerModeChanged += SystemEvent... |
// "Therefore those skilled at the unorthodox
// are infinite as heaven and earth,
// inexhaustible as the great rivers.
// When they come to an end,
// they begin again,
// like the days and months;
// they die and are reborn,
// like the four seasons."
//
// - Sun Tsu,
// "The Art of War"
using System;
using Syste... |
using Crabtopus.Models;
namespace Crabtopus.Services
{
internal interface ICardsService
{
Card GetById(int id);
Card Get(string setCode, string collectorNumber);
}
}
|
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Blazored.LocalStorage;
using Syncfusion.Blazor;
using Microsoft.Extensions.Hosting;
using Common.Web;
using Common.Application;
using System.Net.Http;
... |
using ConWinTer.Model;
using ConWinTer.Utils;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace ConWinTer.Export {
public class CsvTableExporter : ITableExporter {
public string Separator { get; set; }
public CsvTableExporter(string s... |
using System;
using System.IO;
namespace Proj4Net.Core.Datum.Grids
{
public class DatGridTableLoader : GridTableLoader
{
public DatGridTableLoader(Uri location)
: base(location)
{
}
internal override bool ReadHeader(GridTable table)
{
using (var... |
using System;
using FlaUI.Core;
namespace FlaUInspect.Core
{
public static class AutomationPropertyExtensions
{
public static string ToDisplayText<T>(this IAutomationProperty<T> automationProperty)
{
try
{
var success = automationProperty.TryGetValue(out... |
using System.Collections.Generic;
namespace FlexibleCalculator.Calculator
{
public interface IReversePolishNotationAlgo
{
Token[] OrderTokens(IEnumerable<string> tokens);
}
}
|
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using MTBLogger.Data;
using MTBLogger.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MTBLogger.Controllers
{
public class ToRideController : Controller
{
private readonl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Tactics.Models
{
public class UI : MonoBehaviour
{
public Material playerGradientMaterial;
public Material enemyGradientMaterial;
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class QuickConsoleToggler : MonoBehaviour
{
[SerializeField] ConsoleGUI console;
[SerializeField] KeyCode toggleKey = KeyCode.Quote;
public KeyCode ToggleKey => toggleKey;
private void Update()
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChameleonLib.Resources
{
public class Constants
{
public const string PERIODIC_TASK_NAME = "VelostepChameleonPeriodicAgent";
//string resourceIntensiveTaskName = "Resou... |
using System.Threading.Tasks;
using WT.Ecommerce.Domain.Models;
namespace WT.Ecommerce.Services.Products
{
public interface IProductService
{
Task<ProductQueryResult> GetPaged(int limit, int skip,string name,int? categoryId);
Task<ProductResponse> Create(ProductRequest input);
Task<Pro... |
using Newtonsoft.Json;
using System;
namespace Panosen.Serialization.ElasticSearch
{
public class Range
{
[JsonProperty("name")]
public string Name { get; set;}
[JsonProperty("gt")]
public long? GreaterThan { get; set;}
[JsonProperty("gte")]
public long? Greate... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
using System;
using System.ComponentModel;
using System.Linq.Expressions;
namespace MvvmCross.ViewModels
{
p... |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace PsiCorps.BlackOmega.IdentityMap.InMemory
{
public class InMemoryIdentityMapEngine<TEntity, TId> : IIdentityMapEngine<TEntity, TId>
where TEntity : class
{
// TODO: Data races (?)
... |
using System;
using System.Runtime.InteropServices;
using HAL.Base;
// ReSharper disable RedundantAssignment
// ReSharper disable InconsistentNaming
#pragma warning disable 1591
namespace HAL.SimulatorHAL
{
///<inheritdoc cref="HAL"/>
internal class HALSerialPort
{
internal static void Initializ... |
using Xunit;
namespace WebApiTests.Base
{
public class BaseServiceTests
{
[Fact]
public void TestCreate()
{
Assert.Equal(4, 4);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Jtext103.EntityModel;
namespace Jtext103.OldHouse.Business.Models
{
/// <summary>
/// holds the info of a house
/// </summary>
public class House:Entity
{
/// <summary>... |
using System.Windows;
namespace TestStack.White
{
public class HorizontalSpan : Span
{
public HorizontalSpan(Rect bounds) : base(bounds.Left, bounds.Right) {}
public virtual bool IsOutside(Rect rect)
{
return DoesntContain(rect, rect.Left, rect.Right);
}
... |
using System;
namespace EmergencySituationSimulator2014.Model
{
public abstract class Person : Entity
{
public double Pv { get; protected set; }
public double GoodHealtPv { get; protected set; }
public double Age { get; protected set; }
public double HealtStatus
{
... |
using System;
namespace Com.Game.Data
{
[Serializable]
public class SysShopItemVo
{
public string unikey;
public int id;
public int type;
public string itemID;
public int itemNum;
public string itemPrice;
public int MaxNumberOfPurchases;
public int dailyPurchaseTimes;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.