text stringlengths 1 932k |
|---|
#pragma checksum "C:\Users\Acer\source\repos\AspDotNetCoreWithEFCoreProjects\StudentManagementWithADO\Views\Home\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "99464617055fdb505bb0bb7fd91f9b14f7b0d030"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.Razor... |
// 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 JetBrains.Annotations;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.EntityFrameworkCore.I... |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.DotNet.InternalAbstractions;
using Microsoft.DotNet.ProjectMode... |
using System.Diagnostics.CodeAnalysis;
namespace DotNext.Net.Cluster.Consensus.Raft.Membership
{
using Buffers;
using IO;
using static Collections.Generic.Sequence;
using HttpEndPoint = Net.Http.HttpEndPoint;
[ExcludeFromCodeCoverage]
public sealed class ClusterConfigurationStorageTests : Test... |
@using SFA.DAS.RoatpGateway.Domain;
@model SFA.DAS.RoatpGateway.Web.ViewModels.OfficeForStudentsViewModel
@{
ViewBag.Title = $"Gateway - {@Model.Heading}";
Layout = "_Layout";
}
@{await Html.RenderPartialAsync("~/Views/Gateway/Pages/_GatewayAssessmentBreadcrumb.cshtml"); }
<main class="govuk-main-wrapper " ... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ACTransit.Contracts.Data.Schedules.PublicSite;
namespace ACTransit.CusRel.Public.Domain.Tests.Contracts.Maps
{
[TestClass]
public class HelpersTest
{
[TestMethod]
public void StopTimeParseTest()
{
A... |
// Copyright CommonsForNET.
// 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
// ... |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
using NetworkConnections.Windows.Wlan.Core.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace NetworkConnections.Windows.Wlan.Core.Structs
{
internal class Structs
{
[StructLayout(La... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("PBR.IBLIrradiance")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[a... |
// 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.
namespace Microsoft.AspNetCore.Http.Result
{
internal sealed class OkObjectResult : ObjectResult
{
public OkObjectResult(object? value)
... |
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using PluginAthenaHealth.Helper;
namespace PluginAthenaHealth.API.Factory
{
public interface IApiClient
{
Task TestConnection();
Settings GetSettings();
Task<HttpResponseMessage> GetAsync(string path)... |
using System;
using XamCore.Foundation;
using XamCore.ObjCRuntime;
namespace XamCore.AppKit
{
public partial class NSSharingService
{
public static NSSharingService GetSharingService (NSSharingServiceName service)
{
switch (service) {
case NSSharingServiceName.PostOnFacebook:
return NSSharingServic... |
/* ****************************************************************************
*
* 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 UnityEngine;
using System.Collections;
public class Controller_Menu : MonoBehaviour {
public GameObject menuObject;
private GameObject clonedMenuObject;
private Vector3 originalPosition;
private Quaternion originalRotation;
private bool menuInit = false;
private bool menuActive = false... |
namespace ModelBuilder.UnitTests
{
using System;
using System.Collections.ObjectModel;
using System.Linq;
using FluentAssertions;
using ModelBuilder.UnitTests.Models;
using ModelBuilder.ValueGenerators;
using NSubstitute;
using Xunit;
using Xunit.Abstractions;
public partial cl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core;
namespace TruePeople.SharePreview.Helpers
{
internal static class TPEncryptHelper
{
public static string DecryptString(string rawD... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Project_Neon.Collection
{
public class HandlerManager
{
public static bool OpenLocalFileStatus = false;
public static bool OpenUriStatus = false;
}
} |
// Copyright (c) 2021 Alachisoft
//
// 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... |
/*
* Copyright 2017-2018 The Pkcs11Interop Project
*
* 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 ap... |
// Copyright 2021 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 ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core;
namespace Azure.AI.MetricsAdvisor.Models
{
[CodeGenModel("AlertSnoozeCondition")]
public partial class MetricAnomalyAlertSnoozeCondition
{
/// <summary>
/// </summary>
... |
using Tutorial.Core.ViewModels.Lessons;
namespace Tutorial.UI.Touch.Views.Lessons
{
public class LocationView
: MvxDialogViewController
{
public LocationView()
: base(UITableViewStyle.Grouped, null, true)
{
}
public new LocationViewModel ViewModel
... |
#region Assembly System.Web.Helpers.dll, v3.0.0.0
// D:\GenApps\MaheshTestAppSecurity2\packages\Microsoft.AspNet.WebPages.3.2.2\lib\net45\System.Web.Helpers.dll
#endregion
using System;
namespace System.Web.Helpers
{
// Summary:
// Specifies visual themes for a System.Web.Helpers.Chart object.
public... |
namespace EstateSocialSystem.Web.Areas.Forum.Controllers
{
using Data.Common.Repository;
using Data.Models;
using Infrastructure.Mapping;
using Infrastructure;
using System.Linq;
using System.Web.Mvc;
using ViewModels;
using InputModels;
using Microsoft.AspNet.Identity;
using Sy... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src... |
// Copyright (c) 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... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AirportClientPackageEntry.cs" company="OpenSky">
// OpenSky project 2021
// </copyright>
// ---------------------------------------------------------------------------------------... |
using System;
using static LanguageExt.Prelude;
using System.ComponentModel;
using System.Diagnostics.Contracts;
using System.Threading.Tasks;
using LanguageExt.ClassInstances;
using LanguageExt.DataTypes.Serialisation;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading;
us... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
namespace Carambolas.Net
{
internal partial struct Channel
{
public partial struct Inbound
{
public sealed partial class Reassembly
{
[DebuggerDisplay("Coun... |
using AppCampus.Signboard.Components.Logging;
using AppCampus.Signboard.Models;
using RestSharp;
namespace AppCampus.Signboard.Components
{
public class TimetableComponent : GatewayComponent
{
public TimetableComponent() :
base()
{
}
public TimetableModel GetTimeta... |
/*
* 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 FluentAssertions;
using MediatR;
using Microsoft.Extensions.Logging.Abstractions;
using Moq;
using Opdex.Platform.Application.Abstractions.Commands.Tokens;
using Opdex.Platform.Application.Abstractions.EntryCommands.Transactions.TransactionLogs.Tokens;
using Opdex.Platform.Application.Abstractions.Queries.Tokens;... |
using System.Windows;
namespace HelloDynamo
{
/// <summary>
/// Tracks and displays events for node/connector added/removed
/// </summary>
public partial class NodeTracker : Window
{
public NodeTracker()
{
InitializeComponent();
this.Closing += NodeTracker_Closing;
}
private vo... |
namespace Gu.Analyzers;
using System.Collections.Immutable;
using System.Composition;
using System.Threading.Tasks;
using Gu.Roslyn.CodeFixExtensions;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
[ExportCodeFi... |
using System;
using Altairis.AskMe.Data.Base.Objects;
using AutoMapper;
namespace Altairis.AskMe.Data.Transfer.Objects
{
[AutoMap(typeof(Question))]
public class SyndicationQuestionDto
{
public int Id { get; set; }
public string QuestionText { get; set; }
public DateTime DateAnswer... |
//Copyright (c) 2010 - 2012, Matthew J Little and contributors.
//All rights reserved.
//
//Redistribution and use in source and binary forms, with or without modification, are permitted
//provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace System.Text.Tests
{
public class UTF7EncodingGetBytes1
{
// PosTest1: Verify method GetBytes(Char[],Int32,Int32,Byte[],Int32) wi... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.ServiceFab... |
//
// Copyright (c) 2010 Jamie Briant, BinaryFinery.com
//
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[asse... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Pastor.Client.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
}
}
} |
using System;
using stdlibXtf.Enums;
using System.Collections.Generic;
using stdlibXtf.SubPackets;
using System.IO;
namespace stdlibXtf
{
/// <summary>
/// An object that represent the header of the XTF document.
/// </summary>
public class XtfMainHeader
{
#region private properties
... |
//------------------------------------------------------------------------------
// <auto-generated>
// Generado por la clase WriteCodeFragment de MSBuild.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using Microsoft.Maui.Controls.Internals;
using Microsoft.Maui.Controls.Xaml.Diagnostics;
using Microsoft.Maui.Essentials;
using Microsoft.Maui.Graphics;
namespace Microsoft.Maui.Control... |
using System;
namespace Seventh.DGuard.DTO.Filter
{
public class BaseFilterDTO
{
public BaseFilterDTO()
{
Pagination = new PaginationTO();
Sort = new SortDTO();
}
public PaginationTO Pagination { get; set; }
public SortDTO Sort { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Reactive.Concurrency;
using Avalonia;
using Avalonia.Input;
using Avalonia.Input.Platform;
using Avalonia.Layout;
using Avalonia.Markup.Xaml;
using Avalonia.Markup.Xaml.Styling;
using Avalonia.Media;
using Avalonia.Platform;
using Avalonia.Rendering;
using A... |
using System;
using System.ComponentModel.DataAnnotations;
namespace OpenReservation.AdminLogic.ViewModels
{
public class DisabledPeriodViewModel
{
/// <summary>
/// 开始日期
/// </summary>
[Required]
public DateTime StartDate { get; set; }
/// <summary>
//... |
/*
* 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... |
using System;
namespace CommunityCenter.Models.RBAC
{
public class fn_rbac_WOLCommunicationHistory
{
public string MessageDescription { get; set; }
public DateTime StatusTime { get; set; }
public string BatchID { get; set; }
public string ObjectType { get; set; }
pu... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using HttpRequestsSample.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace HttpRequestsSample.Pages
{
public class IndexModel : P... |
/*
* 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... |
//
//
// THIS FILE HAS BEEN GENERATED. DO NOT MODIFY.
//
using System;
using System.Collections.Generic;
using byps;
namespace byps.test.api.remote
{
public sealed class BRequest_RemoteArrayTypes1dim_getBool : BMethodRequest, BSerializable
{
#region Execute
public override int getRemoteId() { return 12... |
using System;
using Newtonsoft.Json;
namespace poi.Models
{
public class Healthcheck
{
public Healthcheck()
{
Message = "POI Service Healthcheck";
Status = "Healthy";
//Status = "Broken...";
Version = "v15";
}
[Newtonsoft.Json.Jso... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Acs3;
using AElf.Contracts.Consensus.AEDPoS;
using AElf.Contracts.Election;
using AElf.Contracts.Genesis;
using AElf.Contracts.MultiToken;
using AElf.Contracts.ParliamentAuth;
using AElf.Contracts.Profit;
using AElf.C... |
using System;
namespace AntDesign.JsInterop
{
internal class DomEventSubscription
{
internal Delegate Delegate { get; set; }
internal Type Type { get; set; }
public DomEventSubscription(Delegate @delegate, Type type)
{
Delegate = @delegate;
Type = type;... |
using System;
using System.Threading;
using JetBrains.Annotations;
namespace Abp
{
/// <summary>
/// This class can be used to provide an action when
/// Dipose method is called.
/// </summary>
public class DisposeAction : IDisposable
{
public static readonly DisposeAction Empty = new ... |
namespace Piofthings.Data.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<Piofthings.Data.Contexts.DeviceContext>
{
public Configuration()
{
A... |
// Generated on 03/23/2022 09:51:36
using System;
using System.Collections.Generic;
using System.Linq;
using AmaknaProxy.API.IO;
namespace AmaknaProxy.API.Protocol.Types
{
public class FriendOnlineInformations : FriendInformations
{
public const short Id = 3423;
public override short TypeId
... |
/*
* 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 ... |
namespace Triggernometry.CustomControls
{
partial class UserInterface
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _06
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Vuvedi budget: ");
int budget = int.Parse(Console.ReadLine());
... |
// 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.Runtime.Serialization;
using System.Text.Json.Serialization;
namespace NGitLab.Models
{
[DataContract]
public class FileData
{
[DataMember(Name = "file_name")]
[JsonPropertyName("file_name")]
public string Name;
[DataMember(Name = "file_path")]
[JsonPr... |
namespace ApexSharpDemo.ApexCode
{
using Apex;
using Apex.ApexSharp;
using Apex.ApexSharp.ApexAttributes;
using Apex.ApexSharp.Extensions;
using Apex.System;
using SObjects;
/**
* Copyright (c) 2014, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and u... |
namespace TraktNet.Objects.Get.Episodes
{
/// <summary>A collection of ids for various web services, including the Trakt id, for a Trakt episode.</summary>
public class TraktEpisodeIds : ITraktEpisodeIds
{
/// <summary>Gets or sets the Trakt numeric id.</summary>
public uint Trakt { get; se... |
#region Apache License, Version 2.0
// 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, V... |
using System.Threading.Tasks;
using SimpleRtRest.RestClient;
using SimpleRtRest.RestClient.Validation;
namespace TelAPI
{
public partial class TelAPIRestClient
{
/// <summary>
///
/// </summary>
/// <param name="notificationSid"></param>
/// <returns></returns>
... |
// 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.Runtime.Serialization;
namespace Microsoft.VisualStudio.Debugger.Contracts.EditAndContinue
{
[Dat... |
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("12... |
using System;
using WebApi;
using WebApi.Entities;
namespace Tests.TestSetup
{
public static class Authors
{
public static void AddAuthors(this BookStoreDbContext context)
{
context.Authors.AddRange(
new Author {Name = "Eric", Surname = "Ries", BirthDate = new Da... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace CosmosBooksApi.Models
{
public class Book
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; }
[BsonElement("name")]
public string BookName { get; set; }
[Bs... |
using System.ComponentModel.DataAnnotations.Schema;
namespace vega2.Models
{
[Table("VehicleFeatures")]
public class VehicleFeature
{
public int VehicleId { get; set; }
public int FeatureId { get; set; }
public Vehicle Vehicle { get; set; }
public Feature Feature { get; set;... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Threading;
using Memoria.Patcher;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Task = System.Threading.Tasks.Task;
// ReSharper disable UnusedMember.Global
// ReSharper disable UnusedAuto... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BT_Music
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Ma... |
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using Microsoft.Extensions.Configuration;
using MyApp.Email;
using MyApp.Domain;
namespace MyApp.Web.Site.Controllers
{
[Route("api/email")]
[ApiController]
public class EmailController: ControllerBase
... |
// <copyright file="UpdateDeviceEventArgs.cs" company="Hottinger Baldwin Messtechnik GmbH">
//
// SharpScan, a library for scanning and configuring HBM devices.
//
// The MIT License (MIT)
//
// Copyright (C) Hottinger Baldwin Messtechnik GmbH
//
// Permission is hereby granted, free of charge, to any person obtaining... |
#pragma checksum "C:\Users\maga\Desktop\GitRepos\OnlineShop\OnlineShopNew\Views\Home\ProductView.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "581d8822eaadc0b42ddf5f9d7a78df55fa917ee4"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace IronBlock.Blocks.Text
{
public class ColourPicker : IBlock
{
public override object Evaluate(Context context)
{
return this.Fields.Get("COLOUR") ?? "#000000";
}
}
} |
using System.Runtime.InteropServices;
using OpenTK;
namespace Zaphat.Assets.Meshes
{
[StructLayout(LayoutKind.Sequential)]
public struct DefaultMeshData
{
public Vector4 Position;
public Vector4 Normal;
public Vector4 Tangent;
public Vector4 Color;
public Vector4 UV0;
public Vector4 UV1;
public Vecto... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
public class A
{
private static TextReader reader;
private static TextWriter writer;
private static int EvaluateFunction(int a, int b, int c, int x)
{
// Ваше решение
}
public static void Main(string[]... |
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
namespace MapTileService.Controllers
{
[Route("api/tiles")]
public class TilesController : Controller
{
private readonly IConfiguration configuration;
public TilesControl... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DialogueTrigger : MonoBehaviour
{
public Dialogue dialogue;
public Button ContinueButton;
public Animator CameraAnim;
private void Start()
{
ContinueButton.interactable = fa... |
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using DSharpPlus.VoiceNext;
using MikuV3.Music.Entities;
using MikuV3.Music.Extensions;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MikuV3.Music.Commands
{
... |
using Prometheus.Client;
using Prometheus.Client.Abstractions;
using PrometheusEnumetric.Internal;
using System;
namespace PrometheusEnumetric
{
public class EnumCounterInt64<TName> : BaseEnuMetric<TName, CounterInt64, ICounter<long>>
where TName : Enum
{
public EnumCounterInt64(string prefix... |
using System.IO;
namespace XFiler.SDK;
public record FileRoute : Route
{
public FileInfo File { get; }
public FileRoute(FileInfo file) : base(file.Name, file.FullName, RouteType.File)
{
File = file;
}
} |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.Quantum.QsCompiler.CompilationBuilder.DataStructures;
using Microsoft.VisualStudio.LanguageServer.Protocol;
using Position =... |
// 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.Collections.Generic;
using System.Threading.Tasks;
namespace System.Net.Sockets
{
public static cl... |
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Services.ProductAPI.Migrations
{
public partial class addedProductModelToDb : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name:... |
#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 Microsoft.AspNetCore.Mvc.Localization
@using Skoruba.IdentityServer4.Admin.BusinessLogic.Shared.Dtos.Common
@model Skoruba.IdentityServer4.Admin.BusinessLogic.Dtos.Configuration.ApiResourcesDto
@inject IViewLocalizer Localizer
@{
ViewBag.Title = Localizer["PageTitle"];
Layout = "_Layout";
}
<div class="row">... |
/* _BEGIN_TEMPLATE_
{
"id": "AT_037a",
"name": [
"缠人根须",
"Grasping Roots"
],
"text": [
"造成$2点伤害。",
"Deal $2 damage."
],
"cardClass": "DRUID",
"type": "SPELL",
"cost": 1,
"rarity": null,
"set": "TGT",
"collectible": null,
"dbfId": 2789
}
_END_TEMPLATE_ */
namespace HREngine.Bots
... |
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace Azure.Functions.Cli.Common
{
public static class CommandChecker
{
public static bool CommandValid(string fileName, string args)
=> CheckExitCode(fileName, args);
public static bool CommandExists(string comma... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using VRP.Entities;
namespace VRP.DAL.Configurations {
public class RoleConfiguration : IEntityTypeConfiguration<Role> {
public void Configure(EntityTypeBuilder<Role> builder) {
builder.HasKey(x => x.Id... |
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("13... |
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... |
namespace Fizzler
{
#region Imports
using System;
using System.Collections.Generic;
using System.Linq;
#endregion
/// <summary>
/// A selector generator implementation for an arbitrary document/element system.
/// </summary>
public class SelectorGenerator<TElement> : ISelectorGene... |
//=============================================================================
// Copyright © Jason Heddings, All Rights Reserved
// $Id: GatedTrigger.cs 83 2013-11-06 23:34:18Z jheddings $
//=============================================================================
using System.Collections.Generic;
// XXX there ... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was automatically generated.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--------------------------------------------... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.