text stringlengths 1 932k |
|---|
using Microsoft.EntityFrameworkCore;
using System;
namespace Sollicitatiebeheer.Data.EFCore.Migrations
{
class Program
{
static void Main(string[] args)
{
if (args == null || args.Length == 0)
return;
var program = new Program();
switch (ar... |
using System;
namespace TensorShader {
public abstract partial class VariableNode {
/// <summary>複素純実数</summary>
public static VariableNode ComplexPureReal(VariableNode real) {
Function function = new Functions.Complex.ComplexPureReal();
return Apply(function, real)[0];
... |
//------------------------------------------------------------------------------
// <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>
//-----------------------------------------... |
namespace Lykke.Service.PayPushNotifications.Client.Publisher
{
public interface INotificationMessage
{
string[] MerchantIds { get; }
string[] EmployeeIds { get; }
string Message { get; }
}
} |
using System.Runtime.InteropServices;
using Math = System.MathF;
namespace PokeD.Core.Data
{
/// <summary>
/// Represents the location of an object in 3D space (float).
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public readonly struct Vector3
{
public readonly floa... |
// Copyright (c) 2021, David Aramant
// Distributed under the 3-clause BSD license. For full terms see the file LICENSE.
using System.CodeDom.Compiler;
namespace Tiledriver.Core.FormatModels.Xlat
{
[GeneratedCode("DataModelGenerator", "1.0.0.0")]
public sealed partial record TriggerTemplate(
ushort O... |
// File: MapPlane.cs
// Date: 2016-8-18
//
// COPYRIGHT (c) 2016 Callum Wilson callum.w@outlook.com
//
// 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 restrictio... |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 11.05.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... |
using Rhino.Geometry;
using static System.Math;
namespace Robots;
public class RobotSystemUR : RobotSystem
{
public RobotUR Robot { get; }
// public URRealTime URRealTime { get; set; }
internal RobotSystemUR(string name, RobotUR robot, IO io, Plane basePlane, Mesh? environment)
: base(name, Man... |
using Lockstep;
public static class BuildGridAPI
{
const int defaultGridLength = 256;
const int defaultBuildSpacing = 3;
const int defaultGridOffset = -128;
public static BuildGridManager MainBuildGrid { get; private set; }
public static int GridOffset { get; private set; }
public static void Initialize(
int ... |
using System;
public class Example
{
public static void Main()
{
// <Snippet26>
object[] values = { 1603, 1794.68235, 15436.14 };
string result;
foreach (var value in values) {
result = String.Format("{0,12:C2} {0,12:E3} {0,12:F4} {0,12:N3} {1,12:P2}\n",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace Api.Core.Helpers
{
internal class CryptoRandom : RandomNumberGenerator
{
private static RandomNumberGenerator r;
///<summary>
/// Creates an instance of ... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.IO;
namespace LogJoint
{
public static class RangeUtils
{
public static int PutInRange(int min, int max, int x)
{
if (x < min)
return min;
if (x > max)
return max;
return x;
}
public sta... |
using SFA.DAS.ApplyService.Domain.Apply;
using SFA.DAS.ApplyService.InternalApi.Services.Assessor;
using SFA.DAS.ApplyService.InternalApi.Types.Assessor;
using System;
using System.Collections.Generic;
using System.Linq;
using SFA.DAS.ApplyService.Application.Services.Assessor;
namespace SFA.DAS.ApplyService.Internal... |
using System;
using Binance.Api;
namespace Binance.Account.Orders
{
public abstract class ClientOrder : IChronological
{
#region Public Properties
/// <summary>
/// Get the user.
/// </summary>
public IBinanceApiUser User { get; }
/// <summary>
/// Get... |
//
// ImapClient.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2020 .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
// in the Softwa... |
using System;
namespace Config4Net.Core.Manager
{
/// <summary>
/// Manages <see cref="IConfigDataFactory" />.
/// </summary>
public interface IConfigDataFactoryManager
{
/// <summary>
/// Registers an <see cref="IConfigDataFactory" /> to the managed list for a specific con... |
// 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 regenerated.
namespace Microso... |
using System;
namespace ImpulsoProject.Net.MimeTypes
{
/* Copied from:
* http://stackoverflow.com/questions/10362140/asp-mvc-are-there-any-constants-for-the-default-content-types */
/// <summary>
/// Common mime types.
/// </summary>
public static class MimeTypeNames
{
///<summa... |
// 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.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Analyzer.Utilities;
using Ana... |
namespace chapter_06
{
interface IMultiVariant<out T, in U>
{
T Make();
void Take(U arg);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Web
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
... |
/*
* 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 Hevadea.Framework;
using Hevadea.Framework.Extension;
using Hevadea.Framework.Graphic;
using Hevadea.Framework.Graphic.Particles;
using Hevadea.Framework.Utils;
using Hevadea.GameObjects;
using Hevadea.GameObjects.Entities;
using Hevadea.GameObjects.Entities.Blueprints;
using Hevadea.GameObjects.Entities.Compone... |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using Mosa.Compiler.Common;
using Mosa.Compiler.Framework;
using Mosa.Compiler.Framework.Platform;
using System.Diagnostics;
namespace Mosa.Platform.x86.Instructions
{
/// <summary>
/// Representations the x86 Lidt instruction.
/// </summary>
pub... |
/* Copyright 2007-2013 Marcus Cuda - http://marcuscuda.com
*
* Licensed under the Simplified BSD license - see LICENSE.txt
*/
namespace PartialKeyVerification.Checksum
{
/// <summary>
/// Classes that implement this interface should creates a 16-bit checksum of
/// a given byte array.
/// </summary... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Serialization;
public class MaterialPickerUIController : MonoBehaviour {
[SerializeField] private GameObject commonGroup;
[SerializeField] private GameObject tradingGroup;
private MaterialPicker ... |
using game.Ascii;
namespace game.Gui
{
internal abstract class Control
{
protected Position position;
public Position Position => position;
protected Control(Position position)
{
this.position = position;
}
public abstract void Render(Cont... |
using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Text;
namespace AlonsoAdmin.Common.Auth
{
public interface IAuthToken
{
string Build(Claim[] claims);
}
} |
/*
* 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 Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using TensorShader;
using static TensorShader.Field;
namespace TensorShaderTest.Links.ComplexConvolution {
[TestClass]
public class ComplexDeconvolution3DTest {
[TestMethod]
public void ReferenceTest() {
int inch... |
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation 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 NUnit.Framework;
using Wox.Core.Plugin;
using Wox.Plugin;
namespace Wox.Test
{
... |
using AngleSharp.Dom;
namespace Bunit;
public abstract class EventDispatchExtensionsTest<TEventArgs> : TestContext
where TEventArgs : EventArgs, new()
{
protected static readonly Type EventArgsType = typeof(TEventArgs);
protected abstract string ElementName { get; }
protected TriggerEventSpy<EventArgs> CreateTr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Exte... |
using System;
using System.Diagnostics;
using System.Linq;
using AVFoundation;
using CoreFoundation;
using CoreGraphics;
using Foundation;
using UIKit;
namespace Chafu
{
/// <summary>
/// Camera view used to preview camera and take pictures
/// </summary>
public class CameraView : BaseCameraView
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class feculty_Sci_Eng : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
} |
using System.Data;
using System.Configuration;
using System.Data.SqlClient;
/// <summary>
/// Clase que permite la conexión a Sql server
/// </summary>
public class sqlConnection {
SqlConnection localConnection = new SqlConnection(ConfigurationManager.ConnectionStrings["DavidLocal"].ConnectionString); // --> Cad... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.ContractsLight;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using BuildXL.Native.IO;
using Bu... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace HeroesData.FileWriter.Tests.BundleData
{
[TestClass]
public class BundleDataOutputJsonTests : BundleDataOutputBase
{
public BundleDataOutputJsonTests()
{
FileOutputType = FileOutputType.Json;
}
[Test... |
using Aspose.Slides;
using Aspose.Slides.Animation;
using Aspose.Slides.Examples.CSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharp.Text
{
class EffectTextBoxParagraph
{
public static void Run()
{
//ExStart:EffectTextBo... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.InteropService... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace DurableFunctions.Monitoring
{
public interface IWeatherService
{
string ApiKey { get; set; }
Task<WeatherCityCondition> GetCityInfoAsync(string cityCode);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _03.HouseParty
{
class Program
{
static void Main(string[] args)
{
int numberOfGuests = int.Parse(Console.ReadLine());
List<string> names = new List<string>();
for (int i = 0; i <... |
// 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.ComponentModel;
using Microsoft.Toolkit.Uwp.UI.Controls.Design.Properties;
using Microsoft.VisualStud... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Schema;
namespace Microsoft.BotBuilderSamples
{
public cla... |
using Sharpen;
namespace org.apache.harmony.security.pkcs10
{
[Sharpen.NakedStub]
public sealed class CertificationRequest
{
}
} |
using TaaontiaCore.Enums;
namespace TaaontiaCore.Events
{
public abstract class ResultBase
{
public EResult Result;
}
} |
using System.Threading.Tasks;
using InstaScrump.Common.Utils;
using InstaScrump.Database.Model;
using LinqToDB;
using Xunit;
namespace InstaScrump.Test
{
public class UnitTest1
{
[Fact]
public async Task ConnectionTest()
{
using (var db = new DbContext(new Config(@"InstaScru... |
using System;
using UnityEngine;
namespace Mirror
{
// message packing all in one place, instead of constructing headers in all
// kinds of different places
//
// MsgType (1-n bytes)
// Content (ContentSize bytes)
//
// -> we use varint for headers because most messages will res... |
//
// Copyright 2012 Hakan Kjellerstrand
//
// 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 ag... |
namespace MassTransit.Configurators
{
using System.Collections.Generic;
using GreenPipes;
using Pipeline.Filters;
public class DelayedMessageSchedulerSpecification :
IPipeSpecification<ConsumeContext>
{
public void Apply(IPipeBuilder<ConsumeContext> builder)
{
b... |
namespace Nancy.Tests.Unit.Routing
{
using System;
using System.Globalization;
using System.Threading.Tasks;
using Nancy.Helpers;
using Nancy.Testing;
using Xunit;
public class ConstraintNodeRouteResolverFixture
{
private readonly Browser browser;
public ConstraintNod... |
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 HRCalculator
{
public partial class FormGivenDate : Form
{
public FormGivenDat... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
us... |
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("St... |
// <auto-generated />
using System;
using GloboTicket.TicketManagement.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.Postgre... |
namespace SHNDecrypt.More_Tools
{
partial class MoreTools_ExpMod
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... |
namespace TabelaDeVisualizacaoDeValores
{
partial class Form1
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recursos que estão sendo usados.
///... |
// 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.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microso... |
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL... |
public interface IInteractable
{
void Interact();
} |
namespace KinectLiveUpdate
{
using System;
using System.IO;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using Microsoft.Kinect;
public partial class MainForm : Form
{
private KinectSensor sensor;
... |
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("Rt... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/mfidl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.Windows;
... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.IO;
using NitroSharp.NsScript.Syntax;
namespace NitroSharp.NsScript.Compiler
{
public abstract class Symbol
{
public abstract SymbolKind Kind { get; }
}
public enum Symbo... |
namespace ICPDemo
{
partial class frmMixedGroupConfig
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Relatus
{
/// <summary>
/// An abstraction of a class that implements spatial partitioning capabilities.
/// </summary>
/// <typeparam name="T">The element stored within the partitioner.</typeparam>
public abstract class P... |
namespace HandyControlDemo.UserControl
{
public partial class FloatingBlockDemoCtl
{
public FloatingBlockDemoCtl()
{
InitializeComponent();
}
}
} |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d12video.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.Direc... |
namespace ClearCanvas.ImageServer.Model.SqlServer.CodeGenerator
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used... |
//------------------------------------------------------------------------------
// <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... |
using System;
using System.Collections.Generic;
namespace PizzaBox.Client
{
internal class Program //access modifiers - internal, protected, public, private
{
private static void Main(string[] args)
{
Run();
}
private static void Run() //needs to be static...static vs constant vs readonly
... |
using System;
using System.Text;
using System.Security.Cryptography;
namespace PasswordSecurity
{
public class InvalidHashException : Exception
{
public InvalidHashException() { }
public InvalidHashException(string message)
: base(message) { }
public InvalidHashException(s... |
using System;
using System.Web.Mvc;
namespace Guidelines.WebUI.Controllers
{
public class ErrorController : Controller
{
private const string unknow = "Unknown";
public ActionResult Unknown(Exception exception)
{
ViewBag.Title = "Unknow Error";
return View("Error", new HandleErrorInfo(excepti... |
using MauiReactor.WeatherTwentyOne.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MauiReactor.WeatherTwentyOne.Pages.Components
{
class Next24HrWidgetState : IState
{
public Forecast[] Hours { get; } = new []
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Graphics;
namespace start
{
class Button
{
protected Rectangle rectangle;
protected Texture2D texture;
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MoneyConversion.Api.Model
{
public class LiveRequest
{
[JsonProperty("success")]
public bool Success { get; set; }
[JsonProperty("terms")]
public s... |
// Copyright (c) Alexandre Mutel. All rights reserved.
// Licensed under the BSD-Clause 2 license.
// See license.txt file in the project root for full license information.
using Scriban.Parsing;
using System.Threading;
using System.Threading.Tasks;
namespace Scriban.Runtime
{
/// <summary>
/// Interface used... |
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("Sa... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace GRA.Data.Model
{
public class System : Abstract.BaseDbEntity
{
[Required]
public int SiteId { get; set; }
[Required]
[MaxLength(255)]
public string Name { get; set; }
publ... |
using GeoContacts.View;
using GeoContacts.ViewModel;
using Xamarin.Forms;
namespace GeoContacts
{
public class TestViewModel : ViewModelBase
{
}
public partial class TestPage : ContentPage
{
TestViewModel vm;
public TestPage()
{
InitializeComponent();
... |
// *** 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 Sharpie.Models.Elements
{
public class H1 : HtmlElement
{
public override string? Render()
{
Content = ChildNode?.Render();
Content = Content != null ? $"<h1{GetAttributes()}>{Content}</h1>" : $"<h1{GetAttributes()}></h1>";
return Content + ... |
@{
Layout = null;
}
@model User
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>清爽简洁的登录页面_dowebok</title>
<link rel="stylesheet" href="lib/bootstrap/dist/css/boots... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RaycastManager : MonoBehaviour {
public int raycastDistance;
public LayerMask layers;
public bool noHit = false;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update ()... |
using System.Collections.Generic;
using System.Threading.Tasks;
using WebForum.Entities;
namespace WebForum.Data
{
public interface IForumEntity
{
ForumEntity GetById(int id);
IEnumerable<ForumEntity> GetAll();
//IEnumerable<ApplicationUser> GetAllActiveUsers();
IEnumerable<ApplicationUser> GetActiveUsers(i... |
// 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.Linq;
using System.Runtime.CompilerServices;
using Wind... |
@model RegisterViewModel
@{
Title = "Register";
//Layout = Constants.SiteLayoutName;
Layout = "_LoginLayout";
}
@*<h2>@_T[ViewData["Title"].ToString()]</h2>*@
<div class="row" style="max-width:800px; margin:0 auto;">
<div style="width:300px; margin:0 auto;">
<form asp-route-returnUrl="@ViewD... |
using System;
using System.Xml.Serialization;
namespace Alipay.AopSdk.Response
{
/// <summary>
/// AlipayPassSyncAddResponse.
/// </summary>
public class AlipayPassSyncAddResponse : AopResponse
{
/// <summary>
/// 成功时返回的业务参数信息。
/// </summary>
[XmlElement("biz_result"... |
// Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Nuke.Common.Utilities.Collections;
using Nuke.Common.ValueInjection;
nam... |
// <auto-generated />
using System;
using Elsa.Persistence.EntityFramework.Core;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Elsa.Persistence.EntityFramework.Sqlite.Migrations
{
[DbContext(typeof(El... |
using System;
namespace SpanJson.Shared.Fixture
{
public class ShortValueFixture : IValueFixture
{
private readonly Random _prng;
public Type Type { get; } = typeof(short);
public ShortValueFixture(int? seed = null)
{
_prng = seed != null ? new Random(seed.Value) :... |
namespace MassTransit.InMemoryTransport.Configuration
{
using System.Collections.Generic;
using System.Linq;
using MassTransit.Configuration;
using Topology;
public class InMemoryTopologyConfiguration :
IInMemoryTopologyConfiguration
{
readonly InMemoryConsumeTopology _consume... |
namespace VGMToolbox.util
{
public class OffsetDescription
{
public string OffsetValue { set; get; }
public string OffsetSize { set; get; }
public string OffsetByteOrder { set; get; }
}
} |
// Copyright (c) 2015 burningmime
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
// Permission is granted to anyone to use this software for any purpose,
// including commerc... |
using System;
using FluentAssertions;
using Xunit;
namespace Cudio
{
public class CommandBaseTests
{
[Fact]
public void Ctor_WithoutParameters_AssignsCommandId()
{
var command = new TestCommand();
command.CommandId.Should().NotBe(Guid.Empty);
}
... |
// 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 Cake.Common.Tools.DotNet.Test;
namespace Cake.Common.Tools.DotNetCore.Test;
/// <summary>
/// Contains sett... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using System.Numerics;
using TensorShader;
namespace TensorShaderTest.Functions.ComplexArithmetric {
[TestClass]
public class ComplexZReluTest {
[TestMethod]
public void ExecuteTest() {
const int le... |
namespace XenAdmin.Wizards.BallooningWizard_Pages
{
partial class ChooseVMs
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
///... |
@model Fos.Models.DishViewModels.ManageViewModel
@{
ViewData["Title"] = Localizer["Gerechten beheren"];
}
<div class="container">
<h2>@ViewData["Title"]</h2>
<div class="card">
<div class="card-header">
@Localizer["Gerecht aanmaken"]
</div>
<div class="card-body">
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.