content stringlengths 23 1.05M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System; // For math functions specific to doubles -- will do conversions to float for Unity-specific code
public class Chen : MonoBehaviour
{
private LineRenderer line;
private ScaleFactor scale; // Scale component
// Co... |
using System.Collections.Generic;
namespace Apple.Receipt.Verificator.Models
{
public class AppleReceiptVerificationSettings
{
public string? VerifyReceiptSharedSecret { get; set; }
public AppleReceiptVerificationType VerificationType { get; set; }
public ICollection<string> AllowedB... |
@using Microsoft.AspNetCore.Identity
@using VOD.Admin.Areas.Identity
@using VOD.Common.Entities
@namespace VOD.Admin.Areas.Identity.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
namespace TpsParse.Tps.Record
{
public enum FieldType : byte
{
Byte = 1,
SignedShort = 2,
UnsignedShort = 3,
Date = 4,
Time = 5,
SignedLong = 6,
UnsignedLong = 7,
Float = 8,
Double = 9,
Bcd = 0x0A,
FixedLengthString = 0x12,... |
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using Castle.DynamicProxy;
namespace Flatwhite.AutofacIntergration
{
/// <summary>
/// Adapt from Castle Dynamic proxy IInvocation to Flatwhite _IInvocation
/// </summary>
[ExcludeFromCodeCoverage]
... |
using System;
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace RSql4Net.Tests.Models
{
public class MockModelBinderProviderContext : ModelBinderProviderContext
{
public MockModelBinderProviderContext(Type type)
{
Metadata = new MockModelMetadata(type);
}
publ... |
using System;
using JetBrains.Annotations;
namespace com.tinylabproductions.TLPLib.Tween.fun_tween {
public class TweenCallback : TweenTimelineElement {
public struct Event {
[PublicAPI] public readonly bool playingForwards;
public Event(bool playingForwards) { this.playingForwards = playingForward... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace 掩日___免杀执行器生成工具
{
class TP_XSL
{
string code;
public TP_XSL()
{
code = @"<?xml version='1.0'?>
<stylesheet
xmlns=""http://www.w3.org/1999/XSL/Transform"" xmlns:ms=... |
using IntelligentKioskSample.Data;
using Microsoft.Azure.CognitiveServices.Vision.Face.Models;
using ServiceHelpers;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI;
using Windows.UI.Xaml.Markup;
... |
using UnityEngine;
using System.Collections;
public class TurnOnMagnetCaller : MonoBehaviour {
void OnMouseUp() {
GameObject.Find("StopAndStickTrigger").GetComponent<TurnOnMagnet>().OnMouseUp();
}
}
|
using System;
using System.Text.RegularExpressions;
namespace Kata
{
/// <summary>
/// Value object for account numbers.
/// </summary>
public class AccountNumber
{
private readonly string number;
public AccountNumber(string number)
{
var accountN... |
using Azure.AI.TextAnalytics;
using Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models;
namespace PictureSelector.Models
{
public class ImageDescriptionExtended
{
public ImageDescription Description { get; set; }
public DocumentSentiment Sentiment { get; set; }
public str... |
using System;
using System.Web.Http;
using FluentAssertions;
using FluentValidation;
using SimpleInjector;
using WebApiMovieRest.Core.Persistence;
using WebApiMovieRest.Core.Resources.Movies;
using WebApiMovieRest.Core.Resources.Movies.Create;
using WebApiMovieRest.Core.Resources.Movies.Get;
using WebApiMovieRest.Infr... |
using Abp.AutoMapper;
using Microsoft.AspNetCore.Http;
namespace Esendexers.HomelessWays.Web.Models.Incidents
{
public class IncidentViewModel
{
public string Description { get; set; }
public IFormFile File { get; set; }
public double Latitude { get; set; }
public double Longit... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Formula.SimpleCore
{
public static class StatusBuilderExtensions
{
[Obsolete("Move to Status instead of TypedStatusBuilder")]
public static Status<TData> ToStatus<TData>(this StatusBuilder legacy)
{
... |
using System;
using UnityEngine;
using System.Collections;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class StackField : MonoBehaviour, IPointerClickHandler, IPointerEnterHandler, IPointerExitHandler {
private Image _image;
private Color _selectionColor;
private bool _selectable;
privat... |
using Android.App;
using Android.OS;
using Android.Views;
namespace Clock
{
[Activity(Label = "Clock", MainLauncher = true, Icon = "@mipmap/icon")]
public class MainActivity : Android.Support.V7.App.AppCompatActivity
{
protected override void OnCreate(Bundle savedInstanceState)
{
base.OnCreate(savedInstance... |
using System;
using TechTalk.SpecFlow.IdeIntegration.Configuration;
using TechTalk.SpecFlow.IdeIntegration.Generator;
using TechTalk.SpecFlow.IdeIntegration.Options;
using TechTalk.SpecFlow.IdeIntegration.Tracing;
using TechTalk.SpecFlow.Infrastructure;
using TechTalk.SpecFlow.Parser;
using TechTalk.SpecFlow.VsIntegra... |
using System;
using System.Drawing;
using System.Windows.Forms;
using BizHawk.Client.Common;
namespace BizHawk.Client.EmuHawk
{
public partial class MessageEdit : UserControl
{
private MessagePosition _messagePosition = new MessagePosition();
private Action _changeCallback;
private bool _programmaticallyChan... |
namespace Amazon.Lambda.CloudWatchEvents.ECSEvents
{
/// <summary>
/// Details on the network bindings between a container and its host container instance.
/// https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkBinding.html
/// </summary>
public class NetworkBinding
{
... |
using System.ComponentModel.DataAnnotations.Schema;
namespace DatabaseConnection.Models {
public class MemberConnection {
public Member User { get; set; }
[ForeignKey("User")]
public int UserID { get; set; }
public ConnectionType ConnectionType { get; set; }
[ForeignKey("Co... |
using Moq;
using Shouldly;
using Xunit;
namespace AutoMoq.Tests
{
public class ConfigTests
{
public class MockBehaviorTests
{
[Fact]
public void It_should_default_to_loose()
{
var config = new Config();
config.MockBehavior.Shou... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using DocumentExplorer.Core.Domain;
namespace DocumentExplorer.Core.Repositories
{
public interface ILogRepository
{
Task<Log> GetAsync(Guid id);
Task<IEnumerable<Log>> GetAllAsync();
Task AddAsync(Log log);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Descrição resumida de ReservaBD
/// </summary>
public class ReservaBD
{
private static int cont = 0;
private static Reserva[] res = new Reserva[50];
public static void Insert(Reserva r)
{
re... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Domain.Enums
{
public enum ActivityRole
{
Waiter,
Cleaner
}
}
|
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using DomainWorkflows.Hosting;
using DomainWorkflows.Workflows.DependencyInjection;
using DomainWorkflows.Utils.CommandProcessing;
using DocumentsAprova... |
namespace Domain
{
using System.Data.Entity.ModelConfiguration;
internal class MatchesMap : EntityTypeConfiguration<Match>
{
public MatchesMap()
{
HasRequired(o => o.Local)
.WithMany(m => m.Locals)
.HasForeignKey(m => m.LocalId);
Has... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TemplatesManager : MonoBehaviour {
public static TemplatesManager Instance { get; private set; }
void Awake()
{
Instance = this;
}
public GameObject GetPartyUnitTemplateByType(UnitType unitType)
... |
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using IcyRain.Internal;
namespace IcyRain.Compression.LZ4.Internal
{
internal unsafe partial class XXH32 : XXH
{
private const uint PRIME32_1 = 2654435761u;
private const uint PRIME32_2 = 2246822519u;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Sitecore.Data;
namespace OneSound.Feature.Navigation
{
public static class Templates
{
public static class Header
{
public static class Fields
{
public static readonly ID Logo = new ID("{4E1A039B-... |
namespace EA.Iws.Web.Tests.Unit.ViewModels.Registration
{
using Areas.Admin.ViewModels.Registration;
using FluentAssertions;
using Web.ViewModels.Registration;
using Xunit;
public class AdminRegistrationViewModelTests
{
[Fact]
public void UserCreationViewModel_ShouldInheritFrom... |
using System.Web.Http;
namespace FromScratch.StartMyStuff
{
public static class INeedSomeCoffee
{
public static void SetMeUp(HttpConfiguration config)
{
config.MapHttpAttributeRoutes();
config.Routes.MapHttpRoute(
name: "MyAwesomeApi",
... |
using System.Collections.Generic;
namespace ModelMaintainer.Samples.Azure.Model
{
public class SqlDatabase
{
public string Name { get; set; }
public IEnumerable<string> Tags { get; internal set; }
public string Uri { get; internal set; }
public SqlDatabase(string name)
... |
/*
* This file is part of the CatLib package.
*
* (c) Yu Bin <support@catlib.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: http://catlib.io/
*/
using System;
using System.Collections.Generic;
namespace CatLib
... |
using Microsoft.Extensions.Logging;
namespace Sir.HttpServer.Features
{
public class SaveAsJobQueue : JobQueue
{
public SaveAsJobQueue(ILogger<JobQueue> logger) : base(logger)
{
}
}
} |
using Networking.Common;
using Networking.Enums;
using Networking.Messages.Inbound;
using Networking.Messages.Outbound;
namespace Networking.Messages;
public sealed class PacketService : IPacketService
{
private readonly IEnumerable<IPacketTransformer> _packetTransformers;
private readonly IEnumerable<IMessag... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class completeLevel : MonoBehaviour {
// Use this for initialization
void Start () {
Scene scene = SceneManager.GetActiveScene();
Debug.Log("Active s is '" + scene.name + "'.");
... |
using System;
using System.Collections.Concurrent;
using System.Data.Common;
using System.Threading;
using AntData.ORM.Dao;
using AntData.ORM.DbEngine.DB;
#if !NETSTANDARD
using System.Transactions;
#endif
namespace AntData.ORM.DbEngine.Connection
{
/// <summary>
/// 对于相同的数据库,在同一个事务中,只打开一个数据库链接
/// </sum... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace MangaReader.FileHandlers {
public abstract class FileHandler {
protected List<String> FileNames;
public virtual String getImagePath(int position) {
return FileN... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.SqlTools.ServiceLayer.ShowPlan.ShowPlanGraph
{
/// <summary>
/// Interface represents an abstract builder that gets
/// data from ... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace MatchmakingServer
{
class Root : Response
{
public override a... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using DevOne.Security.Cryptography.BCrypt;
namespace RSPO
{
public class Pair<T1, T2>
{
public T1 First;
public T2 Second;
public Pair(T1 first, T2 second)
{
First = first;
Second = second;
}
}
public c... |
namespace DiscordBotSample.Services.Audio
{
public class PlayerOptions
{
}
} |
using FluentValidation;
using Localization.Accessor.Service.Accessors.FileAccessor.Contracts.Queries;
namespace Localization.Accessor.Service.Accessors.FileAccessor.Contracts.Validators
{
public class IsAvailableQueryValidator : AbstractValidator<IsResourceAvailableQuery>
{
public IsAvailableQueryValid... |
// 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
/* RequestInfo.cs --
* Ars Magna project, http://arsmagna.ru
* -------------------------------------------------------
* Status: poor
*/
#region Using d... |
using System.Threading.Tasks;
using MvvmCross.Core.ViewModels;
using MvvmCross.Platform;
using Acr.UserDialogs;
namespace PluginMvxForms.Core.ViewModels
{
public class PluginViewModel : MvxViewModel
{
public PluginViewModel()
{
}
public IMvxCommand DialogCommand => new MvxComma... |
using System;
namespace Coronado.Web.Controllers.Dtos
{
public class InvoiceLineItemsForPosting
{
public InvoiceLineItemsForPosting()
{
Status = "Unchanged";
}
public Guid InvoiceLineItemId { get; set; }
public decimal Quantity { get; set; } = 0;
pub... |
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
namespace Guanwu.Notify.Widget
{
public delegate void PipelineMessageEventHandler(byte[] body, Dictionary<string, string> context);
public interface IPipelineMessenger : IWidget
{
event PipelineMessageEventHandler OnMessageRece... |
using System;
namespace YS.Knife.Data
{
public class FieldTranslater
{
public OrderItem Translate<TFrom, TTo>(OrderItem orderItem)
{
return null;
}
public OrderItem Translate(Type from, Type to, OrderItem orderItem)
{
return null;
}
... |
// Copyright (c) Rodrigo Speller. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information.
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace TSqlFoundry.SqlServer.Runtime.TSqlDom
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MeowDSIO.DataTypes.LUAGNL
{
public class StringRef
{
public string Value { get; set; } = null;
public static implicit operator string(StringRef s) => s.Value;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ButtonSounds : MonoBehaviour
{
public string hoverSound;
public string clickSound;
public void HoverSound()
{
AudioManager.instance.PlaySound(hoverSound, this.transform);
}
public void ClickSo... |
using System.Collections.Generic;
using FakeItEasy;
using ImmutableCollections.Helpers;
using NUnit.Framework;
namespace ImmutableCollections.Tests.Helpers
{
class KeyComparerTests
{
[Test]
public void Can_Compare_Only_Keys_With_Default_Comparer()
{
var sut = new KeyCompare... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
[System.Serializable]
public struct TooltipInfo
{
public string Title;
public string Category;
public string MainText;
public string SecondaryText;
public TooltipInfo(s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task05
{
class VideoFile
{
string _name;
int _duration;
int _quality;
public VideoFile(string name, int duration, int quality)
{
_n... |
using Suls.Models;
using Suls.ViewModels.Problems;
namespace Suls.Services
{
public interface IProblemsService
{
void Create(string name, int points);
Problem GetById(string id);
DetailsViewModel GetDetailsById(string problemId, string userId);
}
}
|
using PieceOfCake.BlazorApp.Services.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PieceOfCake.BlazorApp.Services
{
public class EventsService : IEventsService
{
public event EventHandler ProductCreation;
public void OnP... |
using System;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Options;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using Microsoft.WindowsAzure.Storage.Shared.Protocol... |
namespace FreeEcho
{
namespace FEWindowMoveDetectionMouse
{
/// <summary>
/// NativeMethodsDelegate
/// </summary>
internal class NativeMethodsDelegate
{
public delegate System.IntPtr MouseHookCallback(int nCode, uint msg, ref MSLLHOOKSTRUCT msllhook... |
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace UnoChat.Client.Xaml
{
public class StringEqualityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
return (value, parameter) switch
... |
//06. Calculate Again
//Description
//Write a program that calculates N! / K! for given N and K.
// Use only one loop.
//Input
// On the first line, there will be only one number - N
// On the second line, there will be only one number - K
//Output
// Output a single line, consisting of the result from the... |
using System;
using System.Text;
using Newtonsoft.Json.Linq;
using Xunit;
namespace ODataGraphDelta.Tests {
public class TypedGraphDelta_Facts {
#region Models
public class _SimpleModel {
public int Id { get; set; }
public string Value { get; set; }
public int... |
using UnityEngine;
using System;
using System.Collections;
#if COMPILE_NAMESPACE
using SA;
namespace SA {
#endif
public interface IDebugSystem {
// If an instance of DebugSystem is registered as Dbg.DebugSystem, this hook
// will be called by Dbg.Log(...) if a context object was provided.
// Squelch indica... |
using System;
using System.Linq;
namespace _11.Tuple
{
public class Startup
{
public static void Main()
{
var firstLine = Console.ReadLine().Split().ToArray();
var name = $"{firstLine[0]} {firstLine[1]}";
var city = firstLine[2];
var tuple = new ... |
using System.IO;
using System.Web;
using System.Web.Caching;
namespace Pronto.Authorization
{
public class SimplePasswordService : FileBasedResourceService<SimplePassword, IReadOnlySimplePassword>
{
public SimplePasswordService(HttpServerUtilityBase server, Cache cache)
: base(ser... |
using System;
using System.Collections.Generic;
using Content.Shared.Research.Prototypes;
using Robust.Shared.GameObjects;
using Robust.Shared.GameStates;
using Robust.Shared.IoC;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared... |
using AdventOfCode.Days.Tools.Day7;
using AdventOfCode.Tools.TopologicalOrder;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace AdventOfCode.Days
{
class Day7 : DayBase
{
public override ... |
using System.ComponentModel;
using Vip.DFe.Attributes;
using Vip.DFe.Enum;
using Vip.DFe.Serializer;
namespace Vip.DFe.NFe.NotaFiscal.Detalhe.Imposto.Federal
{
public sealed class II : GenericClone<II>, INotifyPropertyChanged
{
#region Events
public event PropertyChangedEventHandler PropertyC... |
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
using System;
using System.Collections.Generic;
namespace Oqtane.Survey.Server.Repository
{
public partial class OqtaneSurveyItem
{
public OqtaneSurveyItem()
{
OqtaneSurveyAnswer = new H... |
using System;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
namespace PubNubAPI
{
public class GetUUIDMetadataBuilder
{
private readonly GetUUIDMetadataRequestBuilder getUUIDMetadataResultBuilder;
public GetUUIDMetadataBuilder(PubNubUnity pn){
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.IO.Packaging;
using System.Data;
namespace Z3Data
{
public class CSVRow
{
string[] _data = null;
public CSVRow(string[] s) { _data = new string[12]; s.C... |
@using Resgrid.Model
@model Resgrid.Web.Areas.User.Models.DepartmentSettingsModel
@{
ViewBag.Title = "Resgrid | Department Settings";
}
<div class="row wrapper border-bottom white-bg page-heading">
<div class="col-sm-4">
<h2>Department Settings</h2>
<ol class="breadcrumb">
<li>
<a asp-contro... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace MAASoft.HomeBankingWeb.Sitio.Models
{
public class ServicioCuota
{
public DateTime Fecha { get; set; }
[Display(Name = "Servicio")]
public string... |
using SurveyCore.Infrastructure.Repositories;
using SurveyCore.Models;
using System.Linq;
namespace SurveyCore.Services
{
public class SurveyService : ISurveyService
{
private readonly ISurveyRepository surveyRepository;
public SurveyService(ISurveyRepository surveyRepository)
{
... |
namespace Oakton.AspNetCore.Descriptions
{
/// <summary>
/// Optional interface that can be implemented by IDescribedSystemPart for
/// advanced Console appearance
/// </summary>
public interface IWriteToConsole
{
void WriteToConsole();
}
} |
using System;
using System.Collections.Generic;
using CommandFramework.Commands.Input;
namespace CommandFramework.Commands
{
public interface ICommandContext : IDisposable
{
T CreateInstance<T>();
ICommandInput CommandInput { get; }
}
} |
using System;
namespace BuildsAppReborn.Contracts.Models.Base
{
public interface IObjectItem
{
String Url { get; }
}
} |
namespace Mollie.Api.Models.Subscription {
public enum SubscriptionStatus {
Pending,
Active,
Canceled,
Suspended,
Completed
}
} |
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/
using BootstrapBlazor.Components;
using BootstrapBlazor.Shared.Common;
us... |
namespace UChart
{
public class Line2D : Line
{
}
} |
using PresentationToolKit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MHMonstersElements.ViewModels
{
public class WeaponsRootViewModel : ViewModelBase
{
public WeaponGroupViewModel[] WeaponGroups { get; private set; }
... |
using AdventureWorks.Bikes.Infrastructure.CosmosDB.Model;
namespace AdventureWorks.Bikes.API.ViewModels
{
public class StoreListViewModel
{
public StoreListViewModel(DBStore store)
{
if (store != null)
{
StoreId = store.Id;
Name = store.N... |
using System.ComponentModel;
using System.Configuration.Install;
using System.ServiceProcess;
namespace MailNotifierService
{
[RunInstaller(true)]
public sealed class MailNotifierServiceInstaller : Installer
{
ServiceProcessInstaller m_serviceProcessInstaller;
ServiceInstaller m_serviceIns... |
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Hosting;
using it.example.dotnetcore5.domain.Interfaces.Models;
using it.example.dotnetcore5.domain.Models;
using it.example.dotn... |
using ComicVineApi.Models;
using Newtonsoft.Json;
using Xunit;
namespace ComicVineApi.Tests.Models
{
public class NewlineDelimitedArrayConverterTests
{
[Theory]
[InlineData("null", null)]
[InlineData("''", new string[0])]
[InlineData("'first'", new[] { "first" })]
[Inli... |
using System.Collections.Generic;
namespace Assets.Scripts.Input
{
/// <summary>
/// Represents a sequence of inputs that can be matched against an InputBuffer.
/// </summary>
// TODO: Is this class necessary?
public class InputSequence
{
public IEnumerable<Input> Inputs { get; }
... |
using Norm.Configuration;
namespace Norm
{
/// <summary>
/// Map/reduce options for a given type
/// </summary>
/// <typeparam retval="T">Type to map and recude</typeparam>
public class MapReduceOptions<T> : MapReduceOptions
{
/// <summary>
/// Initializes a new instance of the... |
using System.Linq;
using cv19ResSupportV3.Tests.V3.Helper;
using FluentAssertions;
using NUnit.Framework;
namespace cv19ResSupportV3.Tests.V3.Infrastructure
{
[TestFixture]
public class HelpRequestsContextTests : DatabaseTests
{
// [Test]
public void CanGetADatabaseEntity()
{
... |
// ========================================
// Project Name : WodiLib
// File Name : DatabaseMergedDataWriter.cs
//
// MIT License Copyright(c) 2019 kameske
// see LICENSE file
// ========================================
using System;
using System.Threading.Tasks;
using WodiLib.Database;
using WodiLib.Sy... |
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
... |
using System;
using System.Runtime.InteropServices;
using Vanara.InteropServices;
namespace Vanara.PInvoke
{
public static partial class Shell32
{
/// <summary>
/// Exposes methods that allow clients to reset or query the display state of the autocomplete drop-down list, which contains
/// possible completion... |
using Eto.Forms;
#if XAMMAC2
using AppKit;
using Foundation;
using CoreGraphics;
using ObjCRuntime;
using CoreAnimation;
#else
using MonoMac.AppKit;
using MonoMac.Foundation;
using MonoMac.CoreGraphics;
using MonoMac.ObjCRuntime;
using MonoMac.CoreAnimation;
#endif
namespace Eto.Mac.Forms.Actions
{
public class MacCo... |
using System;
using MonoGame.Squid.Interfaces;
using MonoGame.Squid.Structs;
using MonoGame.Squid.Util;
namespace MonoGame.Squid.Controls
{
/// <summary>
/// A collection of TabPages
/// </summary>
public class TabPageCollection : ActiveList<TabPage> { }
/// <summary>
/// A TabControl
///... |
using System;
using System.Collections.Generic;
namespace OzzyEntityLibraries.ORM.Models
{
public partial class Territories
{
public int TerritoryId { get; set; }
public int RegionId { get; set; }
public string TerritoryName { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Xml;
using Sitecore.Data;
using Sitecore.Data.Fields;
using Sitecore.Data.Items;
using Sitecore.Globalization;
using Sitecore.Pipelines.RenderField;
using TokenManager.ContentSearch;
using TokenManager.Data.TokenDataType... |
using Newtonsoft.Json;
namespace AndrealClient.Data.Json.Osu;
[Serializable]
public class OsuBeatMapInfo
{
[JsonProperty("beatmapset_id")] public string BeatmapsetId { get; set; }
[JsonProperty("diff_size")] public string DiffSize { get; set; }
[JsonProperty("diff_overall")] public string DiffOverall {... |
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApplication
{
public class CustomValueProviderFactory : IValueProvider
{
public bool ContainsPrefix(string prefix)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace BinarySpanReaderLib
{
/// <summary>
/// Extension methods for <see cref="ReadOnlySpan{T}"/> and <see cref="ReadOnlyMemory... |
using System;
using System.Linq;
using System.Numerics;
using ImGuiNET;
using T3.Core.Animation;
using T3.Gui.Commands;
using T3.Gui.Selection;
using UiHelpers;
namespace T3.Gui.Windows.TimeLine
{
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.