text stringlengths 1 932k |
|---|
//
// Encog(tm) Core v3.1 - .Net Version
// http://www.heatonresearch.com/encog/
//
// Copyright 2008-2012 Heaton Research, 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
//
// htt... |
using Microsoft.VisualBasic;
using System;
using System.Security.Principal;
using System.Windows.Forms;
namespace PolicyPlus
{
public partial class OpenUserGpo
{
public OpenUserGpo()
{
InitializeComponent();
}
public string SelectedSid;
private void Search... |
// The MIT License (MIT)
//
// Copyright (c) 2015-2017 Rasmus Mikkelsen
// Copyright (c) 2015-2017 eBay Software Foundation
// https://github.com/eventflow/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softwar... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MessageBoxModel.cs" company="SRON">
// Copyright (c) 2017 SRON
// </copyright>
// -----------------------------------------------------------------------------------------------... |
namespace Nature.Common
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
public static class Extensions
{
[DebuggerNonUserCode]
public static Dictionary<string, T>
ToLookupBySpeciesCode<T>(this IEnumerable<T> self) w... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc.Rendering;
using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;
namespace Nop.Plugin.Tax.Avalara.Models.Settings
{
/// <summary>
/// Represents a tax origin address type model
/// </summary>
public class TaxOriginAdd... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Wanderer.Actions;
using Wanderer.Actors;
using Wanderer.Behaviours;
using Wanderer.Factories.Blueprints;
using Wanderer.Stats;
using Wanderer.Systems;
namespace Wanderer.Factories
{
public abstract class HasStatsFac... |
using System;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Imaging;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
namespace PropertiesToolWindow
{
/// <summary>
/// This class implements the tool window exposed by this package and hosts a user control.
... |
//-------------------------------------------------------------------------------
// <copyright file="IStateMachineReport.cs" company="Appccelerate">
// Copyright (c) 2008-2017 Appccelerate
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with... |
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Simp... |
//#define USE_OBJECTS
namespace XamlTestApp
{
using SimpleUwpTwoWayComms;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using Windows.UI;
using Windows.UI.Xaml.Controls;
#if USE_OBJECTS
public class ColourMessage : MessageBase
{
p... |
using UnityEngine;
[ExecuteInEditMode]
public class CustomImageEffect : MonoBehaviour
{
public Material EffectMaterial;
void OnRenderImage(RenderTexture src, RenderTexture dst)
{
if (EffectMaterial != null)
Graphics.Blit(src, dst, EffectMaterial);
}
} |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Emarketing.EntityFrameworkCore;
namespace Emarketing.Migrations
{
[DbContext(typeof(EmarketingDbContext))]
[... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class VoxelGridRenderer : MonoBehaviour
{
public Material Material;
[Range(1, 1024)]
public int _TextureSize = 512;
private int _OldTextureSize = 0;
public Camera _Camera;
public Refle... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码已从模板生成。
//
// 手动更改此文件可能导致应用程序出现意外的行为。
// 如果重新生成代码,将覆盖对此文件的手动更改。
// </auto-generated>
//------------------------------------------------------------------------------
namespace iVlog.Models
{
using... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ResverserController : MonoBehaviour
{
public float ResversedSpeed = 400;
private WheelJoint2D[] Wheel = null;
private JointMotor2D left;
private JointMotor2D right;
// Start is called before the first fram... |
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE.md file or at
* https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.452/blob/master/LICENSE
*
*/
#endregion
using ExtendedControls.ExtendedToolkit.Calendar.Controls;
using ExtendedCo... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
namespace Texxtoor.Portal.Core.Navigation {
[XmlRoot(ElementName = "urlset", Namespace = "http://www.sitemaps.org/schemas/sitemap/0.9")]
[Serializable]
public class Sitemap : List<SitemapUrl> {
... |
/*
* MindTouch Dream - a distributed REST framework
* Copyright (C) 2006-2011 MindTouch, Inc.
* www.mindtouch.com oss@mindtouch.com
*
* For community documentation and downloads visit wiki.developer.mindtouch.com;
* please review the licensing section.
*
* Licensed under the Apache License, Version 2.0 (the "... |
// <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 Homework.Sets.Operations
{
public class HamacherSNorm : IBinaryFunction
{
private readonly double _nu;
public HamacherSNorm(double nu) => _nu = nu;
public double ValueAt(double a, double b) => (a + b - (2 - _nu) * a * b) / (1 - (1 - _nu) * a * b);
}
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable enable
using System.Text.Json;
namespace Microsoft.AspNetCore.Components.Web
{
internal static class ProgressEventArgsReader
{
private static readonly Jso... |
using System;
namespace HotChocolate.Language
{
public interface IValueNode
: ISyntaxNode
, IEquatable<IValueNode>
{
object Value { get; }
}
public interface IValueNode<out T>
: IValueNode
{
new T Value { get; }
}
} |
//------------------------------------------------------------------------------
// <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>
//---... |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2018 Ingo Herbote
* http://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* dis... |
namespace SmartStore.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
using SmartStore.Core.Domain.Tasks;
using SmartStore.Data.Setup;
public partial class TransientMedia : DbMigration, IDataSeeder<SmartObjectContext>
{
public override void Up()
{
AddColumn("dbo... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Valley.Net.Bindings.Udp;
using Valley.Net.Protocols.MeterBus.EN13757_2;
using Valley.Net.Protocols... |
using System;
using System.Globalization;
namespace WebApi.Helpers.Exceptions
{
/// <summary>
/// Exception that should be thrown when there were too many failed attempts to change email address.
/// </summary>
/// <seealso cref="WebApi.Helpers.Exceptions.AppException" />
public class TooManyChange... |
using JetBrains.Application.Settings;
using JetBrains.Application.UI.Options;
using JetBrains.Application.UI.Options.OptionsDialog;
using JetBrains.DataFlow;
using JetBrains.IDE.UI.Extensions;
using JetBrains.IDE.UI.Options;
using JetBrains.Lifetimes;
using JetBrains.Rd.Base;
using JetBrains.Util;
namespace ReSharper... |
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using Kudu.Contracts.Jobs;
using Kudu.Contracts.Settings;
using Kudu.Core.Hooks;
using Kudu.Core.Infrastructure;
using Kudu.Core.Tracing;
namespace Kudu.Core.Jobs
{
public class TriggeredJobRunner : BaseJobRunner, IDisposable
{
... |
namespace WebApi.Models.Requests
{
public class UpdateAccountRequest
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string ImageUrl { get; set; }
public string Description { get; set; }
public string Email { get; set; }
public... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
/// <summary> Model factory for read-only models. </summa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Pirate.Ldap.Organigram.Svg
{
public abstract class Element
{
public abstract void Render(Context context);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fritz.ResourceManagement.Domain;
using Microsoft.Extensions.Logging;
using Xunit;
namespace Test.Scheduling.ScheduleManager.GivenSimpleRecurringSchedule
{
public class WhenExpandingSchedule
{
private readonly ILoggerFact... |
using CardGame.Common;
using CardGame.Common.StateMachines;
using CardGame.GameStates;
using CardGame.Systems;
namespace CardGame.Factories
{
public class GameFactory
{
public static Container Create()
{
var game = new Container();
// Add Systems
game.AddAs... |
using Slipe.MtaDefinitions;
using System;
using System.Collections.Generic;
using System.Text;
using Slipe.Shared.Elements;
using Slipe.Server.Peds;
using Slipe.Server.Elements;
using Slipe.Shared.Rpc;
using Slipe.Server.IO;
using System.Threading.Tasks;
namespace Slipe.Server.Rpc
{
/// <summary>
/// Manager ... |
using Microsoft.AspNet.SignalR.Hubs;
using Microsoft.Framework.DependencyInjection;
using Xunit;
namespace Microsoft.AspNet.SignalR.Tests
{
public class DefaultHubResolverFacts
{
[Fact]
public void ShouldResolveHubByTypeName()
{
var sp = ServiceProviderHelper.CreateServiceP... |
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Mandrill
{
public enum SearchResultState
{
Sent,
Bounced,
Rejected,
[EnumMember(Value = "soft-bounced")]
SoftBounced,
Spam,
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CliKit.Cil;
namespace CliKit.IO
{
partial class MethodBodyVerifier
{
[DebuggerDisplay("{DataType} ({CtsType})")]
private struct ... |
//
// AssemblyResolver.cs
//
// Author:
// Jb Evain (jbevain@novell.com)
//
// (C) 2007 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
//... |
/*
* 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... |
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 w... |
/*
* Copyright 2014 Stanislav Muhametsin. 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 req... |
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using Microsoft.Win32;
namespace WFInfo.Resources
{
/// <summary>
/// Interaction logic for PlusOne.xaml
/// </summary>
public partial class PlusOne : Window... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Utg.ServerWeb.Admin.pages.Customer
{
public partial class VisitStat : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{... |
using System;
using System.IO;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Color_Chan.Discord.Commands.Models;
using Color_Chan.Discord.Commands.Services;
using Color_Chan.Discord.Configurations;
using Color_Chan.Discord.Core;
using Color_Chan.Discord.Core.Common.API.DataModels.Inter... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.Kusto.ServiceLayer.Connection.Contracts;
using Microsoft.Kusto.ServiceLayer.DataSource;
using Microsoft.Kusto.ServiceLayer.DataSource.Metadata;
using Microsoft.Kusto.ServiceLayer.ObjectExplorer.DataSourceModel;
us... |
/*
* 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... |
// 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.Numerics;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
namespace System
{
internal static partial class Nu... |
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("Tr... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----------------------------------------... |
@{
Layout = "_Layout";
}
@model Factory.Models.Machine
<h4>Add a new machine</h4>
@using (Html.BeginForm())
{
@Html.LabelFor(model => model.Description)
@Html.TextBoxFor(model => model.Description)
@Html.Label("Select engineer")
@Html.DropDownList("EngineerId")
<input type="submit" value="Add... |
using UnityEngine;
public class QiskitClient : MonoSingleton<QiskitClient>
{
protected override bool DestroyOnLoad => true;
private QiskitRequester qiskitRequester
{
get
{
if (_qiskitRequester == null)
{
_qiskitRequester = new QiskitRequester();
... |
using System;
using Newtonsoft.Json;
using System.Xml.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// PromoPageResult Data Structure.
/// </summary>
[Serializable]
public class PromoPageResult : AlipayObject
{
/// <summary>
/// 页码
... |
using System.Collections.Generic;
using Verse;
namespace sd_goodnight
{
// Token: 0x02000004 RID: 4
internal class sd_goodnight_ThingDefsFurniture : ThingDef
{
// Token: 0x0400000D RID: 13
public string MedicalBedTexture = "";
// Token: 0x0400000E RID: 14
public string Med... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Widget;
using Android.Support.V4.App;
using Newtonsoft.Json;
using Parse;
namespace BabbyJotz.Android {
[Service]
... |
using CairoDesktop.Extensibility.Attributes;
using CairoDesktop.Plugins.ShellExtensionSupport;
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... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.EventSystems;
using UnityEngine;
public class DropItem : MonoBehaviour, IPointerDownHandler, IPointerUpHandler, IBeginDragHandler, IDragHandler, IEndDragHandler
{
public delegate void DropItemMoveStartEvent(DropItem item);
public eve... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Web.Api.Core.Domain.Entities;
using Web.Api.Core.Dto.GatewayResponses.Repositories;
using Web.Api.Core.Dto.UseCaseRequests;
using Web.Api.Core.... |
using LinkMe.Areas.Identity.Data;
using LinkMe.Core.Entities;
using LinkMe.Data.Context;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
[assembly: HostingStartup(typ... |
using System;
using System.Collections.Generic;
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;
namespace LayoutPan... |
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Numerics;
using System.Threading;
using System.Threading.Tasks;
using SeguraChain_Lib.Blockchain.Checkpoint.Enum;
using SeguraChain_Lib.Blockchain.Database;
using SeguraChain_Lib.Blockchain.Setting;
using SeguraChain_Lib.Other.... |
#region Copyright (c) 2006-2019 nHydrate.org, All Rights Reserved
// -------------------------------------------------------------------------- *
// NHYDRATE.ORG *
// Copyright (c) 2006-2019 All Rights reserved *
// ... |
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Authorization;
namespace AbpCompanyName.AbpProjectName.Roles.Dto
{
[AutoMapFrom(typeof(Permission))]
public class PermissionDto : EntityDto<long>
{
public string Name { get; set; }
public string DisplayName { get; set; }
... |
// <copyright file="V85Network.cs" company="WebDriver Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to yo... |
namespace Serenity.CodeGenerator.Views
{
using System;
public class EntityPageController : RazorGenerator.Templating.RazorTemplateBase
{
public dynamic Model { get; set; }
public override void Execute()
{
var dotModule = Model.Module == null ? "" : ("." + Model.Module)... |
namespace Photon.Common.Authentication
{
public enum AccountServiceResult
{
Ok,
NotFound,
Timeout,
Error
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Charlotte.Commons;
using Charlotte.GameCommons;
using Charlotte.Games.Enemies;
namespace Charlotte.Games.Shots
{
/// <summary>
/// 自弾(プレイヤーの弾)
/// </summary>
public abstract class Shot
{
public double X;
public double... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace apOla
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(... |
// This file was generated automatically by GenerateFromSchema. Do NOT edit it.
// https://github.com/AnalyticalGraphicsInc/czml-writer
using CesiumLanguageWriter.Advanced;
using System;
using System.Drawing;
using System.Collections.Generic;
namespace CesiumLanguageWriter
{
/// <summary>
/// Writes a <code>... |
using System;
using System.Collections.Generic;
using System.Linq;
using Equinox.Domain.Core.Events;
using Newtonsoft.Json;
namespace Equinox.Application.EventSourcedNormalizers
{
public class ProductHistory
{
public static IList<ProductHistoryData> HistoryData { get; set; }
public static ILi... |
namespace tree_walk_interpreter
{
public record Token
{
public TokenType Type { get; init; }
public string Lexeme { get; init; }
public object Literal { get; init; }
public int Line { get; init; }
public Token(TokenType type, string lexeme, object literal, int line)
{
Type = type;
... |
/*
* 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... |
// *** 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 SentryOne.UnitTestGenerator.Core.Strategies.MethodGeneration
{
using System;
using System.Collections.Generic;
using SentryOne.UnitTestGenerator.Core.Frameworks;
using SentryOne.UnitTestGenerator.Core.Models;
public class MethodGenerationStrategyFactory : ItemGenerationStrategyFactory<IM... |
using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
using ReCommendedExtension.Analyzers.Annotation;
namespace ReCommendedExtension.Tests.Analyzers
{
[TestNetFramework45]
[TestFixture]
public sealed class AnnotationQuickFixTests : Quic... |
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("5 ... |
// 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.
namespace Microsoft.ML.Probabilistic.Math
{
using System;
using System.Collections.Generic;
using System... |
// *** 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.Text;
using Task = System.Threading.Tasks.Task;
using Xunit;
using Celigo.SuiteTalk.PassportProviders.EnvironmentVariables;
using Celigo.ServiceManager.NetSuite;
using FluentAssertions;
using Celigo.ServiceManager.NetSuite.TSA;
namespace Tests.Celigo.Servic... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... |
using System;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Toolchains.CsProj;
using BenchmarkDotNet.Toolchains.InProcess.Emit;
using BenchmarkDotNet.Reports;
namespace levenshtein.bench
{
internal static class Pro... |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Linq;
using System.Threading.Tasks;
using Confluent.Kafka;
using Confluent.Kafka.Serialization;
namespace KafkaClient
{
public class SimpleDesiralizer : IDeserializer<byte[]>
{
public byte[] Deserialize(byte[] data)
... |
using System;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using LtiLibrary.NetCore.Common;
using LtiLibrary.NetCore.Extensions;
using LtiLibrary.NetCore.Lis.v2;
using Result = LtiLibrary.NetCore.Lis.v2.Result;
using LtiLibrary.NetCore.OAuth;
... |
namespace Cake.Prca.Issues.InspectCode
{
using System.IO;
using Core.IO;
/// <summary>
/// Settings for <see cref="InspectCodeIssuesProvider"/>.
/// </summary>
public class InspectCodeIssuesSettings
{
/// <summary>
/// Initializes a new instance of the <see cref="InspectCod... |
namespace Il2CppDumper
{
partial class FrmSettings
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// ... |
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace LaunchDarkly.Api.Model {
/// <summary>
///
/// </summary>
[DataContract]
public class Members {
/// <summary>
/// Gets or Sets Links
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MovieRecommender.Extensions
{
public static class EnumerableExtensions
{
private static Random _random = new Random();
/// <summary>
/// Taken from http://stackoverflow.com/questions/9141594... |
/*
* Muhimbi PDF
*
* Convert, Merge, Watermark, Secure and OCR files.
*
* OpenAPI spec version: 9.14.1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
u... |
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 MySql.Data.MySqlClient;
namespace Cafe_Management_System
{
public partial class AddItem : Form... |
@{
Layout = "_Layout";
}
@using SweetSavory.ViewModels
@model RegisterViewModel
<div class="row">
<div class="col-md-4">
<h4>Register a new user</h4>
<hr />
@using (Html.BeginForm("Register", "Account", FormMethod.Post))
{
<div class="form-group">
@H... |
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows.Input;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
namespace EssentialUIKit.ViewModels.ErrorAndEmpty
{
/// <summary>
/// ViewModel for no internet connection page.
/// </summary>
[Preserve(AllMembers = tru... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Confluxx.StringFlection.SampleClasses;
namespace Confluxx.StringFlection
{
[TestClass]
public class ToPropertyStringTest
{
private Person sampleObject;
[TestInitialize]
public void Init()
{
sampleObject = GetSampleObject();
}
... |
// 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.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using Silk.NET.Core.Attr... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.21006.1
//
// 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;
public static class Program {
public static void Main (string[] args) {
var list = new List<string> { "zero", "one", "two", "three" };
list.ForEach(Console.WriteLine);
}
} |
using Microsoft.Extensions.Configuration;
using NUnit.Framework;
using SJP.Schematic.Core;
using SJP.Schematic.Core.Extensions;
using SJP.Schematic.Tests.Utilities;
namespace SJP.Schematic.PostgreSql.Tests.Integration
{
internal static class Config
{
public static IDbConnectionFactory ConnectionFactor... |
// <auto-generated />
#pragma warning disable CS0105
using ConsoleApp.Tables;
using ConsoleApp;
using MasterMemory.Validation;
using MasterMemory;
using MessagePack;
using System.Buffers;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.IO;
using System.Li... |
using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;
namespace dotnet_clean_architecture.Web.Api;
public class MetaController : BaseApiController
{
/// <summary>
/// A sample API Controller. Consider using API Endpoints (see Endpoints folder) for a more SOLID approach to building APIs
/// https://github.c... |
using System;
using System.Collections.Generic;
namespace Umbraco.Cms.Core.Models.PublishedContent
{
/// <summary>
/// Represents a published element.
/// </summary>
public interface IPublishedElement
{
#region ContentType
/// <summary>
/// Gets the content type.
/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.