text stringlengths 1 932k |
|---|
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Net.Http;
using System.Threading.Tasks;
using System.Net;
using TEP.Shared.Helpers;
using System.Text.Json;
using TEP.Application.Assets.Queries.GetAsset;
namespace TEP.IntegrationTest.API
{
[TestClass]
public class AssetApiTest : Setup
{
... |
using MoviePortal.ViewModels;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
namespace MoviePortal.Services
{
public class NewsService
{
public async Task<List<NewsStoryViewModel>> GetNews(string newsUrl)
{
var client = new... |
// 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.
/******************************************************************************
* This file is auto-generated from ... |
//------------------------------------------------------------------------------
// <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 System;
namespace Foundation.Services
{
/// <summary>
/// Service for displaying information about an <see cref="Exception"/>
/// and the current application state, presenting the user with options on how to proceed.
/// </summary>
public interface IExceptionHandlerWindow
{
/// <... |
using System.Collections.Generic;
using Aims.Dto.Menus;
namespace Aims.Dto.Roles
{
/// <summary>
/// 角色DTO
/// </summary>
public class RoleDto
{
/// <summary>
/// 主键
/// </summary>
public int Id { get; set; }
/// <summary>
/// 角色名称
/// </sum... |
using System;
using System.IO;
namespace Illumina.TerminalVelocity.Host
{
public class DownloadOptions
{
private string outputFile = null;
public bool ShowHelp { get; set; }
public bool IsInteractive { get; set; }
public string OutputFile
{
get
... |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... |
using System;
using System.Collections.Generic;
using System.Linq;
using APPBASE.Helpers;
using APPBASE.Models;
using APPBASE.Svcbiz;
namespace APPBASE.Models
{
public partial class TemplateBL
{
private Boolean saveDETAIL()
{
//HEADER
this._HEADER_result.ID = _CRUD.ID;
... |
// 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;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Microsoft.EntityFrameworkCo... |
namespace Galcorp.Auth.UWP
{
using Windows.ApplicationModel.Activation;
public delegate void ApplicationActivationEvent(IActivatedEventArgs args);
public static class AppEventWrapper
{
public static event ApplicationActivationEvent ApplicationActivationEvent;
public static void OnApp... |
namespace Gripper.ChromeDevTools.Page
{
using Newtonsoft.Json;
/// <summary>
/// Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been
/// closed.
/// </summary>
public sealed class JavascriptDialogClosedEvent : IEvent
{
/// <summary>
... |
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Netling.Core.Models;
using Netling.Core.SocketWorker.Performance;
namespace Netling.Core.SocketWorker
{
public class SocketWorkerJob : IWorkerJob
{
private readonly int _index;
private Uri _uri;
private readonl... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityApiGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-gen... |
using AllGreen.Lib.Core.Fixture;
namespace AllGreen.Lib.Core.Engine.Test
{
public interface ITestUsingOutputTableFixture<C, F> : ITestUsingTableFixture<C, F> where C : class, IContext, new() where F : class, IFixture<C>, new()
{
}
} |
using System;
namespace BTCPayServer.Events
{
public class InvoiceNeedUpdateEvent
{
public InvoiceNeedUpdateEvent(string invoiceId)
{
ArgumentNullException.ThrowIfNull(invoiceId);
InvoiceId = invoiceId;
}
public string InvoiceId { get; set; }
pu... |
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace WetalkAPI.Models.Users
{
public class RegisterUserModel
{
[Required]
public string FirstName { get; set; }
[Required]
public string LastName { get; set; }
[Required]
pu... |
using System;
using System.Diagnostics;
using System.Linq;
namespace Testify
{
/// <summary>
/// Defines a range of acceptable values.
/// </summary>
internal sealed class Range
{
/// <summary>
/// Initializes a new instance of the <see cref="Range"/> class.
/// </summary>
... |
using System;
using System.ServiceProcess;
using Models;
using SharedControllerHelper.Models;
namespace ServiceLifeControllerService
{
//This is a class which describes the event to the class that recieves it.
//An EventArgs class must always derive from System.EventArgs.
public class ServiceNotifyEventAr... |
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("Hel... |
// Copyright(c) Microsoft Corporation.All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// This is a sa... |
// This file is part of Core WF which is licensed under the MIT license. See LICENSE file in the
// project root for full license information.
namespace System.Activities.XamlIntegration
{
using System.Windows.Markup;
public interface IValueSerializableExpression
{
bool CanConvertToString(IValueSe... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Xamapi.Models;
namespace Xamapi.Services
{
public class StateApiService: IStateApiService
{
public async Task<StateInfo> GetStateAsync()
... |
using Microsoft.Win32;
using System;
namespace TOTPManager.Services.Startup
{
public class Startup
{
private readonly string _appTitle;
private readonly string _appPath;
public Startup(string appTitle, string appPath)
{
_appTitle = appTitle;
_appPath = ... |
namespace SportNewsApp.Models.Fixtures
{
public class ResponseResult
{
public FixtureInfo Fixture { get; set; }
public TeamsInfo Teams { get; set; }
public GoalsInfo Goals { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Graph;
using System.Net.Http.Headers;
using OfficeDevPnP.Core.Entities;
using System.IO;
using OfficeDevPnP.Core.Diagnostics;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
using OfficeDevPnP.Core.Utili... |
using System;
using UnityEngine;
using System.Collections.Generic;
using UnityEngine.Networking;
namespace Proyecto26
{
[Serializable]
public class ResponseHelper
{
/// <summary>
/// The UnityWebRequest used in the current request.
/// </summary>
public UnityWebRequest Requ... |
/*
* Tester.PCL
*
* This file was automatically generated for Stamplay by APIMATIC v2.0 ( https://apimatic.io ) on 08/09/2016
*/
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tester.PCL;
using Tester.P... |
/*
* 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 NFluent;
using NUnit.Framework;
using System.Text.RegularExpressions;
using WTM.Crawler.Extensions;
namespace WTM.Crawler.Test.Extensions
{
[TestFixture]
public class StringExtensionsTest
{
[Test]
public void WhenExtractValueFromStringThenReturnExtractedValue()
{
... |
using System.Linq;
using Content.Client.GameObjects.Components.Mobs;
using Content.Client.Interfaces;
using Content.Client.UserInterface.Stylesheets;
using Content.Client.Utility;
using Content.Shared.Preferences;
using Content.Shared.Roles;
using Robust.Client.GameObjects;
using Robust.Client.Graphics;
using Robust.C... |
namespace BookReviewer.Controllers
{
using BookReviewer.Models.Reviews;
using BookReviewer.Services.Reviews;
using BookReviewer.Infrastructure;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
public class ReviewsController : Controller
{
private readonly ... |
using System;
using System.Data;
using System.Web.UI;
using System.ComponentModel;
using System.Web.UI.WebControls;
using Amns.GreyFox.Web.UI.WebControls;
namespace Amns.Tessen.Web.UI.WebControls
{
/// <summary>
/// Default web editor for DojoTestListJournalEntry.
/// </summary>
[DefaultProperty("ConnectionString"... |
using System;
using System.Runtime.InteropServices;
namespace LibGit2Sharp.Core
{
[Flags]
internal enum GitOdbBackendStreamMode
{
Read = 2,
Write = 4
}
[StructLayout(LayoutKind.Sequential)]
internal class GitOdbBackendStream
{
static GitOdbBackendStream()
{... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.OpenApi.Models;
using ApiRequestManager.Services;
using ApiRequestManager.Interfaces;
namespace ApiReques... |
using System;
using System.Collections.Generic;
using System.Linq;
using BookLovers.Base.Domain;
using BookLovers.Base.Domain.Aggregates;
using BookLovers.Base.Domain.Events;
using BookLovers.Publication.Domain.PublisherCycles.BusinessRules;
using BookLovers.Publication.Events.PublisherCycles;
using BookLovers.Publica... |
using Airbnb.Lottie;
using Cirrious.FluentLayouts.Touch;
using HealthCrossplatform.Core;
using HealthCrossplatform.Core.MvxInteraction;
using HealthCrossplatform.Core.Resources;
using HealthCrossplatform.Core.ViewModels;
using HealthCrossplatform.iOS.CustomControls;
using HealthCrossplatform.iOS.Extensions;
using Mvvm... |
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("Ch... |
using System;
using System.Diagnostics;
using System.Net;
using System.Windows.Forms;
using System.Xml;
namespace EksiSozlukLibrary.Internet
{
public class Guncelle
{
private XmlReader _xmlOku;
public void VersiyonKontroluYap()
{
Baglanti baglanti = new Baglanti();
... |
using System;
using Business.Common.Extensions;
using Business.HttpClient.Navigation;
using Flurl;
using Flurl.Http;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Runtime.Remoting.Messaging;
using Business.Common... |
// *** 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... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlogEngine.DataAccess.Source;
using BlogEngine.Model;
namespace BlogEngine.BusinessLogic
{
public class BLPublication : IDisposable
{
private readonly DAPublication _da = new DAPub... |
using System;
namespace Axiom.Input {
/// <summary>
/// Events args for keyboard input events.
/// </summary>
public class KeyEventArgs : InputEventArgs {
#region Fields
/// <summary>
/// Which key was pressed.
/// </summary>
protected KeyCodes key;
#endregion Fields
#region Constructor
/// <... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.MarkdigEngine.Extensions
{
using System;
using Markdig.Renderers;
using Markdig.Renderers.Html;
public class TripleColonBl... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Jinyinmao.Daemon.Models
{
/// <summary>
/// Class OrderInfoRequest.
/// </summary>
public class OrderInfoRequest
{
/// <summary>
/// 金额(单位:分)
/// </summary>
[JsonProperty("amount")]
public lo... |
namespace EventGridCluster.ConfigStores
{
public interface IConfigStore
{
EventGridTopicEndpoint GetConfig();
}
} |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using ClearHl7.Extensions;
using ClearHl7.Helpers;
using ClearHl7.Serialization;
using ClearHl7.V282.Types;
namespace ClearHl7.V282.Segments
{
/// <summary>
/// HL7 Version 2 Segment OM7 - Additional Basic Attribute... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Iot.Device.LEDMatrix
{
/// <summary>
/// Represents pin mapping for LED matrix
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tesseract.Core.Services;
namespace Tesseract.Vulkan.Graphics {
public static class VKServices {
public static readonly IService<IVKSurfaceProvider> SurfaceProvider = new OpaqueService<IVKSur... |
// <auto-generated />
using cloudscribe.SimpleContent.Models;
using cloudscribe.SimpleContent.Storage.EFCore.MSSQL;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.Enti... |
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Edge.Hub.Mqtt.Test
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DotNetty.Codecs.Mqtt.Packets;
using Microsoft.Azure.Devices.Edge.Hub.Core;
using Micr... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace CoreNg.Interfaces
{
public interface IApiContext : IDisposable
{
#region IDbContext
EntityEnt... |
#if UIWIDGETS_DATABIND_SUPPORT
namespace UIWidgets.DataBind
{
using Slash.Unity.DataBind.Foundation.Setters;
using UnityEngine;
/// <summary>
/// Set the WholeNumberOfSteps of a CenteredSlider depending on the System.Boolean data value.
/// </summary>
[AddComponentMenu("Data Bind/New UI Widgets/Setters/[DB] Cen... |
using System;
using System.Collections.Generic;
using System.Text;
namespace programmersdigest.Metamorphosis.Logging
{
class Logger
{
}
} |
using System;
using System.Threading;
namespace EventHandlingDemo
{
public class UIwords2
{
public void OnUserInput(object source, SentenceEventArgs args){
Console.WriteLine("What do you want to say.");
string ui = Console.ReadLine();
Console.WriteLine("Waititing 2 ... |
using NUnit.Framework;
using System;
using System.Linq;
using System.Collections.Generic;
namespace IxExample
{
[TestFixture ()]
public class ShareExample
{
// see https://github.com/Reactive-Extensions/Rx.NET/blob/master/Ix.NET/Source/System.Interactive/EnumerableEx.Buffering.cs#L150
[Test ()]
public void T... |
using System.Text;
namespace Ares.Apicalypse.Where {
public class ExclusivelyContains<T> : BaseMultiComponent<T> {
private readonly string _fieldName;
public ExclusivelyContains(string fieldName) {
_fieldName = fieldName;
}
public override string ToString() {
... |
namespace Org.BouncyCastle.Math.EC.Multiplier
{
/**
* Class holding precomputation data for the WNAF (Window Non-Adjacent Form)
* algorithm.
*/
internal class WNafPreCompInfo
: PreCompInfo
{
/**
* Array holding the precomputed <code>ECPoint</code>s used for the Window
* NAF multiplication in <code>
* {... |
using FluentValidation;
using Host4Travel.Core.DTO.PostCheckInDtos;
namespace Host4Travel.BLL.Validators.PostCheckInService
{
public class AddPostCheckInValidator:AbstractValidator<PostCheckInAddDto>
{
public AddPostCheckInValidator()
{
RuleFor(x => x.ApplicationId).NotNull().NotEm... |
/*********************************************************************
* EASING EQUATIONS
*
* Open source under the BSD License.
* Copyright � 2001 Robert Penner
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following... |
using System.Linq;
using System.IO;
using NuGet.LibraryModel;
using NuGet.ProjectModel;
using NuGet.Test.Utility;
using Xunit;
namespace NuGet.ProjectModel.Test
{
public class XProjUtilityTests
{
[Fact]
public void XProjUtility_DependencyTargetProject()
{
// Arrange
... |
// This is an independent project of an individual developer. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* AssemblyOptionsCommandAvailability.cs
* https://www.bimtrovert.com
* © BIMtrovert, 2018
*
* The external command.
*/
#region Namespaces
usi... |
#pragma warning disable CS0649 // private readonly fields filled via reflection
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using MonoMod.Utils;
namespace Celeste.Mod.Helpers {
// Based on https://github.com/discordapp/discord-rpc/blob/master/examples/... |
@using Microsoft.AspNetCore.Identity
@using WebApp.Models
@inject SignInManager<ApplicationUser> SignInManager
@inject UserManager<ApplicationUser> UserManager
@if (SignInManager.IsSignedIn(User))
{
<form asp-area="" asp-controller="Account" asp-action="Logout" method="post" id="logoutForm">
<div class="mt... |
namespace WinFormApp1
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <para... |
using HarmonyLib;
using PulsarPluginLoader.Chat.Commands;
using PulsarPluginLoader.Utilities;
namespace PulsarPluginLoader.Chat.Extensions
{
[HarmonyPatch(typeof(PLServer), "StartPlayer")]
class HarmonyServerLogin
{
static void Postfix(PLServer __instance, int inID)
{
if (Photo... |
using WeatherTwentyOne.Models;
namespace WeatherTwentyOne.Services;
public class ForecastService : IForecastService
{
public Task<List<Forecast>> GetDayForecastsAsync(DateTime dateTime)
{
var result = new List<Forecast>
{
new Forecast
{
DateTime = dateT... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Laser : MonoBehaviour {
void Update () {
transform.Translate(Vector2.up * Time.deltaTime * 10);
if (this.transform.position.y >= 6 || this.transform.position.y <= -6) {
Destroy(this.gameObject);
}
}
void OnCollis... |
namespace Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20200601
{
using static Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.Extensions;
/// <summary>The configuration of dataset in the query.</summary>
public partial class QueryDatasetConfiguration :
Microsoft.Azure.Powe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Serialize.Linq.Internals;
using Serialize.Linq.Nodes;
namespace Serialize.Linq.Factories
{
public class TypeResolverNodeFactory : NodeFactory
{
private readonly Type[] _exp... |
using System.Collections.Generic;
using HospitalData;
using HospitalData.Services;
namespace HospitalManagement
{
public class MatchedDonationManager
{
private readonly IMatchedDonationService _service;
public MatchedDonationManager()
{
_service = new MatchedDonationService();
}
public MatchedDonatio... |
namespace JIgor.Projects.SimplePicker.Api.Commons.Classes
{
public class HealthCheck
{
public string Status { get; set; }
public string Component { get; set; }
public string Description { get; set; }
}
} |
@{
use App\Includes\Statics;
use Scabbia\Extensions\Views\Views;
use Scabbia\Extensions\Fb\Fb;
use Scabbia\Request;
}
@Views::viewFile('{app}views/shared/header.cshtml')
@{
$url = 'http://' . $_SERVER['HTTP_HOST'] . @Http::url('surveys/take/' . $surveypublish['surveypublishid']);
$logourl = 'ht... |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http.Controllers;
using System.Web.Htt... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.Bot.Builder.Dialogs.Adaptive.Runtime.Extensions;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace QnASam... |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
// -----------------------------------------------------------------------
// <copyright file="DarkCheckBox.cs" company="">
// Christian Woltering, Triangle.NET, http://triangle.codeplex.com/
// </copyright>
// -----------------------------------------------------------------------
namespace MeshExplorer.Controls
{
... |
using JetBrains.Annotations;
using MAVN.Service.CustomerProfile.Client.Models.Enums;
namespace MAVN.Service.CustomerProfile.Client.Models.Responses
{
/// <summary>
/// The Information that we have for given Contact Person Profile
/// </summary>
[PublicAPI]
public class PartnerContactResponse
{
... |
namespace PartyBook.MicroServices.Administration.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(this.RequestId);
}
} |
using System;
using Microsoft.Extensions.DependencyInjection;
namespace Enexure.MicroBus.MicrosoftDependencyInjection
{
internal class MicrosoftDependencyInjectionDependencyResolver : IDependencyResolver
{
private readonly IServiceProvider serviceProvider;
private readonly IMarker marker;
... |
@model PagedList<MusicCenter.Common.ViewModels.Band.SongListItemViewModel>
<div class="row">
<div class="col-sm-6">
@MusicCenter.Common.Resources.Global.Name
</div>
<div class="col-sm-2">
@MusicCenter.Common.Resources.Global.Genres
</div>
<div class="col-sm-2">
@MusicCenter... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ContactService.Model {
public class Contact {
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
[Required]
public string FirstNa... |
namespace Nextt_SPED_Fiscal.Aplicacao.ViewModels
{
public class SegmentoSecaoEspecieVM
{
public short IDSegmento { get; set; }
public short IDSecao { get; set; }
public short IDEspecie { get; set; }
public string DescricaoSegmento { get; set; }
public string Descrica... |
using Microsoft.Extensions.Logging;
using Rebus.Messages;
using SafeRebus.Adapters.Abstractions;
using SafeRebus.Adapters.Abstractions.Adapters;
using SafeStandard;
namespace SafeRebus.Adapter.SafeStandard
{
public class SafeStandardAdapter : ISafeStandardAdapter
{
private readonly IBodyConverter Body... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
class StartUp
{
static void Main()
{
int key = int.Parse(Console.ReadLine());
List<string> goodChildrenList = new List<string>();
string inputLine = string.Empty;
while ((... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Movies.Client.Models
{
public class Movie
{
public long Id { get; set; }
public string Title { get; set; }
public string Genre { get; set; }
public DateTime ReleaseDate { ... |
using System.Collections.Generic;
using Xunit;
namespace Demo.LearnByDoing.Tests.InterviewCake
{
/// <summary>
/// https://www.interviewcake.com/question/csharp/largest-stack
///
/// You want to be able to access the largest element in a stack.
///
/// Use the built-in Stack class to implement a new class Ma... |
namespace Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20210301
{
using static Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Runtime.Extensions;
public partial class ClusterUpdateTags :
Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Runtime.IAssociativeArray<stri... |
// -----------------------------------------------------------------------
// <copyright file="RemoveUnreachableCodeExtension.cs">
// Copyright (c) 2021 Dean Edis. All rights reserved.
// </copyright>
// <summary>
// This code is provided on an "as is" basis and without warranty of any kind.
// We do not war... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.