text stringlengths 1 932k |
|---|
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
namespace ExportImportPromotion.StoreMarketingWebService
{
[GeneratedCode("System.Web.Services", "4.0.30319.1"), DesignerCategory("code"), DebuggerStepThrough]
public class GetAllCampaignEventTypesCompletedEventArgs : ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EventManager.API.Data;
using EventManager.API.Domain.Entities;
using EventManager.API.Helpers;
using EventManager.API.Models;
using EventManager.API.ResourceParameters;
using Microsoft.EntityFrameworkCore;
namespac... |
// Copyright 2016, 2017, 2018, 2019, 2020 TRUMPF Werkzeugmaschinen GmbH + Co. KG.
//
// 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
/... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Security.Cryptography;
using System.IO;
using System.Drawing.Drawing2D;
using MySql;
using M... |
using System;
using System.ComponentModel;
using System.Globalization;
using System.Resources;
using System.Threading;
using System.Windows.Forms;
using XtreamToolbox.Utils;
namespace XtreamToolbox.Sensors
{
public partial class SensorTimeIcalManager : UserControl, ISensor
{
// reference on parent and... |
using System;
using System.Collections.Generic;
using EightPuzzleSolver.EightPuzzle;
using Xunit;
namespace EightPuzzleSolver.Tests.EightPuzzle
{
public class BoardTests
{
[Fact]
public void EqualsTest()
{
var board1 = CreateBoard(new byte[,]
{
{... |
// Copyright 2018 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using Nuke.Common.Execution;
namespace Nuke.Common.Tooling
{
/// <summary>
/// Inje... |
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Grpc.Core;
using Microsoft.Extensions.Logging;
using Robot.Devices;
using RobotControllerContract;
using RobotServer.Services;
namespace RobotServer.ServiceItems
{
public interface ITrackerServiceItem
{
Task TrackerStream(IServer... |
using System;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
public partial class 说明文档 : Form
{
private const string Filename = "E:\\vs代码\\WindowsFormsApp1\\bin\\Debug.png";
public 说明文档()
{
InitializeComponent();
}
private void Label1_Click(ob... |
// <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.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.... |
/*
* Influx OSS API Service
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 2.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Linq;
using System.IO;
using System.... |
using System.Collections.Concurrent;
using System.Linq;
namespace SmartHomeApi.ItemUtils
{
public class AverageValuesHelper
{
private readonly int _historyCount;
private readonly ConcurrentQueue<double> _values = new ConcurrentQueue<double>();
public AverageValuesHelper(int historyCo... |
// 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.Generic;
using Xunit;
namespace System.ComponentModel.DataAnnotations.Tests
{
public ... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace WebApplication1.Models
{
public class ContactContext : DbContext
{
// You can add custom code to this file. Changes will not be overwritten.
//
// If you want Entit... |
using b2xtranslator.StructuredStorage.Reader;
namespace b2xtranslator.Spreadsheet.XlsFileFormat.Records
{
/// <summary>
/// This record specifies image data for a sheet background.
/// </summary>
[BiffRecord(RecordType.BkHim)]
public class BkHim : BiffRecord
{
public enum ImageFormat
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Drawing.Drawing2D;
using System.Windows.Forms.RibbonHelpers;
namespace System.Windows.Forms
{
/// <summary>
/// This class is used to make a form able to contain a ribbon ... |
// uses dominance to allocate psn and subtract transpiration from soil water, average cohort vars over layer
using Landis.Core;
using Landis.SpatialModeling;
using Landis.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Landis.Library.PnETCohorts
{
public class Cohort : Land... |
using Microsoft.Maui.Controls;
using Microsoft.Maui.Controls.Xaml;
using Tizen.Theme.Common;
namespace Sample.Focus
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class FocusFrameTest : ContentPage
{
public FocusFrameTest()
{
InitializeComponent();
... |
using NHM.Common.Enums;
namespace NiceHashMiner.Configs
{
public class IdleMiningSettings
{
public static IdleMiningSettings Instance { get; } = new IdleMiningSettings();
private IdleMiningSettings()
{}
public bool StartMiningWhenIdle { get; set; } = false;
public Id... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MHW_Net
{
public class SetInfo
{
public int id;
public string name;
public ArmorRank rank;
public int[] pieces;
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _5.Switch_0to9
{
class Program
{
static void Main(string[] args)
{
Console.Write("Insert integer variable : ");
string input1 = Console.ReadLine... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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;... |
namespace Infinity.Models
{
/// <summary>
/// The capabilities and settings for a Team Project.
/// </summary>
public class ProjectCapabilities
{
/// <summary>
/// The version control settings for a Team Project.
/// </summary>
public VersionControlCapabilities Versi... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.Azure.Devices.Applications.RemoteMonitoring.Common.Extensions;
using Microsoft.Azure.Devices.Applications.RemoteMonitoring.Common.Models;
using Microsoft.Azure.Devices.Applications.RemoteMonitoring.Common.Model... |
// 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.
extern alias PDB;
using System;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using Syste... |
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Unitysweeper.UI
{
public class UINewGameButton : MonoBehaviour
{
#region UI Events
public void OnNewGameButtonSelected()
{
SceneManager.LoadScene(0);
}
#endregion UI Events
}
} |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using Sales.Common.Models;
using Sale... |
#region MigraDoc - Creating Documents on the Fly
//
// Authors:
// Stefan Lange (mailto:Stefan.Lange@PdfSharpCore.com)
// Klaus Potzesny (mailto:Klaus.Potzesny@PdfSharpCore.com)
// David Stephensen (mailto:David.Stephensen@PdfSharpCore.com)
//
// Copyright (c) 2001-2009 empira Software GmbH, Cologne (Germany)
//... |
namespace Paspan.Fluent;
public abstract partial class Parser<T>
{
public T? Parse(string text, ParseContext? context = null)
{
var reader = new SpanReader(text);
return Parse(ref reader, context);
}
public T? Parse(byte[] text, ParseContext? context = null)
{
var reader ... |
//------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:4.0.30319.42000
//
// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
// コードが再生成されるときに損失したりします。
// </auto-generated>
//---------------------------------------------------------... |
using AutoMapper;
using BaoMen.Common.Model;
using BaoMen.MultiMerchant.Web.Util;
using BaoMen.MultiMerchant.System.BusinessLogic;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using Entity = BaoMen.MultiMerchant.System.Entity;
using Model = BaoMen.MultiMerchant.Web.System.Models;
na... |
using Conflux.RPC.Infrastructure;
using System;
using System.Collections.Generic;
using System.Text;
namespace Conflux.RPC.Shh.SymKey
{
public interface IShhNewSymKey : IGenericRpcRequestResponseHandlerNoParam<string>
{
}
} |
using System.Collections.Concurrent;
using ES.Core.Commands;
using ES.Core.ConfigSettings;
using ES.Core.Events;
using ES.Core.Services.Abstractions;
using Microsoft.Extensions.Options;
using ES.Core.Extensions;
namespace ES.Core.Services;
public sealed class CommandHandler : ICommandHandler
{
private readonly IE... |
// ==============================================================================================================
// Microsoft patterns & practices
// CQRS Journey project
// ==============================================================================================================
// ©2012 Microsoft. All rights re... |
namespace ProviderPayments.TestStack.Core.Workflow.Summarisation.Tasks
{
internal class PeriodEndScriptsTask : RunTransientSqlScriptsTask
{
private static readonly ComponentType[] ComponentTypes = { ComponentType.PeriodEndScripts };
private static readonly string ScriptsRegex = @"^([0-9]{2})\s.... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.39
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Media.Playback
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class MediaPlaybackSessionOutputDegradationPolicyState
{
#if __A... |
using System.Drawing;
using H.NotifyIcon.Core;
using var iconStream = H.Resources.Red_ico.AsStream();
using var icon = new Icon(iconStream);
using var trayIcon = new TrayIcon
{
Icon = icon.Handle,
ToolTip = "ToolTip",
};
trayIcon.Create();
Console.WriteLine("TrayIcon created.");
Console.WriteLine("Available ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace R5T.Philippi.Testing
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
}
}
} |
using System;
namespace december18problem05christmashat
{
class MainClass
{
public static void Main(string[] args)
{
int inputNumber = int.Parse(Console.ReadLine());
//balabon
int baloonNumOfDots = inputNumber * 2 - 1;
Console.WriteLine("{0}/|\\... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Proxy
{
public class ProxyImage : Image
{
public String filename { get; set; }
public RealImage image { get; set; }
public ProxyImage(String filename)
{
this.filename = filename;
}... |
using System;
namespace Http2
{
/// <summary>
/// Settings that are defined in the HTTP/2 specification
/// </summary>
public enum SettingId : ushort
{
HeaderTableSize = 0x1,
EnablePush = 0x2,
MaxConcurrentStreams = 0x3,
InitialWindowSize = 0x4,
MaxFrameSize ... |
namespace AjErl.Expressions
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public interface IExpression
{
object Evaluate(Context context, bool withvars = false);
bool HasVariable();
}
} |
using System.Collections.Generic;
using System.Linq;
using CSharpToTypeScript.Core.Models.TypeNodes;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace CSharpToTypeScript.Core.Services.TypeConversionHandlers
{
internal abstract class BasicTypeConverterBase<T> : TypeConversionHandler where T : TypeNode, new()
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace Books.API.Entities
{
[Table("Books")]
public class Book
{
[Key]
public string Id { get... |
//===================================================================================
// Microsoft patterns & practices
// Composite Application Guidance for Windows Presentation Foundation and Silverlight
//===================================================================================
// Copyright (c) Microsoft C... |
using Assets.Scripts.Tools.NGUI.Component;
using LuaInterface;
using System;
using UnityEngine;
public class Assets_Scripts_Tools_NGUI_Component_UITweenIntNumberLabelWrap
{
public static void Register(LuaState L)
{
L.BeginClass(typeof(UITweenIntNumberLabel), typeof(UITweener), null);
L.RegFunction("PlayFromCurrT... |
using System;
using GeneticSharp.Domain.Chromosomes;
using GeneticSharp.Extensions.Sudoku;
using NUnit.Framework;
namespace GeneticSharp.Extensions.UnitTests.Sudoku
{
[TestFixture]
[Category("Extensions")]
public class SudokuRandomPermutationsChromosomeTest
{
[Test]
public void Constru... |
namespace KaiHeiLa;
/// <summary>
/// Specifies the type of a guild channel.
/// </summary>
public enum ChannelType
{
/// <summary>
/// Specifies that the type of the channel is unknown.
/// </summary>
Unspecified = -1,
/// <summary>
/// Specifies that the channel is a guild c... |
// *****************************************************************************
// 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... |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace ES2.Amplitude.Unity.Simulation
{
/// <remarks/>
[GeneratedCode("xsd", "2.0.50727.3038")]
[Serializable]
[DebuggerStepThrough]
[DesignerCategory("c... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace OpenShiftScheduler.Models.AccountViewModels
{
public class LoginViewModel
{
[Required]
[DataType(DataType.Text)]
public string UserNam... |
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("Dev... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Dapper;
namespace Faithlife.Util... |
// *** 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... |
namespace XXXService
{
using Consul;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Collections.Concurrent;
using Microsoft.Extensions.Logging;
public class FindService : IFindService
{
private readonly ILogger... |
using AutoMapper;
using BaseModels;
using GW2API.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GW2API.Profiles
{
public class CommandLogProfile : Profile
{
public CommandLogProfile()
{
CreateMap<CommandLog, CommandL... |
using ProtoBuf;
namespace BinanceChain.NET.Api.Domain.TransactionMessages.Proto
{
internal class NewOrderProto : ProtoMessage
{
[ProtoMember(1)]
public string Sender { get; set; }
[ProtoMember(2)]
public string Id { get; set; }
[ProtoMember(3)]
public string ... |
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\d3dkmddi.h(2448,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct _DXGK_SEGMENTFLAGS__union_0
{
[MarshalAs(UnmanagedType.ByValArray, SizeConst ... |
// <auto-generated />
using System;
using WebAppMvcCore21.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using ClaLib... |
using System;
using System.Collections.Generic;
namespace AdventureWorksCosmos.Products.Models
{
public partial class CreditCard
{
public CreditCard()
{
PersonCreditCard = new HashSet<PersonCreditCard>();
SalesOrderHeader = new HashSet<SalesOrderHeader>();
}
... |
namespace WebChemistry.Framework.Utils
{
using System;
using System.Linq;
using System.Collections.ObjectModel;
using System.Collections.Generic;
public class OrderedObservableCollection<T> : ObservableCollection<T>
{
IComparer<T> comparer;
protected override void SetItem(int... |
using AzureDeveloperTemplates.Starter.Infrastructure.Configuration.Interfaces;
using Microsoft.Extensions.Options;
namespace AzureDeveloperTemplates.Starter.Infrastructure.Configuration
{
public class ApplicationInsightsServiceConfiguration : IApplicationInsightsServiceConfiguration
{
public string In... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using Sy... |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Extensions;
using osu.Framework.Extensions.IEnumerableExtensions;
using... |
using Newtonsoft.Json;
using SeguraChain_Lib.Blockchain.Database;
using SeguraChain_Lib.Blockchain.MemPool.Database;
using SeguraChain_Lib.Blockchain.Transaction.Enum;
using SeguraChain_Lib.Blockchain.Transaction.Utility;
using SeguraChain_Lib.Instance.Node.Network.Enum.P2P.Packet;
using SeguraChain_Lib.Instance.Node.... |
/*
* Pollination Server
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.5.28
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using NUnit.Framework;
using System;
using System... |
// <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... |
// ***********************************************************************
// Copyright (c) 2015 Charlie Poole, Rob Prouse
//
// 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 restri... |
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\dxvahd.h(1110,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct _DXVAHDETW_VIDEOPROCESSBLTHD_STREAM
{
public ulong pObject;
public ulong pI... |
using FCSAlterraIndustrialSolutions.Configuration;
using System;
using Utilites.Logger;
using Logger = Utilites.Logger.Logger;
using LogType = Utilites.Logger.LogType;
namespace FCSAlterraIndustrialSolutions.Logging
{
public enum Status
{
/// <summary>
/// Loading has started
/// </sum... |
namespace ClassLib069
{
public class Class079
{
public static string Property => "ClassLib069";
}
} |
/*******************************************************************************
* Copyright 2008-2012 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 i... |
using System.Collections.Generic;
namespace Zergatul.Obs.InputOverlay.Keyboard
{
public static class KeyboardMapping
{
public static readonly Dictionary<int, KeyboardButton> Dictionary = new Dictionary<int, KeyboardButton>
{
[0x1E] = KeyboardButton.KeyA,
[0x30] = Keyboar... |
using System;
using System.ComponentModel;
using System.ComponentModel.Design.Serialization;
using System.Globalization;
using System.Reflection;
using System.Runtime.InteropServices;
namespace DCSoft.Drawing
{
/// <summary>
/// 图片数据类型转换器,设计器内部使用
/// </summary>
[ComVisible(false)]
public class XImageV... |
using Renci.SshNet.NetConf;
namespace Renci.SshNet
{
public partial class ServiceFactory
{
/// <summary>
/// Creates a new <see cref="INetConfSession"/> in a given <see cref="ISession"/>
/// and with the specified operation timeout.
/// </summary>
/// <param name="sessi... |
// *** 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 System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using UnstableSort.Crudless.Exceptions;
namespace UnstableSort.Crudless.Configuration
{
public abstract class UniversalRequestProfile<TRequest>
: RequestProfile... |
using System.IO;
using System.Text;
using Xunit;
namespace Sling.Tests
{
public class StreamExtensionsTests
{
private const string StreamTestData = "Sling is an awesome tool!";
[Fact]
public void ShouldCopyStreamSuccesful()
{
var sourceBytes = Encoding.Unicode.GetB... |
using System;
using System.Reflection;
using AGO.Core.Application;
using AGO.Core.Config;
using AGO.Core.Modules.Attributes;
namespace AGO.Core.Modules
{
public class AttributedWebServiceDescriptor<TInterface, TService> : IWebServiceDescriptor
where TInterface : class
where TService : class, TInterface, IKeyVal... |
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
namespace RequestReduce.Reducer
{
public class SpriteWriter : IDisposable
{
public Bitmap SpriteImage { get; private set; }
private readonly Graphics drawingSurface = null;
public Spr... |
// ———————————————————————–
// <copyright file="FederationProcessing.cs" company="The MITRE Corporation">
// Copyright (c) 2010 The MITRE Corporation. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace SwatchBuckler.Demo
{
public partial class PaletteFromImage : Form
{
public PaletteFromImage()
{
... |
using System.Threading.Tasks;
using gatling.Models.TokenAuth;
using gatling.Web.Controllers;
using Shouldly;
using Xunit;
namespace gatling.Web.Tests.Controllers
{
public class HomeController_Tests: gatlingWebTestBase
{
[Fact]
public async Task Index_Test()
{
await Authenti... |
namespace Infestation
{
public class Tank : Unit
{
public Tank(string id)
: base(id, UnitClassification.Mechanical, 20, 25, 25)
{
}
}
} |
using Discord.Audio;
using Discord.Rest;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using ChannelModel = Discord.AP... |
using System;
namespace Upp.Net.Trace
{
public interface ITrace
{
void Info(string message);
void Info(string message, params object[] arguments);
void Error(string message);
void Error(string message, params object[] arguments);
void Exception(Exception exception);
... |
using UnityEngine;
using System.Collections;
using UITween;
public class ReferencedFrom : MonoBehaviour { } |
using GR.Core;
using GR.Core.Attributes;
using GR.Core.BaseControllers;
using GR.Core.Extensions;
using GR.Core.Helpers;
using GR.Entities.Data;
using GR.Identity.Abstractions;
using GR.Identity.Abstractions.Enums;
using GR.Identity.Abstractions.Events;
using GR.Identity.Abstractions.Events.EventArgs.Users;
using GR.Id... |
using BepInEx;
using HarmonyLib;
using System.Reflection;
using UnityEngine;
namespace SlashOpensChat
{
[BepInPlugin("com.celeo.valheim.slashopenschat", "Slash Opens Chat", "1.0.0.0")]
public class SlashOpensChatPlugin : BaseUnityPlugin
{
private static Harmony harmonyInstance;
private sta... |
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("Li... |
using EasyAbp.Abp.RelatedDtoLoader.TestBase.Domain.IntegerKey;
using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
namespace EasyAbp.Abp.RelatedDtoLoader.IntegratedTests.IntegerKey
{
public class MyIntegerDbContext : AbpDbContext<MyIntegerDbContext>, IEfCoreDbContext
{
public MyIn... |
using System;
using System.Data.Entity;
using System.Threading.Tasks;
using WebBackgrounder;
namespace NuGetGallery.Jobs
{
public class WorkItemCleanupJob : Job
{
private Func<DbContext> _contextThunk;
public WorkItemCleanupJob(TimeSpan interval, Func<DbContext> contextThunk, TimeSpan timeout... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MailSender
{
class lvData
{
public String hosName { get; set; }
public String sendAlready { get; set; }
public String sendable { get; set; }
public Stri... |
using LNF.Data;
using LNF.Impl.DataAccess;
using LNF.Impl.Repository;
using LNF.Impl.Repository.Data;
using System;
using System.Collections.Generic;
using System.Linq;
namespace LNF.Impl.Data
{
public class ServiceLogRepository : RepositoryBase, IServiceLogRepository
{
public ServiceLogRepository(ISe... |
// 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 Microsoft.CodeAnalysis;
using ProprietaryTestResources = Microsoft.CodeAnalysis.Test.Resources.Proprietary;
public static class TestReferences
{
p... |
using System;
namespace backtotechtesting.consoleapp
{
class Program
{
static void Main(string[] args)
{
var storageCS = "DefaultEndpointsProtocol=https;AccountName=b2t1spring1github1sec;AccountKey=IogLK7AVx68/dzeNLvy3XjnbH8Dwgxa/ZmncbGzri4Mqzeo5Yndls90aKjbhLcgVJwh+7c9GKauDqB72/pbt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.