text stringlengths 1 932k |
|---|
@*Copyright (c) Microsoft Corporation*@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>@ViewBag.Title</title>
<meta name="viewport" content="width=device-width" />
@Styles.Render("~/Content/Mobile/css", "~/Content/jquerymobile/css")
@Scripts.Render("~/bund... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using RC3Students;
public class Session2_OG : MonoBehaviour {
// Variables
int number1 = 10;
int number2 = 20;
int number3;
bool someBool = false;
string someName = "name";
string[] tutorNames = { "Dave", "... |
namespace BookShop.Data.EntityConfiguration
{
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Models;
internal class CategoryConfiguration : IEntityTypeConfiguration<Category>
{
public void Configure(EntityTypeBuilder<Category> builder)
... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace A... |
/*
* 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... |
using System;
using UnityEngine;
using UnityEngine.Serialization;
namespace TMG.BloonsTD.Gameplay
{
[RequireComponent(typeof(Rigidbody2D))]
public class BasicProjectileController : Hazard, IUpgradeRange
{
[SerializeField] private float _movementSpeed;
private float _maxDistanceTrav... |
using Devon4Net.Application.WebAPI.Implementation.Business.MediatRManagement.Dto;
using Devon4Net.Infrastructure.MediatR.Command;
namespace Devon4Net.Application.WebAPI.Implementation.Business.MediatRManagement.Commands
{
/// <summary>
/// THe command to create a TO-DO
/// </summary>
public class Crea... |
using UnityEngine;
using System.Collections.Generic;
using System.Linq;
[ExecuteInEditMode]
[RequireComponent ( typeof ( SliderJoint2D ) )]
public class LineFollower : MonoBehaviour {
public const float TargetDistanceThr = 0.05f;
const string OnTargetPointReachedMessageName = "OnTargetPointReached";
[SerializeFie... |
using g3;
using Sutro.Core.FillTypes;
using Sutro.Core.Toolpaths;
using System;
using System.Collections.Generic;
namespace Sutro.Core.Toolpathing
{
/// <summary>
/// GroupScheduler collects up paths and then optimizes their scheduling.
/// You call BeginGroup() / EndGroup() around semantic groups of path... |
using System;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ModLoader;
namespace GoldensMisc.Dusts
{
public class RedDustStatic : ModDust
{
public override bool Autoload(ref string name, ref string texture)
{
texture = "GoldensMisc/Dusts/RedDust";
return base.Autoload(ref name, ref textur... |
namespace OpenMod.Extensions.Games.Abstractions.Vehicles
{
/// <summary>
/// Represents common vehicle types. Support depends on the game.
/// </summary>
public static class KnownVehicleTypes
{
public const string Car = "car";
public const string Plane = "plane";
public cons... |
namespace IO
{
using System.IO;
public class Reader : InputReader
{
public Reader(TextReader inputReader) : base(inputReader)
{
}
}
} |
// Copyright (c) 2010 Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft
// license agreement under which you licensed this source code.
// If you did not accept the terms of the license agreement,
// you are not authorized to use this source code.
//... |
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
using System.Linq;
namespace Kaitai
{
public partial class ExprBytesOps : KaitaiStruct
{
public static ExprBytesOps FromFile(string fileName)
{
return new ExprBytesOps(new KaitaiStre... |
namespace DemoK8s.Models.Config
{
/// <summary>
/// AppSettings
/// </summary>
public class AppSettings
{
/// <summary>
/// CORS Policy name
/// </summary>
public string CorsPolicyName { get; set; }
/// <summary>
/// Allowed Cross domains
///... |
using JetBrains.Annotations;
using JsonApiDotNetCore.Resources;
using JsonApiDotNetCore.Resources.Annotations;
namespace JsonApiDotNetCoreTests.IntegrationTests.MultiTenancy
{
[UsedImplicitly(ImplicitUseTargetFlags.Members)]
public sealed class WebProduct : Identifiable
{
[Attr]
public stri... |
// 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.Buffers;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace System.IO.Pipelines
{
internal sealed class PipeRea... |
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Text.Json.Serialization;
using static Pineapple.Common.Preconditions;
namespace M5.BloomFilter.Serialization
{
internal class BloomFilterDTO
{
public BloomFilterDTO()
{
}
public BloomFilterDTO(ReadOnly... |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Requestrr.WebApi.RequestrrBot.Movies;
namespace Requestrr.WebApi.RequestrrBot.Notifications.Movies
{
public interface IMovieNotifier
{
Task<HashSet<string>> NotifyAsync(IReadOnlyCollection<string> userIds, Mov... |
#nullable disable
using GingerCodeSite.Data.Identity;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace GingerCodeSite.Views.Identity.Pages.Account.Manage;
public class TwoFactorAuthenticationModel : PageModel... |
using DFC.Personalisation.CommonUI.TagHelpers;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
namespace DFC.Personalisation.CommonUI.ViewComponents
{
public abstract class BaseViewComponent: ViewComponent
{
protected void SetProps(Dictionary<string,string> options)
{
... |
using System.Collections.Generic;
using BubbleBugServiceController.Configuration;
using BubbleBugServiceController.DbServices;
using BubbleBugSharedModels;
using Microsoft.AspNetCore.Mvc;
namespace BubbleBugServiceController.Controllers {
[Route("api/[controller]")]
public class ServiceController : Controlle... |
using System;
using System.Collections.Generic;
using Canonicalize.Strategies;
namespace Canonicalize
{
public static class CanonicalizeRouteBuilderExtensions
{
/// <summary>
/// Adds a <see cref="Strategies.CustomStrategy"/> to the strategy collection.
/// </summary>
/// <para... |
// <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 KubernetesService.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic... |
using System;
using System.IO;
namespace NAudio.Wave
{
/// <summary>
/// Class for reading from MP3 files
/// </summary>
public class Mp3FileReader : WaveStream
{
private WaveFormat waveFormat;
private Stream mp3Stream;
private long length;
private long dataStartPosition;... |
// Copyright © KaKush LLC
// Written By Steven Zawaski
// Licensed to you under the MIT license
using System;
using System.Linq.Expressions;
namespace Zerra.Repository
{
public class Query<TModel> where TModel : class, new()
{
public QueryOperation Operation { get; private set; }
public Expr... |
// 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.Collections.Immutable;
using Analyzer.Utilities;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Desktop.Anal... |
namespace TechTalk.SpecFlow.BindingSkeletons
{
public static class ParameterNameExtensions
{
}
} |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Modify the filtering setting for an executive user.
/// Both executive and th... |
using Accord.Controls;
using Accord.MachineLearning.VectorMachines.Learning;
using Accord.Statistics.Analysis;
using Accord.Statistics.Kernels;
using Deedle;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using S... |
using System.Collections.Generic;
namespace Gov.Lclb.Cllb.Public.ViewModels
{
public class SepServiceArea
{
public string Id { get; set; }
public string SepLocationId { get; set; }
public string SpecialEventId { get; set; }
public bool? MinorPresent { get; set; }
public ... |
using System.Collections.Generic;
using ZKWebStandard.Utils;
using ZKWebStandard.Testing;
namespace ZKWebStandard.Tests.Utils
{
[Tests]
class ExpressionUtilsTest
{
public void MakeMemberEqualiventExpression()
{
var expression = ExpressionUtils.MakeMemberEqualiventExpression<ICo... |
namespace Notepads.Core
{
using System;
using System.Text;
using System.Threading.Tasks;
using Notepads.Controls.TextEditor;
using Notepads.Utilities;
using Windows.Storage;
using Windows.UI.Xaml.Input;
// INotepadsCore handles Tabs and TextEditor life cycle
public interface INote... |
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Sy... |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using eStationCore.Model.Fuel.Entity;
using FirstFloor.ModernUI.Windows.Controls;
namespace eStation.Views.FuelViews
{
internal partial class AddFuel
{
private bool _isAdd;
private int... |
using System;
using System.Threading.Tasks;
using Dapper;
using Npgsql;
using Microsoft.Extensions.Configuration;
namespace Discount.API.Entities.Repositories
{
public class DiscountRepository : IDiscountRepository
{
private readonly IConfiguration _configuration;
public DiscountRepository(I... |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MGSkinnedAnimationPipeline")]
[assembly: ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Reflection;
namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Tests.Helpers
{
public cla... |
// *** 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 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 (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//-----------------------------------------------------------------------
// </copyright>
// <summary>Tests for the basic scheduler.</summary>
//-----------------------... |
//---------------------------------------------------------------------
// <copyright file="ParenExpr.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// @owner [....]
// @backupOwner [....]
//----------------------------------------------------------------... |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Desktops_test
{
public class GroupHelper : HelperBase
{
public static string groupEditWin = "Group editor";
public static string groupDeleteWin =... |
using Microsoft.Extensions.Configuration;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Remote;
using OpenQA.Selenium.Support;
using OpenQA.Selenium.Support.UI;
using Protractor;
using System;
using Xunit;
using Xunit.Abstractions;
using Xunit.Gherkin.Quick;
... |
namespace CnGalWebSite.DataModel.ViewModel.Ranks
{
public class EditRankPriorityViewModel
{
public long[] Ids { get; set; }
public int PlusPriority { get; set; }
}
} |
using System;
using System.Collections.Generic;
namespace SubmissionEvaluation.Contracts.Data
{
public interface IGame
{
string AuthorId { get; }
string LastEditorId { get; }
string Name { get; }
string Title { get; }
bool IsDraft { get; }
List<List<string>> Sta... |
// Copyright 2017-2020 Elringus (Artyom Sovetnikov). All Rights Reserved.
using UnityEngine;
namespace Naninovel.UI
{
public class GameSettingsVoiceVolumeSlider : ScriptableSlider
{
[Tooltip("When provided, the slider will control voice volume of the printed message author (character actor) with the ... |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 16.05.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... |
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("Wa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Binding_of_Isaac_console
{
class Program
{
static void Main(string[] args)
{
Map map = new Map();
while (true)
{
... |
using System;
using UIKit;
namespace AdaptiveElements
{
/// <summary>
/// LargeElementViewController is used in two different ways:
/// 1. Contained within ExampleContainerViewController, when its width is large.
/// 2. Presented by SmallElementViewController, when the ExampleContainerViewController's ... |
#if UNITY_ANDROID
using System.Collections;
using System.Collections.Generic;
using NativePopup;
using UnityEngine;
public class AndroidNativeMessage : MonoBehaviour, INativeMessage
{
#if !UNITY_EDITOR
private const string className = "com.nativeplugin.androidnativeplugin.NativeMessage";
#endif
private ... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by \generate-code.bat.
//
// Changes to this file will be lost when the code is regenerated.
// The build server regenerates the code before each build and a pre-build
// step... |
// <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... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using ... |
using FFXIVTool.Models;
using FFXIVTool.Utility;
using FFXIVTool.ViewModel;
using Microsoft.Win32;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace FFXIVTool.Views
{
/// <summary>
/// Interactio... |
using System;
using Eft.Tester;
using NUnit.Framework;
namespace FunctionalTest.Testers
{
[TestFixture]
public class TextAssertionTest
{
private Tester i;
[SetUp]
public void setup()
{
string fileName = AppDomain.CurrentDomain.BaseDirectory + @"\Stub.exe";
... |
using DotNetBungieAPI.Models.Destiny.Definitions.Common;
namespace DotNetBungieAPI.Models.Destiny.Definitions.Destinations;
/// <summary>
/// Basic identifying data about the bubble. Combine with DestinyDestinationBubbleSettingDefinition - see
/// DestinyDestinationDefinition.bubbleSettings for more informat... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using EnvDTE;
using Microsoft.VisualStudio.Web.BrowserLink;
namespace BrowserReloadOnSave
{
public class ReloadExtension : BrowserLinkExtension, IDisposable
{
IEnumerable<string> _extensions = V... |
namespace SqlStreamStore.Subscriptions
{
using System.Threading;
using System.Threading.Tasks;
using SqlStreamStore.Streams;
/// <summary>
/// Represents a delegate that is invoked when a stream message has been received in a subscription.
/// </summary>
/// <param name="subscription"... |
using DocumentFormat.OpenXml;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace Kipon.Excel.Api.Style
{
public static class Styles
{
public static readonly UInt32Value ODD_DATE_LOCKED = (UInt32Value)9;
public static readonly UInt32Value EVEN_DATE_L... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Luminis.EntityFramework.AuditLogging.Attributes;
using Luminis.EntityFrameworkCore.AuditLogging.Exceptions;
using Luminis.EntityFrameworkCore.AuditLogging.Models;
using Microsoft.EntityFramewo... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using GbCore;
using NSubstitute;
using System.Collections.Generic;
using System.Linq;
using System;
namespace GbCoreTests
{
[TestClass]
public class CpuRegisterTests
{
[TestMethod]
public void TestFlags()
{
var state = ... |
using UnityEngine;
namespace Kai.Common.Extension
{
public static class TransformExtension
{
public static Vector3 RoundPosition(this Transform transform)
{
var p = transform.position;
var x = Mathf.RoundToInt(p.x);
var y = Mathf.RoundToInt(p.y);
... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
namespace EA4S
{
public class OpenPlayerBookScene : MonoBehaviour, IPointerClickHandler
{
public Image IcoAvatar;
void Start()
{
IcoAvatar.sprite = AppManager.I.Player.GetAvatar();
}
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Ticket buster</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-inverse na... |
// <auto-generated />
using Begon.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using System;
namespace Begon.Data.Migrations
{
[DbContext(typeof(ApplicationDb... |
using Prise.Infrastructure;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.Versioning;
namespace Prise
{
[DebuggerDisplay("{ProvideHostFramwork()}")]
public class HostFrameworkProvider : IHostFrameworkProvider
{
public virtual string ProvideHostFramwork() => Assembly
... |
using Microsoft.EntityFrameworkCore;
namespace EFModeling.FluentAPI.Relational.ColumnName
{
class MyContext : DbContext
{
public DbSet<Blog> Blogs { get; set; }
#region ColumnName
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Ent... |
using GameFeel.Singleton;
using Godot;
namespace GameFeel.DesignTool
{
public class QuestEventPlayerInventoryItemAdded : QuestEventNode
{
private QuestItemSelector _itemSelector;
private SpinBox _requiredSpinBox;
public override void _Ready()
{
base._Ready();
... |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
*
... |
using System;
using System.Collections.Generic;
using System.Text;
using DIaLOGIKa.b2xtranslator.OfficeDrawing;
using System.IO;
namespace DIaLOGIKa.b2xtranslator.PptFileFormat
{
[OfficeRecordAttribute(1016)]
public class MainMaster : Slide
{
public Dictionary<string, string> Layouts = new Dictiona... |
using InsuranceSystem.Entity.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InsuranceSystem.Entity.Dto
{
public class DtoOrderStatus : DtoBase
{
public DtoOrderStatus()
{
}
public int StatusI... |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.WAF")]
[assembly: AssemblyDescripti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebApplication5
{
public partial class Site_Mobile : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
}
... |
namespace Plovhest.Executor
{
using System;
using Hangfire;
using Microsoft.Extensions.DependencyInjection;
/// <summary>
/// Hangfire job activator for Microsoft.Extensions.DependencyInjection
/// </summary>
public class ServiceProviderJobActivator : JobActivator
{
private rea... |
// 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.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System... |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class UIUpgradePanel : UIPanel
{
[SerializeField]
Transform slotsParent = null;
UIUpgradeSlot[] slots;
public override void Awake()
{
base.Awake();
slots = slo... |
// 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.
// ------------------------------------------------------------------------------
// Changes to this file must follow... |
using System;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Xamarin.Utils;
namespace Xamarin.MacDev.Tasks
{
public abstract class MetalLibTaskBase : ToolTask
{
#region Inputs
public string SessionId { get; set; }
[Required]
public ITaskItem[] Items { get; set; ... |
// <copyright file="ShippingAddressPageContinueBehaviour.cs" company="Automate The Planet Ltd.">
// Copyright 2020 Automate The Planet Ltd.
// 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;
using System.Numerics;
namespace Orbital_Mechanix_Suite
{
public class Lambert
{
private double r1, r2, A, t;
private static double mu = 132712440018d;
private static dou... |
@using NetRomSummerCampApp.Models;
@model List<Category>
@{
Layout = null;
}
<div class="container">
<div class="page-header">
<h1>Announcement List</h1>
</div>
<div class="form-inline">
@Html.DropDownList("Category", @Model.Select(item => new SelectListItem
{
... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace BuildXL.Interop
{
/// <summary>
/// The supported host operating system values
/// </summary>
public enum OperatingSystem
{
/// <s... |
// ReSharper disable IdentifierTypo
// ReSharper disable StringLiteralTypo
namespace Humanizer
{
/// <summary>
/// Convert int to named tuple strings (1 -> 'single', 2-> 'double' etc.).
/// Only values 1-10, 100, and 1000 have specific names. All others will return 'n-tuple'.
/// </summary>
public ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Tensorflow.Keras.Layers
{
class Conv
{
}
} |
// <copyright file="TemperatureHelper.cs" company="Matt Lacey">
// Copyright © Matt Lacey. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the solution root for license information.
// </copyright>
// <author>Matt Lacey</author>
// <author>D.A.M. Good Media Ltd.</author>
using System;
using Sys... |
// <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.
// </auto-generated>
namespace Microsoft.Azure.Management.ContainerService.F... |
/*
* 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... |
@page
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@model LandingPage.Pages.AppRoleAssignmentModel
@{
ViewData["Title"] = "App Role Assignment";
}
<div>
@{
if(@Model.IsRoleAssigned)
{
<p>App Role successfully assigned.</p>
}
else
{
<p>App... |
// Copyright (c) Peter Vrenken. All rights reserved. See https://github.com/vrenken/EtAlii.Generators for more information and the license.
namespace EtAlii.Generators.MicroMachine
{
using System.CodeDom.Compiler;
using EtAlii.Generators.PlantUml;
public class WriteContext : WriteContext<StateMachine>
... |
using System;
using System.Collections;
using System.Collections.Generic;
using FluentAssertions;
using L5Sharp.Enums;
using NUnit.Framework;
namespace L5Sharp.Core.Tests
{
[TestFixture]
public class LadderLogicTests
{
private List<Rung> _rungs;
[SetUp]
public void Setup()
... |
namespace Fooidity.Management.AzureIntegration.Entities
{
using System;
using Fooidity.AzureIntegration;
using Microsoft.WindowsAzure.Storage.Table;
/// <summary>
/// The state of a code feature wthin an application
/// </summary>
public class ApplicationCodeFeatureStateEntity :
T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class View_Reports_NurseMedtech_View_Haematology_Report : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string getCurr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ProjetoConexao
{
static class Program
{
/// <summary>
/// Ponto de entrada principal para o aplicativo.
/// </summary>
[STAThread]
stat... |
#nullable disable
using System.Text.Json.Serialization;
namespace Zencoder.Models
{
public sealed class OutputThumbnails
{
/// <summary>
/// A number of thumbnails to capture.
/// Zencoder will grab evenly-spaced thumbnails across the whole duration of the file.
/// So if yo... |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class DisplayScore : MonoBehaviour
{
TextMeshProUGUI textMesh;
private void Awake()
{
textMesh = GetComponent<TextMeshProUGUI>();
}
private void Start()
{
GameManager.... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AutoRest.TypeScript.DSL
{
... |
// SampSharp
// Copyright 2020 Tim Potze
//
// 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 o... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.