text stringlengths 1 932k |
|---|
using System;
using System.Net;
using Griffin.Net.Channels;
namespace Griffin.Net.Protocols.Http.WebSocket
{
/// <summary>
/// A HttpListener that automatically transitions all incoming requests to WebSocket protocol.
/// </summary>
public class WebSocketListener : HttpListener
{
priva... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HRM.Domain.Core.Model
{
public abstract class ValueObject<T>
where T : ValueObject<T>
{
public override bool Equals(object obj)
{
var valueObject = obj as T;
if (ReferenceEquals(valueO... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17626
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using System.Threading.Tasks;
using contracts;
using MassTransit;
using Microsoft.AspNetCore.Mvc;
namespace api
{
[ApiController]
[Route("[controller]")]
public class GreetingController : ControllerBase
{
private readonly IRequestClient<GreetingRequest> _client;
public GreetingControll... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace SESimulator.Runtime
{
public class Simulation
{
class FrameSorter : IComparer<Frame>
{
public int Compare(Frame x, Frame y)
{
return Comparer<TimeSpan>.Default.Compare(x.Snapsho... |
@using RazorRen.Sample.MVC
@using RazorRen.Sample.MVC.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using SaaSEqt.eShop.Services.Ordering.Infrastructure;
using SaaSEqt.eShop.Services.Ordering.Infrastructure.Idempotency;
namespace Ordering.Infrastructure.EntityConfigurations
{
class ClientRequestEntityTypeConfiguration
... |
using System;
using System.Collections.Generic;
using LanguageExt;
using static LanguageExt.Prelude;
using System.Diagnostics.Contracts;
using LanguageExt.TypeClasses;
namespace LanguageExt
{
public static class Queue
{
[Pure]
public static Que<T> enq<T>(Que<T> queue, T value) =>
q... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _02.BasicStackOperations
{
class Program
{
static void Main()
{
int[] tokens = Console.ReadLine()
.Split(new char[] {' '}, StringSplitOptions.RemoveEmptyEntries)
.Select(int... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
using System.Threading.Tasks;
#if !PLAT_SAFE_CONTINUATIONS
using System;
using System.Diagnostics;
using System.Reflection;
using System.Reflection.Emit;
#endif
namespace StackExchange.Redis
{
/// <summary>
/// We want to prevent callers hijacking the reader thread; this is a bit nasty, but works;
/// see... |
using UnityEditor;
using Game.UI;
using UnityEditor.UI;
[CustomEditor(typeof(ButtonX))]
public class buttonXEditor : ButtonEditor
{
public override void OnInspectorGUI()
{
ButtonX component = (ButtonX)target;
base.OnInspectorGUI();
component.hasText = EditorGUILayout.Toggle("Has Text... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
namespace aoe3wpfg
{
public partial class uiingamemsg2 : Window
{
public uiingamemsg2()
{
InitializeComponent();
}
}
} |
using System;
using System.Web;
using DD4T.ContentModel.Contracts.Resolvers;
namespace Trivident.DD4T.Examples.PublicationResolvers
{
public class HostNamePublicationResolver : IPublicationResolver
{
public int ResolvePublicationId()
{
switch (HttpContext.Current.Request.Url.Host)
... |
//------------------------------------------------------------------------------
// <copyright file="XmlSchemaChoice.cs" company="Microsoft">
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// ... |
using OpenTK;
using OpenTK.Input;
using System;
namespace Szark
{
public class Input
{
private static int offsetX, offsetY;
private static GameWindow gameWindow;
private static SzarkEngine engine;
private static KeyboardState keyboardState, lastKeyboardState;
private s... |
/*
* Copyright 2018 JDCLOUD.COM
*
* 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 agreed to in... |
// 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 Roslyn.Utilities;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 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.
[assembly: AssemblyTitle("Les... |
// Copyright 2018 Esri.
//
// 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 agreed to in writing, software ... |
namespace Tindo.Ugit
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Nito.Collections;
/// <summary>
/// Default implementation of <see cref="ICommitOperation"/>.
/// </s... |
/*
* CP28592.cs - Central European (ISO) code page.
*
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
*
* 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 the Software without restriction, incl... |
// *** 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... |
namespace KSSHServer
{
public interface IAlgorithm
{
string Name { get; }
}
} |
using FluentAssertions;
using MyOTKE.Core;
using OpenTK.Graphics.OpenGL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using Xunit;
namespace MyOTKE.ReactiveBuffers
{
public class ReactiveBufferTests
{
public static IEnum... |
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\ksmedia.h(4520,1)
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct KSDATAFORMAT_TYPE_NABTS
{
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace SilentWave.Gltf
{
/// <summary>
/// A buffer points to binary data representing geometry, animations, or skins.
/// </summary>
public class Buffer
{
/// <summary>
/// Optional user-d... |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... |
namespace LifeBoardGameCP.Logic;
[SingletonGame]
[AutoReset]
public class HouseProcesses : IHouseProcesses
{
private readonly LifeBoardGameVMData _model;
private readonly LifeBoardGameGameContainer _gameContainer;
public HouseProcesses(LifeBoardGameVMData model, LifeBoardGameGameContainer gameContainer)
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace TaskTicket
{
class ClassTicket
{
//Fields
public int Age;
public int Price;
public float Discount;
//Constructor
public ClassTicket()
{
Age = 0;
Price =... |
using System;
using System.Collections.Generic;
using System.Reflection;
using QuantBox.XApi;
using Skyline;
namespace QuantBox
{
using SmartQuant;
internal class Convertor
{
private static readonly List<FieldInfo> AccountFields = new List<FieldInfo>();
private static readonly DepthMarket... |
@model Esfa.Recruit.Provider.Web.ViewModels.DeleteVacancy.DeleteViewModel
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<partial name="@PartialNames.ValidationSummary" model='new ValidationSummaryViewModel { ModelState = ViewData.ModelState }' />
<h1 class="govuk-heading-... |
using System;
using System.Threading;
using System.Threading.Tasks;
using GenericNet.Repository.Abstractions;
using GenericNet.UnitOfWork.Abstractions;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
namespace GenericNet.UnitOfWork.EfCore
{
public class UnitOfWorkAsync<TIdenti... |
using Werd.DataModel;
using Werd.Settings;
namespace Werd.Controls
{
public class ThreadSwipeEventArgs
{
public ThreadSwipeEventArgs(ChattySwipeOperationType op, CommentThread thread)
{
this.Operation = op;
this.Thread = thread;
}
public ChattySwipeOperationType Operation { get; }
public CommentThr... |
// *
// * Copyright (C) 2005 Mats Helander : http://www.puzzleframework.com
// *
// * This library is free software; you can redistribute it and/or modify it
// * under the terms of the GNU Lesser General Public License 2.1 or later, as
// * published by the Free Software Foundation. See the included license.txt
// * o... |
using ESFA.DC.ILR.Model.Interface;
using ESFA.DC.ILR.Tests.Model;
using ESFA.DC.ILR.ValidationService.Data.External.LARS.Interface;
using ESFA.DC.ILR.ValidationService.Interface;
using ESFA.DC.ILR.ValidationService.Rules.Constants;
using ESFA.DC.ILR.ValidationService.Rules.Derived.Interface;
using ESFA.DC.ILR.Validati... |
internal interface IARSuccessProvider
{
bool Success { get; }
} |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace TheHotelApp.Models
{
public class Image
{
public string ID { get; set; }
public string Name { get; set; }
public string Size { get; set; }... |
@{
Layout = "~/Views/MasterView/Main.cshtml";
}
@model XCLCMS.View.AdminWeb.Models.Ads.AdsShowVM
<div class="XCLAccordion" style="border-top: none;">
<div class="XCLAccordionHeader">1、基本信息:</div>
<div class="XCLAccordionBody">
<table class="XCLTableEdit">
<tr>
<td class... |
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Flare.Filters {
public class SqlInjectionFilter : AggregatedFilterPipeline {
public SqlInjectionFilter() : base(new List<IBaseFilter>() {
new RegexBasedFilter(new Regex(@"(OR|AND)( |\... |
using MediatR;
namespace Taobao.Area.Api.Domain.Commands
{
public class AnalysisJsGangAoCommand : IRequest<bool>
{
}
} |
using System;
using Game.Gameplay.World;
using Leopotam.Ecs;
using UnityEngine;
namespace Game.Gameplay.Items.Food {
public sealed class FoodInitSystem : IEcsInitSystem {
private readonly EcsWorld ecsWorld = null;
private readonly GameDefinitions gameDefinitions = null;
private readonly Tr... |
using System;
using System.Collections.Generic;
namespace CC.ElectronicCommerce.Model
{
public partial class TbSpecGroup
{
public long Id { get; set; }
public long Cid { get; set; }
public string Name { get; set; }
public List<TbSpecParam> Params = new List<TbSpecParam>();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Exten... |
//Copyright (C) 2012 by Lee Millward
//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 the Software without restriction, including without limitation the rights
//to use, copy, modify, merge, publish, dis... |
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version: 14.0.0.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ----... |
using Newtonsoft.Json;
namespace ConsoleUI
{
public static class Serialize
{
public static string ToJson(this ChuckNorris self) => JsonConvert.SerializeObject(self, Converter.Settings);
}
} |
//-----------------------------------------------------------------------------
// <copyright file="ODataV4WebApiConfig.cs" company=".NET Foundation">
// Copyright (c) .NET Foundation and Contributors. All rights reserved.
// See License.txt in the project root for license information.
// </copyright>
//----... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection... |
namespace ProcessMyMedia.Tasks
{
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using WorkflowCore.Interface;
using WorkflowCore.Models;
using ProcessMyMedia.Services.Contract;
public class DownloadAssetTask : MediaTaskBase
{
/// <summary>
... |
@using Mediator.Demo
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
namespace Brokerage.Common.Domain.Withdrawals
{
public enum WithdrawalErrorCode
{
NotEnoughBalance,
InvalidDestinationAddress,
DestinationTagRequired,
TechnicalProblem
}
} |
using System.Reflection;
using System.Runtime.InteropServices;
// 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.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")... |
// MIT License - Copyright (c) 2016 Can Güney Aksakalli
// https://aksakalli.github.io/2014/02/24/simple-http-server-with-csparp.html
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Net;
using System.IO;
using System.Threading;
using System.D... |
using System.Collections.Generic;
using System.Xml.Serialization;
namespace ExampleApp.Models
{
/// <summary>
/// Справочник валют
/// <para />
/// Схема http://www.cbr.ru/StaticHtml/File/92172/Valuta.xsd
/// </summary>
[XmlRoot(ElementName = "Valuta")]
public class Valuta
{
[X... |
using Amsel.Access.Logging.Services;
using Autofac;
namespace Amsel.Access.Logging.Bootstrap {
/// <inheritdoc/>
public class LoggingAccessModule : Module {
protected override void Load(ContainerBuilder builder)
{
builder.RegisterType<LogOccurrenceAccess>();
builder.Reg... |
using System;
namespace UnityARInterface
{
public static class ARMessageIds
{
public static Guid fromEditor { get { return new Guid("527b48f9-efdb-4072-a714-3264af15f277"); } }
public static Guid frame { get { return new Guid("a182a359-a01d-44e1-a1a9-a87503edca9d"); } }
public static G... |
// Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using DotSpatial.Projections;
namespace DotSpatial.Data
{
/// <summary>
/// This interface supports the basic Reprojection content. CanReproject tes... |
using BeatSaberMultiplayerLite.Data;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace BeatSaberMultiplayerLite.Misc
{
public static class PresetsCollection
{
public static List<RoomPreset> loadedPresets = new List<RoomPreset>();
public static void ... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 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.
[assembly: AssemblyTitle("03.... |
// 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 System.Threading.Tasks;
namespace Microsoft.AspNet.SignalR.Hubs
{
/// <summary>
/// Provides methods that communicate with SignalR connec... |
namespace Nine.Layers
{
/// <summary>
/// Interface to type QuestionLayer
/// </summary>
public interface IQuestionLayer
{
}
} |
using System.Threading.Tasks;
using Hangfire;
namespace Microservice.HangfireBackgroundJobServer
{
public interface IRecurringJob
{
Task Run(IJobCancellationToken cancellationToken);
}
} |
using System;
using AlfenNG9xx.Model;
using EMS.Library.Adapter.EVSE;
using EMS.Library.TestableDateTime;
namespace AlfenNG9xx
{
public class ChargingSession
{
private bool _isConnected = false;
private double _meterReadingStart = 0;
private DateTime _chargingStart;
private boo... |
//------------------------------------------------------------------------------
// <auto-generated>
// Este código fue generado por una herramienta.
// Versión de runtime:4.0.30319.42000
//
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
// se vuelve a genera... |
#region MigraDoc - Creating Documents on the Fly
//
// Authors:
// Stefan Lange
// Klaus Potzesny
// David Stephensen
//
// Copyright (c) 2001-2009 empira Software GmbH, Cologne Area (Germany)
//
// http://www.pdfsharp.com
// http://www.migradoc.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is ... |
#if !ONPREMISES
using OfficeDevPnP.Core.Entities;
using OfficeDevPnP.Core.Framework.Graph;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System.Collections.Generic;
using System.Management.Automation;
namespace PnP.PowerShell.Command... |
using AutoMapper;
using infrastructure.user.entities;
using infrastructure.user.interfaces;
using infrastructure.user.models;
namespace infrastructure.user.mappings
{
public class LoginToUserLoginMap : Profile
{
public LoginToUserLoginMap(IAuthSchemeNameService authSchemeNameService)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class selectwithmouseandmove : MonoBehaviour {
public static float selected = 0;
public GameObject target1;
private Vector3 newPosition;
// Use this for initialization
void OnMouseOver()
{
if (s... |
namespace QFSW.QC
{
/// <summary>
/// Thresholds for log severities.
/// </summary>
public enum LoggingThreshold
{
Never = 0,
Exception = 1,
Error = 2,
Warning = 3,
Always = 4
}
} |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// </auto-generated>
namespace Microsoft.Azure.Management.Batch.Fluent
{
... |
// --------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
// --------------------------------------------------------------------------------------------
using System;
using System.Com... |
using System.Collections.Generic;
namespace Userbase.Client.Models
{
public class SignUpRequest
{
public string Email { get; set; }
public string Username { get; set; }
public string Password { get; set; }
public string RememberMe { get; set; }
public Dictionary<string,... |
using System;
using System.Collections.Generic;
using System.Text;
using jk.plaveninycz.Bll;
namespace jk.plaveninycz.BO
{
/// <summary>
/// Represents a collection of variables, these can be identified by index
/// or variable enumeration
/// </summary>
public class VariableList : List<Variable>
... |
using UnityEngine;
namespace UI
{
/** This is the old gui image button, it uses a custom image to draw and therefore supports framing, which is why I've needed to keep it */
public class GuiSimpleImageButton : GuiButton
{
public bool ClickOverlay = false;
public GuiSimpleImageButton(Sprite image)
: base(""... |
using System;
using System.Numerics;
namespace _12_ImageTexture
{
public class Camera
{
private Vector3 origin;
private Vector3 lower_left_corner;
private Vector3 horizontal;
private Vector3 vertical;
private Vector3 u;
private Vector3 v;
private Vector3... |
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x5C333D99)]
public class STU_5C333D99 : STU_F4431A1F {
[STUFieldAttribute(0x12FC5235, ReaderType = typeof(EmbeddedInstanceFieldReader))]
public STUConfigVar m_12FC5235;
... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.SpaServices.Webpack;
namespace Boilerplate.Web.App
{
public class Startup
{
public Startup(IConfiguration configu... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Text.RegularExpressions;
using Terraria.ModLoader.IO;
using Terraria.Utilities;
namespace Terraria.ModLoader
{
/// <summary>
/// T... |
using System.Collections.Generic;
namespace UScript.Compiler.CompilerInterface
{
public class CompilationResult
{
public IList<CompilationError> Errors { get; set; }
public byte[] CompiledPE { get; set; }
public CompilationResult()
{
Errors = new List<CompilationErr... |
using HandPhysicsToolkit.Helpers;
using HandPhysicsToolkit.Modules.Avatar;
using HandPhysicsToolkit.Modules.Part.Puppet;
using HandPhysicsToolkit.Utils;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace HandPhysicsToolkit.Utils
{
public enum Representation... |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using Syst... |
#region copyright
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIE... |
using System;
namespace Task2
{
/// <summary>
/// Creates lazy calculation objects.
/// </summary>
public static class LazyFactory
{
/// <summary>
/// Creates a lazy calculation object.
/// </summary>
/// <typeparam name="T">The type of the object returned by the su... |
namespace Extern
{
[Sharpmake.Generate]
class Box2D : Puma.Common.IExternLib
{
public Box2D()
: base("Box2D", @"leo\extern\box2d")
{ }
public override void ConfigureAll(Configuration conf, Sharpmake.Target target)
{
base.ConfigureAll(conf, target);
... |
using System;
using System.Text.RegularExpressions;
using EnvDTE;
// ReSharper disable InconsistentNaming
namespace SokoolTools.VsTools
{
//----------------------------------------------------------------------------------------------------------------------------
/// <summary>
/// Provides methods to convert 'MST... |
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
#pragma warning disable 1591
namespace ClearCanvas.Common.S... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using MonoDragons.Core.EventSystem;
using MonoDragons.ZFS.Characters;
using MonoDragons.ZFS.CoreGame;
using MonoDragons.ZFS.CoreGame.StateEvents;
namespace MonoDragons.ZFS.AI
{
public class AIEnemyWatcher : AIActorBase
{
... |
/*
* 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, Version 2.0 (the
* "License"); you may no... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
... |
namespace EasterRaces.Repositories.Entities
{
using System.Collections.Generic;
using System.Linq;
using EasterRaces.Models.Cars.Contracts;
using EasterRaces.Repositories.Contracts;
public class CarRepository : IRepository<ICar>
{
private readonly List<ICar> races;
public CarR... |
using SistemaPedidos.Domain.Entities;
using SistemaPedidos.Utils.Enums;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace SistemaPedidos.Domain.Test
{
public class MovimentoTest
{
private Movimento _movimento;
public MovimentoTest()
{
... |
using System;
using System.Data;
using JsonApiDotNetCore.Resources.Annotations;
using JsonApiDotNetCore.Serialization.Objects;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace JsonApiDotNetCore.Configuration
{
/// <summary>
/// Global options that configure the behavior of JsonApiDotNetCor... |
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Diagnostics;
using System.Linq;
using System.Diagnostics.Tracing;
namespace App
{
public class Program
{
public static void Main()
{
var loggerFactory = new ServiceCollection()
.A... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WebApiClient.Interfaces;
namespace WebApiClient.Defaults
{
/// <summary>
/// 表示默认的HttpClient... |
namespace Lykke.Service.ConfirmationCodes.Client.Models.Request
{
public class VerifySetupGoogle2FaRequest
{
public string ClientId { set; get; }
public string Phone { set; get; }
public string SmsCode { set; get; }
public string GaCode { set; get; }
}
} |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Castle.MicroKernel.Registration;
using Castle.Windsor.MsDependencyInjection;
using Abp.Dependency;
using EducationAdmin.EntityFrameworkCore;
using EducationAdmin.Identity;
namespace EducationAdmin.Tests.Dependency... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using Ardalis.GuardClauses;
using Common.Logging;
using JetBrains.Annotations;
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Logging;
using Microsoft.JSInterop;
namespace Experiment.Features.AppCode
{
[SuppressM... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using A... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.