content stringlengths 23 1.05M |
|---|
namespace Yandex.Alice.Sdk.Models
{
using System.Text.Json.Serialization;
public class AliceDirectivesModel
{
[JsonPropertyName("request_geolocation")]
public object RequestGeolocation { get; set; }
public void SetRequestGeolocation()
{
RequestGeolocation = new... |
namespace MathCore.NET.HTTP
{
public class Server
{
}
}
|
using AwesomeGym.API.Enums;
namespace AwesomeGym.API.Persistence.ViewModels
{
public class AlunoViewModels
{
public AlunoViewModels(string nome, StatusAlunoEnum status)
{
Nome = nome;
Status = status;
}
public string Nome { get; private set; }
p... |
using DefaultNamespace;
using UnityEngine;
namespace Arch.CoreServices
{
internal class Instantiator : BaseDisposable, IInstantiator
{
public struct Ctx
{
public Transform parent;
}
private readonly Ctx _ctx;
public Instantiator(Ctx ctx)
{
_ctx = ctx;
}
... |
using System.Collections.Generic;
using Microsoft.AspNetCore.JsonPatch;
/// <summary>
/// This is the service for Juegos
/// </summary>
public interface IJuegoService
{
public IEnumerable<JuegoDTO> GetAll();
public JuegoDTO GetByID(int guid);
public JuegoDTO Add(JuegoDTO guid);
public void Delete(in... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Reflection;
namespace DALFactory
{
public class DataAccess
{
public static string AssemblyPath = ConfigurationManager.AppSettings["DAL"];
#region 反射生成对象
/// <su... |
using System;
using Live2k.Core.Model.Base;
namespace Live2k.Core.Model
{
public sealed class PropertyChange : Change
{
public PropertyChange(bool isMainPropertyChange) : base(isMainPropertyChange)
{
}
/// <summary>
/// Previous instance of property
/// </summ... |
using Harmony;
namespace Game
{
/// <summary>
/// OnOverWorldEnter event channel
/// Author : Mike Bédard
/// </summary>
[Findable(Game.Tags.GAME_EVENT_HANDLER_TAG)]
public class OnOverWorldEnter : EventChannel<OverWorldController>
{
public event EventHandler<OverWorldController> N... |
using System;
using System.Collections.Generic;
namespace Treenumerable.Linq
{
internal class OrderByComparer<T, TKey> : IComparer<T>
{
public OrderByComparer(
Func<T, TKey> keySelector,
IComparer<TKey> comparer,
bool descending)
{
this._KeySelec... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class ChangeTextByLanguage : MonoBehaviour {
ClassesJSON globalscripts;
public string entext;
public string pttext;
// Use this for initialization
void Start () {
globalscripts = GameObject.Find("GlobalScripts(Cl... |
using System;
namespace Reinforced.Tecture.Services
{
/// <summary>
/// Defines storage service without context
/// </summary>
public interface INoContext { }
/// <summary>
/// Defines storage interface with context
/// </summary>
public interface IWithContext { }
public class Le... |
using System;
using UnityEngine;
namespace Alteracia.Patterns
{
[Obsolete("Singleton, we don't like it now", true)]
public abstract class Controller<T> : MonoBehaviour where T : Controller<T>
{
private static T _instance;
public static T Instance
{
get
... |
using System;
using System.Linq;
using AutoMapper;
using DocumentDbRepositories;
using DocumentDbRepositories.Implementation;
using KeyVaultRepositories.Implementation;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Routin... |
using MvcSiteMapProvider.Web.Mvc;
using System;
using System.Web;
using System.Web.Caching;
namespace MvcSiteMapProvider.Caching
{
/// <summary>
/// A cache provider that uses the <see cref="T:System.Web.HttpContext.Current.Cache"/> instance to
/// cache items that are added.
/// </summary>
/// <... |
namespace Nivaes.App.Cross.Droid
{
[Android.Runtime.Preserve(AllMembers = true)]
public static class LinkerPleaseInclude
{
//public static void Include(SplashScreenActivity activity)
//{
// activity = new SplashScreenActivity();
// activity.Dispose();
//}
... |
using Microsoft.EntityFrameworkCore;
using MyBrokenPage.Dal.Extensions;
using MyBrokenPage.Dal.Models;
namespace MyBrokenPage.Dal
{
public class MyBrokenPageContext : DbContext
{
public MyBrokenPageContext(DbContextOptions<MyBrokenPageContext> options) : base(options) { }
public DbS... |
using CommunityTraining.Application.Ports.VideoPorts;
using CommunityTraining.Application.UseCases.Validators;
using CommunityTraining.Entities;
using CommunityTraining.Interfaces;
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks... |
using System;
using UnityEngine;
namespace MainGame {
[Serializable]
public struct Optional<T> {
[SerializeField] private bool enabled;
[SerializeField] private T value;
public Optional(T initialValue){
enabled = true;
value = initialValue;
}
... |
using SDL2;
namespace _7DRL_2021
{
public class Viewport
{
private SDL.SDL_Rect view;
private SDL.SDL_Rect port;
public Viewport(SDL.SDL_Rect _view, SDL.SDL_Rect _port)
{
view = _view;
port = _port;
}
public void Move(Point _point)
... |
using System;
using System.Diagnostics;
using Tektosyne.Collections;
using Hexkit.Scenario;
using Hexkit.World.Commands;
namespace Hexkit.World {
#region Type Aliases
using EntityList = KeyedList<String, Entity>;
#endregion
/// <summary>
/// Represents an upgrade that belongs to a <see cref="F... |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Collections.Generic;
using System.Runtime.Serialization;
using Elasticsearch.Net.Utf8Json;
namespace... |
using System;
using System.Threading.Tasks;
namespace Disqord.Rest
{
public partial interface IRestDiscordClient : IDisposable
{
Task<RestInvite> GetInviteAsync(string code, bool withCounts = true, RestRequestOptions options = null);
Task<RestInvite> DeleteInviteAsync(string code, Re... |
using Crux.Services.Interfaces;
using Mntone.Nico2.Live.OnAirStreams;
using Prism.Windows.Navigation;
namespace Crux.ViewModels.Search
{
public class SearchReqViewModel : SearchBaseViewModel
{
public SearchReqViewModel(IAccountService accountService, INavigationService navigationService)
... |
//
// Main.cs
//
// Author:
// Mikayla Hutchinson <m.j.hutchinson@gmail.com>
//
// Copyright (c) 2009 Novell, Inc. (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in ... |
using System.Collections.Generic;
using CrawlerWave.Core;
using CrawlerWave.Core.Configurations;
using CrawlerWave.Core.Resources;
using CrawlerWave.LogTestHelper;
using FluentAssertions;
using Xunit;
namespace CrawlerWave.Test.Core.CrawlerTests
{
public class CrawlerMouseTest
{
public static IEnumera... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InstantiateGameObject : MonoBehaviour
{
[SerializeField] GameObject objectToSpawn;
[SerializeField] Transform[] spawnPoints;
private float timer = 0.0f;
private float waitTime = 3.0f;
void Update... |
using AuctionMarket.Server.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
namespace AuctionMarket.Server.Application.Abstractions;
public interface IAppDbContext
{
DbSet<Auction> Auctions { get; }
DbSet<Bid> Bids { get; }
DbSet<User> Users { get;... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
namespace YJC.Toolkit.Sys
{
public static partial class ObjectUtil
{
public static CultureInfo SysCulture
{
get
{
if (BaseAppSetting.Current != null)
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _7.Largest_N_Elements
{
class Program
{
static void Main(string[] args)
{
int[] numbers = Console.ReadLine().Split().Select(int.Parse).ToArray();
List<int> resultList = new List<int>();
... |
using UnityEditor;
namespace UnityEditor.Rendering.HighDefinition.Compositor
{
internal class SerializedShaderProperty
{
public SerializedProperty propertyName;
public SerializedProperty propertyType;
public SerializedProperty propertyValue;
public SerializedProperty rangeLimits... |
using System;
// https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/access-modifiers
namespace Library
{
// // only inner classes can be private
// private class PrivateClass
// {
// }
public class PublicClass
{
// can be reached from other assembly
pub... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using DevOpsTools.Tools.Interfaces;
using Newtonsoft.Json;
// ReSharper disable UnusedMember.Global
// ReSharper disable MemberCanBePrivate.Global
namespace D... |
using Common;
using DataAccess.Entities.Base;
using System;
using System.Collections.Generic;
namespace DataAccess.Entities
{
public class User : AuditableEntity<int>
{
public string Email { get; set; }
public string Password { get; set; }
public string FirstName { get; set; }
... |
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
namespace FubuCore.Util
{
[Serializable]
public class ConcurrentCache<TKey, TValue> : IEnumerable<TValue>
{
private readonly ConcurrentDictionary<TKey, TValue> _values;
... |
using Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Infrastructure
{
public interface IView2
{
// This is view first approach. View knows about ViewModel
IViewModel2 ViewModel { get; set; }
}
}... |
// Copyright (c) 2021 Yoakke.
// Licensed under the Apache License, Version 2.0.
// Source repository: https://github.com/LanguageDev/Yoakke
namespace Yoakke.Reporting.Present
{
/// <summary>
/// Interface for objects that can present a <see cref="Diagnostics"/> for the user in some way.
/// </summary>
... |
using System.Text.Json;
using FluentAssertions;
using Flurl.Http;
using Flurl.Http.Configuration;
using NiallVR.Shared.Flurl.Entities;
using NiallVR.Shared.Flurl.Extensions;
using NSubstitute;
using Xunit;
namespace Shared.Flurl.Tests.Extensions;
public class FlurlRequestExtensionsTests {
private readonly IFlurl... |
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Http;
using StoryWebApp.Models;
namespace StoryWebApp.Controllers
{
[RoutePrefix("stories")]
public class StoriesController : ApiController
{
private readonly DBLayer.DBLayer _dbLayer = new DBLayer.DBLayer();
... |
namespace Iyzipay.Request.V2.Subscription
{
public class SubscriptionInitializeRequest : BaseRequestV2
{
public string PricingPlanReferenceCode { get; set; }
public string SubscriptionInitialStatus { get; set; }
public CheckoutFormCustomer Customer { get; set; }
public CardInfo P... |
namespace Bookkeeper.Infrastructure
{
public static class ReportPrinter
{
public static IPrintLedgerReports For(ILedger ledger)
{
var reportPrinter = Ioc.Resolve<IPrintLedgerReports>();
reportPrinter.For = ledger;
return reportPrinter;
}
}
} |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using Mosa.DeviceSystem;
using Mosa.Runtime;
using System.Runtime.InteropServices;
namespace Mosa.DeviceDriver.ISA
{
// Portions of this code are from Cosmos
//https://wiki.osdev.org/ACPI
//https://wiki.osdev.org/MADT
[StructLayout(LayoutKind.S... |
using System;
using Model = StoreModels;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using Serilog;
namespace StoreDL
{
public class LocationRepo
{
private CustomerDBContext context;
public LocationRepo(CustomerDBContext context){
this.... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using IndustryControls4WPF.TTL;
using System.Windows.Shapes;
usin... |
using Root.Coding.Code.Domains.E01D;
using Root.Coding.Code.Models.E01D.Base.Cli.Metadata.Conceptual.Elements;
namespace Root.Coding.Code.Exts.E01D.Base.Cli.Metadata.Conceptual.Elements
{
public static class ConceptualMethodExts
{
/// <summary>
/// Gets whether the method is marked as abstract... |
namespace Demo.SalesAnalyzerDurableFunction.Constants
{
public static class FunctionConstants
{
public static readonly string ApprovalEvent = nameof(ApprovalEvent);
public static readonly string UserAssessmentDurationInHours = nameof(UserAssessmentDurationInHours);
}
}
|
using System.Collections;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class MenuManager : MonoBehaviour
{
private GameManager gameManager;
public Camera camera;
public RectTransform groupMenu, ball, pnlLeaderboard, pnlSettings, btnAudio, btnNewLevel, btnResetGame;
pu... |
using Inshapardaz.Domain.Models.Library;
using Inshapardaz.Api.Views.Library;
namespace Inshapardaz.Api.Mappings
{
public static class CategoryMapper
{
public static CategoryView Map(this CategoryModel source)
=> new CategoryView
{
Id = source.Id,
... |
using System;
using MbUnit.Core.Collections;
using MbUnit.Core.Framework;
using MbUnit.Framework;
namespace MbUnit.Framework
{
/// <summary>
/// Contributes additional tests and setup or teardown steps to the
/// lifecycle defined by <see cref="TestFixtureAttribute" />.
/// </summary>
[AttributeUsa... |
using System;
using System.IO;
using System.Threading.Tasks;
using Stackage.Aws.Lambda.Abstractions;
namespace Stackage.Aws.Lambda.Tests.Handlers
{
public class ThrowingStreamLambdaHandler : ILambdaHandler<Stream>
{
public Task<ILambdaResult> HandleAsync(Stream request, LambdaContext context)
{
... |
using UnityEngine;
/// <summary>
/// 需要使用组合方式实现Unity生命周期的单例模式
/// </summary>
namespace QFramework {
public abstract class QMonoSingletonComponent<T> where T : MonoBehaviour
{
protected static T mInstance = null;
public static T Instance
{
get {
if (mInstance == null) {
mInstance = MonoBehaviour.... |
// Copyright 2017 Google LLC.
// Copyright 2020 James Przybylinski
//
// 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 require... |
#Sat Mar 10 00:30:21 GMT 2018
dev/api/spec/com.ibm.websphere.javaee.jaxrs.2.0_1.0.20.jar=ff04d73de9653c7f1050af49f1501492
lib/com.ibm.ws.org.apache.xml.resolver.1.2_1.0.20.jar=ff7854898ef6203515a4e0a2e97407e4
lib/com.ibm.ws.org.apache.ws.xmlschema.core.2.0.3_1.0.20.jar=65f2a8f31d7d66052cd4faf621b2b7df
dev/api/ibm/com.i... |
namespace BetSystem.Web.Api.Models.Bets
{
using System;
using AutoMapper;
using BetSystem.Web.Infrastructure.Mapping;
using Data.Models;
using System.Collections.Generic;
using Odds;
using System.Linq;
public class BetResponceModel : IMapFrom<Bet>, IHaveCustomMappings
{
publ... |
using TestStack.White.ScreenObjects;
using TestStack.White.UIItems.WindowItems;
using TestStack.White.UITests.Screens;
namespace TestStack.White.UITests.Infrastructure
{
public abstract class TestConfiguration
{
public abstract Application LaunchApplication();
public abstract Window G... |
namespace QuicDotNet.Test.Unit.Client
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class QuicClientTest
{
[TestMethod]
public async Task SendFreshInchoateClientHello()
{
using... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.MachineLearningServices.Models
{
public partial class ContainerRegistry : IUtf8JsonSerializable
{
... |
namespace SCHOTT.VisiLED.Communication
{
/// <summary>
/// Status object that defines all controls available in the system.
/// </summary>
public class StatusObject
{
/// <summary>
/// The status of Channel A
/// </summary>
public ChannelObject ChannelA { get; set; }... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearnFuncsActionsPreds
{
/// <summary>
/// Functions and Actions
/// Video: https://www.youtube.com/watch?v=SuwUZjQdUHQ&list=PLAE7FECFFFCBE1A54&index=7
/// </summary>
publ... |
namespace XCoder.FileEncoding
{
partial class FrmMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... |
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Imaging;
namespace PixelNLayers.Wpf.Controls.Grids;
/// <summary>
/// Interaction logic for MovableGrid.xaml
/// </summary>
public partial class MovableGrid : UserControl
{
public static readonly DependencyProperty ImageProperty = D... |
// Copyright (c) 2019 Lykke Corp.
// See the LICENSE file in the project root for more information.
namespace Axle.Caches
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MarginTrading.AccountsManagement.Contracts;
using Microso... |
using asuka.Api.Responses;
using asuka.Models;
namespace asuka.Mappings;
public static class ContractToGalleryResultModelMapping
{
public static GalleryResult ToGalleryResult(this GalleryResponse response)
{
return new()
{
Id = response.Id,
MediaId = respons... |
using UnityEngine;
using System.Collections;
public class CameraController : MonoBehaviour {
private float movementSpeed=30;
private float zoomSpeed=25;
private float rotateSpeed=180;
private const float EPS = 0.5f;
//unity won't let this be const, treat as CONST
private Vector3 UNIT_CAMERA_OFFSET = new Vecto... |
using Perfusion;
using Xunit;
namespace PerfusionTest
{
public class ResolveTests
{
class GuessableType : AGuessableType, IGuessableType
{
public GuessableType() { }
}
[Transient]
class TransientGuessableType : GuessableType
{
public Trans... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WiimoteLib.DataTypes;
using WiimoteLib.Devices;
using WiimoteLib.Event... |
using System;
namespace ESFA.DC.CrossLoad.Dto
{
[Serializable]
public sealed class MessageCrossLoadDctToDcftDto
{
/// <summary>
/// Unique job id of job.
/// </summary>
public long JobId { get; set; }
/// <summary>
/// The storage container where the input ... |
namespace Bloggable.Common.Constants
{
public static class ContentTypeConstants
{
public const string RssXml = "application/rss+xml";
public const string Json = "application/json";
}
}
|
using API.Interfaces;
using API.Repositories;
using API.Services;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllers();
builder.Services.AddScoped<ISqlService, SqlService>();
builder.Services.AddScoped<IEmployeeRepository, EmployeeRepository>();
builde... |
using System;
public class BigArray<T>
{
private const int ChunkSize = 1024 * 1024; // Must be 2^n in order for the fastmodule to work and under 0X7FEFFFFF
private const int FastModulo = ChunkSize - 1;
public readonly T[][] Data;
public readonly long Length;
public BigArray(long length)
{
... |
using System;
namespace Middlink.Core.Exceptions
{
public class HandleNotFound : Exception
{
public Type EventType { get; }
public HandleNotFound(Type eventType)
{
EventType = eventType;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace XamarinImgur.Interfaces
{
public interface IHttpClient
{
Task<string> GetAsync(Uri uri);
Task<string> DeleteAsync(Uri uri);
Task<string>... |
// Copyright (c) All contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Utf8Json.Internal
{
public sealed class Grouping<TKey, TEl... |
@model Mix.Cms.Lib.ViewModels.MixModules.ReadMvcViewModel
@if(Model != null){
foreach(var item in Model.Data.Items){
<a href="@item.Property("url")" target="_blank" class="btn btn-primary btn-icon btn-round">
<i class="@item.Property("icon")"></i>
</a>
}
}
|
using MongoDbRepositoryWithCSharpDriver.Data.Entities;
namespace MongoDbRepositoryWithCSharpDriver.Models.ApiRequests
{
public class CreateProductRequestModel
{
public string Name { get; set; }
public ImageEntity Image { get; set; }
public decimal Price { get; set; }
}
}
|
namespace Generator.Tests.Mocking.Types.Singleton
{
public class Singleton : ISingleton
{
}
}
|
using System;
using System.ComponentModel;
namespace Kamban.ViewModels.Core
{
public interface ICard : INotifyPropertyChanged
{
int Id { get; set; }
string Header { get; set; }
string Color { get; set; }
int ColumnDeterminant { get; set; }
int RowDeterminant { get; set... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
#if WINDOWS_PHONE
// ReSharper disable CheckNamespace
namespace OsmSharp
// ReSharper restore CheckNamespace
{
// Summary:
// Provides the base interface for the abstraction of sets.
//
... |
// 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.Diagnostics;
using System.Threading;
namespace Microsoft.Data.SqlClient
{
// this is a very simpl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BossMovement : MonoBehaviour
{
//Vehicle Movement
private float maxHeight = 1.0f;
private float verticalSpeed = 0.5f;
private bool goingUp = true;
private float currPercentageOfAnimation = 0.0f;
private ... |
using System;
using SnakeGame.Domain.Food.Abstractions;
using SnakeGame.Infrastructure.Interfaces;
namespace SnakeGame.Domain.Food.Models
{
public class FoodModel:BaseFood
{
public FoodModel(Guid id, IPosition position) : base( id,position)
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(771925524)]
public class TLChatFull : TLAbsChatFull
{
public override int Constructor
{
get
... |
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Windows.Threading;
using JetBrains.Annotations;
using JetBrains.Etw.HostService.Updater.Util;
namespace JetBrains.Etw.HostService.Updater.ViewModel
{
internal sealed class UpdateStatusVie... |
namespace Crayon
{
public class OutputChainNoColor : IOutput
{
public IOutput Black() => this;
public IOutput Red() => this;
public IOutput Green() => this;
public IOutput Yellow() => this;
public IOutput Blue() => this;
public IOutput Magenta() => this;
... |
using System.Text.Json;
using System.Text.Json.Serialization;
namespace AzureMapsToolkit.Mobility
{
public class MetroAreaResponse
{
[JsonPropertyName("results")]
public MetroAreaResult[] Results { get; set; }
}
}
|
// CS1699: Use compiler option `keycontainer' or appropriate project settings instead of `AssemblyKeyNameAttribute' attribute
// Line: 7
// Compiler options: -warnaserror -warn:4
using System.Reflection;
[assembly:AssemblyKeyNameAttribute ("container")]
|
using System;
using System.IO.Abstractions;
using System.Linq;
using System.Threading.Tasks;
using McMaster.Extensions.CommandLineUtils;
using Mt.MediaFiles.AppEngine.Tasks;
using Mt.MediaFiles.ClientApp.Cli.Configuration;
using Mt.MediaFiles.ClientApp.Cli.Ui;
using StackExchange.Profiling;
namespace Mt.MediaFiles.Cli... |
using System.Collections.Generic;
using Should;
using NUnit.Framework;
using System.Linq;
namespace AutoMapper.UnitTests
{
namespace FillingExistingDestination
{
public class When_the_destination_object_is_specified : AutoMapperSpecBase
{
private Source _source;
private Destination _originalD... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics.Tracing;
using Microsoft.Cci;
/// <summary>
/// This eventSource can be used for Telemetry/tracing of the CCI assembly.
/// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenExcel;
using System.Data;
namespace ExcelGenerator
{
class Program
{
static void Main(string[] args)
{
try
{
//GenerateExcelFro... |
// EmoteMatcherAction
using ClubPenguin;
using ClubPenguin.Chat;
using ClubPenguin.Core;
using Disney.LaunchPadFramework;
using Disney.MobileNetwork;
using HutongGames.PlayMaker;
using System.Collections.Generic;
[ActionCategory("Quest")]
public class EmoteMatcherAction : FsmStateAction
{
public string[] EmoteNames;
... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xn... |
using NSwag.AssemblyLoader.Utilities;
using Xunit;
namespace NSwag.AssemblyLoader.Tests
{
public class PathUtilitiesTests
{
[Fact]
public void TwoAbsolutePaths_ConvertToRelativePath_RelativeDirectoryPath()
{
// Act
var relative = PathUtilities.MakeRelativePath("C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls... |
using System.Diagnostics;
namespace Kebler.UI.CSControls.MultiTreeView
{
[DebuggerDisplay("[{ChangeType}] {FilePath}")]
public class TorrentTreeFile
{
public TorrentTreeFile(string filePath)
{
FilePath = filePath;
}
//public string OldFilePath { get; }
... |
using Microsoft.AspNetCore.Components;
namespace vNext.BlazorComponents.Grid
{
public partial class Cell<TRow> : ComponentBase
{
protected internal bool ShouldRenderFlag { get; set; } = true;
[CascadingParameter] public Row<TRow> Row { get; set; } = default!;
[Parameter] public Column... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace csharp_data_structures.Stacks
{
public class StackUsingLL<T> : IEnumerable<T>
{
private LinkedList<T> data;
public int Count => data.Count;
public bool IsReadOnly => false;
public StackUsing... |
using MongoDB.Driver;
namespace AuctionsApi.Models.Data.Abstract.Mongo
{
public interface IMongoDbContext
{
IMongoClient Client { get; }
IMongoCollection<T> GetCollection<T>(string collectionName);
}
}
|
using System;
using UnityEngine;
namespace Misadventure.Entities
{
public class EntityEventArgs : EventArgs
{
public GameObject EntityObject { get; }
public EntityEventArgs(GameObject entityObject)
{
EntityObject = entityObject;
}
}
} |
using PipServices.Runtime.Config;
namespace PipServices.Runtime.Clients
{
/// <summary>
/// Abstract implementation for all microservice client components.
/// </summary>
public abstract class AbstractClient : AbstractComponent, IClient
{
/// <summary>
/// Creates and initi... |
using Extensions.EF;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Persistencia.Contexts.Application;
namespace Migrations
{
[Migration("20192505002")]
[DbContext(typeof(ApplicationDbContext))]
public class Conversor20192505002 : Migration
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.