text stringlengths 1 932k |
|---|
// *** 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... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharper disable ClassNeverInstantiated.Global
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
//... |
using PuzzleCollection.Games.Structures;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PuzzleCollection.Games.Untangle
{
public class UntangleGraph
{
internal int refcount; /* for deallocation */
internal Tree234<UntangleEdge> edges; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using MwLanguageServer.Infrastructures;
using Xunit;
namespace UnitTestProject1
{
public class TrieTests
{
[Fact]
public void BasicTest()
{
var helper = new TestHelper<int>();
helper.Add("test", 1... |
/*
* 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... |
/////////////////////////////////////////////////////////////////////////////////
// paint.net //
// Copyright (C) dotPDN LLC, Rick Brewster, and contributors. //
// All Rights Reserved. ... |
using System.Collections.Generic;
using DLCS.Core.Collections;
using DLCS.Core.Types;
using DLCS.Model.Assets.CustomHeaders;
using FluentAssertions;
using Orchestrator.Assets;
using Orchestrator.Features.Images;
using Orchestrator.Infrastructure.ReverseProxy;
using Xunit;
namespace Orchestrator.Tests.Features.Images
... |
using System.Collections;
using System.Collections.Generic;
namespace Xamarin.Forms.Platform.UWP
{
internal class ItemTemplateContextList : IReadOnlyList<ItemTemplateContext>
{
readonly IList _itemsSource;
readonly DataTemplate _itemTemplate;
readonly BindableObject _container;
readonly double _itemHeight;
... |
using System;
using System.Collections.Generic;
namespace Actress
{
class Observable<T> : IObservable<T>, IObserver<T>, IDisposable
{
public Observable()
{
_observers = new List<IObserver<T>>();
}
private readonly List<IObserver<T>> _observers;
public IDis... |
// ----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Expensify">
// (c) Copyright Expensify. http://www.expensify.com
// This source is subject to the Microsoft Public License (Ms-PL)
// Please see license.txt on https://github.com/Exp... |
using ProtoBuf;
using System;
using System.Collections.Generic;
namespace GameData
{
[ProtoContract(Name = "RoleAttr_ARRAY")]
[Serializable]
public class RoleAttr_ARRAY : IExtensible
{
private readonly List<RoleAttr> _items = new List<RoleAttr>();
private IExtension extensionObject;
[ProtoMember(1, Name = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
... |
using System;
using System.Linq;
using System.Reflection;
using Datadog.Core.Tools.Extensions;
using Xunit;
namespace Datadog.Trace.ClrProfiler.IntegrationTests.Helpers
{
public class TargetFrameworkVersionsFact : FactAttribute
{
public TargetFrameworkVersionsFact(string targetFrameworkMonikers)
... |
/******************************************************************************
* Description: Simple webhook implementation for receiving events from Comapi
* Author: Dave Baddeley
*****************************************************************************/
using Microsoft.AspNetCore.Http;
using Microsoft.... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace C_Sharp
{
public class StringHas
{
/// <summary>
/// 错误判断
/// </summary>
/// <param name="str"></param>
/// <returns></returns>
... |
#region License
/*
Copyright © 2014-2021 European Support Limited
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 a... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------... |
namespace DB_PAPOAS_laba_6
{
partial class Form1
{
/// <summary>
/// Обязательная переменная конструктора.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все используемые ресурсы.
/// </summary>
... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Gov.Lclb.Cllb.Interfaces
{
using Microsoft.Rest;
using Models;
using System.Collections;
using System.Co... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation with the addition of the... |
// 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 System.Threading.Tasks;
namespace Microsoft.AspNetCore.Components.Electron
{
internal class NullDispatcher : Dispatcher
{
... |
using CrossCuttingConcerns.Instrumentation;
using System.Collections.Generic;
namespace CH13_CodeRefactoring.ProblemCode
{
public class Mutant
{
[InstrumentationAspect]
public int IntegerSquaredSum(List<int> integers)
{
var squaredSum = 0;
foreach (var integer i... |
/* Copyright (c) Citrix Systems 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:
*
* * Redistributions of source code must retain the above
* copyright notice, this lis... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Panini.Models
{
/// <summary>
/// Model for displaying inline link data in the <c>Inline Links</c> tab of <c>Results View</c>.
/// </summary>
public class Inli... |
//
// Copyright (c) Microsoft. 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 applicable l... |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor.SceneManagement;
using UnityEngine.SceneManagement;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
using ModestTree;
namespace Zenject
{
[CustomEditor(typeof(SceneDecoratorContext))]
public class SceneDeco... |
using Chiota.ViewModels.Classes;
namespace Chiota.ViewModels
{
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Input;
using Chiota.Messenger;
using Chiota.Messenger.Enti... |
using System;
using System.Globalization;
using System.Collections.Generic;
namespace MyLibrary
{
public class Episode
{
List<double> scores = new List<double>(); //a list which will keep track of all generated ratings
Description description = new Description();
public int Audience... |
using Xunit;
using DotNetCoreKoans.Engine;
using System;
using System.Globalization;
namespace DotNetCoreKoans.Koans
{
public class AboutStrings : Koan
{
//Note: This is one of the longest katas and, perhaps, one
//of the most important. String behavior in .NET is not
//always what you ... |
using System;
namespace SuperSocket.WebSocket
{
public class WebSocketConstant
{
public const string Host = "Host";
public const string Connection = "Connection";
public const string SecWebSocketKey1 = "Sec-WebSocket-Key1";
public const string SecWebSocketKey2 = "Sec-WebSocket-K... |
using System;
namespace Example.StudentsManagement.Models
{
public class Student
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime EnrollmentDate { get; set; }
public DateTime DateOfBirth { get; set; }
public string Address { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace HelloLambda.Controllers
{
[Route("api/[controller]")]
public class MetricsController : Controller
{
// GET api/values
[HttpGet]
public IEnumerab... |
using System;
namespace _01._Blank_Receipt
{
class Program
{
static void Main(string[] args)
{
PrintReceip();
}
static void PrintReceip()
{
PrintReceipHeader();
PrintReceipBody();
PrintReceipFooter();
}
st... |
using Contoso.Events.Data;
using Contoso.Events.Models;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Contoso.Events.Web
{
public class Startup
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.Infrastructure;
using System.Reflection;
using System.Linq;
using Riven.Reflection;
using Riven.Entities;
namespace Riven.Extensions
{... |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Delete a Calling Party Category from system. The category cannot be deleted if it... |
using System;
using System.Collections.Generic;
using System.Numerics;
namespace BorsukSoftware.Testing.Comparison.Plugins
{
/// <summary>
/// Comparer plugin for <see cref="BigInteger"/> objects
/// </summary>
public class BigIntegerComparerPlugin : IObjectComparerPlugin
{
/// <summary>
/// Get / set whethe... |
// Copyright 2022 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 FlightFinder.Client.Services;
using Microsoft.AspNetCore.Components.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace FlightFinder.Client
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddSingleton<AppState>();
... |
/**
* Copyright 2013 Canada Health Infoway, Inc.
*
* 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 applicab... |
/*
* Copyright 2006 Jeremias Maerki
*
* 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 agree... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
#if CODEANALYSIS_V3_OR_BETTER
using System;
using System.IO;
namespace Analyzer.Utilities
{
internal static class PathHelper
{
private static readonly char... |
using System;
using System.Collections.Generic;
using System.Linq;
using RabbitMQ.Client;
namespace PowerLinesMessaging
{
public class Connection : IConnection
{
protected ConnectionFactory connectionFactory;
protected RabbitMQ.Client.IConnection connection;
protected List<Channel> chan... |
/*
* Written by Trevor Barnett, <mr.ullet@gmail.com>, 2015
* Released to the Public Domain. See http://unlicense.org/ or the
* UNLICENSE file accompanying this source code.
*/
using System.Collections;
using NUnit.Framework;
namespace Ullet.Strix.Number.Tests.Unit.NumberExtensionsTests
{
[TestFixture]
public... |
#if !NETSTANDARD13
/*
* 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
... |
using MyXObject;
using System.Windows;
using MyCodeBox;
using MyXAribute;
namespace MyPicTabPage
{
/// <summary>
/// 按照步骤 1a 或 1b 操作,然后执行步骤 2 以在 XAML 文件中使用此自定义控件。
///
/// 步骤 1a) 在当前项目中存在的 XAML 文件中使用该自定义控件。
/// 将此 XmlNamespace 特性添加到要使用该特性的标记文件的根
/// 元素中:
///
/// xmlns:MyNamespace=... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml.Linq;
namespace SqlSugar
{
public class EntityMaintenance
{
public SqlSugarProvider Context { get; set; }
public EntityInfo GetEntityInfo<T>()
{
re... |
using BasicMvcSample.Helpers;
using Box.V2.Models;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace BasicMvcSample.Controllers
{
[Authorize]
public class AppController : Controller
{
// GET: App
public asy... |
using UnityEngine;
using System.Collections;
public class CoOpSign : MonoBehaviour
{
public Main Main;
public Trigger Trigger;
public CoOpShelter CoOpShelter;
public MeshRenderer Face;
public Material FaceNone;
public Material FaceSoupKitchen;
public Material FaceTherapy;
public Materi... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using MorseCode.ITask;
using TypedRest;
using TypedRest.Endpoints.Generic;
using Xunit;
using Xunit.Abstractions;
namespace MyVendor.MyServic... |
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace ParallelSample1
{
class Program
{
[STAThread]
static void Main(string[] args)
{
//ThreadPool.QueueUserWorkItem(new WaitCallback(Foo));
//ThreadPool.GetMaxThreads(ou... |
using System.Collections.Generic;
using System.Threading;
using FubuMVC.Core.Http.Owin;
using Shouldly;
using NUnit.Framework;
namespace FubuMVC.Tests.Http.Owin
{
[TestFixture]
public class OwinCurrentHttpRequest_ClientConnectivityTester
{
private CancellationToken theToken;
private OwinHt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using lessonweb.Data;
namespace lessonweb.web
{
public partial class PGUpdateCourse : System.Web.UI.Page
{
protected AppUser mUser = null;
protected AppUse... |
using Autofac;
using Autofac.Integration.Mvc;
using HelloWorld.V2.Domain;
using HelloWorld.V2.Infrastructure;
using System.Web.Mvc;
namespace HelloWorld_V2.App_Start
{
public class ContainerConfiguration
{
public static void ConfigureContainer()
{
var builder = new ContainerBuilder... |
using System;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace ADTBulkImportConverter
{
public class BulkImportInputGenerator
{
public void GenerateBulkModelImportInputFile(string inputPath, string outputFileName)
{
if (string.IsNullOrWhiteSpace(inputPa... |
using System.Windows;
using Autofac;
using Inifinal.CarPc.Bar;
using Inifinal.CarPc.View;
using Prism.Autofac;
using Prism.Regions;
namespace Infinal.CarPc.Ui
{
public class Bootstrapper : AutofacBootstrapper
{
protected override void ConfigureContainerBuilder(ContainerBuilder builder)
{
... |
// 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;
using System.Reflection;
using System.Runtime.Serialization.Json;
using System.Xml;
using System.Diagnostics;
namespace System.Runtime.Serial... |
namespace MacroAutomation
{
partial class MainWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... |
using System.Collections.Generic;
using SMLDC.Simulator.Schedules;
using SMLDC.Simulator.Models.HeartRate;
using SMLDC.Simulator.Schedules.Events;
using System;
using SMLDC.Simulator.DiffEquations.Models;
using SMLDC.Simulator.DiffEquations.Solvers;
using static SMLDC.Simulator.Utilities.Enums;
using SMLDC.Simulator.U... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Elasticsearch.Net;
namespace Nest
{
public partial class ElasticClient
{
/// <inheritdoc />
public IShardsOperationResponse GatewaySnapshot(Func<GatewaySnapshotDescriptor, GatewaySnapshotDescriptor> snapshotSelector = null)
{
... |
//---------------------------------------------------------------------
// <copyright file="PrimitiveValueConverterConstants.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. 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.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace StarfallTactics.StarfallTacticsServers.Database
{
public class ShipDecalEntry
{
[JsonPropertyName("id")]
public int Id { get; set;... |
// 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.Connector.Services;
using Steeltoe.Extensions.Configuration;
namespace External.Connector.Te... |
using System.ComponentModel.DataAnnotations;
using System;
using System.Collections.Generic;
using FashiShop.Core.Entity;
namespace FashiShop.Model
{
public class Order:BaseEntity
{
public int UserDetailID { get; set; }
public DateTime OrderDate { get; set; }
public DateTime ShippedDate... |
namespace JustOrderIt.Web.Infrastructure.Extensions
{
using System;
using System.Linq;
using System.Linq.Expressions;
using AutoMapper.QueryableExtensions;
using JustOrderIt.Web.Infrastructure.Mapping;
public static class QueryableExtensions
{
public static IQueryable<TDestination... |
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
namespace Exercism.Analyzers.CSharp.Syntax.Rewriting
{
internal static class SyntaxNodeSimplifier
{
private static readonly CSharpSyntaxRewriter[] SyntaxRewriters =
{
new RemoveOptionalParentheses... |
using EPiServer.DataAbstraction;
using EPiServer.DataAnnotations;
using Foundation.Features.Shared;
using Foundation.Infrastructure;
namespace Foundation.Features.MyOrganization.Orders
{
[ContentType(DisplayName = "Organization Orders Page",
GUID = "3c436a14-38d1-4fd1-ab37-15f0848cfa24",
Descriptio... |
using System;
namespace W3SavegameEditor.Core.Exceptions
{
[Serializable]
public class ParseVariableException : Exception
{
public ParseVariableException()
{
}
public ParseVariableException(string message) : base(message)
{
}
public ParseVariableE... |
using System.Linq;
namespace TT.Domain.Statics
{
public static class TrustStatics
{
// also banned names
public static string[] ReservedNames = {
"Judoo",
"Juderp",
"Testbot",
"Psychopath",
"Admin",
"Administrator",
... |
// ReSharper disable All
using Lumina.Text;
using Lumina.Data;
using Lumina.Data.Structs.Excel;
namespace Lumina.Excel.GeneratedSheets
{
[Sheet( "ContentGauge", columnHash: 0x55e3560d )]
public partial class ContentGauge : ExcelRow
{
public byte Unknown0 { get; set; }
public SeStr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace MvcApplication5
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd... |
public class SideWinder : Missile
{
void Awake()
{
seekBehavior = new SeekWithHeat();
}
} |
namespace RetroDevStudio
{
public partial class ConstantData
{
public static Palette PaletteMega65()
{
var pal = new Palette( 256 );
for ( int i = 0; i < 16; ++i )
{
// hard coded c64 colors
pal.ColorValues[i * 16 + 0] = 0xff000000;
pal.ColorValues[i * 16 + 1] = 0... |
using ChatCore.Interfaces;
using IPA.Loader;
using SiraUtil.Sabers;
using StreamPartyCommand.Configuration;
using StreamPartyCommand.Interfaces;
using StreamPartyCommand.Models;
using StreamPartyCommand.Staics;
using StreamPartyCommand.Utilities;
using UnityEngine;
using Zenject;
namespace StreamPartyCommand.CommandC... |
// 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.
#nullable disable
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery;
using Micro... |
using Kit;
using OsmDataKit;
using OsmSharp;
using System;
using System.Linq;
namespace Toponym.Tools
{
public static class GeoService
{
public static RelationObject LoadRelation(string cacheName, long relationId, string sourcePath = null)
{
var request = new GeoRequest { RelationI... |
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Text;
using Machine.Specifications;
using Symbiote.Core;
namespace Core.Tests.DI
{
public interface AnInterfaceOf<T> : AnInterfaceOf
{
}
public abstract class with_assembly_scanning : with_assimila... |
using System;
// ReSharper disable once CheckNamespace
namespace NClient.Exceptions
{
public class ClientBuildException : NClientException
{
public ClientBuildException(string message) : base(message)
{
}
public ClientBuildException(string message, Exception innerExcep... |
using UnityEngine;
using UnityEngine.Events;
namespace Gameframe.GUI
{
using Camera = UnityEngine.Camera;
/// <summary>
/// Takes care of managing a set of components that control camera movement and behavior
/// </summary>
public class CameraDirector : MonoBehaviour
{
/// <summary>
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Speedy - @ViewData["Title"]</title>
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon"... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO.MemoryMappedFiles;
using System.Threading;
using System.Threading.Tasks;
using TinyIpc.Synchronization;
namespace TinyIpc.IO
{
/// <summary>
/// Wraps a MemoryMappedFile with inter process synchronization and signaling
/// </summary>
public class... |
using AnyRPG;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace AnyRPG {
public class VendorComponent : InteractableOptionComponent {
public VendorProps Props { get => interactableOptionProps as VendorProps; }
public VendorComponent(Int... |
using System.IO;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using Perka.Apply.Client.Adapters;
using Perka.Apply.Client.Helpers;
namespace Perka.Apply.Client.Tests.Adapters
{
[TestFixture]
public class FileSystemAdapterTests
{
[SetUp]
public void SetUp()
{
... |
#region samples_concat_playlist
using VideoCataloger;
using System.IO;
using System;
using VideoCataloger.RemoteCatalogService;
using System.Globalization;
using System.Collections.Generic;
public class ConcatPlaylist
{
static public string GetFFMPEGPath()
{
string tool_path = "c:\\ffmpeg\\bin\\ffmp... |
// <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.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Waypoint : Node
{
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace coderush.Models
{
public class UserProfile
{
public int UserProfileId { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public strin... |
using System;
using System.IO;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.CodeAnalysis.Tools.Tests
{
public class CodeFormatterTests : IClassFixture<MSBuildFixture>
{
private static string SolutionPath => Directory.GetPa... |
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: AssemblyTitle("HID OMNIKEY Smart Card Readers' Sample Cod... |
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\mfcaptureengine.h(1758,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[ComImport, Guid("8f02d140-56fc-4302-a705-3a97c78be779"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IMFCapture... |
#pragma checksum "C:\Users\Water\Source\DynamoDCS\DynamoDCS\MissionPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "4917D50CF7345C94B8A97C2C26BBA1EF"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to t... |
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.IO;
namespace PDGToolkitCLI
{
/// <summary>
/// Makes use of the builder pattern to:
/// Load the config.json file into a dynamic <see cref="settings"/> variable
/// Set different values to said variable based on called methods
/// Persist those changes back into config.json
/// ... |
// Copyright (c) Lykke Corp.
// See the LICENSE file in the project root for more information.
namespace Ironclad.Models
{
public class LoggedOutModel
{
#pragma warning disable CA1056
public string PostLogoutRedirectUri { get; set; }
public string ClientName { get; set; }
public stri... |
using System;
using System.Linq;
namespace BytexDigital.Blazor.Components.CookieConsent
{
public class CookiePreferences : IEquatable<CookiePreferences>
{
public int AcceptedRevision { get; set; } = 0;
public string[] AllowedCategories { get; set; } = new string[0];
public string[] All... |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
//
using UnityEngine;
using HoloToolkit.Unity;
using HoloToolkit.Sharing.SyncModel;
namespace HoloToolkit.Sharing
{
/// <summary>
/// Synchronizer to upda... |
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... |
using System;
using System.Globalization;
using System.Linq;
using FluentAssertions;
using FsCheck;
using FsCheck.Xunit;
using Toggl.Multivac.Extensions;
using Xunit;
using static System.Math;
namespace Toggl.Multivac.Tests
{
public sealed class StringExtensionTests
{
public sealed class TheContainsIg... |
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("Do... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.