text
stringlengths
1
932k
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
namespace Zu.ChromeDevTools.Network { using Newtonsoft.Json; /// <summary> /// Timing information for the request. /// </summary> public sealed class ResourceTiming { /// <summary> /// Timing's requestTime is a baseline in seconds, while the other numbers are ticks in //...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BotsinaAgent.Spy { class LogWriterInfo { private string _username; private string _direcory; private string _currenttime; public string username { get ...
using System; using System.Drawing; using System.Runtime.InteropServices; using System.Windows.Forms; namespace Yuki_Theme.Core.Controls { public class CustomText : TextBox { Color borderColor = Color.Blue; public Color BorderColor { get { return borderColor; } set { borderColor = value; RedrawWindow(...
using System; using SQLite.Net; namespace DynamicList.Portable.Core.Interfaces.Database { public interface ISQLite { SQLiteConnection GetConnection(); bool Exists(); void DropDatabase(); } }
/* Copyright (C) 2009 Siarhei Novik (snovik@gmail.com) Copyright (C) 2008-2016 Andrea Maggiulli (a.maggiulli@gmail.com) This file is part of QLNet Project https://github.com/amaggiulli/qlnet QLNet is free software: you can redistribute it and/or modify it under the terms of the QLNet license. You should have ...
using UnityEngine; using UnityEngine.EventSystems; public class MitosisCell : MonoBehaviour, IPointerClickHandler { [SerializeField] private float velocityCoeff = 0.5f; [SerializeField] private float mitosisScaleCoeff = 0.4f; void Update () { var velocity = GetRandomVelocity(); var transformPosition = tr...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace LiminoAPI { public class Program { p...
/* * 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...
namespace Essensoft.AspNetCore.Payment.Alipay.Response { /// <summary> /// AlipayUserMpointPayResponse. /// </summary> public class AlipayUserMpointPayResponse : AlipayResponse { } }
using System; using System.Collections.Generic; using System.Text; namespace QuineMcCluskey.Data.QuineMcCluskey.Table1 { internal class Table { public Table() { Columns = new List<Column>(); } public List<Column> Columns { get; set; } } }
#region Copyright /* -------------------------------------------------------------------------------- This source file is part of Xenocide by Project Xenocide Team For the latest info on Xenocide, see http://www.projectxenocide.com/ This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAl...
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ChessEngine.Engine { public partial class Board { #region Validation public bool IsValidMove(byte srcPos, byte dstPos) { GenerateValidMoves(); ...
using Newtonsoft.Json; using System; using System.Collections; using System.Collections.Generic; using System.Reflection; namespace Masuit.Tools { public static class ObjectExtensions { private static readonly MethodInfo CloneMethod = typeof(object).GetMethod("MemberwiseClone", BindingFlags.NonPublic ...
namespace Sitecore.Feature.Accounts.Services { using System.Collections.Generic; using System.Linq; using Sitecore.Configuration; using Sitecore.Data; using Sitecore.Data.Managers; using Sitecore.Data.Templates; using Sitecore.Diagnostics; using Sitecore.Security; using Sitecore.SecurityModel; pub...
#pragma checksum "C:\Handson\Github\mslearn-tailspin-spacegame-web\Tailspin.SpaceGame.Web\Views\Home\Profile.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4aff22a3d4ac46aef1f9cfea3d96cce515915487" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledIt...
// MIT License // // Copyright (c) 2020 Pixel Precision LLC // // 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, co...
//////////////////////////////////////////////////////////////////////////////// //EF Core Provider for LCPI OLE DB. // IBProvider and Contributors. 19.04.2021. using System; using System.Reflection; namespace Lcpi.EntityFrameworkCore.DataProvider.LcpiOleDb.Basement.EF.Dbms.Firebi...
// Smdn.Fundamental.Xml.Linq.dll (Smdn.Fundamental.Xml.Linq-3.0.0 (net45)) // Name: Smdn.Fundamental.Xml.Linq // AssemblyVersion: 3.0.0.0 // InformationalVersion: 3.0.0 (net45) // TargetFramework: .NETFramework,Version=v4.5 // Configuration: Release using System; using System.Xml; using System.Xml.Linq; nam...
using System; using System.Collections.Generic; using GraphQL.Language.AST; namespace GraphQL.Validation.Errors { /// <inheritdoc cref="Rules.ArgumentsOfCorrectType"/> [Serializable] public class ArgumentsOfCorrectTypeError : ValidationError { internal const string NUMBER = "5.6.1"; //...
/* * 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 Xamarin.Forms; namespace Angle3DMonitor { public partial class Angle3DMonitorPage : ContentPage { public Angle3DMonitorPage() { InitializeComponent(); Title = " Angle 3D Monitor "; } void ViewTest_Clicked(object sender, System.EventArgs e) ...
using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; public class ChangeColor : MonoBehaviour, IPointerClickHandler { void OnEnable () { } public void SetRed(float value) { OnValueChanged(value, 0); } public void SetGreen(float value) { OnValueChanged(value, 1); } public void Set...
using Blazored.Toast.Configuration; using Microsoft.AspNetCore.Components; using System; using System.Threading.Tasks; namespace Blazored.Toast { public partial class BlazoredToast : IDisposable { [CascadingParameter] private BlazoredToasts ToastsContainer { get; set; } [Parameter] public Gui...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using Steeltoe.Common.Util; using Steeltoe.Messaging; using Steeltoe.Messaging.Converter; using System; nam...
using MediatR; using System; namespace Episememe.Application.Features.MarkFavoriteMedia { public class MarkFavoriteMediaCommand : IRequest { public string MediaInstanceId { get; } public string UserId { get; } private MarkFavoriteMediaCommand(string mediaInstanceId, string userId) ...
using MediatR; namespace Milou.Deployer.Web.Core.Agents { public class AgentLogNotification : INotification { public AgentLogNotification(string deploymentTaskId, string deploymentTargetId, string message) { DeploymentTaskId = deploymentTaskId; DeploymentTargetId = depl...
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Kotocorn.Core.Services.Database; namespace Kotocorn.Migrations { [DbContext(typeof(KotocornContext))] [Migr...
using System.Collections.Generic; using MsBuildProject = Microsoft.Build.Evaluation.Project; namespace Messerli.FileManipulator.Project.MsBuild { internal interface IProjectSdkManipulator { void AddSdksToProject(MsBuildProject project, IEnumerable<string> sdks); } }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Azure.Analytics.Synapse.Artifacts.Models { /// <summary> Columns that define the structure of the dataset. </summary> public partial class DatasetDataElement { /// <summary> Initializes a new ...
// 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.Drawing.Printing; namespace ICSharpCode.SharpDevelop.Gui { /// <summary> /// This interface is m...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Reflection; using System.Runtime.Serialization; using System.Web.Http; using System.Web.Http.Description; using System.Xml...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace XamarinShell.Views.TabPages { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class FirstPage : ContentPage { ...
using UnityEngine; using System.Collections; public class Rotate : MonoBehaviour { [SerializeField, Range(-10.0f, 10.0f)] float rotDX; [SerializeField, Range(-10.0f, 10.0f)] float rotDY; [SerializeField, Range(-10.0f, 10.0f)] float rotDZ; void Update() { gameObject.transfor...
using Kerberos.NET.Entities; using System; using System.Buffers; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Kerberos.NET.Server { using PreAuthHandlerConstructor = Func<IRealmService, KdcPreAuthenticationHandlerBase>; publ...
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Mynt.Core.Interfaces; namespace MyntUI.Hosting { public class MyntHostedService : IHostedService, IDisposable { private static readonly ILogger _logger = Glo...
using System; using System.Collections.Generic; using SharpLab.Runtime.Internal; namespace SharpLab.Server.Execution { [Serializable] public class ExecutionResult { public ExecutionResult(IReadOnlyList<object> output, IReadOnlyList<Flow.Step> flow) { Output = output; Flow = flo...
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("Pe...
using System; using System.Linq; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Security.AccessControl; using System.Threading; using System.Threading.Channels; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Rafty.Concensus.Node; using Rafty.Concensus....
using System; using System.Text; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Globalization; using CUBRID.Data.CUBRIDClient; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Test.Functional { /// <summary> /// Summary description for UnitTest1 /// ...
using System; using System.Collections.Generic; using System.Data.Common; using Abp.Data; using Abp.Dependency; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.Extensions; using Abp.MultiTenancy; using Abp.Runtime.Security; using HealthCheckExample.EntityFrameworkCore; using HealthCheckExample.EntityFram...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GISModel.Enums { public enum TipoDeAcesso { AD = 0, Sistema = 1 } }
// 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.Collections; using System.Collections.Generic; namespace System.Text.Json { /// <summary> ///...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // using System; using System.Collections.Generic; using System.Text; namespace XUnitWrapperLibrary; public class TestSummary { readonly record struct TestResult(string Name, st...
// Copyright (c) 2008-2022, Hazelcast, Inc. 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 // // Unless required by ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using Debug = System.Diagnostics.Debug; namespace Internal.TypeSystem { public sealed partial class MethodForInstantiatedType : MethodDesc { private r...
using System; using UltimaOnline; namespace UltimaOnline.Items { public class MinotaurHedge : Item { [Constructable] public MinotaurHedge() : base(Utility.Random(3215, 4)) { Name = "minotaur hedge"; Weight = 1.0; } public MinotaurHedge(Serial se...
#pragma checksum "/Users/adriatik/ca/exploitation/cross_site_request_forgery/exploitation_csrf/exploitation_csrf/Areas/Identity/Pages/Account/ConfirmEmail.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "bf61f1cdf0ad2a0b0a42b6c3af77f306f109bbc6" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Micr...
using System.Threading.Tasks; using Nfantom.Hex.HexTypes; using Nfantom.JsonRpc.Client; namespace Nfantom.RPC.Eth.Blocks { public interface IEthGetBlockTransactionCountByHash { RpcRequest BuildRequest(string hash, object id = null); Task<HexBigInteger> SendRequestAsync(string hash, object id =...
// Url:https://leetcode.com/problems/reverse-vowels-of-a-string /* 345. Reverse Vowels of a String Easy Write a function that takes a string as input and reverse only the vowels of a string. Example 1: Input: "hello" Output: "holle" Example 2: Input: "leetcode" Output: "leotcede" Note: The vowels does not inc...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SinglyLinkedList { class Node { public int data; public Node next; public Node(int value) { data = value; next = null; ...
namespace ReTester { public interface iThen { /// <summary> /// Continues the chain of tests /// </summary> iWhenAction Then(); } }
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("iOSUnitTests")] [assembly: InternalsVisibleTo("Microsoft.Maui.Controls.Compatibility")] [assembly: InternalsVisibleTo("Microsoft.Maui.Core.UnitTests")] [assembly: InternalsVisibleTo("Microsoft.Maui.Core.Android.UnitTests")] [assembly: InternalsVisib...
@model Domain.Entities.ShippingDetails @{ ViewBag.Title = "BookStore: форма заказа"; } <h2>Оформить заказ</h2> <p>Пожалуйста, введите Ваши контактные данныею</p> @using (Html.BeginForm()) { @Html.ValidationSummary(); <h3>Дынные </h3> <div class="form-group"> <label for="">Ваше имя:</label> ...
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; [TestFixture] public class Test47 { [TestCase] public void GetByTransactionStatusAndMaximumAmount_ShouldWorkCorrectly_AfterRemove() { //Arrange IChainblock cb = new Chainblock(); Transaction ...
// ----------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ----------------------------------------------------------------------- using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Compon...
// #region License // /* // Microsoft Public License (Ms-PL) // MonoGame - Copyright © 2009 The MonoGame Team // // All rights reserved. // // 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...
using System.Runtime.InteropServices; namespace NetCoreUI.Win.Interop { [StructLayout(LayoutKind.Sequential)] internal struct MonitorInfo { public int Size; public Rect Monitor; public Rect WorkArea; public uint Flags; public static MonitorInfo Default { ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.ComponentModel; using S...
using System; using System.Globalization; using System.Runtime.InteropServices; namespace PackageExplorer { [Serializable] [StructLayout(LayoutKind.Sequential)] public struct WindowPlacement { public int length; public int flags; public int showCmd; public Point minPos...
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("Sp...
// 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; using Microsoft.AspNetCore.Rewrite; using Microsoft.Extensions.Options; namespace Microsoft.AspNetCore.Builder { /// <summary> //...
using System; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Atc.CodeAnalysis.CSharp.SyntaxFactories { public static class SyntaxArgumentFactory { public static ArgumentSyntax Create(string argumentName) { if (argumentName == null) ...
using Disqord; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Doraemon.Data.Models.Promotion { public class Campaign { /// <summary> /// The user who is being nominated. /// </summary> public Snowflake UserId { get; set...
 @{ ViewData["Title"] = "XXXX"; } <!doctype html> <html> <head> <meta charset="utf-8"> <title>XXXX</title> <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0"> <base href="./"> <link rel="shortcut icon" href="./favicon.ico"> <link href="https://res.wx.qq.com/o...
using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using SlackIntegration.Services; using System; namespace SlackIntegration.Functions { public class GetMenu : FunctionBase { [FunctionName("GetMenu_V1")] public static string Run...
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\d3dkmddi.h(8836,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct _DXGKARGCB_SIGNALEVENT__union_0__struct_0 { [MarshalAs(UnmanagedType.ByValArr...
using System.Collections.Generic; using Our.ModelsBuilder.Options; namespace Our.ModelsBuilder.Building { /// <summary> /// Implements the default <see cref="ICodeModelBuilder"/>. /// </summary> public class CodeModelBuilder : ICodeModelBuilder { // FIXME but we still need ... to 'build' op...
using System; using System.Collections.Generic; using System.Text; namespace Judger.Models { /// <summary> /// 判题结果码 /// </summary> public enum JudgeResultCode { /// <summary> /// 判题失败 /// </summary> JudgeFailed = -1, /// <summary> /// 正确 //...
using Datums; using GeographicCalculatorWPFCore.Strings; using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace GeographicCalculatorWPFCore.Strings { public class DatumEnumStrings { private readonly IStrings UIStrings; public DatumEnumStrings() ...
using ShopSystem.Models.BindingModels; using ShopSystem.Models.EntityModels; using ShopSystem.Models.ViewModels.Admin; using ShopSystem.Services; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using Sys...
namespace p04._02.MergeFiles { using System; using System.IO; class Program { static void Main(string[] args) { //string firstText = "1" + Environment.NewLine // + "3" + Environment.NewLine // + "5"; //string secondText = "2" + En...
namespace Marathon.Formats.Particle { /// <summary> /// File base for the *.pgs format. /// <para>Used in SONIC THE HEDGEHOG for defining material types for particle effects.</para> /// </summary> public class ParticleGenerationSystem : FileBase { public ParticleGenerationSystem() { } ...
@{ ViewData["Title"] = "Image Tile Service"; } <div class="row"> <div class="col-md-3" style="width:100%"> <h2>Image Tile Service</h2> </div> </div>
using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using Brightcove.MediaFramework.Brightcove.Configuration; using Brightcove.MediaFramework.Brightcove.Entities; using Brightcove.MediaFramework.Brightcove.Entities.ViewModels; using Brightcove.MediaFramework.Brightcove.Extensions; ...
@model Scrummy.Application.Web.MVC.ViewModels.Team.CreateTeamViewModel @{ ViewData["Title"] = "Create team"; string ToId(string key, int i) => $"{key}{i}"; } <input type="hidden" id="roleOptions" data-value="@Html.Raw(string.Join("", Model.Roles.Select(x => Html.Encode($"<option value=\"{x.Value}\">{x.Text}...
// 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. // Modified by Drew Naylor to be used as its own library. using System; using System.Collections.Generic; using Sys...
using IndustryTower.DAL; using IndustryTower.Models; using IndustryTower.ViewModels; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Web; using WebMatrix.WebData; namespace IndustryTower.Helpers { public static class ScoreHelper { static pub...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using Application.Repositories.Contact; using Dapper; using Domain; using Domain.Entities.Contact; using Microsoft.Extensions.Configuration; n...
using System.Timers; namespace SaveScumAgent.TaskScheduler.Tests { internal class MockTimer : ITimer { public event ElapsedEventHandler Elapsed; public double Interval { get; set; } public bool Enabled { get; set; } public bool AutoReset { get; set; } public void Start...
using System.Drawing; using Sidea.DocxToPdf.Models.Common; namespace Sidea.DocxToPdf.Models.Tables.Elements { internal class TableBorderStyle : BorderStyle { private static readonly Pen _defaultPen = new Pen(Color.Black, 4.EpToPoint()); public static readonly TableBorderStyle Default = new Ta...
namespace TableSplitting { #region DetailedOrder public class DetailedOrder { public int Id { get; set; } public OrderStatus? Status { get; set; } public string BillingAddress { get; set; } public string ShippingAddress { get; set; } public byte[] Version { get; set;...
#if LESSTHAN_NET35 // 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.Dynamic.Utils; using Theraot.Reflection; namespace System.Linq.Expressions.Interp...
#nullable enable using Microsoft.Extensions.DependencyInjection; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace Injecter.Uwp { public abstract class InjectedPage : Page { protected InjectedPage() { Scope = CompositionRoot.ServiceProvider is not null ...
using Cake.Core.Diagnostics; using Cake.PlasticSCM.Merge; namespace Cake.PlasticSCM.Tests.Fixtures { public class MergeFixture : PlasticSCMFixtureWithData<PlasticSCMMergeSettings, PlasticSCMMergeResult> { public MergeFixture(string resultFile) { ProcessRunner.Process.SetStandar...
/********************************************* Intentor.Yamapper ********************************************** Copyright © 2009-2012 André "Intentor" Martins http://intentor.com.br/projects/yamapper/ *********************************************/ using System; using System.Web; using Intentor.Utilities; using Intent...
/******************************************************************************/ // Copyright (c) 2017 Ashok Gurumurthy // 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 restrictio...
using MtrDev.WebView2.Interop; using MtrDev.WebView2.Wpf; using MtrDev.WebView2.Wpf.Sample; using System.Windows; using System.Windows.Input; using WebView2.Wpf.Sample; namespace MtrDev.WebView2.WinForms.Sample.Components { public class ProcessComponent : ComponentBase { private WebView2Control _webVi...
/// <summary> /// Parses heatmap JSON data for the purpose of loading into the renderer. /// </summary> /// This code assumes that data is in the form: /// { /// "EventName": [ /// {"y": XX, "x": XX, "z": -XX, "t": XX, "d": XX}, /// ... /// ], /// "AnotherEventName": [ /// ... /// ], /// ... /// } using Sy...
using antd.core; using System; using System.Collections.Generic; using System.IO; using System.Linq; using SSO = System.StringSplitOptions; namespace Antd2.cmds { public class Getent { private const string getentCommand = "getent"; private const string useraddCommand = "useradd"; private ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("GeneralUpdate.Single")] [assembly: AssemblyDescription("Make your program a singleton.")] [assem...
using System; namespace Tubumu.Libuv { public class UVFileStat { internal UVFileStat(uv_stat_t stat) { Device = stat.st_dev; Mode = stat.st_mode; Link = stat.st_nlink; UID = stat.st_uid; GID = stat.st_gid; rdev = stat.st_...
using System; using System.Runtime.InteropServices; namespace ScriptsLib.PInvoke { public static partial class User32 { [DllImport("user32.dll")] public static extern bool SetForegroundWindow(IntPtr hWnd); } }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Threading.Tasks; using BlissXamarinApp.Interfaces; using Xamarin.Forms; namespace BlissXamarinApp.ViewModels { public class BaseViewModel : I...
/*********************************************************** **项目名称: NPlatform.IServices **功能描述: ResourcesServices 的摘要说明 **作 者: 此代码由CodeSmith生成。 **版 本 号: 1.0 ...
//using System.Data.Entity.SqlServer; //using System.Linq; //using Xunit; //using Sprint.Filter.OData.Test.Helpers; //using Sprint.Filter.OData.Test.Models; //namespace Sprint.Filter.OData.Test.Functions //{ // // public class UserFunctionTest // { // public ExpressionEqualityComparer ExpressionEqual...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.IO; using System.Runtime.Serialization; using System.Security.Principal; namespace System.Security.Claims { /// <summary> /// ...
namespace FluentValidation.Internal { using System; using System.Collections.Concurrent; using System.Linq.Expressions; using System.Reflection; /// <summary> /// Member accessor cache. /// </summary> /// <typeparam name="T"></typeparam> public static class AccessorCache<T> { private static readonly Concurr...
// Copyright 2011 Chris Patterson // // 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 ag...