text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Reflection;
using Scratch;
namespace CSScratchpad.Script {
class TestAdvancedBuilderPattern : Common, IRunnable {
public void Run() {
Console.WriteLine("Start.");
Dbg(
Rule.Create()
.Dis... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UtcDateTimeTest.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode 2018. All rights reserved.
// </copyright>
// -----------------------------------------------------... |
#if ARFOUNDATION_2_1_OR_NEWER
using System;
using System.Collections.Generic;
using Unity.Collections;
using Unity.MARS.Data;
using Unity.XRTools.ModuleLoader;
using Unity.XRTools.Utils;
using UnityEditor;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
using Random = UnityEngine.Random;
namespace Unity.MARS.Pro... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GemGreen : MonoBehaviour
{
public GameObject scoreBox;
public AudioSource collectSound;
void OnTriggerEnter()
{
GlobalScore.currentScore += 500;
collectSound.volume = 0.... |
//------------------------------------------------------------------------------
// <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.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GridManager : MonoBehaviour
{
public static GridManager instance;
public static GridManager _instance
{
get
{
if(!instance)
{
instance = FindObjectOfType<Grid... |
// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class SimpleShooter : ModuleRules
{
public SimpleShooter(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "En... |
@model Web.Models.Gallery
@{
ViewBag.Title = "گالری - ایجاد";
Layout = "~/Areas/Management/Views/Shared/_Layout.cshtml";
}
<h2>ایجاد گالری</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>گالری</h4>
<hr />
@Html.ValidationSummary(tr... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceManager;... |
// 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.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
usin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpcHda2Tcp
{
public class dataRow
{
public string TimeStamp { get; set; }
public string TagName { get; set; }
public string Value { get; set; }
public string Quality { get; set; }
}... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using SGP.Domain.Entities;
using SGP.Infrastructure.Extensions;
namespace SGP.Infrastructure.Mappings
{
public class TokenMap : IEntityTypeConfiguration<Token>
{
public void Configure(EntityTypeBuilder<Token> bu... |
using UmaMusumeAPI.Controllers;
namespace UmaMusumeAPI.Models.Tables
{
[GeneratedController]
public class SingleModeRank
{
public int Id { get; set; }
public long MinValue { get; set; }
public long MaxValue { get; set; }
}
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>支票领取转账</title>
<style type="text/css">
body
{
font-size: 12px;
margin: 0px;
pad... |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generi... |
//------------------------------------------------------------------------------
// <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>
//--... |
// <auto-generated />
using System;
using JobPortal.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
n... |
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using Oqtane.Models;
using Oqtane.Shared;
namespace Oqtane.Services
{
public class FileService : ServiceBase, IFileServ... |
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("Ju... |
using Azure.Core;
using Azure.Storage.Blobs.Models;
using Azure.Storage.Blobs.Specialized;
using Azure.Storage.Files.DataLake;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Text.Json;
using Sys... |
@using Web.Service
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
// ----------------------------------------------------------------------------------
//
// 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.IO;
using System.Threading.Tasks;
using Microsoft.AppCenter;
using SetBoxTV.VideoPlayer.Helpers;
using SetBoxTV.VideoPlayer.Interface;
using SetBoxTV.VideoPlayer.Model;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using SetBoxTV.VideoPlayer.Extensions;
namespace SetBoxTV.VideoPlayer
{
... |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace Workday.HumanResources
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrou... |
using acPlugins4net.helpers;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace acPlugins4net.info
{
[DataContract]
public class DriverInfo
{
#region MsgCarUpdate cache - No idea how we use this, and if it's cool at all
/// <summary>
//... |
/*
* 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 UnityEngine;
namespace Photon.Voice.Unity
{
public class Logger : ILogger
{
public void LogError(string fmt, params object[] args) { Debug.LogErrorFormat(fmt, args); }
public void LogWarning(string fmt, params object[] args) { Debug.LogWarningFormat(fmt, args); }
public void LogI... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.CompilerServices;
namespace System.Runtime.Intrinsics.Arm
{
/// <summary>
/// This class provides access to the ARM AES hardware instructions via intrin... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Net.Http;
using AngleSharp.Dom.Html;
namespace Microsoft.AspNetCore.Identity.FunctionalTests.Account;
public class ForgotPassword : DefaultUIPage
{
private readon... |
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.OpenApi.Models;
using Yardarm.Helpers;
using Yardarm.Spec;
namespace Yardarm.Enrichment.Schema.Internal
{
internal class SchemaBaseTypeRegistry : ISchemaBaseTypeReg... |
using DomainFramework.Core;
namespace DomainFramework.Tests
{
class UserEntity : Entity<int?>
{
public string Name { get; set; }
public int? DefaultPhotoId { get; set; }
}
} |
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("Sc... |
using HarmonyLib;
using UnityEngine;
namespace TweakedBiologicalCargoBay
{
internal sealed class TweakedBiologicalCargoBayPatches : KMod.UserMod2
{
[HarmonyPatch(typeof(SpecialCargoBayConfig), nameof(SpecialCargoBayConfig.DoPostConfigureComplete))]
internal static class SpecialCargoBayConfig_D... |
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>雷达图</title>
<link href="~/css/framework-theme.css" rel="stylesheet" />
<script src="~/js/jquery/jquery-2.1.1.min.js"></script>
<script src="~/js/highcharts/highcharts.js"></script>
<script>
$(fun... |
namespace VAR.ImageProcessing.Toolbox
{
partial class FrmBatchProcessImages
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
//... |
using Couchbase.Core.Compatibility;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace Couchbase.Query
{
public class Error
{
[JsonProperty("msg")]
public string Message { get; set; }
public int Code { get; set; }
public string Name ... |
// *** WARNING: this file was generated by crd2pulumi. ***
// *** 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.Kubernetes.Types.O... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;... |
namespace R1Engine
{
public class Jade_RRR_Xbox360_Manager : Jade_Montpellier_BaseManager {
// Levels
public override LevelInfo[] LevelInfos => new LevelInfo[]
{
new LevelInfo(0x0002EA59, "ROOT/EngineDatas/06 Levels/_main/_main_bootup", "_main_bootup.wol"),
new LevelInfo(0x000129BE, "ROO... |
// ----------------------------------------------------------------------------------
//
// 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.IO;
using NUnit.Framework;
namespace fNbt.Test {
[TestFixture]
public class NbtFileTests {
[SetUp]
public void NbtFileTestSetup() {
Directory.CreateDirectory( "TestTemp" );
}
#region Loading Small Nbt Test File
[Test]
pu... |
using MVCProject.Model;
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;
namespace MVCProject.View.Edicao
{
public partial class frmEdicaoLivros : Fo... |
using System;
namespace HCI.EasyDapper.Validation
{
public class SQLException : Exception
{
public SQLException()
{
}
public SQLException(string message) : base(message)
{
}
public SQLException(string message, Exception innerException) : base(message, ... |
/*
* 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 ... |
using System;
using System.Reflection;
using System.Runtime.Serialization;
using Umbraco.Core.Models.EntityBase;
using Umbraco.Core.Persistence.Mappers;
namespace Umbraco.Core.Models
{
/// <summary>
/// Definition of a DataType/PropertyEditor
/// </summary>
/// <remarks>
/// The definition exists ... |
using Uno.Extensions;
using Windows.UI.Xaml;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using Uno.Disposables;
using Windows.UI.Xaml.Controls;
#if NET6_0_OR_GREATER
using ObjCRuntime;
#endif
#if XAMARIN_IOS_UNIFIED
using Foundation;
using UIKit;
using CoreGraphics;
using... |
using LagoVista.Core.Attributes;
using LagoVista.Core.Models;
using LagoVista.IoT.DeviceAdmin.Models.Resources;
using LagoVista.MediaServices.Models;
using System.Collections.Generic;
namespace LagoVista.IoT.DeviceAdmin.Models
{
[EntityDescription(DeviceAdminDomain.DeviceAdmin, DeviceLibraryResources.Names.Device... |
#region Copyright
/*Copyright (C) 2015 Konstantin Udilovich
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 applicab... |
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3d12.h(12085,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct D3D12_DXIL_LIBRARY_DESC
{
public D3D12_SHADER_BYTECODE DXILLibrary;
public ... |
namespace _10.Car_Salesman
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main()
{
int totalEngines = int.Parse(Console.ReadLine());
List<Engine> engines = new List<Engine>();
for (... |
using Fungus;
using UnityEngine;
[EventHandlerInfo("Shopkeep", "Stage Hub Clicked",
@"An event for when a Stage Display Hub component is clicked.
The stageVar property will be holding the stage that the clicked hub was displaying for.")]
public class StageHubClicked : EventHandler
{
[VariableProperty("<Value... |
//------------------------------------------------------------------------------
// <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>
//--... |
#if !NETSTANDARD13
/*
* 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 ... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
using System.Collections;
using System.Diagnostics;
using System.IO;
using System.Xml.Serialization;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.... |
//------------------------------------------------------------------------------
//----- Resource ---------------------------------------------------------------
//------------------------------------------------------------------------------
//-------1---------2---------3---------4---------5---------6---------7-----... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Element
{
public enum ButtonSize
{
Default,
Medium,
Small,
Mini
}
} |
using GodOx.Shop.API.Models.Entity;
using System;
using System.Collections.Generic;
namespace GodOx.Shop.API.Models.Dtos.Output
{
public class OrderDetailOutput : Order
{
public string AppUserName { get; set; }
public OrderAddress Address { get; set; } = new OrderAddress();
public List... |
namespace BinarySerializer.Nintendo.NDS
{
public class DS3D_Command_Color : DS3D_CommandData
{
public RGB555Color Color { get; set; }
public override void SerializeImpl(SerializerObject s)
{
Color = s.SerializeObject<RGB555Color>(Color, name: nameof(Color));
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace Umbraco.Core.Persistence
{
/// <summary>
/// Manages LocalDB databases.
/// </summary>
/// <remarks>
/// <para>Latest version is S... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MyLib;
namespace MaNorton
{
class NortoPart
{
//Переход по уровням директорий
PathWalker MaWalker = new PathWalker();
//Названия и типы содержимо... |
// *** WARNING: this file was generated by pulumigen. ***
// *** 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.Kubernetes.Apps.V1B... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Medallion.Threading.Tests.Sql
{
public abstract class ExternalTransa... |
// 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 Microsoft.AspNetCore.Connections;
using Microsoft.AspNetCore.SignalR.Protocol;
using Microsoft.AspNetCore.SignalR.Tests;
using Microsoft.Extension... |
// <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;
namespace streaming.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GameData
{
[CreateAssetMenu(fileName = "ItemSkin", menuName = "Create/ItemSkin")]
public class ItemSkin : ScriptableObject
{
[Header("Data")]
public string itemName;
public int id;
pub... |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... |
//------------------------------------------------------------------------------
// <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.Windows.Automation;
namespace NativeMessagingHost;
public static class Extensions {
public static IntPtr toHwnd(this AutomationElement element) {
return new IntPtr(element.Current.NativeWindowHandle);
}
} |
namespace _07.SumArrays
{
using System;
using System.Linq;
public class SumArrays
{
public static void Main()
{
int[] numsArrFirst = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int[] numsArrSecond = Console.ReadLine().Split(' ').Select(int.Parse).... |
//---------------------------------------------------------------------
// <copyright file="IRandomNumberGenerator.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//----------------------------------... |
// <copyright file="DiscreteFourierTransform.RadixN.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009-2013 Math.NET
//
// Permission is hereby granted... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Navigation;
namespace Micro... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace H6.Database.Entities
{
/// <summary>
/// Database entity
/// </summary>
/// <typeparam name="TEntity"></typeparam>
[Serializable]
public abstract class DBEntityBase<TEntity>
where TEntity ... |
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class ItemPreferredAreaItems : IScriptable
{
[Ordinal(0)] [RED("equipmentArea")] public CEnum<gamedataEquipmentArea> EquipmentArea { get; set; }
[Ordinal(1)] [RED("it... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace NDifference.UI.Controls
{
public class WatermarkedTextBox : TextBox
{
private string _watermarkText;
public Watermarked... |
using System.Collections.Generic;
namespace SpeedrunComSharp
{
public class UserNameStyle
{
public bool IsGradient { get; private set; }
public string LightSolidColorCode { get; private set; }
public string LightGradientStartColorCode
{
get { return LightSolidColorC... |
using LuKaSo.MvcrDocumentValidator.Infrastructure;
using LuKaSo.MvcrDocumentValidator.ResponceXml;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
namespace LuKaSo.MvcrDocumentValidator.UnitTests.Common
{
/// <summary>
/// Test client to access internals for test
/// </summary>
... |
//-----------------------------------------------------------------------
// <copyright file="FileHttpResponseParsers.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with th... |
// Copyright (c) MudBlazor 2021
// MudBlazor licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
namespace MudBlazor.Services
{
public class KeyInterceptorOptions
{
/// <summary>
/// Class of the ... |
@page
@using Ireckonu.Importer.Models
@model IndexModel
@{
ViewData["Title"] = "Import Product Data";
}
<div class="alert alert-info" role="alert">
@if (String.IsNullOrEmpty((string)ViewData["Errors"]))
{
if (Model.Upload != null)
{
<span style="color: #008000;">Upload Successf... |
using System;
namespace System.Net.NetworkInformation
{
/// Provides information about network interfaces that support Internet Protocol (IP) version 4.0.
public abstract class IPv4InterfaceProperties
{
/// Gets a bool value that indicates whether an interface uses Windows Internet Name Service (WI... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace Mass.Compiler
{
public class Parser
{
private Lexer lexer;
public Parser(Lexer lexer)
{
this.lexer = lexer;
}
#region Expr Parsing
private Compou... |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
namespace Microsoft.Azure.Mobile.Server.Authentication
{
/// <summary>
/// A <see cref=... |
namespace UnityPacker
{
using UnityEngine;
using UnityEditor;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
public class UnityPacker
{
static string ProjectPath { get { return Regex.Replace(Application.dataPath, "/Assets", ""); } }
static string... |
// *** 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... |
// Copyright(c) Microsoft Corporation.
// This content is subject to the Microsoft Reference Source License,
// see http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.
namespace Microsoft.HealthVault.DesktopWeb.Common
{
/// <summary>
/// Defi... |
@using Hss.Web.Components.RazorComponents.Orders
@{
this.ViewData["Title"] = "Book Service";
}
<script>
window.addDatePicker = () => $(function () {
$("#datepicker").datepicker({
beforeShowDay: $.datepicker.noWeekends
});
});
</script>
<component typ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using TestProjectFacadeDesignPattern.Enums;
using TestProjectFacadeDesignPattern.Pages;
namespace TestProjectFacadeDesignPatter... |
/*
* 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;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace Workday.StudentRecruiting
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepTh... |
// Copyright (c) Commonsense Software. All rights reserved.
// Licensed under the MIT license.
namespace More.Domain.Messaging
{
using System;
using System.Data.Common;
using System.Data.SqlClient;
using System.Diagnostics.Contracts;
/// <summary>
/// Represents an object that can be used to ... |
#if CORECLR
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System.Net.Http;
using System.IO;
using System.Management.Automation;
namespace Microsoft.Power... |
// Copyright © 2018, Meta Company. All rights reserved.
//
// Redistribution and use of this software (the "Software") in binary form, without modification, is
// permitted provided that the following conditions are met:
//
// 1. Redistributions of the unmodified Software in binary form must reproduce the abo... |
using System;
namespace XPenC.DataAccess.SqlServer.Tests.TestDoubles
{
internal class IntegerDataRecord : DummyDataRecord
{
public override int FieldCount => 1;
public override int GetOrdinal(string _) => 1;
public override bool IsDBNull(int _) => false;
public override int Get... |
/*
Copyright © Bryan Apellanes 2015
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bam.Net.ServiceProxy
{
public interface IRoleResolver: IRequiresHttpContext
{
bool IsInRole(IUserResolver userResolver, string roleName... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>@Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="description" content="@Description"/>
<meta name="author" content="@Properties["project-author"]"/>
<script src="https://c... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using ConnectorGrasshopper.Extras;
using Grasshopper.Kernel;
using GrasshopperAsyncComponent;
using Rhino;
using Speckle.Core.Kits;
using Speckle.Core.Logging;
using Speckle.Core.Models;
using Utilities... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ShoppingModule.Web
{
public class Program
{
pu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.