text stringlengths 1 932k |
|---|
#pragma checksum "C:\Users\Jonathan Villeda\Documents\PROYECTOS C#\AppWebPersonal\Areas\Identity\Pages\Account\LoginWithRecoveryCode.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "467eb72e693fbd49ae230759d9d450a9136d47b7"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor... |
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;
using MaterialSkin;
using MaterialSkin.Controls;
namespace LibraryApp
{
public partial class MainMen... |
using Abp.Authorization.Users;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Linq;
using Abp.Organizations;
using InvManSaas.Authorization.Roles;
namespace InvManSaas.Authorization.Users
{
public class UserStore : AbpUserStore<Role, User>
{
public UserStore(
IUnitOfWorkMana... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace PTG
{
[CustomEditor(typeof(FlatColor))]
public class FlatColorInspector : Editor
{
FlatColor n = null;
public override void OnInspectorGUI()
{
n = (FlatColor)tar... |
using System;
using System.Collections.Generic;
using UnityEngine;
public class MonsterRunState : FSMState
{
private EntityDynamicActor dyAgent = null;
private float minDis;
public MonsterRunState(BaseEntity agent) : base(agent)
{
}
public override void setStateInfo()
{
this.STyp... |
namespace TGRS_ui
{
partial class Form1
{
/// <summary>
/// Wymagana zmienna projektanta.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Wyczyść wszystkie używane zasoby.
/// </summary>
/// <param nam... |
using Microsoft.AspNetCore.Mvc;
using HairSalon.Models;
using System.Collections.Generic;
namespace HairSalon.Controllers
{
public class ClientsController : Controller
{
[HttpGet("/stylists/{stylistId}/clients/new")]
public ActionResult New(int stylistId)
{
Stylist stylist = Stylist.Find(stylistI... |
/*
* 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
* distribu... |
#region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2019 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software")... |
/*
Copyright (c) 2017 LinkedIn Corp.
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 t... |
// Copyright (c) Mark Nichols. All Rights Reserved.
// Licensed under the MIT License.
using Newtonsoft.Json.Serialization;
using Newtonsoft.Json;
using System;
using System.IO;
using System.Text;
namespace Bicep.Core.Registry.Oci
{
public class OciSerialization
{
private static readonly Encoding M... |
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel;
namespace Efl {
/// <summary>Efl observer interface</summary>
[IObserverNativeInherit]
public interface IObserver :
Efl.Eo.IWrapper, IDisposable
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Forms;
using System.Windows.Input;
using System.Windows.Med... |
using System;
namespace XtraUpload.GrpcServices.Common
{
public class ReadUploadOptsRequestedEventArgs : EventArgs
{
public ReadUploadOptsRequestedEventArgs(string serverAddress)
{
ServerAddress = serverAddress;
}
public string ServerAddress { get; }
}
} |
// 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.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
usin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.IO;
using System.Web.Script.Serialization;
namespace KendoCRUDService.Common
{
public class JsonpResult : JsonResult
{
//public JsonpResult(string callbackName)
//{
// CallbackName = callbac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telerik.Charting;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Markup;
namespace Telerik.UI.Xaml.Controls.Chart
{
/// <summary>
/// Base class for all <see cref="ChartSeries"/> that may co... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AlertToCareAPI.Models
{
public class PatientMonitor
{
public string PatientID { get; set; }
public string vitalStatus { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents
{
public class ReThrownException : Exception
{
public ReThrownException(Exception ex) : base("This Exception was re-thrown", ex)
{
}
p... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace dynamic_firewall
{
public class Program
{
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// DO NOT EDIT THIS FILE! IT IS AUTOGENERATED
// FROM /src/coreclr/tools/Common/JitInterface/ThunkGenerator/InstructionSetDesc.txt
// using /src/coreclr/tools/Common/JitInterface/Thu... |
<link href="~/lib/font-awesome/css/all.min.css" rel="stylesheet" />
<link href="~/lib/admin-lte/dist/css/adminlte.min.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet"> |
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using CPMS.MultiTenancy.Dto;
namespace CPMS.MultiTenancy
{
public interface ITenantAppService : IAsyncCrudAppService<TenantDto, int, PagedResultRequestDto, CreateTenantDto, TenantDto>
{
}
} |
#if CREOBIT_BACKEND_PLAYFAB
using PlayFab;
using PlayFab.ClientModels;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace Creobit.Backend.Wallet
{
public sealed class PlayFabWallet : IPlayFabWallet
{
#region Object
... |
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace BizHawk.Client.EmuHawk
{
#region win32interop
[StructLayout(LayoutKind.Sequential)]
internal struct LvDispInfo
{
public NmHdr Hdr;
public LvIt... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Reflection;
using System.Reflection.Emit;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Text;
using TypeInfo = System.Refl... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3074
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
using AkkaEventStore.Models;
namespace AkkaEventStore.Messages.Events
{
public class CreatedBasketEvent : IEvent
{
public Basket Basket { get; }
public CreatedBasketEvent(Basket basket)
{
Basket = basket;
}
}
} |
// ****************************************************************
// Copyright 2002-2018, Charlie Poole
// This is free software licensed under the NUnit license, a copy
// of which should be included with this software. If not, you may
// obtain a copy at https://github.com/nunit-legacy/nunitv2.
// *****************... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class player_movement : MonoBehaviour {
public float mSpeed;
// Use this for initialization
void Start () {
mSpeed = 7f;
}
// Update is called once per frame
void Update () {
transfo... |
using FluentValidation;
namespace NetCore_GigHub.ViewModels
{
public class ViewModelLogin
{
public string Username { get; set; }
public string Password { get; set; }
}
public class VmLoginValidator : AbstractValidator<ViewModelLogin>
{
public VmLoginValidator()
{
... |
using SteamAuth;
using SteamGuard.Exceptions;
using SteamGuard.Exceptions.Linker;
using SteamGuard.Exceptions.LinkerFinalize;
using SteamGuard.Exceptions.Login;
using SteamGuard.Helpers;
using SteamGuard.Options;
using System;
using static SteamAuth.AuthenticatorLinker;
namespace SteamGuard.Controllers
{
public c... |
//https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-dotnet-application
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using Microsoft.Azure.Documents.Linq;
using MSAccountPushSubscription.Managers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Exp... |
using Juce.Logic.Nodes;
using UnityEngine;
namespace Juce.Logic.Graphs
{
[CreateAssetMenu(fileName = "Logic", menuName = "SubGraph", order = 100)]
[RequireNode(typeof(SubGraphInNode), typeof(SubGraphOutNode))]
public class LogicSubGraph : BaseLogicGraph
{
}
} |
@model IndexViewModel
@{
ViewData["Title"] = "Manage your account";
}
<div class="container">
<div class="row">
<div class="col">
<h2>@ViewData["Title"].</h2>
<p class="text-success">@ViewData["StatusMessage"]</p>
<h4 class="ui horizontal divider header"><i ... |
@model LoginProject.Models.Content
@{
ViewBag.Title = "Delete";
}
<h2>Delete</h2>
<h3>Are you sure you want to delete this?</h3>
<div>
<h4>Content</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.ContentType)
</dt>
<dd>
... |
@model IEnumerable<VideoOnDemand.Web.Models.MovieViewModel>
@{
ViewBag.Title = "Administrar Películas";
}
<h2>@ViewBag.Title</h2>
<p>
@Html.ActionLink("Registrar Nueva Película", "Create")
</p>
<br />
@using (Html.BeginForm("Index","ManageMovie", FormMethod.Get))
{
<div class="container">
<... |
using System;
using System.Collections.Generic;
using System.Security.Cryptography.X509Certificates;
using System.Security.Cryptography.Xml;
using System.Text;
using System.Xml;
using nz.govt.moe.idp.saml.client.config;
using nz.govt.moe.idp.saml.client.Schema.Core;
using nz.govt.moe.idp.saml.client.Schema.Metadata;
us... |
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
name... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ScreenCore.Interface;
namespace ScreenCore.Capture
{
public class ScreenCapture
{
public byte[] CurrentBuffer { get; private set; }
public byte[] CacheBuffer { get; private set; }
private IScre... |
// *** 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... |
//------------------------------------------------------------------------------
// <gerado automaticamente>
// Este código foi gerado por uma ferramenta.
//
// As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se
// o código for recriado
// </gerado automaticamente>
//------... |
/*<FILE_LICENSE>
* NFX (.NET Framework Extension) Unistack Library
* Copyright 2003-2018 Agnicore Inc. portions ITAdapter Corp. Inc.
*
* 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:/... |
// Copyright (c) 2021 Yoakke.
// Licensed under the Apache License, Version 2.0.
// Source repository: https://github.com/LanguageDev/Yoakke
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Yoakke.Parser.Generator.Ast;
namespace Yoakke.Parser.Generator.Syntax
{
/// <sum... |
using System;
using Ical.Net.Interfaces.DataTypes;
using Ical.Net.Interfaces.General;
using Ical.Net.Interfaces.Serialization;
namespace Ical.Net.Serialization.iCalendar.Serializers.DataTypes
{
public abstract class DataTypeSerializer : SerializerBase
{
protected DataTypeSerializer() {}
prote... |
namespace LeetCode.Naive.Problems;
/// <summary>
/// Problem: https://leetcode.com/problems/flip-columns-for-maximum-number-of-equal-rows/
/// Submission: https://leetcode.com/submissions/detail/427100432/
/// </summary>
internal class P1072
{
public class Solution
{
public int MaxEqualRowsAfterFlips(int... |
using System;
using System.Xml;
using System.Data;
using System.Data.Common;
using System.Windows.Forms;
public class Form1: Form
{
protected DataSet DataSet1;
protected DataGrid dataGrid1;
// <Snippet1>
private void WriteSchemaWithXmlTextWriter(DataSet thisDataSet)
{
// Set the file path... |
using System;
using Rhino.Geometry;
using Rhino.Runtime.InteropWrappers;
// Most of these should not need to be wrapped. Some of their
// functionality is merged into other wrapper classes
namespace Rhino.DocObjects
{
// Can't add a cref to an XML comment here since the NamedConstructionPlaneTable
// is not includ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
namespace Jotunn.Utils
{
class ColorWheel
{
private static GameObject ColorMenu;
private static GameObject menu;... |
using Infrastructure.Kafka.Options;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Infrastructure.Kafka.Adapters
{
public class NullConsumerAdapter : ConsumerAdapter
{
public NullConsumerAd... |
//------------------------------------------------------------------------------
// <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>
//--... |
namespace Pulsar.Input
{
/// <summary>
/// Delegate used to check the state of a command
/// </summary>
/// <returns>Return true if the command is triggered otherwise false</returns>
internal delegate bool CheckCommandState();
/// <summary>
/// Interface for all input command
/// </sum... |
/*
* Copyright (c) 2018 Håkan Edling
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* http://github.com/piranhacms/piranha.core
*
*/
using Microsoft.AspNetCore.Identity;
using System.Threading.Tasks;
namespace Piranha.AspNetCore.I... |
using Cmf.CustomerPortal.BusinessObjects;
using Cmf.CustomerPortal.Orchestration.CustomerEnvironmentManagement.InputObjects;
using Cmf.Foundation.BusinessObjects;
using Cmf.Foundation.BusinessOrchestration.EntityTypeManagement.InputObjects;
using Cmf.Foundation.BusinessOrchestration.EntityTypeManagement.OutputObjects;... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... |
using System;
namespace NetCoreAngular.Manager.Configuration
{
public interface IPeopleManager
{
Person[] List();
Infrastructure.ValidationError[] SavePerson(Person person);
}
public class Person
{
public Guid Id { get; set; }
public string Firstname { get; set; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model.Errors
{
public class None : Error
{
public None()
{
Text = null;
}
}
} |
namespace MyRecipes.Controllers.Api
{
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using MyRecipes.Models.Api.Statistics;
using MyRecipes.Services.Statistics;
[ApiController]
[Route("api/statistics")]
public class StatisticsApiController : ControllerBase
{
private readon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
namespace AskAndAnswer.ClassCode
{
public class SSERelay
{
HttpResponse m_r = null;
StringBuilder m_SB = new StringBuilder();
public string GetMessageBlock()
{
... |
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using Handy... |
namespace ResourceGroup
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using ProfileResourceManager = Microsoft.Azure.Management.Profiles.hybrid_2020_09_01.ResourceManager;
using Microsoft.Azure.Management.ResourceManager.Fluent;
using Microsoft.Rest;
... |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy, ... |
using RMUD;
namespace Akko.Areas.Lighthouse
{
public static class LighthouseVar
{
public static bool Powered = false;
}
public class Lamp : RMUD.MudObject
{
public override void Initialize()
{
SimpleName("lamp");
this.ValueLightingLevel().Do((o) =>... |
//------------------------------------------------------------------------------
// <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 DotsClone
{
/// <summary>
/// An efficient, theme agnostic way of categorizing dots
/// </summary>
public enum DotType : byte
{
/// <summary>
/// A dot inbetween being cleared and respawned
/// </summary>
Cleared,
DotA,
DotB,
DotC,
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GamingRecorderAssistant
{
public partial class frm_about : Form
... |
using System;
using Octopus.Server.MessageContracts.Features.Feeds;
namespace Sashimi.Server.Contracts.Endpoints
{
public class DeploymentActionContainerResource
{
public string? Image { get; set; }
public FeedIdOrName? FeedId { get; set; }
}
} |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// La información general sobre un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie los valores de estos atributos para modificar la información
// asociada a un ensamblado.
[assembly: 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... |
//
// AVUrlAssetOptions.cs: Implements strongly typed access for AV video settings
//
// Authors: Marek Safar (marek.safar@gmail.com)
//
// Copyright 2012, 2014 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (t... |
// 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 Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.AspNet... |
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("In... |
using System.Collections.Generic;
using MetarParserCore.Enums;
using MetarParserCore.Objects.Supplements;
namespace MetarParserCore.Objects
{
/// <summary>
/// Surface wind information
/// </summary>
public class SurfaceWind
{
/// <summary>
/// Current wind direction
/// </... |
using Microsoft.Extensions.Logging;
using Xunit;
namespace devrating.git.test;
public sealed class GitProcessTest
{
[Fact]
public void ReturnsOutputLines()
{
Assert.Equal(2, new GitProcess(new LoggerFactory(), "dotnet", "--version", ".").Output().Count);
}
} |
#!/bin/dotnet run
#r "nuget: Newtonsoft.Json, 12.0.3"
#r "nuget: YamlDotNet, 9.1.4"
using System;
using System.Collections;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
const string header = "/// <auto-generated> don't touch... |
using System.Web.Http;
namespace EFDemoApi
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
// Web API routes
config.MapHttpAttributeRoutes();
config.Formatters.X... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WinProj_Interface
{
public partial class Form1 : Form
{
public Form1()
{
InitializeCompo... |
// *** 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... |
// MvxUIDatePickerDateTargetBinding.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, me@slodge.com
using System;
using System.Reflec... |
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.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CommandCraft.Model.DataTypes
{
class BlockMInfo : BlockInfo
{
public BlockMInfo(string name, List<string> atributes, bool isMismatched = false)
{
Name = nam... |
using Shouldly;
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using Xunit;
namespace NetCore.DbMigrations.Test
{
public class DbMigrationTests
{
private const string AssemblyNameToTest = "NetCore.DbMigrations";
/// <summary>
/// Error in this test means th... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/DirectML.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.DirectX... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Xunit;
names... |
using System;
using System.Windows.Input;
using Xamarin.Essentials;
using Xamarin.Forms;
namespace TianSmth.ViewModels
{
public class AboutViewModel : BaseViewModel
{
public AboutViewModel()
{
Title = "About";
OpenWebCommand = new Command(async () => await Browser.OpenA... |
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlbertEFCore
{
public class JsonHelper
{
private string JsonFilePa... |
using Microsoft.Data.Sqlite;
using System;
using System.Collections.Generic;
namespace Riff.Data.Sqlite
{
internal sealed class DataExtractor
{
private readonly IDictionary<long, Artist> artistCache = new Dictionary<long, Artist>();
private readonly IDictionary<long, Genre> genreCache = new Di... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BastardBot.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void BestUnitTest()
{
bool bostromIsAfag = true;
Assert.IsTrue(bostromIsAfag);
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TheGrid.Model.Instrument;
using System.Xml.Serialization;
namespace TheGrid.Model
{
[Serializable, XmlInclude(typeof(InstrumentStart)), XmlInclude(typeof(InstrumentStop)), XmlInclude(typeof(InstrumentEffect)), XmlInclude(t... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
using Android.Support.V4.App;
using Android.Views;
using MvvmCross.Core;
using MvvmCross.Droid.Support.V4.EventSo... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Transactions;
u... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Spero.Csv.Parser
{
public class CsvParseException: Exception
{
public CsvParseException()
: base()
{
}
public CsvParseException(string mess... |
#pragma checksum "C:\Users\basiit\source\repos\Shoppers Square\Shoppers Square\Views\Customer\Dashboard.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c224946a690108f87fc03b780720da7cc5f02195"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAtt... |
using System;
namespace Challenges.Sorts
{
public class MSort
{
public int[] MergeSort(int[] arr)
{
int[] leftArr;
int[] rightArr;
int[] result = new int[arr.Length - 1];
if (arr.Length <= 1)
return arr;
int mid = arr... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using ProtoBuf.Grpc.Server;
namespace GrpcChat.Server
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace MoreDakka.Models
{
public class ExternalLoginConfirmationViewModel
{
[Required]
[Display(Name = "Username")]
public string UserName { get; set; }
[Required]
[Display(Name = "Email"... |
// 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.
using System.Collections.ObjectModel;
using System.Windows.Markup;
namespace System.Activities;
using Runtime;
using Validation;
[ContentProperty("Implementation")]
public se... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Localization;
using Castle.Core.Logging;
namespace Abp.AspNetCore.Localization
{
public class AbpLocalizationHeaderRequestCultureProvider : RequestCultureProvider
{
public ILogger... |
using System.Reflection;
[assembly: AssemblyTitle("Metrics.InfluxDB")]
[assembly: AssemblyDescription("The InfluxDB reporter for the Metrics.NET monitoring and reporting library.")] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.