text stringlengths 1 932k |
|---|
using System;
using System.Linq;
using Vim.EditorHost;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Projection;
using Vim.Extensions;
using Vim.UnitTest.Exports;
using Vim.UnitTest.Mock;
using Xunit;
using Microsoft.FSharp.Core;
using System.Threading.T... |
using Newtonsoft.Json;
namespace CloudflareDnsUpdater
{
/// <summary>
/// Dns record of a zone
/// </summary>
public class DnsRecord
{
/// <summary>
/// Initializes a new instance of the <see cref="DnsRecord"/> class.
/// </summary>
/// <param name="recordType">Type... |
// -----------------------------------------------------------------------
// <copyright file="HomeController.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
// </copyright>
// -... |
#region Project Description [About this]
// =================================================================================
// The whole Project is Licensed under the MIT License
// =================================================================================
// =======================================... |
using System;
namespace uri1005
{
internal static class Program
{
private static void Main()
{
double a = double.Parse(Console.ReadLine());
double b = double.Parse(Console.ReadLine());
double media = (a * 3.5 + b * 7.5) / 11.0;
Console.WriteLine($... |
using System;
using System.Collections.Generic;
namespace Loxodon.Framework.Services
{
public class ServiceContainer : IServiceContainer, IDisposable
{
private Dictionary<string, IFactory> services = new Dictionary<string, IFactory>();
public virtual object Resolve(Type type)
{
... |
namespace CsCss.Values.Length
{
public class AbsoluteLengthUnit : LengthUnit
{
private AbsoluteLengthUnit(string u) : base(u)
{
}
internal static readonly AbsoluteLengthUnit Cm = new AbsoluteLengthUnit("cm");
internal static readonly AbsoluteLengthUnit Mm = new Absolut... |
using Microsoft.Extensions.DependencyInjection;
using Orleans;
using Orleans.Configuration;
using Orleans.Providers;
using Orleans.Runtime;
using Orleans.Runtime.Configuration;
using Orleans.Storage;
using Orleans.TestingHost;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using TesterInt... |
using EIDSS.Reports.BaseControls.Filters;
namespace EIDSS.Reports.Parameterized.Human.TH.Keepers
{
partial class NumberOfCasesDeathsMortalityTHReportKeeper
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;... |
using System;
using BTCPayServer.Abstractions.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.Extensions.Options;
using Npgsql.EntityFrameworkCore.PostgreSQL.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL... |
// Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System;
using System.Linq;
using Xunit;
using Zio.FileSystems;
namespace Zio.Tests.FileSystems
{
public class TestAggregateF... |
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading;
using UnrealBuildTool;
namespace AutomationTool
{
public partial class CommandUtils
{
#region Commandlets
/// <summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LoadNextSceneKey : MonoBehaviour {
public KeyCode LoadNextSceneOn = KeyCode.Space;
public string SceneName;
// Update is called once per frame
void Update () {
/**
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Orchard.Environment.Descriptor;
using Orchard.Environment.Descriptor.Models;
using Orchard.Environment.Extensions;
using Orchard.Environment.Extensions.Helpers;
using Orchard.Environment.Extensions.Models;
using Orchard.Localization;
using Orchar... |
#region Header
//
// CmdDeleteUnusedRefPlanes.cs - delete unnamed non-hosting reference planes
//
// Copyright (C) 2014-2017 by Jeremy Tammik, Autodesk Inc. All rights reserved.
//
// Keywords: The Building Coder Revit API C# .NET add-in.
//
#endregion // Header
#region Namespaces
using System;
using System.Collection... |
using System;
public delegate bool TetrominoMotion();
public class InputRepeater {
private readonly double initialDelay;
private readonly double repeatDelay;
private TetrominoMotion moveTetromino;
private double timeTilMotion;
private bool keyIsDown;
private bool firstReset;
public InputRepeater(double initi... |
// 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.Diagnostics;
using System.Text;
namespace System.Net.Test.Common
{
public static class QPackEncode... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Reversed_chars
{
class Program
{
static void Main(string[] args)
{
char first = char.Parse(Console.ReadLine());
char second = char.Parse(Console... |
using System;
using System.Diagnostics;
using Spring.Collections.Generic;
namespace JenkinsTray.Entities
{
[DebuggerDisplay("BuildNumber={Number}, Result={Result}")]
public class BuildDetails
{
public BuildCauses Causes { get; set; }
public int Number { get; set; }
public string Url... |
@model Figlut.Mobile.Web.DataBox.Models.LoginModel
@{
ViewBag.Title = "Your Account";
}
@section Header {
@Html.ActionLink("Back", "Index", "Home", null, new { data_icon = "arrow-l", data_rel = "back" })
<h1>@ViewBag.Title</h1>
}
<p>
Logged in as <strong>@User.Identity.Name</strong>.
</p>
<ul data-... |
//
// Copyright (C) 2013 EllieWare
//
// All rights reserved
//
// www.EllieWare.com
//
using System;
using System.Collections.Generic;
using EllieWare.Common;
using EllieWare.Interfaces;
namespace EllieWare.SpaceClaim
{
public class FaceAreaSelectFactory : FactoryBase
{
public override string Title
{
... |
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("06.... |
using Prism.Mvvm;
using System.Diagnostics.SymbolStore;
namespace Library.ViewModels
{
public class MainWindowViewModel : BindableBase
{
private string _title = "Prism Application";
public string Title
{
get { return _title; }
set { SetProperty(ref _title, value... |
namespace CustomizacaoMoradias.Forms
{
partial class RoomConfigControl
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recursos que estão sendo usados.... |
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("Ci... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SProCoP
{
class SProCoPUtil
{
}
static class Constants
{
public const string TRUE_STRING = "1"; // Not L10N
public const string FALSE_STRING = "0"; // Not L10N
... |
//------------------------------------------------------------------------------
// <auto-generated>
// Este código fue generado por una herramienta.
// Versión de runtime:4.0.30319.42000
//
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
// se vuelve a gener... |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using GtfsNet.Entities;
using GtfsNet.Entities.Maps;
using GtfsNet.Parsers;
using Xunit;
using Xunit.Abstractions;
namespace GtfsNet.Test.Tests.Parsers
{
public class FareRulesParserTest : ParserTestBase
{
private readonly EntityParser<FareRule... |
// WARNING
//
// This file has been generated automatically by Visual Studio from the outlets and
// actions declared in your storyboard file.
// Manual changes to this file will not be maintained.
//
using Foundation;
using System;
using System.CodeDom.Compiler;
using UIKit;
namespace MyDriving.iOS
{
[Register ("... |
namespace DotNetInterview.Services.Data.Tests.InterviewsTests
{
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotNetInterview.Data;
using DotNetInterview.Data.Models;
using DotNetInterview.Data.Repositories;
using DotNetInterview.Web.ViewMod... |
using UnityEngine;
using System.Collections;
using UnityEngine.Events;
namespace packt.FoodyGO.PhysicsExt
{
public class CollisionReaction : MonoBehaviour
{
public string collisionObjectName;
public CollisionEvent collisionEvent;
public Transform particlePrefab;
public... |
using System;
using System.Collections.Generic;
using Njsast;
using Xunit;
namespace Test;
public class StructListTest
{
[Fact]
public void ShouldRemoveItemFromListBasedOnObject()
{
var list = GetNewList(10);
var item = list[3];
Assert.Equal(10, (int)list.Count);
Assert.Equ... |
namespace WebServer.App.Controllers
{
using Models.Animals;
using Server.Controllers;
using Server.Http;
public class DogsController : Controller
{
[HttpGet]
public HttpResponse Create() => this.View();
[HttpPost]
public HttpResponse Create(DogFormModel model) => t... |
// *** 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... |
using UnityEngine;
public class DemoCircleExpositor : MonoBehaviour
{
[SerializeField] private float radius = 40f;
[SerializeField] private float rotateSpeed = 10f;
private Transform[] items;
private int count = 0;
private int currentTarget = 0;
private float offsetRotation, iniY;
private ... |
namespace MooVC.Architecture.Cqrs.Services.PaginatedResultTests
{
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using MooVC.Linq;
[Serializable]
internal sealed class SerializablePaginatedResult<T>
: PaginatedResult<T>
{
public Serializa... |
namespace CodeZeroTemplate.Data.Persistence.MariaDb
{
public class MariaDbConfig
{
public string? ConnectionStrings { get; set; }
public bool SensitiveDataLogging { get; set; } = false;
public bool EnableDetailedErrors { get; set; } = false;
}
} |
using System.Collections.Concurrent;
using System.Configuration;
using System.Linq;
using BDDish.Model;
using NHibernate;
using NUnit.Framework;
using TrueOrFalse;
using TrueOrFalse.Tests;
class User_entity_cache_tests : BaseTest
{
[Test]
public void Should_return_correct_categories()
{
var user =... |
using System.Collections.Generic;
namespace Core.Interfaces
{
public interface IAssembler
{
IOperation GenerateOperation(string Assembly);
IMemoryBank GenerateOperationBank(string Assembly);
IEnumerable<IOperation> GenerateOperations(IEnumerable<string> Assembly);
IMemoryBank G... |
/* Copyright (c) 2011 Rick (rick 'at' gibbed 'dot' us)
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,... |
/**
* Copyright 2017-2021 Plexus Interop Deutsche Bank AG
* SPDX-License-Identifier: Apache-2.0
*
* 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/... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UITabButton : MonoBehaviour
{
private InventoryUI UI;
private void Start()
{
UI = GetComponentInParent<InventoryUI>();
}
public void InventoryButtonClicked()
{
UI.InventoryButtonPress... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DXInfo.Models
{
public class VouchTypeCode
{
/// <summary>
/// 采购入库单
/// </summary>
public const string PurchaseInStock = "001";
/// <summary>
/// 销售出库单
/// <... |
using System;
using Csla;
using ProjectsVendors.DataAccess;
namespace ProjectsVendors.Business
{
/// <summary>
/// VendorItem (editable child object).<br/>
/// This is a generated <see cref="VendorItem"/> business object.
/// </summary>
/// <remarks>
/// This class is an item of <see cref="Ven... |
using UnityEngine;
using Unity.MLAgents;
using Unity.MLAgents.Sensors;
public class ReacherAgent : Agent
{
public GameObject pendulumA;
public GameObject pendulumB;
public GameObject hand;
public GameObject goal;
public GameObject sphere;
public int activeTarget;
public int timeTargetTouche... |
/*******************************************************************************
* Copyright 2012-2019 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... |
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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 la... |
using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace FontList.Screens.iPhone.FontViewer
{
public partial class FontViewerScreen_iPhone : UIViewController
{
UIFont displayFont;
#region Constructors
// The IntPtr and initWithCoder con... |
namespace MoreDotNet.Test.Extensions.Collections.EnumerableExtensions
{
using System;
using System.Collections.Generic;
using MoreDotNet.Extensions.Collections;
using Xunit;
public class ForEachTests
{
[Fact]
public void ForEach_NonEmptyEnumerableGiven_ShouldCallMapFunction()... |
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using io.nem1.sdk.Infrastructure.Imported.Api;
using io.nem1.sdk.Infrastructure.Mapping;
using io.nem1.sdk.Model.Network;
using Newtonsoft.Json.Linq;
namespace io.nem1.sdk.Infrastructure.HttpRepositories
{
/// <summary>
/// Node Http ... |
using System.Collections.Generic;
using System.IO.Abstractions.TestingHelpers;
using System.Linq;
using System.Xml.Linq;
using NUnit.Framework;
namespace VsProjectConverter.Tests
{
[TestFixture]
public class RemoveUnusedCode
{
private static readonly XNamespace MsBuild = XNamespace.Get("http://sch... |
using System.Collections.Generic;
using Tewl.Tools;
namespace EnterpriseWebLibrary.EnterpriseWebFramework {
/// <summary>
/// A flow component that prevents its children from affecting the ID of any other component.
/// </summary>
public class FlowIdContainer: FlowComponent {
private readonly FlowComponentOrNod... |
using System;
using System.Collections.Generic;
using System.Linq;
using Dock.Model.Controls;
using Dock.Model.Core;
namespace Dock.Model.Adapters;
internal static class EnumerableExtensions
{
public static IEnumerable<T> Flatten<T>(this IEnumerable<T> e, Func<T, IEnumerable<T>?> f)
{
var enumerable ... |
// 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.Diagnostics;
namespace System.Net.Http.Headers
{
internal class MediaTypeHeaderParser : BaseHeader... |
using System;
[Serializable]
public class RookiesGoods_SuitBase : RookiesGoods_Composite,DurabilityByCount
{
public int WearerID { get; private set; }
public int Durability { get; set ; }
public RookiesGoods_SuitBase(int id, string name, string type, string intro, string effect, int maxNum) : base(id, nam... |
using System;
using TcOpen.Inxton.Data;
using TcOpen.Inxton.Data.MongoDb;
namespace TcoDataUnitTests
{
/**
* I'm using shared project bcs of these reasons
* - Avoid duplication of `DataTestObject`
* - When you reference the assembly with `RepositoryBaseTests` and inherit it in this project, unit... |
using MasteringEFCore.Transactions.Starter.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MasteringEFCore.Transactions.Starter.Core.Queries.Posts
{
public interface IGetPostByTitleQuery<T> :
IQueryHandler<IEnumerable<Post>>, IQueryHandle... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsFormsApp2
{
class fastLink
{
public string linkName { get; set; }
public string linkURL { get; set; }
}
} |
using System;
namespace GameSpec.Formats.Unknown
{
public interface IUnknownTexture
{
[Flags]
public enum Map
{
Diffuse = 1 << 0,
Bumpmap = 1 << 1,
Specular = 1 << 2,
Environment = 1 << 3,
Decal = 1 << 4,
SubSurfac... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using osu.Desktop.Overlays;
using osu.Framework.Platform;
using o... |
namespace mCore.Services.Identity.API.Services
{
using System.Threading.Tasks;
public interface IEmailSender
{
Task SendEmailAsync(string email, string subject, string message);
}
} |
using System;
using System.Collections.Generic;
using Eon.Collections.Trees;
namespace Eon.Metadata.Tree {
/// <summary>
/// Определяет компонент структуры дерева метаданных <seealso cref="IMetadataTree"/>.
/// </summary>
public interface IMetadataTreeStructureComponent
:IDisposable, IReadOnlyScope {
/// <... |
using System.IO;
namespace PunchIn.ViewModels
{
public class ShortcutMenuItemViewModel : MenuItemViewModel
{
public ShortcutMenuItemViewModel()
: base()
{
}
/// <summary>
/// FileInfo describing the file to open
/// </summary>
public FileInfo... |
// 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.Diagnostics;
using System.Collections.Generic;
using System.Text;
using System.Xaml;
usi... |
using System.Windows;
namespace Nostrum.WPF.Extensions
{
public static class WindowExtensions
{
/// <summary>
/// Tries to call <see cref="Window.DragMove"/>. Errors are ignored.
/// </summary>
public static void TryDragMove(this Window w)
{
try { w.DragMove... |
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("Cri... |
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("Fli... |
// Copyright (c) 1997-2014, SalesLogix NA, LLC. All rights reserved.
using System.Xml.Serialization;
namespace Saleslogix.SData.Client.Framework
{
/// <summary>
/// Defines the list of supported media types.
/// </summary>
public enum MediaType
{
/// <summary>
/// Text
///... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using System;
using GraphQLParser.Exceptions;
using Shouldly;
using Xunit;
namespace GraphQLParser.Tests.Validation
{
public class ParserValidationTests
{
[Fact]
public void Parse_FragmentInvalidOnName_ThrowsExceptionWithCorrectMessage()
{
var exception = Should.Throw<GraphQ... |
using MadXchange.Common.Infrastructure;
using MadXchange.Exchange.Domain.Cache;
using MadXchange.Exchange.Domain.Models;
using MadXchange.Exchange.Infrastructure.Stores;
using ServiceStack.Redis;
using System;
using System.Threading.Tasks;
namespace MadXchange.Exchange.Infrastructure.Cache
{
public interface IPos... |
using System.Resources;
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.
[ass... |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2020 Ingo Herbote
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* dis... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Xml.Xsl;
namespace WebServiceExample1
{
/// <summary>
/// Summary description for WebServiceCalculator
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebSer... |
using System;
class ExactProductOfRealNumbers
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
decimal result = 1m;
for (int i = 0; i < n; i++)
{
result *= decimal.Parse(Console.ReadLine());
}
Console.WriteLine(result);
}
} |
using BooksLib.Events;
using BooksLib.Models;
using BooksLib.Services;
using Prism.Commands;
using Prism.Events;
using Prism.Mvvm;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows.Input;
namespace BooksLib.ViewModels
{
public class BooksListViewModel : BindableBase
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CsQuery.Promises
{
/// <summary>
/// Interface for a promise that accepts a strongly-typed parameter.
/// </summary>
///
/// <typeparam name="T">
/// The type of data accepted by the resolution para... |
// <copyright file="ReportingCommandExecutor.cs" company="TestProject">
// Copyright 2020 TestProject (https://testproject.io)
//
// 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
//
// h... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cofoundry.Core.Web
{
/// <summary>
/// A Url resolver that relies on a configuration setting to construstr a url.
/// </summary>
public class ConfigBasedSiteUrlResolver : SiteU... |
using seatarranger.com.Core.Tests.Fixtures;
using Xunit;
namespace seatarranger.com.Core.Tests.Repositories.TableRepository
{
public class TableRepositoryTest : IClassFixture<ServiceFixtures>
{
private readonly ServiceFixtures services;
public TableRepositoryTest(ServiceFixtures services)
... |
// Copyright 2017 (c) [Denis Da Silva]. All rights reserved.
// See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Prolix.Domain;
namespace Marketplace.Domain.Models.Security
{
/// <summary>
/// Audit Log
/// </summary>
public class Audi... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.PowerPlatform.Formulas.Tools.MergeTool.Deltas;
using Microsoft.PowerPlatform.Formulas.Tools.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Microsoft.PowerPlatform.Formul... |
using System;
using System.ComponentModel;
using EfsTools.Attributes;
using EfsTools.Utils;
using Newtonsoft.Json;
namespace EfsTools.Items.Data
{
[Serializable]
public class GsmTxLinearTxGainParamDataType
{
[ElementsCount(1)]
[ElementType("uint16")]
[Description("")]
public... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AM.IO;
namespace UnitTests.AM.IO
{
[TestClass]
public class CompressionUtilityTest
{
private void _TestCompression
(
byte[] first
)
{
byte[] zipped = CompressionUtil... |
namespace BoardgameSimulator.SQLiteDB
{
using Repositories;
public class BoardgameSimulatorSqLiteData : IBoardgameSimulatorSqLiteData
{
private readonly IBoardgameSimulatorSqLiteDbContext context;
public BoardgameSimulatorSqLiteData(IBoardgameSimulatorSqLiteDbContext context)
{
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using DefensiveProgrammingFramework;
using TorrentClient.Exceptions;
using TorrentClient.Extensions;
using TorrentClient.PeerWireProtocol.Messages;
namespace Torren... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Content.Server.GameObjects.Components.Access;
using Content.Server.GameObjects.EntitySystems;
using Content.Server.Interfaces;
using Content.Server.Interfaces.PDA;
using Content.Shared.GameObjects;
using Content.Shared.Ga... |
using System;
using EventStore.Core.Data;
using EventStore.Core.Services.Storage.ReaderIndex;
using EventStore.Core.TransactionLog.LogRecords;
using NUnit.Framework;
using ReadStreamResult = EventStore.Core.Services.Storage.ReaderIndex.ReadStreamResult;
namespace EventStore.Core.Tests.Services.Storage.BuildingIndex {
... |
/*
* 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... |
// Statistics Workbench
// http://accord-framework.net
//
// The MIT License (MIT)
// Copyright © 2014-2015, César Souza
//
namespace Workbench.Views
{
/// <summary>
/// Displays graphs for functions associated with
/// a probability distribution: PDF, CDF, HF, etc.
/// </summary>
///
pu... |
#define MultiThreadSupport
using System;
using System.Collections.Generic;
using SharpDX;
using SharpDX.DXGI;
using SharpDX.Direct3D11;
using Device = SharpDX.Direct3D11.Device;
using Buffer = SharpDX.Direct3D11.Buffer;
using System.Threading.Tasks;
using CopperCowEngine.AssetsManagement;
using CopperCowEngine.Assets... |
// <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... |
namespace PaketLoadScripts
#load "/home/justin/code/fsharp/GiraffeWebApp/GiraffeWebApp/.paket/load/net461/System.Xml.ReaderWriter.csx"
#r "/home/justin/.nuget/packages/system.xml.xmldocument/4.3.0/lib/net46/System.Xml.XmlDocument.dll" |
// dnlib: See LICENSE.txt for more info
namespace dnlib.NetCore.DotNet
{
/// <summary>
/// Public key / public key token base class
/// </summary>
public abstract class PublicKeyBase
{
/// <summary>
/// The key data
/// </summary>
protected byte[] data;
/// ... |
namespace Quick_Sell_Towers
{
internal class SessionData
{
internal static bool sellKeyHeld;
}
} |
namespace ImpossibleOdds.Photon.WebRpc
{
using ImpossibleOdds.Weblink;
/// <summary>
/// Dummy interface for defining a WebRPC response.
/// </summary>
public interface IWebRpcResponse : IWeblinkResponse
{
/// <summary>
/// State whether the request was completed successfully on the server.
/// </summary>... |
using System.Collections.Generic;
#pragma warning disable CS1591 // Fehledes XML-Kommentar für öffentlich sichtbaren Typ oder Element
namespace CenterDevice.Rest.Clients.Documents.Metadata
{
public class DocumentFolderMetadata : IDocumentFolderMetadata
{
public List<string> Folders { get; set; }
}... |
// 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 System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PcapDotNet.Packets.Ethernet;
using PcapDotNet.Packets.IpV4;
using PcapDotNet.Packets.TestUtils;
using PcapDotNet.Packets.Transport;
namespace PcapDotNet.Packets.Test
{
/// <summary>
/// Summary description for UdpTests
/// </summary>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.