text stringlengths 1 932k |
|---|
using System;
using F0.Cli;
namespace F0.Reflection
{
internal sealed class CommandCanceledException : Exception
{
public CommandCanceledException(CommandBase command, Exception inner)
: base(CreateMessage(command), inner)
{
}
private static string CreateMessage(CommandBase command)
{
string command... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IConfigurationService.cs" company="Catel development team">
// Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// ------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using PosUP_CloudComputing_WebAPIDotNetCore.Models;
namespace PosUP_CloudComputing_WebAPIDotNetCore.Controllers
{
[... |
using System.Data;
using YJC.Toolkit.Sys;
namespace YJC.Toolkit.Data
{
public sealed class ActionResultData
{
private ActionResultData(ActionResult result, string message)
{
TkDebug.AssertArgumentNull(message, "message", null);
Message = message;
Result = r... |
using System;
using System.Collections.Generic;
using System.Linq;
using Unity.Profiling;
using UnityEngine;
/// <summary>
/// Represents a collector agent that uses a task-based FSM architecture.
/// No RL is used in for this agent.
/// </summary>
public class CollectorAgentTBFSM : ManualAgent, IHasGoal
{
static... |
namespace SearchClassLibrary
{
public interface ICityFinder
{
ICityResult Search(string searchString);
}
} |
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("14.... |
// <copyright file="IMaintenanceService.cs" company="Jan-Willem Spuij">
// Copyright (c) Jan-Willem Spuij. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// </copyright>
namespace Mac.Digital.Services
{
using System;
using System.Collecti... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// ActionBlock.cs
//
//
// A target block that executes an action for each... |
using LiteDB;
using Serilog.Events;
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace Serilog.Sinks.LiteDB.ConsoleTest
{
public static class TestFileRoller
{
private const string connStr = "filename=c:\\tmp\\file.db";
public static void TestDaily()
{... |
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("Day... |
using System;
using System.Collections.Generic;
using System.Linq;
using GadzhiCommon.Enums.ConvertingSettings;
using GadzhiCommon.Enums.FilesConvert;
using GadzhiCommon.Models.Interfaces.FilesConvert;
// ReSharper disable VirtualMemberCallInConstructor
namespace GadzhiDAL.Entities.FilesConvert.Components
{
/// ... |
// *** 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... |
using System.Web;
using ClientDependency.Core;
using ClientDependency.Less;
[assembly: PreApplicationStartMethod(typeof(StartupHandler), "Initialize")]
namespace ClientDependency.Less
{
/// <summary>
/// Class called to register the less writer
/// </summary>
public static class StartupHandler
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CEWSP_v2.Analytics.PredefinedReasons
{
public class PathContainsNonLatinCharactersReason : Reason
{
public PathContainsNonLatinCharactersReason()
: base()
{... |
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3d10umddi.h(4109,9)
using System;
namespace DirectN
{
[Flags]
public enum D3DWDDM2_0DDI_VIDEO_DECODER_CAPS
{
D3DWDDM2_0DDI_VIDEO_DECODER_CAP_DOWNSAMPLE = 0x00000001,
D3DWDDM2_0DDI_VIDEO_DECODER_CAP_NON_REAL_TIME = 0x0000000... |
namespace FastFood.Data
{
using FastFood.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
internal class OrderConfiguration : IEntityTypeConfiguration<Order>
{
public void Configure(EntityTypeBuilder<Order> builder)
{
b... |
using System;
using System.Collections.Generic;
using static System.Math;
namespace VersionSample.Csharp6
{
/// <summary>
/// C# 6.0 の機能はかなりの部分、かなりシンプルな構文糖衣。
/// .NET 2.0 上で余裕で動く。
/// </summary>
public class SyntaxSugarSample
{
public static void X()
{
var dic = ne... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Chill;
using FluentAssertions;
using FluentAssertions.Extensions;
using LiquidProjections.Abstractions;
using LiquidProjections.Testing;
using Xunit;
namespace LiquidProjections.Specs
{
namespace ProjectorSpecs
{
publi... |
namespace Littera.API.Endpoints;
public class WeatherForecastEndpoint
{
private static readonly string[] summaries =
{
"Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
};
public static WeatherForecast[] Handler()
{
var forecast = E... |
using KassaExpert.Util.Lib.Date;
using KassaExpert.Util.Lib.Enum;
using System;
using System.Globalization;
using System.Text;
namespace KassaExpert.Util.Lib.Dto
{
public sealed class MachineReadableCode
{
public MachineReadableCode(string formatedCode)
{
var data = formatedCode.Sp... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour {
public float sidewaysFactor = 5f;
public float radialFactor = 5f;
public float gravity = 10f;
private Rigidbody rb;
// Use this for initialization
void Awake () {
r... |
using API;
using System.Collections.Generic;
namespace PxStat.System.Settings
{
/// <summary>
/// ADO class for Copyright
/// </summary>
internal class Copyright_ADO
{
/// <summary>
/// Reads a Copyright
/// </summary>
/// <param name="ado"></param>
/// <para... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Canban.Data;
using Canban.Models;
namespace Canban.Pages.Work... |
// <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 System;
using Sample1_12.core;
namespace Sample1_12.character
{
/// <summary>敵機の情報。</summary>
class EnemyManager
: TaskManager<Enemy>
{
/// <summary>ホーミング敵機の確率。</summary>
private const int HOMING_PERCENTAGE = 20;
/// <summary>粗悪精度敵機の確率。</summary>
private const int INFERIORITY_PERCENTAGE = 30;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Transfer : MonoBehaviour
{
SkeletonBattle skeletonBattle;
private void Awake()
{
skeletonBattle = GetComponentInParent<SkeletonBattle>();
}
public void TakeDamage(ChangeInfo info)
{
... |
/*
* 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 System;
using Xamarin.Forms;
namespace MemoTech
{
public class AlbumListCell : ViewCell
{
public string Title { get; private set; }
public int Index { get; private set; }
public AlbumListCell(string title, int index)
{
Title = title;
Index = index;
}
}
} |
@model List<Classes.ShoppingBasketItem>
@{
decimal totalPrice = Model.Sum(item => item.ItemCount * item.Price);
@if (totalPrice < 300)
{
decimal remaining = 300 - totalPrice;
<div id="shipping-cost-banner" class="text-warning bg-dark mx-auto w-100 border rounded border-dark m-3 text-cent... |
// Copyright 2021 Crystal Ferrai
//
// 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 ... |
using FirebaseAdmin;
using FirebaseAdmin.Messaging;
using Google.Apis.Auth.OAuth2;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace FirebaseCloudMessaging.Example
{
class Program
{
static async Task Main(string[] args)
{
var d... |
@page
@model RegisterModel
@{
ViewData["Title"] = "Влезте във Вашето дигално училище.";
}
<h1>@ViewData["Title"]</h1>
<div class="row">
<div class="col-md-6">
<form asp-route-returnUrl="@Model.ReturnUrl" method="post">
<div asp-validation-summary="All" class="text-danger"></div>
... |
using System;
using MapReduceDojo.WordCount;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MapReduceDojo.Test.wordcount
{
[TestClass]
public class WordCounterTest
{
[TestMethod]
public void ShouldCountWordsContainedInDataSource()
{
IDataSource dataSource ... |
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.OpenApi.Models;
namespace GISA.Autenticacao.API.Configuration
{
public static class SwaggerConfig
{
public static IServiceCollection AddSwaggerConfiguration(this IServiceCollection services... |
using Pchp.Core;
using Pchp.Core.Resources;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net.Security;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace Pchp.Library.Streams
{
/// <summary>
/// An implementation of <see... |
/*
* 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 MyTelegramBot
{
public class Program
{
public static void Main(string[] args)
{
Bot bot = new Bot()
{
Token = Config.BotToken,
};
bot.Init().Wait();
}
}
} |
namespace HRRandomizer.Data
{
public class RandomizerWords
{
public static string RandomWord()
{
Random random = new Random();
int at = random.Next(0, Words.Length);
return Words[at];
}
public static readonly string[] Words = new string[]
... |
using System;
using System.Xml.Serialization;
using VertSoft.CrossIndustryInvoice.D16B.Data.UnqualifiedDataType100;
using VertSoft.CrossIndustryInvoice.D16B.Data.QualifiedDataType100.Uncoupled;
namespace VertSoft.CrossIndustryInvoice.D16B.Data.ReusableAggregateBusinessInformationEntity100.Uncoupled
{
[Serializable... |
private static IUnityContainer BuildUnityContainer()
{
var container = new UnityContainer();
container.RegisterType<IStoreService, StoreService>();
container.RegisterType<IController, StoreController>("Store");
return container;
} |
/******************************************************************************
* Compilation: javac CPM.java
* Execution: java CPM < input.txt
* Dependencies: EdgeWeightedDigraph.java AcyclicDigraphLP.java StdOut.java
* Data files: https://algs4.cs.princeton.edu/44sp/jobsPC.txt
*
* Critical path metho... |
/*
* 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
*
... |
using System.Text.Json.Serialization;
namespace QuizUserSimulator.Interfaces
{
public class Parameters
{
/// <summary>
/// Question can be answered multiple times.
/// </summary>
[JsonPropertyName("allowMultipleResponses")]
public bool AllowMultipleResponses { get; set;... |
/*
* 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 ma... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Domain
{
public class Ingredient
{
public bool IsAlcohol { get; set; }
public double Amount { get; set; }
public Cocktail ToCocktail(string name) => new Cocktail { Name = name, Size = Amount };
}
} |
using UnityEngine;
using System.Collections;
using SimpleJSON;
using UnityEngine.UI;
using TMPro;
public class ParseUsingSimpleJson : MonoBehaviour
{
string jsonData;
public TextMeshProUGUI balance;
public TextMeshProUGUI mini1;
public TextMeshProUGUI minibalance1;
public TextMeshProUGUI mini2;... |
namespace ScreenToGif.Domain.Enums;
/// <summary>
/// Type of the progress indicator.
/// </summary>
public enum ProgressTypes
{
Bar,
Text
} |
// 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.Buffers;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.AspN... |
namespace Be.Vlaanderen.Basisregisters.Projector.TestProjections.OtherProjections
{
using Microsoft.EntityFrameworkCore;
using ProjectionHandling.Runner;
public class OtherProjectionContext : RunnerDbContext<OtherProjectionContext>
{
public override string ProjectionStateSchema => Schemas.Other... |
namespace DGuard.Core.Messages.Integration
{
public abstract class IntegrationEvent : Event
{
}
} |
using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class BTTaskManageFliesDef : IBehTreeTaskDefinition
{
[Ordinal(1)] [RED("entityToSummo... |
@model eidss.model.Reports.KZ.SanitaryModel
@{
Layout = "~/Views/Shared/_ReportLayout.cshtml";
}
@using (Html.BeginForm())
{
@Html.Partial("Common/ExportButtons", Model)
<div class="bluelayout">
<div class="tabPanelContent">
@Html.Partial("Common/BaseFilter", Model)
... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Dapper;
using MySql.Data.MySqlClient;
using SteamKit2;
using SteamKit2.Discovery;
namespace StatusService
{
class SteamManager
{
... |
using System.Collections.Generic;
using Yali.Native.Value;
namespace Yali.Native.Proxy
{
internal struct LuaProxyCacheItem
{
public IDictionary<string, LuaObject> Methods { get; set; }
public IDictionary<string, LuaProxyCacheItemProperty> Properties { get; set; }
public IDictionary<s... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Общие сведения об этой сборке предоставляются следующим набором
// набора атрибутов. Измените значения этих атрибутов для изменения сведений,
// связанных со сборкой.
[assembly: AssemblyTitle("TheHardwareMonitor")... |
namespace BizHawk.Emulation.Cores.Components.LR35902
{
public partial class LR35902
{
private void INTERRUPT_()
{
cur_instr = new ushort[]
{IDLE,
DEC16, SPl, SPh,
IDLE,
WR, SPl, SPh, PCh,
INT_GET, 4, W,
DEC16, SPl, SPh,
INT_GET, 3, W,
WR, SPl, SPh, PCl,
INT... |
namespace World404.Core
{
using System.Data.Entity;
using System.Linq;
using Brains;
using Tangibles;
using Tangibles.Consumeables;
using Tangibles.Creatures;
public class ContextInitializer : DropCreateDatabaseAlways<WorldContext>
{
protected override void Seed(WorldContext con... |
namespace Veldrid.D3D11
{
internal class D3D11ResourceSet : ResourceSet
{
private string _name;
public new BindableResource[] Resources { get; }
public new D3D11ResourceLayout Layout { get; }
public D3D11ResourceSet(ref ResourceSetDescription description) : base(ref descriptio... |
namespace ExampleProject
{
public struct PlayerProperties
{
public float MovingForce;
public float DamageForce;
public float BumpForce;
public float CrashForce;
public float StartHealth;
}
} |
using JsonApiDotNetCore.Services;
using System;
namespace JsonApiDotNetCore.Internal.Query
{
public class BaseFilterQuery : BaseAttrQuery
{
public BaseFilterQuery(
IJsonApiContext jsonApiContext,
FilterQuery filterQuery)
: base(jsonApiContext, filterQuery)
{
... |
using System.Drawing;
using System.IO;
using System.Windows.Interop;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using TreeViewFileExplorer.Enums;
namespace TreeViewFileExplorer
{
public static class FileManager
{
public static ImageSource GetImageSource(string filename)
{
... |
@* Bestätigung.cshtml: Diese View zeigt eine Anmeldebestätigung für den regulären Nutzer.*@
@* Diese View verwendet eine Liste des Models "Schulung.cs"*@
@using Schulungsportal_2.Models
@model Schulungsportal_2.Models.Anmeldungen.Anmeldung;
@{
ViewBag.Title = "Selbstmanagement";
}
<h3>Aktuelle Anmeldung:</h3>
... |
/*
* 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
*
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using Aspose.Cells.Cloud.Live.Demos.UI.Config;
using Aspose.Cells.Cloud.Live.Demos.UI.Controllers;
namespace Aspose.Cells.Cloud.Live.Demos.UI.Models
{
public class LandingPageModel
{
public BaseController Contro... |
@model Serene.Navigation.NavigationModel
@helper renderItem(Serenity.Navigation.NavigationItem item, int depth, int[] path) {
var isactive = true;
for (var i = 0; i <= depth; i++)
{
if (path[i] != Model.ActivePath[i])
{
isactive = false;
break;
}
}
var klass = (isactive ? "active" : "") ... |
/*
* 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
*
... |
namespace MSTest.Fluent
{
using System.Collections;
using MSTest.Fluent.Expect;
using Microsoft.VisualStudio.TestTools.UnitTesting;
public abstract class TestBase
{
protected ExpectBool Expect(bool actual)
{
return new ExpectBool(actual);
}
protected ... |
namespace BankManagementSystem.Common.ViewModels
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} |
/****************************************************************************
Copyright (c) 2013-2015 scutgame.com
http://www.scutgame.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 the Software without... |
namespace Domain.Entities.Speech
{
using System;
using System.Collections.Generic;
using System.Linq;
using ResultText;
using Speaker;
public class Speech : IEntity
{
private const long MinDataSize = 1024;
[Obsolete("Only for reflection", true)]
public Speech() { }... |
//------------------------------------------------------------------------------
// <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.
//----... |
// *** 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.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using Rewriter.MovieDb;
using Rewriter.Properties;
using Rewriter.ViewModels;
namespace Rewriter.Core
{
public class FileUpdateOperation : Observable
{
private string _destinationFi... |
// using System;
// using System.Collections.Generic;
// using System.IO;
// using System.Linq;
// using System.Threading.Tasks;
// using Microsoft.Extensions.Configuration;
// using Microsoft.Extensions.Logging;
namespace Aspnet
{
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
// S1118: Add a... |
using System;
using System.Collections.Generic;
namespace Snapshooter.Core
{
/// <summary>
/// Some extensions for Type, to support snapshot testing.
/// </summary>
public static class TypeExtensions
{
/// <summary>
/// Returns the list of inherited types.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Xamarin.Forms.Internals;
using UIKit;
using PageUIStatusBarAnimation = Xamarin.Forms.PlatformConfiguration.iOSSpecific.UIStatusBarAnimation;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
namespace Xamarin.Forms.Platform.iOS
{
... |
using System.Collections;
using Photon.Pun;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using System.Collections.Generic;
public class ScreenManager : MonoBehaviour
{
//Turn Text
[SerializeField] private Text screenTxt;
//Timer variable
private float totalTime = 2f;
... |
// <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 System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static CarShop.Data.ModelsConstants;
namespace CarShop.Data.Models
{
public class User
{
public User()
{
this.Id = ... |
namespace Server.V1.api.Models.GitHub
{
public class Sender
{
public string login { get; set; }
public int id { get; set; }
public string node_id { get; set; }
public string avatar_url { get; set; }
public string gravatar_id { get; set; }
public string url { ge... |
using System;
using System.Collections.Generic;
namespace Seatown.Data.Schemas
{
public class Procedure
{
public Procedure()
{
// Empty constructor
}
public Procedure(string schema, string name, params Parameter[] parameters)
{
this.Name = nam... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
namespace BrickPile.Core
{
/// <summary>
/// Represents the <see cref="Metadata" /> of a BrickPile page.
/// </summary>
public class Metadata
{
/// <summary>
/// Gets or sets the name.
... |
//------------------------------------------------------------------------------
// <auto-generated>
// 이 코드는 도구를 사용하여 생성되었습니다.
// 런타임 버전:4.0.30319.18444
//
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
// 이러한 변경 내용이 손실됩니다.
// </auto-generated>
//--------------------------------------------------------... |
// *** 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... |
namespace Aviant.DDD.Application.Processors
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Core.Services;
using MediatR;
using Polly;
public sealed class RetryRequestProcessor<TRequest, TResponse>
: IRequestHandler<TRequest, TResponse>
where TReq... |
using Project.Services.PlanetarySystems.Models;
using Project.Services.Planets.Models;
using System.Collections.Generic;
namespace Project.Models.Home
{
public class IndexViewModel
{
public IList<LatestPlanetServiceModel> Planets { get; init; }
public IList<LatestPlanetarySystemServiceModel> ... |
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 (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
namespace Microsoft.MixedReality.Toolkit
{
/// <summary>
/// Generic interface for all Mixed Reality Services
/// </summary>
public in... |
using System.Net;
using Common.Model;
using Common.Domain;
using System.Net.Http;
using Common.Services;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using Common.Domain.CommandResults;
using Microsoft.AspNetCore.Authorization;
using Services.QuestionServices.Commands... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spawner : MonoBehaviour
{
public GameObject robot1;
public GameObject[] robot2;
// Start is called before the first frame update
void Start()
{
InvokeRepeating("LaunchRobot1", 1, Random.Range(3... |
using System;
using System.Net;
using iRTweeter.App.Hubs;
using Microsoft.AspNet.SignalR;
using TweetSharp;
namespace iRTweeter.App.Authentication
{
using LazyHub = Lazy<IHubContext>;
class AuthenticationHelper
{
private static ExternalTokenData tokenData = null;
public static TwitterUse... |
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using Packaging.Targets.IO;
namespace Packaging.Targets.Deb
{
internal class DebPackageCreator
{
private const LinuxFileMode ArFileMode = LinuxFileMode.S_IRUSR | LinuxFil... |
// 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.ResourceManager.Fluent.Core;
namespace Microsoft.Azure.Management.Network.Fluent.Models
{
/// <summary>
/// Defines valu... |
using ErsatzTV.Core;
using ErsatzTV.Core.Domain;
using ErsatzTV.FFmpeg.State;
namespace ErsatzTV.Application.Watermarks;
public record CreateWatermark(
string Name,
string Image,
ChannelWatermarkMode Mode,
ChannelWatermarkImageSource ImageSource,
WatermarkLocation Location,
WatermarkSize Size... |
using System.Web.Mvc;
namespace NC.VS.Modules.Account
{
public class AccountAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "Account";
}
}
public override void RegisterArea(AreaRegistra... |
//-----------------------------------------------------------------------
// <copyright file="OccupancyChangedEventArgs.cs" company="Sully">
// Copyright (c) Johnathon Sullinger. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace MudDesigner.Mud... |
using System;
using UnityEngine;
using UnityEditor;
using UnityEditorInternal;
public enum CPC_EManipulationModes
{
Free,
SelectAndTransform
}
public enum CPC_ENewWaypointMode
{
SceneCamera,
LastWaypoint,
WaypointIndex,
WorldCenter
}
[CustomEditor(typeof(CPC_CameraPath))]
public class CPC_Ca... |
// 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 program uses code hyperlinks available as part of the HyperAddin Visual Studio plug-in.
// It is available f... |
@model Chalmers.ILL.Models.PartialPage.DeliveryType.ArticleByMailOrInternalMail
<div id="delivery-with-post-or-internpost" class="row">
<div class="col-md-6">
<div class="form-group">
<label for="attachments-group2">Filer att leverera</label>
<div id="attachments-group2">
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.