text stringlengths 1 932k |
|---|
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using Homer.Core.Internals.Services.Configuration.Models;
using Homer.Core.Internals.Services.Runtime;
using Homer.Core.Utils.IO;
using Microsoft.Extensions.Configuration;
using NetEscapades.Configuration.Yaml;
using Serilog;
namespace Homer.C... |
using SharpDX;
using System.Collections.Generic;
namespace Engine.PathFinding.RecastNavigation.Detour.Crowds
{
/// <summary>
/// Represents an agent managed by a Crowd object.
/// </summary>
public class CrowdAgent
{
private readonly List<CrowdNeighbour> neighbours = new List<CrowdNeighbou... |
using SharpVk.Generator.Specification.Elements;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SharpVk.Generator.Collation
{
public class NameFormatter
{
private static readonly Dictionary<string, string> primitiveTypes = new Dictionary<string, string>()
{
... |
using System.Web.Http;
using System.Web.Mvc;
namespace HelloWorld.V4.Web.Write.Areas.HelpPage
{
public class HelpPageAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "HelpPage";
}
}
public o... |
// Copyright (c) Microsoft Corporation
// 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. You may obtain a copy
// of the License at http://www.apache.org/licenses/LICENSE-2.0
//
// THIS CODE IS PROVIDED *... |
/*
* 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 ... |
#region License, Terms and Author(s)
//
// ELMAH - Error Logging Modules and Handlers for ASP.NET
// Copyright (c) 2004-9 Atif Aziz. All rights reserved.
//
// Author(s):
//
// Atif Aziz, http://www.raboof.com
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file excep... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using ProtoCore.AST;
using ProtoCore.AST.AssociativeAST;
using ProtoCore.SyntaxAnalysis;
namespace ProtoCore.Utils
{
/// <summary>
/// Parse result.
/// </summary>
public class ParseResult
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace GladBehaviour.Tree
{
//TODO: Do we need an actual base type or is a interface enough?
/// <summary>
/// Base type of all nodes in the behavior tree.
/// </summary>
/// <typeparam name="TContextType">The type of context the node a... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace L... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LabeledPoint : MonoBehaviour {
private Transform m_LP;
public Transform box;
public TextMesh textMesh;
public Transform Point {
get {
if ( m_LP == null ) {
m_LP = (( GameObject )GameObject.Instantiate ( Res... |
using System.Collections.Generic;
using System.Linq;
using EventStore.ClientAPI.Common.Utils;
using EventStore.Core.Data;
using EventStore.Projections.Core.Messages;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using EventStore.Projections.Core.Services.Processing;
using System;
namespace EventStore.Projections... |
using Kanikama.EditorOnly;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace Kanikama.Editor
{
public class BakeRequest
{
public KanikamaSceneDescriptor SceneDescriptor { get; }
public bool isBakeAll = true;
public List<bool> lightReq... |
/* The solution for the test task "Software CRC".
* Task decription can be found at:
* http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=3&page=show_problem&problem=64
*
* Author: Levan Kekelidze
* e-mail: informatik0101@gmail.com
*/
using System;
using System.Text;
using Syst... |
using System;
using System.Collections.Generic;
using System.Text;
using UniRx.Operators;
namespace UniRx
{
public static partial class Observable
{
public static IObservable<T> Synchronize<T>(this IObservable<T> source)
{
return new SynchronizeObservable<T>(source, new object());
... |
@* Remove this section if you are using bundling *@
@section Scripts {
<script src="~/Scripts/jquery.validate.min.js"></script>
<script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>
}
@{
if(WebSecurity.IsAuthenticated){
Response.Redirect("~/MemberArea/Dashboard.cshtml");
}
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Runtime.InteropServices;
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Input;
using Avalonia.Input.Raw;
using Avalonia.Threading;
using Stride.Core;
u... |
/*
* Copyright 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 "license" fi... |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RssPresentor.Model.Entities
{
public class ArticleCategory:IEntityBase
{
public string Id { get; set; }
public string ArticleId { get; set; }
public Article Article { get; set; }
public int CategoryId ... |
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Primitives;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MicroservicesPortChooserWeb
{
public static class requester
{
public static string GetRemoteIP(this HttpRequest req)
... |
/*
* Original version by Stephen Toub and Shawn Farkas.
* Random pool and thread safety added by Markus Olsson (freakcode.com).
*
* Original source: http://msdn.microsoft.com/en-us/magazine/cc163367.aspx
*
* Some benchmarks (2009-03-18):
*
* Results produced by calling Next() 1 000 000 times on my machine (du... |
namespace CaseManagement.BPMN.Domains
{
public enum ProcessInstanceStatus
{
CREATED = 0,
STARTED = 1,
COMPLETED = 2
}
} |
// 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;
namespace Microsoft.EntityFrameworkCore.Benchmarks.Models.AdventureWorks
{
public class ProductProductPhoto
{
public int P... |
/*
* 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 ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Unity.Specification.Diagnostic.Property.Validation
{
public abstract partial class SpecificationTests
{
[Ignore]
[TestMethod]
[ExpectedException(typeof(InvalidOperationException))]
public void InvalidVa... |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... |
using Newtonsoft.Json;
namespace AndreasReitberger.Models
{
public class KlipperJobStatusChangedEventArgs : KlipperEventArgs
{
#region Properties
public KlipperStatusJob NewJobStatus { get; set; }
public KlipperStatusJob PreviousJobStatus { get; set; }
#endregion
#regi... |
using UnityEngine;
namespace Lean.Touch
{
/// <summary>This script allows you to track & pedestal this GameObject (e.g. Camera) based on finger drags.</summary>
[HelpURL(LeanTouch.HelpUrlPrefix + "LeanCameraMove")]
public class LeanCameraMove : MonoBehaviour
{
[Tooltip("Ignore fingers with StartedOverGui?")]
p... |
using LibraryManager.ActionHandlers.Common;
namespace LibraryManager.ControllerResults
{
public static class QueryResultHelper
{
public static JsonCamelCaseResult ToJsonResult<T>(this QueryResult<T> queryResult)
{
return queryResult.Code == HandledActionResultCode.Success
... |
using System;
using System.Collections.Generic;
using ChMonitoring.Configuration;
using ChMonitoring.MonitData;
namespace ChMonitoring.Helpers
{
internal class ServiceHelper
{
public static Service_T GetHostService()
{
// TODO
return null;
}
public stat... |
using System.Collections.Generic;
namespace OWML.Common
{
public interface IModSorter
{
IList<IModData> SortMods(IList<IModData> mods);
}
} |
//------------------------------------------------------------------------------
// <copyright file="MoveToViewResult.cs" company="Aras Corporation">
// © 2017-2018 Aras Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using Aras.VS... |
namespace Gecko.WebIDL
{
using System;
public class MediaStreamError : WebIDLBase
{
public MediaStreamError(mozIDOMWindowProxy globalWindow, nsISupports thisObject) :
base(globalWindow, thisObject)
{
}
public string Name
{
... |
using System;
namespace String4
{
class Program
{
static void Main(string[] args)
{
// Social security number checker and creator
char userChoise;
do
{
Console.Clear();
userChoise = UserInterface();
... |
namespace Microsoft.Azure.CognitiveServices.Search.CustomImageSearch
{
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Rest;
/// <summary>
/// Allows authentication to the API using a basic apiKey mechanism
/// </summary>
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text.RegularExpressions;
using Jinget.Core.Attributes;
using Microsoft.AspNetCore.Authorization;
namespace Jinget.Core.ExtensionMethods.Reflection
{
public static class A... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Health : MonoBehaviour {
public int m_maxHealth = 100;
protected int m_health;
// Use this for initialization
void Awake () {
m_health = m_maxHealth;
}
public void TakeDamage(int amount){
m_health = Mathf.Max(0, m_hea... |
using System;
using System.Collections.Generic;
using UnityEngine;
using Yusuf.AI.Pathfinding;
using Yusuf.DataStructure;
namespace Yusuf.AI.Behaviour
{
public class Follow : ArtificialBehaviour
{
CharacterController charactercontroller;
movement_stat mov_stat;
Animator animator;
... |
using Uno;
using Windows.Foundation.Metadata;
using Windows.UI.Xaml.Controls;
namespace Windows.UI.Xaml.Automation.Peers;
[NotImplemented]
public class ProgressRingAutomationPeer : FrameworkElementAutomationPeer
{
[NotImplemented(new string[] { "__ANDROID__", "__IOS__", "NET461", "__WASM__", "__SKIA__", "__NETSTD_RE... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GrouveeCollectionParser
{
/// <summary>
/// Generic class for items containing a name and url.</summary>
public class URLItem
{
public virtual ... |
// --------------------------------------------------------------------------------------------
// Copyright (c) 2019 The CefNet Authors. All rights reserved.
// Licensed under the MIT license.
// See the licence file in the project root for full license information.
// ------------------------------------------------... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Splitio.CommonLibraries;
using System.Threading;
using Splitio.Domain;
using Splitio.Services.SegmentFetcher.Classes;
using Splitio.Services.Client.Classes;
using Splitio.Services.Cache.Classes;
using System.Collections.Concurrent;
namespace Splitio_Tests.Inte... |
using System.Collections.Generic;
using System.Linq;
using DW.Lua.Extensions;
using DW.Lua.Lexer;
using DW.Lua.Misc;
using DW.Lua.Syntax;
using DW.Lua.Syntax.Statement;
namespace DW.Lua.Parser.Statement
{
internal sealed class StatementBlockParser : IStatementParser
{
private readonly HashSet<string> ... |
#pragma checksum "D:\vc10\OpenScreenRecorder\PuppyDisk_v0.71\VideoScreenStudio\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "828BF0C7BB7C427C95ECB9ADCEC45325"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// ... |
namespace EA.Weee.Web.Logging
{
using Elmah;
using System;
using System.Linq;
using System.Web;
public static class ElmahFilter
{
private static string[] sensitiveFieldNames = { "Password", "ConfirmPassword" };
/// <summary>
/// This method checks the HttpContext assoc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.OpenApi.Models;
using Pandaros.API.localization;
using Pandaros.API.Questing.Models;
namespace Pandaros.API.Questing.BuiltinPrerequisites
{
public class QuestPrerequisite : IPandaQue... |
using FastGithub.DomainResolve;
namespace FastGithub.HttpServer.TcpMiddlewares
{
/// <summary>
/// github的git代理处理者
/// </summary>
sealed class GithubGitReverseProxyHandler : TcpReverseProxyHandler
{
/// <summary>
/// github的git代理处理者
/// </summary>
/// <param name="d... |
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using RightpointLabs.ConferenceRoom.Bot.Controllers;
namespace RightpointLabs.ConferenceRoom.Bot.Services
{
pub... |
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace MoreMountains.Tools
{
/// <summary>
/// Command lines to be run from the MMDebugMenu
/// To add new ones, add ... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//------------------------------------------------------------------------------
namespace System.Data
{
public enum IsolationLevel
{
Unspecified = u... |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v2/enums/app_url_operating_system_type.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Goog... |
namespace Microsoft.HpcAcm.Frontend
{
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Serilog;
public class Startup
{
public St... |
using System;
using System.Collections.Generic;
using JsonOrg;
namespace KiiCorp.Cloud.Storage
{
/// <summary>
/// Provides APIs for bucket features.
/// </summary>
/// <remarks>
/// This instance is created by <see cref='KiiUser.Bucket(string)'/>
/// </remarks>
public class KiiBucket : Ki... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Uno.UI.Samples.Controls;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Pr... |
// 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
namespace DotNetNuke.Web.UI.WebControls.Internal
{
using System;
using System.Web.UI.WebControls;
using ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SkillExplanation : MonoBehaviour
{
public Image skillImage;
public Text skillName;
public Text skillDescription;
public Text skillCooldown;
List<Touch> curTouches;
public void s... |
/*----------------------------------------------------------------
Copyright (C) 2016 Senparc
文件名:MemcachedContainerStrategy.cs
文件功能描述:Memcached 容器缓存策略。
创建标识:Senparc - 20160308
修改标识:Senparc - 20160808
修改描述:v0.0.2 删除 ItemCollection 属性,直接使用ContainerBag加入到缓存
修改标识:Senparc - 20160812
修改... |
/*
Copyright 2016 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, ... |
/*
* Copyright (c) 2018 Aspose Pty Ltd. All Rights Reserved.
*
* Licensed under the MIT (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/aspose-omr-cloud/aspose-omr-cloud-dotnet/blob/master/LICENSE
*
* Un... |
using System;
using System.Globalization;
using Caliburn.Micro;
using Spending.Core.Services;
namespace Spending.Core.ViewModels
{
public class ExpenseItemViewModel : PropertyChangedBase
{
public ExpenseItemViewModel(ExpenseItem expense)
{
Amount = expense.Amount.ToString("C");
... |
namespace EventStore.ClientAPI.Exceptions
{
/// <summary>
/// Exception thrown if an operation is not supported by a node.
/// For example: Write operations are not supported by read only nodes.
/// </summary>
public class OperationNotSupportedException : EventStoreConnectionException
{
... |
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("12... |
//===================================================================================
// Microsoft patterns & practices
// Composite Application Guidance for Windows Presentation Foundation and Silverlight
//===================================================================================
// Copyright (c) Microsoft C... |
namespace FeedR.Feeds.Quotes.Pricing.Models;
internal sealed record CurrencyPair(string Symbol, decimal Value, long Timestamp); |
using System.Collections.Generic;
using System.ComponentModel.Composition;
using Enums;
using Questify.Builder.Logic.Service.Interfaces;
namespace Questify.Builder.UI.Wpf.Presentation.Services
{
[Export(typeof(ISelectDialogFactory))]
class SelectDialogFactory : ISelectDialogFactory
{
public ISelec... |
using Shouldly.Tests.TestHelpers;
namespace Shouldly.Tests.Strings.DetailedDifference.CaseInsensitive
{
public class UnsafeStringBackslashFScenario : ShouldlyShouldTestScenario
{
protected override void ShouldPass()
{
"StringOne\fBackslashF".ShouldBe("Stringone\fBackslashF", Case.I... |
using Microsoft.Win32;
using System;
using System.Collections.Generic;
namespace RedistributableChecker
{
/// <summary>
/// Microsoft Visual C++ Redistributable Package Versions
/// </summary>
public enum RedistributablePackageVersion
{
VC2005x86,
VC2005x64,
VC2008x86,
VC2008x64,
VC2010x... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable enable
namespace System.Xml.Schema
{
using System;
using System.Collections;
using System.Text;
using System.IO;
using System.Net;
using System.Diag... |
/*
* Microsoft Public License (MS-PL)
* Copyright (c) 2015 Jonathan Bradshaw <jonathan@nrgup.net>
*
* This license governs use of the accompanying software. If you use the software, you
* accept this license. If you do not accept the license, do not use the software.
*
* 1. Definitions
* The term... |
/*
* Copyright (c) <2019> Side Effects Software Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list o... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Xml.Linq;
using PipServices3.Commons.Convert;
namespace PipServices3.Commons.Data.Mapper
{
internal sealed class ObjectMapperStrategy : IObjectMapperStrategy
{
public void... |
using Ireckonu.Application.Domain.ArticleAggregate;
using Ireckonu.Application.Domain.AudienceAggregate;
using Ireckonu.Application.Domain.ProductAggregate;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Ireckonu.Infrastructure.Domain.ProductAggregate
{
publi... |
using GACore.Architecture;
using System.Collections.Generic;
using System.Windows.Media;
using GAAPICommon.Core.Dtos;
using System;
using GAAPICommon.Architecture;
namespace GACore
{
public static class ExtensionMethods
{
private static readonly Dictionary<ReleaseFlag, string> releaseFlagDictionary = new Dictiona... |
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("Wit... |
#if LESSTHAN_NET35
extern alias nunitlinq;
#endif
// 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, me... |
namespace SFA.Apprenticeships.Infrastructure.Repositories.Vacancies.Sql.Tests
{
using System;
using System.Data.SqlClient;
using System.IO;
using Domain.Entities.Vacancies.ProviderVacancies;
using Domain.Entities.Vacancies.ProviderVacancies.Apprenticeship;
using Domain.Interfaces.Repositories;
... |
using System.ComponentModel.DataAnnotations;
namespace MindKeeper.Shared.Models.ApiModels.Accounts
{
public class RegistrationRequest
{
[Required(AllowEmptyStrings = false)]
public string Name { get; set; }
[Required(AllowEmptyStrings = false)]
public string Password { get; se... |
// "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 System... |
//----------------------------------------------
// Behaviour Machine
// Copyright © 2014 Anderson Campos Cardoso
//----------------------------------------------
using UnityEngine;
using System.Collections;
namespace BehaviourMachine {
/// <summary>
/// Make an auto-layout box.
/// </summary... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Aseprite2Unity.Editor
{
// Utiltiy class that helps us give items unique names. Must be kept in scope in order to work.
// Will turn [Name] into [Name (1)], [Name (2)], etc. similar to how Unity gives unique names ... |
using System;
using System.IO;
using McMaster.Extensions.CommandLineUtils;
namespace ADTool.Tests.Utilities
{
public class TestConsole : IConsole
{
public TestConsole()
{
Out = new TestTextWriter();
Error = new TestTextWriter();
}
public TextWriter Out {... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Grafika002.Drawing.BuildingBlocks;
namespace Grafika002
{
public partial class Form1
{
private Polygon polygon;
private void StartDrawingClick(object sender, EventArgs e)
... |
using Microsoft.AspNetCore.Mvc;
using Mp.Protractors.BLL.IServices;
using Mp.Protractors.Web.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Mp.Protractors.Web.Controllers
{
[Route("api/[controller]")]
public class DependencyResolverContro... |
/****************************************************************************
Copyright (c) 2013-2015 scutgame.com
http://www.scutgame.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 the Software without... |
using System;
using System.Collections.Generic;
namespace ProtoBuf.Meta
{
/// <summary>
/// Options for controlling schema generation
/// </summary>
public sealed class SchemaGenerationOptions
{
internal static readonly SchemaGenerationOptions Default = new SchemaGenerationOptions();
... |
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\dxcapi.h(101,1)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[Guid("8ba5fb08-5195-40e2-ac58-0d989c3a0102"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IDxcBlob
{
[Preserv... |
using ManahostManager.Domain.DAL;
using ManahostManager.Domain.Entity;
namespace ManahostManager.Domain.Repository
{
public interface IRoomRepository : IAbstractRepository<Room>
{
Room GetRoomById(int id, int clientId);
}
public class RoomRepository : AbstractRepository<Room>, IRoomRepository... |
using Newtonsoft.Json;
namespace PddOpenSdk.Models.Request.Ad
{
public partial class GetAdHistoryReportRequestModel : PddRequestModel
{
/// <summary>
/// 开始时间:2018-05-01(周期不超过一个月,记录保存最近30天)
/// </summary>
[JsonProperty("begin_date")]
public string BeginDate { get; set; }
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="CatenaLogic">
// Copyright (c) 2014 - 2016 CatenaLogic. All rights reserved.
// </copyright>
// ------------------------------------------------------------... |
#nullable enable
namespace ControlzEx.Theming
{
using System;
using System.Windows.Media;
using ControlzEx.Standard;
/// <summary>
/// This struct represent a Color in HSL (Hue, Saturation, Luminance)
///
/// Idea taken from here http://ciintelligence.blogspot.com/2012/02/converting-excel... |
using System;
using System.Collections.Generic;
namespace ReGoap.Core
{
public struct GoapActionStackData<T, W>
{
public ReGoapState<T, W> currentState;
public ReGoapState<T, W> goalState;
public IReGoapAgent<T, W> agent;
public IReGoapAction<T, W> next;
public ReGoapSt... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Azure.Identity;
using Azure.M... |
using System.Threading;
using System.Threading.Tasks;
namespace Xer.Delegator
{
/// <summary>
/// Delegate to handle messages.
/// </summary>
/// <param name="message">Message to handle.</param>
/// <param name="cancellationToken">Optional cancellation token to support cancellation.<param>
/// ... |
// Copyright (c) Lykke Corp.
// Licensed under the MIT License. See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Text;
using JetBrains.Annotations;
using Lykke.RabbitMqBroker.Publisher;
using Lykke.RabbitMqBroker.Subscriber;
using NUnit.Framew... |
using System.Threading.Tasks;
namespace Nameless {
/// <summary>
/// <see cref="Task"/> extension methods.
/// </summary>
public static class TaskExtension {
#region Public Static Methods
/// <summary>
/// Checks if the <see cref="Task"/> do not thrown an exception, was canc... |
/*
* 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 ... |
using Application.Common.Mappings;
using AutoMapper;
using Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Application.SubscriptionTypes.Queries.GetSubscriptionTypeDetail
{
public class SubscriptionTypeDetailVm : IMapFrom<SubscriptionType>
{
public int Id ... |
using System;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using GW2_Addon_Manager.App.Configuration;
namespace GW2_Addon_Manager
{
/// <summary>
/// Interaction logic for Updating.xaml
/// </summa... |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated w... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.