text stringlengths 1 932k |
|---|
//-----------------------------------------------------------------------
// <copyright file="LWWRegister.cs" company="Akka.NET Project">
// Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2018 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
//--... |
using System;
using System.Xml.Serialization;
namespace UnityEditor.Experimental.VXMLInternal
{
[Serializable]
public class DOMNode
{
}
} |
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... |
// 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 Xunit;
using System;
using System.Reflection;
using System.Collections.Generic;
#pragma warning disable 0414
... |
// # Copyright © 2011-2012, Novus Craft
// # All rights reserved.
using System;
using Machine.Specifications;
using NovusCraft.Web.Helpers;
namespace NovusCraft.Specifications.WebSpecs.HelperSpecs.UrlHelperSpecs
{
[Subject(typeof(UrlHelpers))]
public class when_permalink_is_created_with_route_name_controller_name... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace ODataValidator.Rule
{
#region Namespaces
using System;
using System.ComponentModel.Composition;
using ODataValidator.RuleEngine;
us... |
@inject IViewLocalizer Localizer
@using Microsoft.AspNetCore.Mvc.Localization
@model MyProject.STS.Identity.ViewModels.Account.LoginWith2faViewModel
@{
ViewData["Title"] = Localizer["Title"];
}
@await Html.PartialAsync("_ValidationSummary")
<h2>@ViewData["Title"]</h2>
<hr />
<p>@Localizer["Info"]</p>
<div class="... |
using System.Collections.Generic;
using System;
using System.Reflection;
public static class ReflectionExtensions
{
/// <summary>
/// Perform a deep copy of the class.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="obj">The object.</param>
... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// Subj... |
@{
Script.Require("jQuery");
Script.Include("jquery.iframe-transport.js", "jquery.iframe-transport.min.js");
Script.Include("shoppingcart.widget.js", "shoppingcart.widget.min.js");
Script.Include("cartspinner.js", "cartspinner.min.js");
}
<div id="shopping-cart-widget-container" class="shopping-cart-co... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using DocumentFormat.OpenXml.Framework;
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
#if !FEATURE_SPAN
u... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
usi... |
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell... |
using FBXSharp.Core;
using FBXSharp.ValueTypes;
using System;
using System.Collections.Generic;
namespace FBXSharp
{
internal static class PropertyFactory
{
public delegate IElementProperty AttributeCreator(IElement element);
private static readonly Dictionary<string, IElementPropertyType> ms_typeMapper = new ... |
// 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 NSubstitute;
using Xunit;
namespace Cake.Core.Tests.Unit
{
public sealed class TaskTeardownContextTests
... |
using EdjCase.JsonRpc.Common;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace EdjCase.JsonRpc.Router.Utilities
{
internal static class LoggerExtensions
{
private static readonly Action<ILogger, string, Exc... |
namespace UblTr.Common
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2... |
@namespace SWMNU.NET.BS5.FlashMessage.TestingApp.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
#region License
/*
* HandshakeResponse.cs
*
* The MIT License
*
* Copyright (c) 2012-2014 sta.blockhead
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, includi... |
using System.Globalization;
using Avalonia.Controls;
using Avalonia.Data;
using Xunit;
using System.Windows.Input;
using System;
using Avalonia.Data.Converters;
using Avalonia.Layout;
namespace Avalonia.Base.UnitTests.Data.Converters
{
public class DefaultValueConverterTests
{
[Fact]
public voi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Orbit.Core.Scene.Entities;
using System.Windows;
using Orbit.Core.Helpers;
namespace Orbit.Core.Scene.CollisionShapes
{
public class SphereCollisionShape : ICollisionShape, ISpheric
{
public Vector Center { get... |
// Copyright (c) 2019 SceneGate
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distr... |
// <auto-generated />
// Built from: hl7.fhir.r5.core version: 4.6.0
// Option: "NAMESPACE" = "fhirCsR5"
using fhirCsR5.Models;
namespace fhirCsR5.ValueSets
{
/// <summary>
/// Common UCUM units for recording Vital Signs
/// </summary>
public static class UcumVitalsCommonCodes
{
/// <summary>
/// ... |
using Newtonsoft.Json;
namespace Base.Data.Transactions
{
public sealed class TransactionObject : IdObject
{
[JsonProperty("trx")]
public SignedTransactionData Transaction { get; set; }
[JsonProperty("trx_id")]
public string TransactionId { get; set; }
[JsonProperty("ex... |
using System;
using System.Collections.Generic;
namespace GovUk.Education.ExploreEducationStatistics.Publisher.Model.ViewModels
{
public class MethodologyViewModel
{
public Guid Id { get; set; }
public string Title { get; set; }
public string Slug { get; set; }
public string... |
using Elektronik.Data.PackageObjects;
using UnityEngine;
namespace Elektronik.Clouds
{
public struct GPUItem
{
public const int Size = sizeof(float) * 4;
public Vector3 Position;
public uint Color;
public GPUItem(SlamPoint cp)
{
Positio... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
#define USE_CHECKBOXES
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace lotrpwcheck
{
struct Coord
{
public int X;
public int Y;
}
public partial class Form1 : Form
{
PasswordView passwordView;
Checks... |
namespace Game
{
partial class Creditos
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name... |
//
// IMimeFilter.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2020 Xamarin Inc. (www.xamarin.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 Softwar... |
using Xamarin.Forms;
namespace ShapesDemos
{
public partial class BrushesDemoPage : ContentPage
{
public BrushesDemoPage()
{
InitializeComponent();
}
}
} |
// *** 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... |
#region License
/*
Copyright © 2014-2022 European Support Limited
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 a... |
using Juce.TweenPlayer;
using System.Threading;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
namespace Playground.Content.StageUI.UI.Effects.Entries
{
public class EffectUIEntry : MonoBehaviour
{
[Header("References")]
[SerializeField] private Image backgroundImage = ... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using AutoRest.Core.Utilities;
using AutoRest.Core.Model;
namespace AutoRest.Go.Model
{
public class PropertyGo : Property
{
public P... |
using FiapWebservicesRestfulTechnologies.Data.Converter.Implementations;
using FiapWebservicesRestfulTechnologies.Data.DTO;
using FiapWebservicesRestfulTechnologies.Model;
using FiapWebservicesRestfulTechnologies.Repository;
using System.Collections.Generic;
namespace FiapWebservicesRestfulTechnologies.Services.Imple... |
namespace FirmaRehber.Tanimlar
{
partial class frmIlceler
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using SimpleJSON;
using System.Collections.Generic;
using System.Linq;
using ToySerialController.UI;
using ToySerialController.Utils;
using UnityEngine;
using DebugUtils;
namespace ToySerialController.MotionSource
{
public class AssetFemaleMotionSource : AbstractFemaleMotionSource
{
private Atom _asse... |
using System;
using System.Collections;
using UnityEngine;
using UnityEngine.Networking;
using Proyecto26.Common;
namespace Proyecto26
{
public static class HttpBase
{
public static IEnumerator CreateRequestAndRetry(RequestHelper options, Action<RequestException, ResponseHelper> callback)
{
... |
using System.Collections.Generic;
using System.Net.WebSockets;
namespace ConnectGame.Search
{
class MoveOrder
{
//public void OrderMoves(Board board, SearchState state, int[] moves, int pvMove)
//{
// var scores = new int[moves.Length];
// for (int i = 0; i < moves.Lengt... |
//-----------------------------------------------------------------------
// <copyright file="CompletedStockQuoteDownload.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// ... |
using System.Collections.Generic;
namespace NXSBinEditor {
public class BinHelper {
Bin Engine;
string[] Data;
Dictionary<uint, string> Prefix = new Dictionary<uint, string>();
Dictionary<uint, string> Sufix = new Dictionary<uint, string>();
public BinHelper(byte[] Script... |
using System;
namespace Benriya.Clients.Wasm.Components.Loading.Component.Services
{
public interface ILoadingService
{
LoadingComponentState LoadingState { get; }
DateTime Timer { get; }
event Action<DateTime> OnElapsed;
event Action<bool> OnStop;
void Hide();
... |
using Accounting.Application.Common.Interfaces;
using Accounting.Application.Verifications;
using Accounting.Application.Verifications.Commands;
using Accounting.Application.Verifications.Queries;
using Azure.Storage.Blobs;
using MediatR;
using Microsoft.AspNetCore.Mvc;
namespace Accounting.Controllers
{
[Rout... |
//------------------------------------------------------------
// Game Framework v3.x
// Copyright © 2013-2017 Jiang Yin. All rights reserved.
// Homepage: http://gameframework.cn/
// Feedback: mailto:jiangyin@gameframework.cn
//------------------------------------------------------------
using System;
using System.C... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.Events;
using System;
using System.Collections.Generic;
using TMPro;
using DG.Tweening;
public class TypeWriterEffect : MonoBehaviour
{
//변경할 변수
public float delay;
public float Skip_delay;
public int cnt;
string[... |
namespace AdvancedPlugin.Constants
{
/// <summary>
/// Execution Mode
/// </summary>
public enum Mode
{
Synchronous = 0,
Asynchronous = 1
}
} |
using SolidWorks.Interop.sldworks;
namespace AngelSix.SolidDna
{
/// <summary>
/// Represents a SolidWorks Split Line feature data
/// </summary>
public class FeatureSplitLineData : SolidDnaObject<ISplitLineFeatureData>
{
#region Constructor
/// <summary>
/// Default const... |
// <auto-generated />
using Factory.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Factory.Migrations
{
[DbContext(typeof(FactoryContext))]
[... |
using ErsatzTV.Core;
using ErsatzTV.Core.Interfaces.Repositories;
using ErsatzTV.Core.Interfaces.Search;
using ErsatzTV.Core.Search;
using ErsatzTV.Infrastructure.Search;
namespace ErsatzTV.Application.Maintenance;
public class EmptyTrashHandler : IRequestHandler<EmptyTrash, Either<BaseError, Unit>>
{
private re... |
//-----------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//-----------------------------------------------------------------------
namespace HR.TA.Common.WebNotifications.Interfaces
{
/// <summary>
/// The <see cref="IWe... |
using Google.Protobuf;
using System;
using System.Runtime.InteropServices;
using Tensorflow.Device;
using Tensorflow.Eager;
using Tensorflow.Util;
namespace Tensorflow
{
public partial class c_api
{
/// <summary>
/// Return a new options object.
/// </summary>
/// <returns>TFE_... |
using System.Threading;
using System.Windows.Media;
using IctBaden.Presentation.Framework;
// ReSharper disable AutoPropertyCanBeMadeGetOnly.Local
namespace IctBaden.Presentation.Dialogs
{
class AboutViewModel : ActiveViewModel
{
public string DialogTitle
{
get
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cryptool
{
/// <summary>
///
/// </summary>
public class CryptoKeyPair
{
/// <summary>
///
/// </summary>
public byte[] Prv;
/// <summary>
///
/// </summ... |
using System;
using Microsoft.Msagl.Drawing;
using NUnit.Framework;
using QuikGraph.Tests;
namespace QuikGraph.MSAGL.Tests
{
/// <summary>
/// Tests related to <see cref="MsaglVertexEventArgs{TVertex}"/>.
/// </summary>
internal sealed class MsaglVertexEventArgsTests
{
[Test]
public... |
//*****************************************************************************************
//* *
//* This is an auto-generated file by Microsoft ML.NET CLI (Command-Line Interface) tool. *
//* ... |
using System;
using System.Xml.Serialization;
namespace Chrismo.Sitemap.Models
{
/// <summary>
/// Een alternate link for the URL
/// </summary>
[Serializable]
[XmlRoot(ElementName = "link", Namespace = "http://www.w3.org/1999/xhtml")]
public class Link
{
public Link()
{
Rel = "a... |
using System.Reflection;
using FubuCore;
using FubuCore.Binding;
using FubuMVC.Core.Http;
namespace FubuMVC.Core.Resources.Etags
{
public class ResourceHashAttribute : BindingAttribute
{
public override void Bind(PropertyInfo property, IBindingContext context)
{
var resource = conte... |
// 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... |
/*
* Selling Partner API for Shipping
*
* Provides programmatic access to Amazon Shipping APIs.
*
* OpenAPI spec version: v1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotatio... |
using System.Linq;
using Azure.Security.KeyVault.Certificates;
using KeyVault.Acmebot.Models;
namespace KeyVault.Acmebot.Internal
{
internal static class CertificateExtensions
{
public static bool TagsFilter(this CertificateProperties properties, string issuer, string endpoint)
{
... |
using System;
namespace Labyrinth.Startup
{
#if WINDOWS || LINUX
/// <summary>
/// The main class.
/// </summary>
public static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
... |
using System;
using System.Data.Common;
using Dapper;
using Oracle.ManagedDataAccess.Client;
namespace SimpleSoft.Database.Migrator.Tests.Relational.Oracle
{
public abstract class OracleDatabaseFixture : IDisposable
{
private readonly string _userName;
private readonly string _userPassword;
... |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... |
using System;
using System.Collections;
using System.IO;
using HamburgerMenuApp.Contracts.Services;
using HamburgerMenuApp.Core.Contracts.Services;
using HamburgerMenuApp.Models;
using Microsoft.Extensions.Options;
namespace HamburgerMenuApp.Services
{
public class PersistAndRestoreService : IPersistAndRestoreS... |
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NICE.Timelines.Configuration;
namespace NICE.Timelines.Services
{
public interface ISyncService
{
public Task Process();
}
public class SyncService : ISyncService
{
private readonly IClickUpServi... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Bindables;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Framework.Inp... |
@using HearstMappingsEditor.Data.Models
@using HearstMappingsEditor.Common
@model DimYear
@{
var notSet = Constants.NotSet;
}
<tr id="@(Model.YearID)">
<td class="actions-col">
<a class="btn btn-danger btn-sm btn-remove" data-toggle="modal" data-target="#confirmation-modal" data-confirm-text="Remove... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using Microsoft.Coyote.Runtime;
using SystemThreading = System.Threading;
namespace Microsoft.Coyote.Rewriting.Types.Threading
{
/// <summary>
/// Provides methods for monitors that can be controlled during testing.
... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using eShopSolution.Data.EF;
namespace... |
using System;
namespace OptimaJet.DWKit.StarterApplication.Services
{
public class OrganizationInviteRequestSettings
{
public string BaseUrl { get; set; }
}
} |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class BattleController : StateMachine {
public GameObject heroPrefab;
public Tile currentTile {
get {
return board.GetTile(pos);
}
}
public CameraRig cameraRig;
public Board board;
public LevelData levelData;
public T... |
/*
* 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.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("Re... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PegarTerra : MonoBehaviour
{
private void OnTriggerEnter(Collider other)
{
FindObjectOfType<Coletador>().Terra();
SceneManager.LoadScene("Ilha");
}
} |
using System;
using System.Xml.Linq;
try
{
XElement contacts = XElement.Parse(
@"<Contacts>
<Contact>
<Name>Jim Wilson</Name>
</Contact>
</Contcts>");
Console.WriteLine(contacts);
}
catch (System.Xml.XmlException e)
{
Console.WriteLine(e.Message);
... |
using Microsoft.Owin.Cors;
using Newtonsoft.Json.Serialization;
using Owin;
using System.Net.Http.Formatting;
using System.Web.Http;
namespace Marketing.API
{
public class Startup
{
public void Configuration(IAppBuilder appBuilder)
{
var config = new HttpConfiguration();
... |
using System.Web;
using System.Web.Mvc;
namespace WebNumberSUm
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using UnityEngine;
public abstract class SettingBase : IDynamicBoneSetting
{
public abstract bool ExportXmlBone(DynamicBone target, string exportName, string writePath);
public abstract bool ExportXmlColli... |
//===============================================================================
// Microsoft patterns & practices
// Smart Client Software Factory 2010
//===============================================================================
// Copyright (c) Microsoft Corporation. All rights reserved.
// THIS CODE AND INFOR... |
// 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.
namespace System.DirectoryServices.ActiveDirectory
{
using System;
using System.Text;
using System.Threa... |
using System.Collections.Generic;
using System.Threading.Tasks;
using FootballApp.API.Dtos;
namespace FootballApp.API.Services.Groups
{
public interface IGroupsService
{
Task<DetailGroupToReturnDto> GetGroup(int id, int userId);
Task<ICollection<GroupToReturnDto>> GetGroupsForUser(int userId);
... |
namespace Gu.Wpf.Validation.Demo
{
using System.Globalization;
using System.Windows.Controls;
public class MehRule : ValidationRule
{
public override ValidationResult Validate(object value, CultureInfo cultureInfo)
{
var s = value as string;
if (s == null)
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace Pollr.UI
{
public class Program
{
pub... |
// *** 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... |
namespace DBC.Models.DB.DBC.Registraties
{
public class Zorgdomein
{
}
} |
/* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*
* Licensed to Elasticsearch B.V. unde... |
namespace VirtualInputHardware.UWP.Mvvm
{
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Windows.Input;
public class DelegateCommand : ICommand
{
private readonly Action _execute;
private readonly Func<bool> _canExecute;
//... |
// 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 Microsoft.Diagnostics.NETCore.Client;
using System;
using System.Collections.Generic;
using System.Diagnostic... |
using System;
using System.Collections.Generic;
using Ligg.Abp.Domain.IRepositories;
using Ligg.Abp.Domain;
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
using System.Threading.Tasks;
namespace Ligg.Abp.EntityFrameworkCore
{
public class UnitRepository : EfCoreReposit... |
using System;
using System.Collections.Generic;
using Nop.Web.Framework.Mvc.ModelBinding;
using Nop.Web.Framework.Models;
namespace Nop.Web.Areas.Admin.Models.Orders
{
/// <summary>
/// Represents a shipment model
/// </summary>
public partial record ShipmentModel : BaseNopEntityModel
{
#r... |
// Generated class v2.50.0.0, don't modify
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
namespace NHtmlUnit.Javascript.Host.Media
{
public partial class PannerNode : NHtmlUnit.Javascript.Host.Media.AudioNode
{
static PannerNode... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using IdentityMVC.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPage... |
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace IODD.Web.Host.Startup
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWebHost(string[] args)
{
ret... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class UtilityRotateCamera : MonoBehaviour {
public float sensivility = 0.5f;
private Vector2 m_mousePositionRef = Vector2.zero;
private void Update()
{
if (Input.GetMou... |
<!-- MAIN CONTENT -->
<div id="content">
<!-- row -->
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="row">
<div class="col-sm-12">
<div class="text-center error-box">
<h1 class="error-text... |
#region Copyright & License
/*
Copyright (c) 2022, Integrated Solutions, Inc.
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, ... |
/*
* ITSE 1430
*/
using System;
using System.Collections.Generic;
using System.Linq;
namespace Nile.Stores
{
/// <summary>Base class for product database.</summary>
public abstract class ProductDatabase : IProductDatabase
{
/// <summary>Adds a product.</summary>
/// <param name="p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Raven.Yabt.WebApi.Configuration.Sett... |
using System;
namespace FightingArena
{
public class Warrior
{
private const int MIN_ATTACK_HP = 30;
private string name;
private int damage;
private int hp;
public Warrior(string name, int damage, int hp)
{
this.Name = name;
this.Damag... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.