text stringlengths 1 932k |
|---|
using Newtonsoft.Json;
namespace SujaySarma.Sdk.Azure.AppService.WebApps
{
/// <summary>
/// Mapping of HTTP handlers for an Azure App Service app
/// </summary>
public class AppServiceWebAppHandlerMapping
{
/// <summary>
/// Command-line arguments to pass on to the script processo... |
//------------------------------------------------------------------------------
// <copyright file="QilGenerator.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">Microsoft</owner>
// <spec>http://www.w3.org/TR/xslt.html</... |
#if NET6_0_OR_GREATER
using System;
using System.Globalization;
using GraphQL.Language.AST;
namespace GraphQL.Types
{
/// <summary>
/// The Date scalar graph type represents a year, month and day in accordance with the ISO-8601 standard.
/// Format is `yyyy-MM-dd`.
/// </summary>
public class Date... |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v10/enums/product_channel_exclusivity.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Googl... |
using System.Threading.Tasks;
using Microsoft.Azure.Devices.Applications.RemoteMonitoring.Simulator.WebJob.SimulatorCore.Devices;
using Microsoft.Azure.Devices.Applications.RemoteMonitoring.Simulator.WebJob.SimulatorCore.Transport;
namespace Microsoft.Azure.Devices.Applications.RemoteMonitoring.Simulator.WebJob.Simul... |
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_UnityEngine_UI_ScrollRect_ScrollRectEvent : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int constructor(IntPtr l) {
try {
#if D... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.AI.Luis;
using Microsoft.Extensions.Configuration;
namespace MyCoreBotWithTests
{
public class FlightBooki... |
using System;
using System.IO;
using System.Threading.Tasks;
using System.Web.Mvc;
using NitroNet.ViewEngine;
using Veil;
using IView = System.Web.Mvc.IView;
using IViewEngine = System.Web.Mvc.IViewEngine;
using IViewEngineNitro = NitroNet.ViewEngine.IViewEngine;
using IViewNitro = NitroNet.ViewEngine.IView;
using Tem... |
namespace ApiTest
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string? Summary { get; set; }
}
} |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: Assem... |
using System;
using FluentAssertions;
using Rhino.Mocks;
using Ncqrs.Commanding.ServiceModel;
using NUnit.Framework;
using Ncqrs.Commanding.CommandExecution;
using Ncqrs.Commanding;
namespace Ncqrs.Tests.Commanding.ServiceModel
{
[TestFixture]
public class CommandServiceBaseTests
{
public class Co... |
// ----------------------------------------------------------------------------------
//
// 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 AutoMapper;
using Contoso.Forms.Configuration.Navigation;
using Contoso.Forms.Parameters.Navigation;
using Contoso.XPlatform.Flow.Cache;
namespace Contoso.XPlatform.Flow
{
public class Actions : IActions
{
#region Fields
private readonly FlowDataCache flowDataCache;
private reado... |
using System;
using System.Net;
using Java.Lang;
namespace SampleApp
{
public class ProxyInfoProvider : IProxyInfoProvider
{
public WebProxy GetProxySettings()
{
var proxyHost = JavaSystem.GetProperty("http.proxyHost");
var proxyPort = JavaSystem.GetProperty("http.proxy... |
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UAssetAPI.PropertyTypes;
namespace UAssetAPI
{
public static class UAPUtils
{
public static string CurrentCommit = string.Empty;
public st... |
using System;
using UnityEngine;
public class FaBaoHoleStarUpInfoList : BaseVoList
{
[SerializeField]
public FaBaoHoleStarUpInfo[] list;
public int MaxStarLv;
public int MaxHoleNums;
public override void Destroy()
{
this.list = new FaBaoHoleStarUpInfo[0];
}
} |
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
// This module must be loaded "PreLoadingScreen" in the .uproject file, otherwise it will not hook in time!
public class HeliumRainLoadingScreen : ModuleRules
{
public HeliumRainLoadingScreen(TargetInfo Target)
{
Private... |
/* $Id$
* ======================================================================
*
* Copyright 2009-2018 EMBL - European Bioinformatics Institute
*
* 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 ... |
namespace Workitem10048
{
using DemoCore;
using HelixToolkit.Wpf.SharpDX;
public class MainViewModel : BaseViewModel
{
public MainViewModel()
{
// titles
this.Title = "Simple Demo (Workitem 10048 and 10052)";
this.SubTitle = "Select lines with left... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NBitcoin;
using Stratis.Bitcoin.Features.Consensus;
using Stratis.Bitcoin.Features.MemoryPool;
using Stratis.Bitcoin.IntegrationTests.Common;
using Stratis.Bitcoin.IntegrationTests.Common.EnvironmentMockUpHelpers;
us... |
using System;
namespace Lang.Python.Tensorflow
{
public class TfScope : IDisposable
{
internal TfScope(string scopeName)
{
ScopeName = scopeName;
}
public void Dispose()
{
}
public string ScopeName { get; }
}
public enum TfDataType... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Generator
{
public class Word : IGenerate
{
private string _text;
public Word (string text)
{
_text = text;
}
public string Genera... |
using Joke.Front.Pony.Lexing;
namespace Joke.Front.Pony.ParseTree
{
public class PtThen : PtExpression
{
public PtThen(PonyTokenSpan span, PtAnnotations? annotations, PtExpression body)
: base(span)
{
Annotations = annotations;
Body = body;
}
... |
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace GMSFramework.Migrations
{
public partial class Upgraded_To_Abp_v3_5_0 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Gold : MonoBehaviour
{
private int gold;
void Awake()
{
gold = 0;
}
void Update()
{
// will be update later
}
public void AddGold(int goldNeedAdd)
{
gold += goldN... |
//-----------------------------------------------------------------------
// ETP DevKit, 1.2
//
// Copyright 2018 Energistics
//
// 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
//
// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace webapp5
{
... |
@model wreq.Models.ManageLoginsViewModel
@using Microsoft.Owin.Security
@{
ViewBag.Title = "Manage your external logins";
}
<h2>@ViewBag.Title.</h2>
<p class="text-success">@ViewBag.StatusMessage</p>
@{
var loginProviders = Context.GetOwinContext().Authentication.GetExternalAuthenticationTypes();
if (log... |
using System;
using System.Threading;
using Anno.Const.Attribute;
using Anno.EngineData;
namespace Anno.Plugs.DLockService
{
/// <summary>
/// 分布式锁服务
/// </summary>
public class DLockModule : BaseModule
{
[AnnoInfo(Desc = "分布式锁服务 获取锁[DLKey][TimeOut:5000][Owner]")]
public ActionResu... |
using Newtonsoft.Json;
namespace Mix.Cms.Payment.Domain.Models
{
public class PayPalPurchaseUnit
{
[JsonProperty("amount")]
public PayPalAmount Amount { get; set; }
}
} |
/*
* 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
*
... |
// 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.CommandLine.Parsing;
using Microsoft.DotNet.Cli;
using Microsoft.DotNet.Cli.Utils;
... |
using UnityEngine;
using Lucerna.Utils;
public class SLExample : MonoBehaviour
{
private void Update() {
if (Input.GetKeyDown(KeyCode.Space))
SceneLoader.instance.LoadSceneAsync(SceneLoader.instance.CurrentScene.name);
}
} |
// Copyright (c) Microsoft Open Technologies, Inc. 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.Generic;
using JetBrains.Annotations;
using Microsoft.Data.Entity.Metadata;
namespace Microsoft... |
using UnityEngine;
public class OverlayMesh : MonoBehaviour {
Material[] _originalMaterials;
Renderer _renderer;
OverlayObject _overlayObject;
void Start() {
_renderer = GetComponent<MeshRenderer>();
if (!_renderer) {
_renderer = GetComponent<SkinnedMeshRenderer>();
}
if (!_renderer)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace BodeCase
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*path... |
using System;
using System.Collections.Generic;
using ModestTree;
namespace Zenject
{
[NoReflectionBaking]
public class SubContainerCreatorCached : ISubContainerCreator
{
readonly ISubContainerCreator _subCreator;
#if ZEN_MULTITHREADING
readonly object _locker = new object();
#else
... |
using UnityEngine;
namespace AsImpL
{
/// <summary>
/// Implementation of IMaterilFactory that creates a material based on the shader name.
/// </summary>
public class MaterialFactory : IMaterialFactory
{
/// <inheritdoc/>
public Material Create(string shaderName)
{
... |
using System.Linq;
using JsonLD.Entities;
namespace Argolis.Hydra.Discovery.SupportedOperations
{
/// <summary>
/// Builder to set up a supported operations
/// </summary>
public class SupportedOperationBuilder
{
private readonly OperationMeta meta;
/// <summary>
/// Initi... |
namespace LamarCompiler.Model
{
public interface IServiceVariableSource : IVariableSource
{
void ReplaceVariables();
void StartNewType();
void StartNewMethod();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Infrastructure.Extensions
{
public static class EnumerableExtensions
{
public static IEnumerable<TResult> Zip<T1, T2, T3, TResult>(
this IEnumerable<T1> source,
IEnumerable<T2> second,
IEnu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Reactive.Threading.Tasks;
using System.Threading;
using NodeNetwork.ViewModels;
using ... |
using Abp.Domain.Repositories;
using Abp.MultiTenancy;
using QuickDevelop.Authorization.Roles;
using QuickDevelop.Editions;
using QuickDevelop.Users;
namespace QuickDevelop.MultiTenancy
{
public class TenantManager : AbpTenantManager<Tenant, Role, User>
{
public TenantManager(
IRepository<... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace JokeForms.Core
{
public partial class MainJokePage : ContentPage
{
public MainJokePage()
{
InitializeComponent();
// This is used before MVVM
//getJoke.Clicked += async (sender,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using WarThunderComparer.comparerData.Adapters;
using WarThunderComparer.comparerData.Collections;
using A... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02_Eight_Queens
{
class Program
{
const int chessboardSize = 8;
static int solutionFound = 0;
static bool[,] chessboard = new bool[chessboardSize, chessboardSi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Phoebe.Core.Utility
{
/// <summary>
/// 常量类
/// </summary>
public static class PhoebeConstant
{
#region Field
/// <summary>
/// 冷藏费代码
/// </summary>
public static readonly string Co... |
using Healthcare020.Mobile.Constants;
using Healthcare020.Mobile.Helpers;
using Healthcare020.Mobile.Interfaces;
using Healthcare020.Mobile.Models;
using Healthcare020.Mobile.Services;
using HealthCare020.Core.Extensions;
using HealthCare020.Core.ResourceParameters;
using System.Collections.ObjectModel;
using System.T... |
//* "This work uses content from the Sansar Knowledge Base. © 2017 Linden Research, Inc. Licensed under the Creative Commons Attribution 4.0 International License (license summary available at https://creativecommons.org/licenses/by/4.0/ and complete license terms available at https://creativecommons.org/licenses/by/4... |
// 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.ComponentModel;
namespace System.Data
{
public class DataRowView : ICustomTypeDescriptor, IEditabl... |
using System;
using System.Collections;
using System.Collections.Generic;
using Glass.Mapper.Sc.Configuration;
using Glass.Mapper.Sc.Configuration.Attributes;
using Glass.Mapper.Sc.Fields;
using KATSU.Foundation.Enumeration.Models;
using Sitecore.Globalization;
namespace KATSU.Feature.Package.Models
{
public class... |
using App.Features.MyName.Events;
using App.Shared;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace Features.CountOfNames
{
public class CountOfNamesViewModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
... |
@{
Layout = "_Layout";
}
<h1>Welcome to Non Profits Org</h1>
<p>@Html.ActionLink("See all non profits", "Index", "Non Profits")</p>
<p>@Html.ActionLink("See all board members", "Index", "Board Memberss")</p> |
using System.Collections.Generic;
using System.Linq;
using PizzaBox.Domain.Models;
using PizzaBox.Storing.Mappers;
namespace PizzaBox.Storing.Repositories
{
public class CrustRepo : IRepository<Crust>
{
private readonly Entities.HeroesAppSeanContext context;
private readonly CrustMapper mapper = new CrustM... |
#pragma checksum "D:\Samples_19.3.0.43\ASPNETCORE\samplebrowser\Views\DocIO\Forms.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "24fb626fb577be6f8692f8321cd95814ce44a447"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCo... |
namespace Wacton.Unicolour.Tests;
using System;
using System.Collections.Generic;
using NUnit.Framework;
// Oklab is the only colour space so far that provides test values (https://bottosson.github.io/posts/oklab/#table-of-example-xyz-and-oklab-pairs)
// so it has its own dedicated set of tests based on those
public... |
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
// <version>$Revision$</version>
// </file>
using System;
using System.Text;
using System.Threading;
namespace LiteDB.Studio.ICSharpCode.Text... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.IO.IsolatedStorage;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using accel;
using dbg;
using er;
using er.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraMovement : MonoBehaviour {
public GameObject MapCamera;
public void Update()
{
// Keybord controlls.
if (Input.GetKeyDown(KeyCode.W) || Input.GetKeyDown(KeyCode.UpArrow) || Input.GetKey(KeyC... |
// 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.
#nullable disable
using System.Threading;
namespace System.Windows.Forms
{
public partial class Control
{... |
using System;
using System.Windows.Input;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace XamarinMvvm.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class MainPage : ContentPage
{
public ICommand NavigateCommand { get; private set; }
public MainPage()
... |
using System;
using System.Collections.Generic;
using ErpServices.ErpManager.Interfaces;
using ErpServices.Metadata;
using powerGateServer.SDK;
namespace ErpServices.Services
{
public class Categories : ErpBaseService<Category>
{
public override string Name => "Categories";
public Categories... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cats.Models
{
public class DistributionByAgeDetail
{
public int DistributionByAgeDetailID { get; set; }
public int DistributionHeaderID { get; set; }
public... |
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-gen... |
namespace Outracks.UnoHost
{
public enum MouseButton
{
Left = 1,
Middle = 2,
Right = 3,
X1 = 4,
X2 = 5,
}
} |
using System;
using System.Threading;
using System.Threading.Tasks;
using xCache.Tests.CacheKeyGenerator;
using Xunit;
using System.Linq;
namespace xCache.Tests.Core
{
public abstract class CacheEnabledTests
{
protected ICacheEnableObject _cached = null;
protected virtual void PurgeDurableCac... |
//------------------------------------------------------------------------------
// <auto-generated>
// Ce code a été généré par un outil.
// Version du runtime :4.0.30319.42000
//
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
// le code es... |
using Microsoft.EntityFrameworkCore;
namespace BASTAConfTool.Server.Models
{
public class ConferencesDbContext : DbContext
{
public ConferencesDbContext() { }
public ConferencesDbContext(DbContextOptions<ConferencesDbContext> options)
: base(options)
{
}
publi... |
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("Ex... |
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace CSHotFix.Other
{
class ByReferenceKeyComparer<T> : IEqualityComparer<T>
{
public bool Equals(T x, T y)
{
return object.ReferenceEquals(x, y);
}
public int GetHashCode(T obj)
{
... |
@model cloudscribe.SimpleContent.Web.ViewModels.PageViewModel
@using cloudscribe.Web.Navigation;
@using cloudscribe.SimpleContent.Models
@using cloudscribe.SimpleContent.Web
@using cloudscribe.SimpleContent.Web.TagHelpers
@inject IRoleSelectorProperties roleSelector
@section Meta {
<meta name="robots" content="noi... |
namespace TeisterMask.Data.Models.Enums
{
public enum LabelType
{
Priority,
CSharpAdvanced,
JavaAdvanced,
EntityFramework,
Hibernate
}
} |
namespace HandyControl.Data;
public enum FlexWrap
{
NoWrap,
Wrap,
WrapReverse
} |
using UserService.Core.Interfaces.Repositories;
using MediatR;
using System.Threading;
using System.Threading.Tasks;
using UserService.Core.Interfaces.Services;
using HelpMyStreet.Contracts.RequestService.Response;
using HelpMyStreet.Contracts.CommunicationService.Request;
using HelpMyStreet.Contracts.UserService.Requ... |
/*
* 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.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Resources;
using Mediachase.IBN.Business;
usi... |
namespace AppStatus.Api.Framework.Constants
{
public class State
{
public const short Wishlist = 1;
public const short Applied = 2;
public const short Interview = 3;
public const short Offer = 4;
public const short Rejected = 5;
public static string ToString(sho... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Castle.MicroKernel.Registration;
using Castle.Windsor.MsDependencyInjection;
using Abp.Dependency;
using expensejar.EntityFrameworkCore;
using expensejar.Identity;
namespace expensejar.Tests.DependencyInjection
{
... |
// 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.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controll... |
#region PDFsharp - A .NET library for processing PDF
//
// Authors:
// Stefan Lange
//
// Copyright (c) 2005-2016 empira Software GmbH, Cologne Area (Germany)
//
// http://www.pdfsharp.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy... |
namespace VirtoCommerce.Mobile.Model
{
public class User
{
public string Name { set; get; }
public string Password { set; get; }
}
} |
namespace DevRelKr.UrlShortener.Models
{
/// <summary>
/// This specifies the URL handling mode.
/// </summary>
public enum UrlMode
{
/// <summary>
/// Identifies the URL to be shortened.
/// </summary>
Shorten = 1,
/// <summary>
/// Identifies the UR... |
// ----------------------------------------------------------------------------------
//
// 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 MarioMendonca.SpeechPlanning.Infrastructure.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Serilog;
namespace MarioMendonca.SpeechPlanning.Presentation.Util
{
public class ExecuteMigrations
{
public static void ... |
/**
* Copyright 2017 IBM Corp. 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
*
* Unless required by applicable law o... |
using EPiServer;
using EPiServer.Core;
using EPiServer.DataAbstraction;
using EPiServer.Enterprise;
using EPiServer.Logging;
using EPiServer.Scheduler;
using EPiServer.ServiceLocation;
using EPiServer.Web;
using EPiServer.Web.Routing;
using Foundation.Cms.Settings;
using Foundation.Features.Folder;
using Foundation.Fe... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - MvcApp</title>
<environment include="Development">
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
</environme... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace timw255.Sitefinity.RestClient.Model
{
public enum AuthenticationResult
{
Success = 0,
UserLimitReached = 1,
UserNotFound = 2... |
using System;
using Android.Views;
using Android.Widget;
using Windows.UI.Xaml.Controls;
using Android.Runtime;
using Uno.Extensions;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media;
namespace Uno.UI.Controls
{
public abstract class ItemContainerHolderAdapter : BaseAdapter
{
public Windows.UI.Xaml.Controls.Ori... |
@model LoginViewModel
@{
}
<form asp-controller="Auth" asp-action="Login" method="post">
<div>
<label>Username :</label>
<input asp-for="UserName" />
</div>
<div>
<label>Password :</label>
<input asp-for="Password" />
</div>
<input type="submit" value="Sign In" />... |
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.
[assembly: AssemblyTitle("AWSSDK.TranscribeService")]
[assembly: Ass... |
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
public class OrbbecAstraMapper //: MonoBehaviour
{
//[Left Camera Intrinsic]
private Vector3 lCamInt1 = new Vector3(507.808f, 0f, 356.237f);
private Vector3 lCamInt2 = new Vector3(0f, 507.808f, 252.... |
using NServiceBus;
class PerformanceMonitoring
{
#region enable-sla-host-attribute
[EndpointSLA("00:03:00")]
public class EndpointConfig :
IConfigureThisEndpoint
{
#endregion
public void Customize(BusConfiguration endpointConfiguration)
{
}
}
} |
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Text.Json;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using Excel = Microsoft.Office.Interop.Excel;
namespace tablesharp
{
/// <summary>
/... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spawn : MonoBehaviour
{
[SerializeField] GameObject[] enemies;
[SerializeField] float spawnTime = 1f;
// Start is called before the first frame update
void Start()
{
StartCoroutine(SpawnEnemy());
... |
// <auto-generated />
using System;
using KevinFuerezExamenWeb.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace KevinFuerezExamenWeb.Data.Migrations
{
... |
namespace Service.Business.Authentication
{
using System.Threading.Tasks;
using Service.Contracts.Base;
using Service.Contracts.Business.Authentication;
using Service.Models.Base;
/// <summary>
/// Describes the operations of the authentication service.
/// </summary>
public class AuthenticationService : IA... |
using Microsoft.VisualStudio.Language.Intellisense;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Utilities;
using System;
using System.ComponentModel.Composition;
namespace VisualStudioExtension
{
/// <summary>
/// QuickInfo provider for LSP-based Hover information.
/// </summary>
... |
/*
Copyright 2014 Leaping Gorilla LTD
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 agr... |
using System;
using System.Collections.Generic;
#nullable disable
namespace PetShop.Database
{
public partial class PopustKupon
{
public PopustKupon()
{
Transakcijas = new HashSet<Transakcija>();
}
public int Id { get; set; }
public int Iznos { get; set; }... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.