text stringlengths 1 932k |
|---|
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using CleanArchitecture.Application.ApplicationUser.Dtos;
using CleanArchitecture.Application.ApplicationUser.Queries.GetToken;
using CleanArchitecture.Application.Common.Interfaces;
using CleanArchitecture.Application.Common.Models;
using CleanAr... |
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace BobOnRails.Controller.MVVM
{
/// <summary>
/// A basic implementation for view models.
/// </summary>
public abstract class BaseViewModel : INotifyPropertyChanged
{
/// <inheritdoc cref="INotifyPropertyChanged.Pr... |
using System.Collections.Generic;
namespace SharpBucket.V1.Pocos
{
public class RepositoriesOverview
{
public List<EventData> updated { get; set; }
public List<EventData> viewed { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace ProductShop.Dtos.Export
{
[XmlType("Product")]
public class ExportProductMiniDto
{
[XmlElement("name")]
public string Name { get; set; }
[XmlElement("price")]
publi... |
/*
* 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 2009 Amazon Services.
* 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://aws.am... |
/*
Copyright © 2013 Annpoint, s.r.o.
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 in writing, software... |
using DBManager.Application.ViewModels.General;
using DBManager.Default;
using ICSharpCode.AvalonEdit.Highlighting;
namespace DBManager.Application.ViewModels
{
public class ScriptViewModel : ViewModelBase
{
private string _sql;
public IHighlightingDefinition Highlighting => HighlightingMana... |
namespace GeekLearning.Authorizations.EntityFrameworkCore.Data
{
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
public class ScopeHierarchy
{
public Guid ParentId { get; set; }
public Guid ChildId { get; set; }
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Starlight.Server.Data.Migrations
{
public partial class AddSpriteToCharacters : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "Sprite",
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.Physics;
using Microsoft.MixedReality.Toolkit.Utilities;
using System;
using System.C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace EFCrudApp
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void M... |
#pragma checksum "E:\Program\BlogSite\BlogSite\Views\Shared\_ValidationScriptsPartial.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "e436fc5a2b064bf206039538d1b6626723aa657b"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspN... |
//
// HepburnConverterTest.cs
//
// Author:
// John Mark Gabriel Caguicla <caguicla.jmg@hapticbunnystudios.com>
//
// Copyright (c) 2018 John Mark Gabriel Caguicla
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Softw... |
using UnityEngine;
namespace Mirror.Examples.Additive
{
public class RandomColor : NetworkBehaviour
{
public override void OnStartServer()
{
base.OnStartServer();
color = Random.ColorHSV(0f, 1f, 1f, 1f, 0.5f, 1f);
}
// Color32 packs to 4 bytes
[S... |
/*
* Original author: Nicholas Shulman <nicksh .at. u.washington.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
*
* Copyright 2020 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance ... |
// 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.Collections.Generic;
using System;
namespace NuGet.Packaging.Core
{
public class Fingerprints
{
private IDictionary<string... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SquareOfStars
{
class SquareOfStars
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
for (int i = 1; i <= n; i++)
... |
// Copyright © 2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Globalization;
using System.IO;
using System.Text;
using S... |
#region Using Directives
using System.Windows.Input;
using Microsoft.VisualStudio.Text.Editor;
using Pharmatechnik.Nav.Language.Extension.Common;
#endregion
namespace Pharmatechnik.Nav.Language.Extension.GoTo {
sealed class GoToKeyProcessor: KeyProcessor {
readonly ModifierKeyState _keyState;
... |
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiEndpoints;
using AutoMapper;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopWeb.ApplicationCore.Entities;
using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using Microsoft.eShopWeb.ApplicationCore.Specifica... |
namespace Gradebook.Data.Models
{
using System.Collections.Generic;
using Absences;
using Common.Models;
using Grades;
public class StudentSubject : BaseDeletableModel<int>
{
public int StudentId { get; set; }
public virtual Student Student { get; set; }
public int Su... |
namespace FrontEnd
{
partial class MainWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <para... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.WxOpen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... |
// 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.CompilerServices;
class Test_UnsafeBlockCopy
{
static int SIZE = 100;
public static unsafe int Main()
{
byte* source = stack... |
namespace Valheim.SpawnThat.Core.Configuration
{
public interface IHaveSubsections
{
Config GetSubsection(string subsectionName);
}
} |
using AutoMapper;
using AutoMapper.QueryableExtensions;
using Ninject.Modules;
using Solution.Base.Automapper;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Ninject.Extensions.Conventions;
using System... |
using System.Reflection;
using System.Runtime.InteropServices;
using Microsoft.Office.Interop.Word;
using Microsoft.Office.Tools;
using VSTOContrib.Core;
using VSTOContrib.Core.RibbonFactory.Interfaces;
namespace VSTOContrib.Word.RibbonFactory
{
[ComVisible(true)]
public class WordRibbonFactory : Core.RibbonFa... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace Xenial.Framework.Layouts.ColumnItems
{
/// <summary>
/// Class ColumnCollection. Implements the
/// <see cref="System.Collections.Generic.ICollection{T}" />
/// Implements the <see cref="System.Collections.Generic.IEnu... |
// <auto-generated />
using System;
using AsyncInn.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace AsyncIn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace POSH_sharp.sys.strict
{
/// <summary>
/// Implementation of an Action.
///
/// An action as a thin wrapper around a behaviour's action method.
/// </summary>
public class POSHAction : CopiableEleme... |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//----... |
@model AddPhoneNumberViewModel
@{
ViewData["Title"] = "Add Phone Number";
}
<h2>@ViewData["Title"].</h2>
<form asp-controller="Manage" asp-action="AddPhoneNumber" method="post" class="form-horizontal" role="form" asp-antiforgery="false">
<h4>Add a phone number.</h4>
<hr />
<div class="form-group">
... |
using System;
using FluentAssertions;
using Networking.Model.Transport;
using Xunit;
namespace Networking.Model.Tests.TransportTests.TCPSegmentTests
{
public class TCPSegment_Property_SequenceNumber_Test
{
[Fact]
public void Get()
{
var tcpSegment = new TCPSegment
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using QuantaculaCore;
using QuantaculaIndicators;
namespace TASCIndicators
{
//CG Indicator class
public class CG : IndicatorBase
{
//parameterless constructor
public CG() : base()
{
}
... |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AllowedImportData.cs" company="Microsoft">
// Copyright Microsoft Corporation, all rights reserved
// </copyright>
// <summary>
// Text Data Enum
// </summary>
// ------------... |
using io.rong.messages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace io.rong.models.message
{
public class ChatroomMessage : MessageModel
{
public ChatroomMessage()
{
}
public ChatroomMessage(String senderUserId, String[] ta... |
using AdonisUI.Helpers;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Media;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Interop;
using System.Windows... |
using System;
using Ayehu.Sdk.ActivityCreation.Interfaces;
using Ayehu.Sdk.ActivityCreation.Extension;
using Ayehu.Sdk.ActivityCreation.Helpers;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Collections.Generic;
namespace Ayehu.Zoom
{
public class ZM_List_IM_Directory_Groups : IActivityA... |
using PicoMoonSharp.Interpreter.Interop;
using PicoMoonSharp.Interpreter.Platforms;
namespace PicoMoonSharp.Interpreter
{
/// <summary>
/// Class containing script global options, that is options which cannot be customized per-script.
/// <see cref="Script.GlobalOptions"/>
/// </summary>
public class ScriptGloba... |
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("Co... |
using iHRS.Application.Common;
using iHRS.Application.Exceptions;
using iHRS.Domain.Common;
using iHRS.Domain.Models;
using System;
using System.Threading.Tasks;
namespace iHRS.Application.Commands.Hotels
{
public class CreateMessageTemplateCommand : ICommand<Guid>
{
public string Message { get; }
... |
using System;
using ff14bot.Objects;
using DrawingContext = FFXIVOverlay.Overlay.DrawingContext;
using Vector3 = SlimDX.Vector3;
namespace FFXIVOverlay.Command
{
public class DrawCacheCommand : ComplexDrawCommand
{
DrawCacheManager cacheManager;
private string baseKey;
public float B... |
public interface HasUnit {
Unit unit {
get;
}
} |
using System;
using Newtonsoft.Json;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// InsLiability Data Structure.
/// </summary>
[Serializable]
public class InsLiability : AlipayObject
{
/// <summ... |
using System;
using System.Collections.Generic;
#nullable disable
namespace SimpleRetail.Models
{
public partial class TransactionProduct
{
public string TransactionId { get; set; }
public string ProductId { get; set; }
public int Quantity { get; set; }
public int Price { 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>
//--... |
using Microsoft.Xna.Framework;
namespace Supernova.Particles2D.Modifiers.Movement
{
/// <summary>
/// Modifier to apply friction to individual particles
/// </summary>
public class Friction : IModifier
{
private float friction;
public void Update(float particleAge, double totalMill... |
#region
using System;
using System.IO;
#endregion
namespace LegendaryClient.Logic.SoundLogic
{
public class AmbientChampSelect
{
public static string CurrentQueueToSoundFile(double queueId)
{
string soundFileName;
if (queueId == 2)
soundFileName = "Chm... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace JonasSchubert.Snippets.Enumerable
{
/// <summary>
/// Partial class for Enumerable snippets
/// </summary>
public static partial class Enumerable
{
/// <summary>
/// Removes falsey values from an array.
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace IdentityServer.Webapi.Dtos
{
public class GroupPolicyDto
{
public Guid GroupId { get; set; }
public List<string> Emails { get; set; }
public List<string> Roles { get; set; }
}... |
// Copyright (c) MarinAtanasov. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the project root for license information.
using AppBrix.Tests;
using AppBrix.Text.Tests.Mocks;
using FluentAssertions;
using System.Text;
using Xunit;
namespace AppBrix.Text.Tests;
public sealed class Enc... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------... |
namespace SpaceEngineers.Core.Modules.Test.AutoRegistrationTest
{
using AutoRegistration.Api.Abstractions;
using AutoRegistration.Api.Attributes;
[ComponentOverride]
internal class ScopedCollectionResolvableOverride : IScopedCollectionResolvable, ICollectionResolvable<IScopedCollectionResolvable>
{... |
namespace YouWebIt
{
partial class InfoForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param n... |
// 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;
namespace BlazorWeather.Maui
{
public interface ITrayService
{
void Initialize();
Action ClickHandler { get; set; }
}
} |
//
// DocumentWriter.cs
//
// Author: Kees van Spelde <sicos2002@hotmail.com>
//
// Copyright (c) 2013-2021 Magic-Sessions. (www.magic-sessions.com)
//
// 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 t... |
using SampleProject.Domain.SeedWork;
namespace SampleProject.Domain.SharedKernel
{
public class MoneyValueMustHaveCurrencyRule : IBusinessRule
{
private readonly string _currency;
public MoneyValueMustHaveCurrencyRule(string currency)
{
_currency = currency;
}
... |
//----------------------
// <auto-generated>
// This file was automatically generated. Any changes to it will be lost if and when the file is regenerated.
// </auto-generated>
//----------------------
#pragma warning disable
using System;
using SQEX.Luminous.Core.Object;
using System.Collections.Generic;
using CodeDom... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("StringClassLibrary")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assem... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _09.Legendary_Farming
{
class Program
{
static void Main(string[] args)
{
var result = new Dictionary<string, int>();
var junk = new Dictionary<string, int>();
result.Add("shards", ... |
// Copyright (c) XRTK. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using RealityToolkit.Definitions.LocomotionSystem;
using RealityToolkit.Definitions.Utilities;
using RealityToolkit.Interfaces.InputSystem;
namespace RealityToolkit.Interfaces.Locom... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace CinemaConstructor.Models.ManageViewModels
{
public class ConfigureTwoFactorViewModel
{
public string SelectedProvider { get; set; }
public ICollection<SelectListItem> Providers { get; set; }
}
} |
/*
* 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
*
... |
// Set preprocessor directive(s) to enable the scenarios you want to test.
// For more information on preprocessor directives and sample apps, see:
// https://docs.microsoft.com/aspnet/core/#preprocessor-directives-in-sample-code
//
// InvalidModelStateResponseFactory - customize response for automatic 400 on validati... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Storage;
using Microsoft.Azure.Management.Storage.Models;
using Microsoft.Azure.Test.HttpRecorder;
using Microsoft.WindowsAzure.... |
// ZlibCodec.cs
// ------------------------------------------------------------------
//
// Copyright (c) 2009 Dino Chiesa and Microsoft Corporation.
// All rights reserved.
//
// This code module is part of DotNetZip, a zipfile class library.
//
// ------------------------------------------------------------------
/... |
@using Microsoft.AspNetCore.Identity
@inject SignInManager<IdentityUser> SignInManager
@inject UserManager<IdentityUser> UserManager
<ul class="navbar-nav">
@if (SignInManager.IsSignedIn(User))
{
<li class="nav-item">
<a class="nav-link text-dark" asp-area="Identity" asp-page="/Account/Manage/Index" titl... |
using System;
using System.Linq;
namespace Kelson.CSharp.MathExtensions
{
/// <summary>
/// Provides useful functionality not found in the default Math class.
/// </summary>
public static class MathExt
{
/// <summary>
/// 2π
/// </summary>
public const double TwoPi ... |
using System;
namespace Problem_5._Border_Control
{
public interface IPet
{
string Name { get; set; }
DateTime Birthday { get; set; }
}
} |
// Copyright © .NET Foundation and Contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace PInvoke
{
using System;
using System.Runtime.InteropServices;
/// <summary>
/// Exported functions from the BCrypt.dll ... |
using AdvUtils;
using RNNSharp.Layers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace RNNSharp.Networks
{
class ForwardRNNSeq2Seq<T> : ForwardRNN<T> where T : ISequence
{
List<float[]>[] denseFeatureG... |
@using PetSite.ViewModels
@{
ViewData["Title"] = "Adopt Me";
@model Pet;
}
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jque... |
using System.Threading.Tasks;
using Microsoft.Azure.ServiceBus;
namespace OpenEventSourcing.Azure.ServiceBus.Topics
{
public interface ITopicClientFactory
{
Task<ITopicClient> CreateAsync();
}
} |
using System.Security.Claims;
namespace Abp.Runtime.Security
{
/// <summary>
/// Used to get ABP-specific claim type names.
/// </summary>
public static class AbpClaimTypes
{
/// <summary>
/// UserId.
/// Default: <see cref="ClaimTypes.Name"/>
/// </summary>
... |
using System.Management.Automation;
namespace PowerForensics.Cmdlets
{
#region GetGuidPartitioTableCommand
/// <summary>
/// This class implements the Get-GuidPartitioTable cmdlet.
/// </summary>
[Cmdlet(VerbsCommon.Get, "ForensicGuidPartitionTable")]
public class GetGuidPartitioTableComma... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Scaffolder.Models;
namespace Scaffolder.Scaffold
{
public class ViewModelScaffold : GenerationConditions
{
public Scaffolders Scaffolders { get; set; }
public List<Configuration>... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
namespace NoiseBrushPlugin
{
public class Layout : Editor
{
#region Layout Instruments
public float size = 1;
public float minSize = 0.5f;
public bool change = false;
public bool disabled=false;
publi... |
using FacturadorDigital.ASMX;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.OleDb;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FacturadorDigital.ASPX
{
public partial class... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class BNG_KeypadExample : MonoBehaviour
{
public List<Sprite> KeyedAnswerSprites; //this is the blocks up top that change when you input some code, these are the numbers
public List<GameObject> emptyKeyAnswerBlocks; //this ... |
using _0_Framework.Infrastructure;
using AccountManagement.Application.Contracts.Role;
using AccountManagement.Domain.RoleAgg;
using Microsoft.EntityFrameworkCore;
namespace AccountManagement.Infrastructure.EfCore.Repository {
public class RoleRepository: RepositoryBase<long, Role>, IRoleRepository {
priv... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Data
{
/// <summary>
/// Specifies the aggregate function type.
/// </summary>
internal enum AggregateType
{
/// <summary>
/// No... |
@{
Layout = "_Layout";
}
@using HairSalon.Models;
@model List<HairSalon.Models.Stylist>;
<h1>Stylists</h1>
@if (@Model.Count == 0)
{
<h3>No Stylists have been added yet!</h3>
}
@foreach (Stylist stylist in Model)
{
<li>@Html.ActionLink($"{stylist.Name}", "Details", new { id = stylist.StylistId })</li>
}
<p>... |
using System;
using System.Collections.Generic;
using System.Text;
namespace LionFire.Notifications.Abstractions
{
class ITrigger
{
}
} |
@{
Layout = "_Layout";
}
@model HairSalon.Models.Client
<h3>Client Details</h3>
<hr />
<h2>@Html.DisplayNameFor(model => model.Name): @Html.DisplayFor(model => model.Name)</h2>
<h2>@Html.DisplayNameFor(model => model.ContactInfo): @Html.DisplayFor(model => model.ContactInfo)</h2>
<p>@Html.ActionLink("Edit Client", ... |
/*
* 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... |
// <auto-generated />
using System;
using DotNetCoreSqlDb.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespac... |
namespace PS2Disassembler.Core.Instructions.Register.C790
{
public class MFHI1 : RegisterBase
{
public MFHI1(uint rs, uint rt, uint rd, uint sa)
: base("MFHI1", rs, rt, rd, sa)
{
}
public override string ToString()
{
return $"{OP} {RD}";
... |
using System;
namespace DFC.App.JobProfiles.HowToBecome.FunctionalTests.Model.ContentType
{
public class HiddenAlternativeTitle
{
public string Id { get; set; }
public string Title { get; set; }
public Uri Url { get; set; }
public string Description { get; set; }
}
} |
/*
* FINBOURNE Notifications API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.1.343
* Contact: info@finbourne.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Reflection.Emit;
using System.Text.RegularExpressions;
namespace DefaultEcs.Technical.Serialization.TextSerializer
{
interna... |
using System;
using System.Linq;
using System.Reflection;
using HTTP.Enums;
using HTTP.Responses;
using MvcFramework.Attributes.Action;
using MvcFramework.Attributes.Http;
using MvcFramework.Attributes.Security;
using MvcFramework.Results;
using MvcFramework.Routing;
namespace MvcFramework
{
public static class W... |
using UnityEngine;
public class PlayerController : MonoBehaviour {
// Touch Control Variables
private Vector3 touchPosition;
private Rigidbody2D rb;
private Vector3 direction;
[SerializeField] private float moveSpeed = 10.0f;
private Touch touch;
private LayerMask coinLayer;
[Serializ... |
// ---------------------------------------------------------------------------------------
// ILGPU
// Copyright (c) 2016-2020 Marcel Koester
// www.ilgpu.net
//
// File: CudaDriverVersion.cs
//
// This file is part of ILG... |
using OpenCV.Net;
using System;
using System.ComponentModel;
using System.Linq;
using System.Reactive.Linq;
namespace Bonsai.Vision
{
[Description("Finds the circumscribed circle of minimal area for a given set of 2D points.")]
public class MinimumEnclosingCircle : Transform<Contour, Circle>
{
pub... |
using MasteringEFCore.RawSql.Starter.Models;
using MasteringEFCore.RawSql.Starter.ViewModels;
using Microsoft.AspNetCore.Mvc;
using System.Diagnostics;
namespace MasteringEFCore.RawSql.Starter.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
r... |
/*
* 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... |
//------------------------------------------------------------------------------
// <copyright file="NativeMethods.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//--------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.