text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using ConvNetSharp.Core.Serialization;
using ConvNetSharp.Volume;
namespace ConvNetSharp.Core.Layers
{
public class FullyConnLayer<T> : LayerBase<T>, IDotProductLayer<T> where T : struct, IEquatable<T>, IFormattable
{
private T _biasPref;
public... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(AudioSource))]
public class AppleFXController : MonoBehaviour {
public AudioClip clip;
private AudioSource asMenu;
private bool play = false;
private float timer;
void Start()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WXB.Bussiness.ViewModels
{
public class UserVM
{
public int ID { get; set; }
/// <summary>
/// 用户名
/// </summary>
public string Name { get; set... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*-------------------------------------------------------------------------------... |
//------------------------------------------------------------------------------
// <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>
//----------------------------------------... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace LibraryAPI.Database.Migrations
{
public partial class Add_Table_Genres : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Genres",... |
using System;
using System.Collections.Concurrent;
using Microsoft.Azure.AvailabilityMonitoring;
using Microsoft.Extensions.Logging;
namespace Microsoft.Azure.WebJobs.Extensions.AvailabilityMonitoring
{
internal class AvailabilityTestInvocationRegistry
{
private readonly ConcurrentDictionary<Guid, Av... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace StoreApplicationUI
{
public class Program
{
pu... |
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("Se... |
/***************************************************************************
Copyright (c) Microsoft Corporation 2012-2015.
This code is licensed using the Microsoft Public License (Ms-PL). The text of the license can be found here:
http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx... |
namespace Sudoku.Solving.Manual.Steps;
/// <summary>
/// Provides with a step that is a <b>Bivalue Universal Grave Type 2</b> technique.
/// </summary>
/// <param name="Conclusions"><inheritdoc/></param>
/// <param name="Views"><inheritdoc/></param>
/// <param name="Digit">Indicates the digit used.</param>
/// <param... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Timers;
using FluentAssertions;
using Itenso.TimePeriod;
using ServiceStack.Text;
using static ServiceStack.Text.JsonSerializer;
using ServiceStack.Text.EnumMemberSerializer;
using Xunit;
using Xunit.Abstractions;
using ATAP.Utilities.Compu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AD3D_Common
{
public class Constant
{
public const string Spacer = "<---⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫";
}
} |
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\d3dkmddi.h(5003,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct _DXGK_VIRTUALMACHINEDATAFLAGS__union_0__struct_0
{
[MarshalAs(UnmanagedType.B... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CucoStore.Docs.Data;
namespace CucoStore.Docs.Models
{
public class Sale
{
public int Id { get; set; }
public Customer Custo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using System.Threading;
using System.Threading.Tasks;
using System;
using System.Text;
public delegate void DramaCallback();
public class Dramas : MonoBehaviour
{
// 剧本控制器
pub... |
using CppSharp;
using CppSharp.AST;
using CppSharp.Passes;
namespace MonoManagedToNative.Passes
{
public class RenameEnumItemsPass : TranslationUnitPass
{
public override bool VisitEnumDecl(Enumeration @enum)
{
if (!VisitDeclaration(@enum))
return false;
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Drawing.Drawing2D
{
public enum CombineMode
{
Replace = 0,
Intersect = 1,
Union = 2,
Xor = 3,
Exclude = 4,
Co... |
@model CallTracking.Web.Models.LeadSource
<div class="row">
<div class="page-header">
<h1>Edit lead source for @Model.IncomingNumberNational</h1>
</div>
<div class="col-md-9">
@using (Html.BeginForm("Edit", "LeadSources", FormMethod.Post, new {@class = "form-horizontal", role = "form"}))
... |
//-----------------------------------------------------------------------------
//<Snippet3>
// File: TestCode.cs
using UtilityMethods;
class TestCode
{
static void Main(string[] args)
{
System.Console.WriteLine("Calling methods from MathLibrary.DLL:");
if (args.Length != 2)
{
... |
using Microsoft.EntityFrameworkCore;
using WebAppRazor.Data;
using WebAppRazor.Entities;
namespace WebAppRazor.Repositories
{
public class CartRepository : ICartRepository
{
protected readonly WebAppRazorContext _dbContext;
public CartRepository(WebAppRazorContext dbContext)
{
... |
using System;
using System.Xml.Serialization;
namespace Tunnelier.Services.Config {
[Serializable()]
[XmlRoot("Config")]
public class ConfigCollection {
[XmlElement("InputPort")]
public int InputPort { get; set; }
[XmlElement("RedirectPort")]
public int RedirectPort { get; set; }
[XmlElemen... |
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using HotChocolate.Resolvers;
#nullable enable
namespace HotChocolate.Types.Descriptors.Definitions;
/// <summary>
/// The <see cref="ObjectFieldDefinition"/> contains the settings
/// to cre... |
// Copyright 2007-2018 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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
//
/... |
@{
ViewBag.Title = "EcommerceOrders";
}
<div class="content-heading">Products</div>
<div class="table-responsive b0">
<table id="datatable1" class="table table-striped table-hover">
<thead>
<tr>
<th style="width:80px">
<strong>ID</strong>
... |
// This code was generated by Hypar.
// Edits to this code will be overwritten the next time you run 'hypar init'.
// DO NOT EDIT THIS FILE.
using Amazon;
using Amazon.Lambda.Core;
using Hypar.Functions.Execution;
using Hypar.Functions.Execution.AWS;
using System;
using System.IO;
using System.Linq;
using System.Refle... |
namespace SvgValidated.FilterEffects
{
public class SvgMorphology : SvgFilterPrimitive
{
public SvgMorphologyOperator Operator { get; set; }
public SvgNumberCollection Radius { get; set; }
}
} |
using System;
using System.Runtime.InteropServices;
namespace Libgpgme.Interop
{
/* Trust items and operations. */
[StructLayout(LayoutKind.Sequential)]
internal class _gpgme_trust_item
{
public _gpgme_trust_item() {
_keyid = new byte[17];
_owner_trust = new byte[2];
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.ModelBinding.Binders;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NewLife.Data;
using NewLife.Web;
namespace NewLife.C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using TripWay.Library;
using VisitPath.Model;
using VisitPath.Command;
namespace VisitPath.Controllers
{
[Route("api/[controller]")]
public class VisitPathController : Controller
... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
namespace TdseSolver_3D1P
{
/// <summary>
/// This is the application's main form.
/// </summary>
public partial class MainForm : Form
{
/// <summary>
/// Constructor.
... |
/*
Copyright 2012 Michael Edwards
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 agreed to i... |
using System.Net.Http;
using System.Net.Http.Headers;
using Flurl.Http.Content;
namespace Pinata.Client
{
public static class ExtensionsForHttpContent
{
//public static T AsPinataFile<T>(this T content, string remoteFilePath) where T : HttpContent
//{
// var header = new ContentDispositionHe... |
/*
* Copyright 2010-2013 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... |
@model rev3rseWEB.Models.AddPhoneNumberViewModel
@{
ViewBag.Title = "Phone Number";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("AddPhoneNumber", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
<h4>Add a phone number</h4>
<hr />
@Htm... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Test.BuildXL.FrontEnd.Core;
using Xunit;
using Xunit.Abstractions;
namespace Test.DScript.Debugger
{
// Tests for Continue command, a.k.a. F5 experience.
... |
// 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 System;
using System.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.VisualStudio.LanguageS... |
using System;
using System.Collections.Generic;
namespace PrintableTomKitten
{
public class CustomPageRange
{
// Structure used internally
struct PageRange
{
public PageRange(int from, int to) : this()
{
this.From = from;
this.To... |
/*
* 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... |
namespace FlatFile.Benchmark.Mapping
{
using CsvHelper.Configuration;
using FlatFile.Benchmark.Converters;
using FlatFile.Benchmark.Entities;
public sealed class CsvHelperMappingForCustomObject : ClassMap<CustomObject>
{
public CsvHelperMappingForCustomObject()
{
Map(m ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SageFrame.Web;
using AspxCommerce.Core;
using AspxCommerce.WishItem;
using System.Web.Script.Serialization;
public partial class Modules_AspxCommerce_AspxWishList_WishItemsS... |
// 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.Windows.Data;
using Xunit;
namespace ValueConverters.Tests
{
public class BoolNegationConverterTests
{
[Fact]
public void ShouldConvert()
{
// Arrange
IValueConverter converter = new BoolNegationConverter();
object input = true;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Inbox2.Platform.Channels.Interfaces;
using Inbox2.Framework.Localization;
namespace Inbox2.Core.Threading.Tasks
{
internal static class ExceptionHelper
{
internal static string BuildChannelError(IClientInputCha... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/ctfutb.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.... |
// Generated by Xamasoft JSON Class Generator
// http://www.xamasoft.com/json-class-generator
using Newtonsoft.Json;
namespace ByteSharp.Entities.Flag
{
public class Data
{
[JsonProperty("posts")]
public Post[] Posts { get; set; }
}
} |
#region License
// Copyright (c) Amos Voron. All rights reserved.
// Licensed under the Apache 2.0 License. See LICENSE in the project root for license information.
#endregion
namespace QueryTalk.Wall
{
/// <summary>
/// This interface is not intended for public use.
/// </summary>
public interface IC... |
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System;
namespace Microsoft.Silverlight.Testing.Harness
{
/// <summary>
/// The stage of a te... |
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;
namespace Target_Projetos
{
public partial class frmTelaInicial : Form
{
public frmTelaI... |
/*
* Copyright (c) 2019 Samsung Electronics Co., Ltd. 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 r... |
#if UNITY_WSA && !UNITY_EDITOR
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Microsoft.MixedReality.PowerThermalNotification
// This file was auto-generated from AbiDefinition.cs.
//
// <auto-generated />
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;... |
using System;
namespace BugNET.SubversionHooks
{
class Program
{
/// <summary>
/// Mains the specified args.
/// </summary>
/// <param name="args">The args.</param>
static void Main(string[] args)
{
log4net.Config.XmlConfigurator.Configure();
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using SmartSql.Sample.AspNetCore.DyRepositories;
using SmartSql.Sample.AspNetCore.Service;
using SmartSql.Test.DTO;
using SmartSql.Test.Entities;
namespace SmartSql.Sample.AspNetCore.Controllers
{
[Route(... |
//Copyright (c) 2007. Clarius Consulting, Manas Technology Solutions, InSTEDD
//https://github.com/moq/moq4
//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 c... |
using System;
using System.IO;
using NUnit.Framework;
using ZbW.Testing.Dms.Client.Services;
using ZbW.Testing.Dms.Client.UnitTests.Stubs;
using ZbW.Testing.Dms.Client.ViewModels;
namespace ZbW.Testing.Dms.Client.UnitTests.ViewModelTests
{
[TestFixture]
internal class DocumentDetailViewModelTests
{
... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using JSIL.Internal;
using Microsoft.CSharp.RuntimeBinder;
using MethodInfo = System.Reflection.MethodInfo;
namespace JS... |
// Copyright © Microsoft Open Technologies, Inc.
// 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
// THIS CODE IS PROV... |
using Anotar.Log4Net;
using log4net;
public class ClassWithExistingField
{
// ReSharper disable once NotAccessedField.Local
static ILog existingLogger;
static ClassWithExistingField()
{
existingLogger = LogManager.GetLogger(typeof(ClassWithExistingField));
}
public void Debug()
{
... |
using System.Collections.Generic;
namespace Selenium_Csharp_2022
{
public class BaseLog
{
//public static List<BaseConsoleLog> LogEntries;
//public static BaseReporting ReportingEntries;
public BaseLog() { }
public static int ErrorCount { get; }
public static int In... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
namespace Assets.Scripts
{
/// <summary>
/// Controls the menu screen
/// </summary>
public class Menu : MonoB... |
/*
* Session.cs
* SnowplowTracker
*
* Copyright (c) 2015 Snowplow Analytics Ltd. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License... |
//-----------------------------------------------------------------------
// <copyright file="ConfigurationException.cs" company="Akka.NET Project">
// Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2018 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copy... |
using System.IO;
using DeconTools.Backend.Core;
using DeconTools.Backend.Data;
using DeconTools.Utilities;
namespace DeconTools.Backend.ProcessingTasks.NETAlignment
{
public class ChromAlignerUsingVIPERInfo
{
string m_targetUMCFileStoringAlignmentInfo;
#region Constructors
public Chro... |
// *** WARNING: this file was generated by crd2pulumi. ***
// *** 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.Kubernetes.Types.O... |
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
using UE4.InputCore;
namesp... |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
namespace Workday.Staffing
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, XmlType(Namespace = "urn:co... |
// -------------------------------------------------------
// © Kaplas. Licensed under MIT. See LICENSE for details.
// -------------------------------------------------------
namespace ParLibrary.Sllz
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Ionic... |
using System;
using Microsoft.LiveLabs.Html;
using Microsoft.LiveLabs.JavaScript.Interop;
namespace Ribbon.Controls
{
// TODO(josefl): Adri copied this control from ToggleButton early on. I've removed most of the stuff
// that does not make sense for TextBox. We should make sure that the polling for state e... |
using System.Globalization;
namespace Docker.DotNet.Setup
{
internal static class CultureInfoSingleton
{
private const string CultureName = "en-US";
private static readonly CultureInfo _culture = new CultureInfo(CultureName);
public static CultureInfo GetInstance() => _culture;
}
... |
using UnityEngine;
using UnityEngine.EventSystems;
public class GetawayButton : MonoBehaviour, IPointerUpHandler, IPointerDownHandler
{
public void OnPointerUp(PointerEventData eventData)
{
GameObject.Find("GameController").GetComponent<GameController>().GameOver();
}
public void OnPointerDown(... |
/*
* 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... |
namespace WindowsFormsApplication10.pl
{
partial class FRM_MAIN
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... |
using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using System.Xml;
using ESRI.ArcGIS.esriSystem;
using Miner.Controls;
using Miner.Controls.XmlLogin;
using Miner.Framework;
using Miner.FrameworkUI;
namespace Miner.Interop
{
/// <summary>
/// An abstract implementation of t... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace TestGit
{
public class Program
{
pub... |
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("")]... |
namespace SharpX.Library.ShaderLab.Enums
{
public enum RequireOptions
{
SoftVegetation
}
} |
using System;
using System.Runtime.InteropServices;
namespace TS3D.Exchange.Direct
{
public class API
{
public static void Initialize(out A3DVector2dData d ) {
d = new A3DVector2dData();
d.m_usStructSize = (UInt16)Marshal.SizeOf(typeof(A3DVector2dData));
}
public static void Initia... |
/*
* 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;
class IfElseStatement
{
static void Main()
{
Console.Write("Please enter a number: ");
int number = int.Parse(Console.ReadLine());
if (number % 2 == 0)
{
Console.WriteLine("This number is even.");
}
else
{
Console.Wr... |
// 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 System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.MakeFieldReadonly;
using Microsoft.CodeAnalysis.Dia... |
/*
* 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... |
//-----------------------------------------------------------------------
// <copyright file="NFCGameToWorldModule.cs">
// Copyright (C) 2015-2015 lvsheng.huang <https://github.com/ketoo/NFrame>
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Col... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="InputUtils.cs" company="Slash Games">
// Copyright (c) Slash Games. All rights reserved.
// </copyright>
// ---------------------------------------------------------------------... |
using System;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using FastMember;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Export... |
// Copyright 2017, Google Inc. 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 applicabl... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityEssentials.Hypersampling.Extensions
{
public static class ExtColor
{
//all colors
public static Color orangeBright { get { return (Color255(255, 82, 3, 1)); } }
public static Co... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace AW.GUI
{
public partial class WaitForm : Form
{
public static WaitForm Instance;
public WaitForm()
{
Text =... |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... |
using System;
using Ywxt.Cens.Core.Exceptions;
using Ywxt.Cens.Core.Utils;
namespace Ywxt.Cens.Core.Cpu.Instruction
{
public sealed class InstructionProcessor : IInstructionProcessor
{
public int Process(ICpu cpu, byte instruction)
{
var ins = Instructions.Get(instruction);
... |
// *** 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... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="EFUnitOfWork.cs" company="Megadotnet">
// Copyright (c) 2010-2013 Peter Liu. All rights reserved.
// </copyright>
// <summary>
// EFUnitOfWork
// </summary>
// --------------... |
using Microsoft.Identity.Client;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Intune.Management.Functionality.Authentication.Internal
{
internal static class Parameters
{
private const string AppId = "d1ddf0e4-d672-4dae-b554-9d5bdfd93547";
private const string A... |
using Mediator.Mediator;
namespace Mediator.Colleague
{
public abstract class User
{
protected FacebookGroupMediator mediator;
protected string name;
protected User(FacebookGroupMediator mediator, string name)
{
this.mediator = mediator;
this.name = name;... |
//
// ApplicationPgpSignature.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2022 .NET Foundation and Contributors
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// ... |
using Bannerlord.ChangelogParser.Options;
using CommandLine;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Bannerlord.ChangelogParser
{
public static class Program
{
public static void Main(string[] args) => Parser
.Defau... |
using System;
namespace New_folder
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
} |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 25.11.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using FlickrNet;
namespace FlickrSharp
{
public class FlickrPlan
{
public List<FlickrImage> Images { get; set; }
public List<FlickrSet> Sets { get; set; }
... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.