text stringlengths 1 932k |
|---|
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// 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 retain the above copyright notice, this
// list o... |
using System;
using System.Linq;
using Microsoft.Xna.Framework;
namespace DunnJenn.Easing
{
public class Parallel : ITween
{
public Parallel(params ITween[] tweens)
{
this.tweens = tweens.ToArray();
}
private ITween[] tweens;
public TimeSpan Time => tweens... |
// 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.HeaderPropagation;
namespace Microsoft.Extensions.DependencyInjection
{
public static class HeaderPropagat... |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Celarix.Imaging.BinaryDrawing
{
internal static class PixelBufferer
{
public static int[] BufferToPixels(byte[] buffer, int count, int bitDepth)
{
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Miru;
using Miru.Testing;
using NUnit.Framework;
using Supportreon.Domain;
using Supportreon.Features.Projects;
namespace Supportreon.Tests.Features.Projects
{
public class ProjectListTest : OneCaseFeatureTest
{
private... |
//using CA.Persistance;
//using Microsoft.Extensions.Configuration;
//using Microsoft.Extensions.DependencyInjection;
//using NUnit.Framework;
//using System;
//using System.Collections.Generic;
//using System.IO;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//namespace CA.Test.Unit.Persi... |
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 WebAppWithDatabase
{
public class Program
{
... |
// 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.
namespace Microsoft.AspNetCore.Routing.Internal
{
public readonly struct BufferValue
{
public BufferValue(string value, bool requiresEnc... |
using Mangut.Models;
using Microsoft.AspNetCore.Mvc;
using System.Diagnostics;
namespace Mangut.Controllers
{
public class HomeController : Controller
{
private readonly ILogger<HomeController> _logger;
public HomeController(ILogger<HomeController> logger)
{
_logger = log... |
using System;
public class Program
{
private static long[] cache;
public static void Main()
{
int n = int.Parse(Console.ReadLine());
cache = new long[n + 1];
Console.WriteLine(GetPerfectShakesAmount(n));
}
private static long GetPerfectShakesAmount(int n)
{
i... |
// ----------------------------------------------------
//
// AIMP DotNet SDK
//
// Copyright (c) 2014 - 2020 Evgeniy Bogdan
// https://github.com/martin211/aimp_dotnet
//
// Mail: mail4evgeniy@gmail.com
//
// ----------------------------------------------------
namespace AIMP.SDK.MusicLibrary.Presets
{
/// <... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using Microsoft.AspNet.SignalR;
namespace Web.JavaScriptSendObjects
{
public class Connection : PersistentConnection
{
protected override Task OnReceived(IRequest request, string connecti... |
using System;
using System.Windows.Forms;
using System.ComponentModel;
public class Form1:Form
{
protected Button button1;
protected TextBox textBox1;
// <Snippet1>
private void ContainsAttribute() {
// Creates a new collection and assigns it the attributes for button1.
AttributeCollection attributes;
... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
/*
* Tencent is pleased to support the open source community by making InjectFix available.
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* InjectFix is licensed under the MIT License, except for the third-party components listed in the file 'LICENSE' which may be subject to their co... |
using NLog;
namespace NadekoBot.Services.Music
{
public static class SongHandler
{
private static readonly Logger _log = LogManager.GetCurrentClassLogger();
}
} |
using System;
using System.Text;
using System.Collections.Generic;
using Newtonsoft.Json;
using MinecraftProtocol.DataType.Forge;
namespace MinecraftProtocol.DataType
{
//这个类直接抄了https://gist.github.com/csh/2480d14fbbb33b4bbae3里面的(我来写代码啦(C/V).jpg)
public class PingReply
{
[JsonProperty(PropertyNam... |
using System;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Glyssen.Shared;
using Glyssen.Utilities;
using GlyssenEngine.Bundle;
using GlyssenEngine.Utilities;
using GlyssenEngine.ViewModels;
using L10NSharp;
using L10NSharp.XLiffUtils;
using L10NSharp.UI;
namespace Glyssen.Dialogs
{
pub... |
using System;
namespace Ryujinx.HLE.HOS.Kernel.Memory
{
[Flags]
enum MemoryState : uint
{
Unmapped = 0x00000000,
Io = 0x00002001,
Normal = 0x00042002,
CodeStatic = 0x00DC7E03,
CodeMutable = 0x03... |
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace AlibabaCloud.SDK.ROS.CDK.Nas
{
/// <summary>A ROS resource type: `ALIYUN::NAS::AccessGroup`.</summary>
[JsiiClass(nativeType: typeof(AlibabaCloud.SDK.ROS.CDK.Nas.AccessGroup), fullyQualifiedName: "@alicloud/ros-cdk-nas.A... |
using System;
using System.Collections;
namespace Supermercado
{
public class Cliente : Persona
{
private string nacimiento = null;
public string getNacimiento()
{
return this.nacimiento;
}
public void setNacimiento(string nuevoNacimiento)
{
... |
using System;
namespace D2L.Extensibility.AuthSdk {
/// <summary>
/// Provides a convenient way of storing and passing server connection information to the library
/// </summary>
public sealed class HostSpec {
/// <summary>
/// Constructs a HostSpec with the provided parameters
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DeveTetris99Bot
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Globalization;
using System.Text;
namespace System.Composition.Diagnostics
{
internal sealed class DebuggerTraceWriter : TraceWriter
{... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Linq;
using System.Text;
namespace BuildXL.FrontEnd.Script.Analyzer.Documentation
{
public static partial class MarkdownWriter
{
private const string IndexFileNameWithoutExtension = "... |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Collections;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.CryptoPro;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Nist;
using BestH... |
namespace MassTransit.Analyzers.Helpers
{
using System;
using System.Collections.Concurrent;
class NodeTable<T>
{
readonly ConcurrentDictionary<T, int> _nodes;
int _count;
public NodeTable(int capacity)
{
_nodes = new ConcurrentDictionary<T, int>(Environment... |
// 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.Collections.Generic;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.Extensions.DependencyInjection... |
using System.Threading.Tasks;
using Brickweave.Cqrs;
using Akroma.Domain.Blocks.Models;
using Akroma.Domain.Blocks.Services;
namespace Akroma.Domain.Blocks.Queries
{
public class GetBlockByNumberHandler : IQueryHandler<GetBlockByNumber, Block>
{
private readonly IBlocksRepository _blocksRepository;
... |
@page "/leave-request-denied"
@{
ViewData["Title"] = "Leave Request Denied";
}
<div>
<h1 class="display-4">Leave Request Denied</h1>
<p>We will let the lazy employee know there's no time for that. Thank you!</p>
</div> |
using Esri.ArcGISRuntime.Mapping;
using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Symbology;
using Esri.ArcGISRuntime.Data;
using Esri.ArcGISRuntime.Portal;
using Esri.ArcGISRuntime.Security;
using Esri.ArcGISRuntime.UI;
using System;
using System.Diagnostics;
using System.Linq;
using System.Windows;
nam... |
@model DoctorAppointmentBooking.Models.ForgotPasswordViewModel
@{
ViewBag.Title = "Forgot your password?";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("ForgotPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
<h4>Enter your email.</... |
namespace EnergyTrading.MDM.Test
{
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.ServiceModel.Syndication;
using System.Xml;
using Microsoft.Http;
using NUnit.Framework;
using EnergyTrading.Contracts.Search;
using EnergyTrading.Search;
usi... |
#nullable enable
using NUnit.Framework;
using System;
namespace PrimeFuncPack.Primitives.Tests;
partial class PipelineTests
{
[Test]
[TestCaseSource(nameof(ValueTestSource))]
public void Pipe_ExpectSourceValue(
object? sourceValue)
{
var actual = Pipeline.Pipe(sourceValue);
A... |
/*
* 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... |
using System;
namespace Main
{
public class Polygon : Figure
{
public int Id { get; set; }
public int Count { get; set; }
public Polygon(int y, int x, int degree, double size, int count)
{
Y = y;
X = x;
Degree = degree;
Size = siz... |
/**
* NPinyin包含一个公开类Pinyin,该类实现了取汉字文本首字母、文本对应拼音、以及
* 获取和拼音对应的汉字列表等方法。由于汉字字库大,且多音字较多,因此本组中实现的
* 拼音转换不一定和词语中的字的正确读音完全吻合。但绝大部分是正确的。
*
* 最后,我想简要地说明一下我的设计思路:
* 首先,我将汉字按拼音分组后建立一个字符串数组(见PyCode.codes),然后使用程序
* 将PyCode.codes中每一个汉字通过其编码值使用散列函数:
*
* f(x) = x % PyCode.codes.Length
* {
* g(f(x)) = pos(x)
*... |
namespace StudentsAndWorkers
{
using System;
public class Student : Human
{
private double grade;
public Student(string first, string last, double grade)
: base(first, last)
{
this.Grade = grade;
}
public double Grade
{
... |
/*
* 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 System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
public static partial class Extensions
{
/// <summary>
/// Asynchronously returns the last element of a sequence that satisfies a condition or a default value if no such element is f... |
//-----------------------------------------------------------------
// All Rights Reserved. Copyright (C) 2021, DotNet.
//-----------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
namespace DotNet.Util
{
/// <sum... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------... |
// ----------------------------------------------------------------------------------
//
// FXMaker
// Created by ismoon - 2012 - ismoonto@gmail.com
//
// ----------------------------------------------------------------------------------
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
... |
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace NetCache
{
/// <summary>
/// 表示插入代理IL任务
/// </summary>
public class ProxyTask : Task
{
/// <summary>
/// 插入代理的程序集
... |
// 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;
using System.IO;
using Xunit.Abstractions;
namespace Microsoft.Spark.UnitTest.TestUtils
{
// Tes... |
#if UNITY_EDITOR && ENABLE_UNITY_OCCLUSION && ENABLE_HYBRID_RENDERER_V2 && UNITY_2020_2_OR_NEWER && (HDRP_9_0_0_OR_NEWER || URP_9_0_0_OR_NEWER)
using System;
using System.Collections.Generic;
using Unity.Mathematics;
using UnityEditor;
using UnityEditor.EditorTools;
using UnityEditor.IMGUI.Controls;
using UnityEngine;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Machine.Specifications.Explorers;
using Machine.Specifications.Model;
using Machine.Specifications.Utility;
namespace Machine.Specifications.Runner.Impl
{
public class DefaultRunner : ISpecificationRunner
{
... |
// Generated class v2.50.0.0, don't modify
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
namespace NHtmlUnit.Javascript.Host.Html
{
public partial class HTMLOptionsCollection : NHtmlUnit.Javascript.SimpleScriptable
{
static HTML... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace SimpleExpressionEvaluator.Compilation.Functions.Operators
{
[Tokens("=~")]
public class RegexMatches : BinaryOperator<bool>
{
protected override bool EvaluateOperat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RPG.Core
{
public class ActionScheduler : MonoBehaviour
{
IAction currentAction;
public void StartAction(IAction action)
{
if (currentAction == action) return;
if (currentAct... |
using Telegram.Bot.Types.ReplyMarkups;
namespace Telegram.Bot.Types
{
/// <summary>
/// This object represents an incoming callback query from a <see cref="InlineKeyboardButton"/>. If the button that originated the query was attached to a <see cref="Message"/> sent by the bot, the field message will be present... |
using Ardalis.Specification;
using Domain.Entities;
using System;
using System.Linq;
namespace Application.Specifications.Telefonos
{
public class TelefonosPaginadosSpec : Specification<Telefono>
{
public TelefonosPaginadosSpec(int numeroDePagina, int registroXPagina, string estatus, string codigoPais... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Google.Protobuf;
using Org.Infinispan.Protostream;
using Org.Infinispan.Query.Remote.Client;
namespace Infinispan.Hotrod.Core.Tests.Util
{
class RemoteQueryUtils
{
public static Li... |
// *****************************************************************************
// 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... |
// 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)
#region Usings
using System.ComponentModel;
using System.Windows.Controls;
using ICSharpCode.Data.EDMDesigner.Core.EDMObjects... |
using System;
using ExtendableEnums.Testing.Models;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
namespace ExtendableEnums.UnitTests.ExtendableEnumDictionaryTests
{
[TestClass]
public class DeserializeShould
{
[TestMethod]
public void D... |
// Copyright 2021 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
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 ... |
using System;
using Android.Content;
using Android.Runtime;
using Android.Text;
using Android.Util;
using Android.Views;
using AndroidX.AppCompat.Widget;
using AndroidX.Core.Graphics.Drawable;
using static Android.Views.View;
namespace Microsoft.Maui.Platform
{
public class MauiTimePicker : AppCompatEditText, IOnCli... |
#if URP
using UnityEngine.Rendering.Universal;
#endif
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEditor.Rendering;
namespace SCPE
{
#if URP
[VolumeComponentEditor(typeof(EdgeDetection))]
sealed class EdgeDetectionEditor : VolumeComponentEdito... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Ducks
{
class Duck : IComparable<Duck>
{
public int Size { get; set; }
public KindOfDuck Kind { get; set; }
public int CompareTo(Duck duckToCompare)
{
if (this.Size > duckToCompare.Size)
... |
using System;
using System.Text;
namespace Mir.WindowsServiceTemplate.Utility.Encrypt
{
/// <summary>
/// Base64 编码/解码帮助类
/// </summary>
public static class Base64Helper
{
/// <summary>
/// Base64 编码,默认编码类型为UTF8
/// </summary>
/// <param name="source"></param>
... |
@inject SignInManager<ApplicationUser> SignInManager
@{
var hasExternalLogins = (await SignInManager.GetExternalAuthenticationSchemesAsync()).Any();
}
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link" href="#">
<i class="fa fa-users fa-fw"></i> Users
</a>
<... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fluqi.Extension;
namespace Fluqi.Widget.jDialog {
/// <summary>
/// The "Methods" are called after the control has been initialised. If for instance you want to change
/// the value of a property, or invoke "some" action... |
// 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.
//
//NOTE:
//Structures containing collection of another structures are defined without
//embedded structure which ... |
using GGAdvantage.Application.Interfaces;
using GGAdvantage.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GGAdvantage.Persistence.Repository
{
public class AuctionDailyStatisticRea... |
// 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.Management.Storage.Models
{
public partial class PrivateEndpointConnection : IUtf8JsonSerializable
{
void I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using TygaSoft.IDAL;
using TygaSoft.Model;
using TygaSoft.DBUtility;
namespace TygaSoft.SqlServerDAL
{
public partial class PictureCategory : IPictureCategory
{
#region ... |
using System.Linq.Expressions;
using Lambdy.Resolvers.ExpressionResolvers.Abstract;
using Lambdy.Resolvers.NameResolvers;
using Lambdy.TreeNodes.ExpressionNodes;
using Lambdy.TreeNodes.ExpressionNodes.Abstract;
namespace Lambdy.Resolvers.ExpressionResolvers
{
internal class NewExpressionResolver : ExpressionResol... |
using System;
using System.Threading.Tasks;
using FFImageLoading.Cache;
using System.IO;
namespace FFImageLoading.Work
{
public interface IImageLoaderTask: IScheduledWork, IDisposable
{
/// <summary>
/// Indicates if the task uses the same native control
/// </summary>
/// <returns><c>true</c>, if sam... |
// *** 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... |
// Copyright (c) 2006-2011 Frank Laub
// 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 of conditi... |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
using STEP;
namespace IFC
{
/// <summary>
/// <see href="http://www.buildingsmart-tech.org/ifc/IFC4/final/html/link/ifcstructuralloadstatic.htm"/>
/// </summary>
public abstract partial class Ifc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using Avalonia.Controls;
using Avalonia.Controls.Platform;
using Avalonia.Controls.Platform.Surfaces;
using Avalonia.Input;
using Avalonia.Input.Raw;
using Avalonia.Native.Interop;
using Avalonia.OpenGL;
using Avalo... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using LibGit2Sharp.Core;
namespace LibGit2Sharp
{
/// <summary>
/// Global settings for libgit2 and LibGit2Sharp.
/// </summary>
public static class GlobalSettings
{
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bot.Messenger.Models
{
public class WebhookAttachment<T> : Attachment<T> where T : Payload
{
[JsonProperty("title")]
public virtual string Title ... |
//
// import.cs: System.Reflection conversions
//
// Authors: Marek Safar (marek.safar@gmail.com)
//
// Dual licensed under the terms of the MIT X11 or GNU GPL
//
// Copyright 2009-2011 Novell, Inc
// Copyright 2011-2012 Xamarin, Inc (http://www.xamarin.com)
//
using System;
using System.Runtime.CompilerServices;
usin... |
using System;
using Wisej.Web;
namespace InvoicesUI.WisejWeb
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
}
private void stringBindingsINPC_Click(object sender, EventArgs e)
{
var testForm = new TestFormStr... |
#if WEBAPI
namespace Microsoft.Web.Http.Versioning.Conventions
#else
namespace Microsoft.AspNetCore.Mvc.Versioning.Conventions
#endif
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace gView.GraphicsEngine.Abstraction
{
public interface IDisplayCharacterRanges
{
float Width { get; }
CanvasRectangleF this[int i] { get; }
}
} |
// Artificial Slider|ArtificialControllables|120030
namespace VRTK.Controllables.ArtificialBased
{
using UnityEngine;
using System.Collections;
using VRTK.GrabAttachMechanics;
using VRTK.SecondaryControllerGrabActions;
/// <summary>
/// A artificially simulated slider.
/// </summary>
/... |
using System;
using System.Collections.Generic;
using Microsoft.Maui.Controls;
using Microsoft.Maui.Graphics;
using NUnit.Framework;
using AbsoluteLayoutFlags = Microsoft.Maui.Layouts.AbsoluteLayoutFlags;
namespace Microsoft.Maui.Controls.Xaml.UnitTests
{
using AbsoluteLayout = Microsoft.Maui.Controls.Compatibility.A... |
using Application.Common.Interfaces;
using MediatR;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Application.Common.Behaviors
{
public class RequestContextBehavior<TRequest, TResponse> : IPipelin... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace WotStatsTool.Converters
{
public class DateTimeConverter : IValueConverter
{
public static readonly DateTimeConverter Ins... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Redmine.Models
{
public class Info
{
public int id { get; set; }
public string name { get; set; }
}
} |
using System.ComponentModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AssertionExtensions.Extensions.Models
{
public class PropertyWrapper
{
internal readonly Assert _assert;
internal readonly INotifyPropertyChanged _observableObject;
internal readonly object _obje... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Baseline;
namespace Oakton.Environment
{
public class EnvironmentCheckResults
{
private readonly IList<string> _successes = new List<string>();
private readonly IList<EnvironmentFailure> _failures = new Li... |
// 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.DotNet.Scaffolding.Shared
{
public enum LogMessageLevel
{
Information,
Warning,
Trace... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace TearListHalf
{
public class TearListInHalf
{
public static void Main()
{
var numbers = Console.ReadLine()
.Split(' ').Select(int.Parse)
.ToList();
var leftHalf = ... |
using System.Runtime.CompilerServices;
// Makes internals visible to unit test project
#if SIGN_ASSEMBLY
[assembly: InternalsVisibleTo("Cloudinary.NetCoreTest, PublicKey=00240000048000009400000006020000002400005253413100040000010001004dd0cacc2cbf7a5933bd5cddf82e397d4a05db7c46af9cdd0d5e40485e6db5472b1677c8445928438b2a... |
namespace ExCSS
{
sealed class AnimationDurationProperty : Property
{
private static readonly IValueConverter ListConverter = Converters.TimeConverter.FromList().OrDefault(Time.Zero);
internal AnimationDurationProperty() : base(PropertyNames.AnimationDuration)
{
}
int... |
using System.Collections.Generic;
using TestingDependencyIsolation.Modified.Core;
namespace TestingDependencyIsolation.Modified.Reporting {
/// <summary>
/// Interface used to define an external contract for types that can allow users to view report data.
/// </summary>
public interface IReportViewer ... |
#define Graph_And_Chart_PRO
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ChartAndGraph
{
/// <summary>
/// this class holds a float value that can be either set mannualy or be set automatically by an external class
/// </summary>
[Serializable]
pub... |
// 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 not ... |
using System.Runtime.InteropServices;
namespace KLLNet
{
/***************************************************************************\
*
* Dead Key (diaresis) tables
*
\***************************************************************************/
[StructLayout(LayoutKind.Explicit, CharSet = Cha... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace XQ.SDK.Model.Json
{
public class OcrInfo
{
/// <summary>
/// </summary>
[JsonProperty(PropertyName = "list")]
public List<OcrItem> List { get; set; }
}
} |
#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "641232CE10371136073852E49100CB02"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this f... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Globalization;
using System.... |
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
{
public partial class _3063 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
... |
// Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
// Generated with Nuke.CodeGeneration, LOCAL VERSION.
// Generated from https://github.com/nuke-build/tools/blob/master/metadata/DotCover.json.
using JetBrains.Annotations;
using Nuke.Commo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.