text stringlengths 1 932k |
|---|
using IOTConnect.Domain.System.Logging;
using IOTConnect.Persistence.Logging;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace IOTConnect.WebAPI
{
public class Program
{
public static void Main(string[] args)
{
Log.Inject(new NLogger());
Create... |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Jobs;
using MathNet.Numerics;
using MathNet.Numerics.Providers.Common.Mkl;
using MathNet.Numerics.Providers.LinearAlgebra;
using Complex = System.Numerics.Complex;
namespace Benchmark.LinearAlge... |
/*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For ... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="INuGetConfigurationService.cs" company="WildGums">
// Copyright (c) 2008 - 2015 WildGums. All rights reserved.
// </copyright>
// -----------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Reflection;
public class StateMachine
{
private Dictionary<string, IState> m_registedState = new Dictionary<string, IState>();
private Stack<IState> m_stateStack = new Stack<IState>();
public IState tarState
{
get;
private... |
/*
* Square Connect API
*
* Client library for accessing the Square Connect APIs
*
* OpenAPI spec version: 2.0
* Contact: developers@squareup.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using NUnit.Framework;
using System;
using System.Linq;
using System.IO;
using System.Collec... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.ComponentModel;
namespace System.DirectoryServices.ActiveDirectory
{
public enum HourOfDay
{
Zero,
One,
Two,
Three,
Four... |
using System;
/* Copyright (c) 2015 Spark Software Ltd.
*
* 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... |
using System;
using System.Collections.Generic;
using System.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebStyleLifetimeDemo.Extension;
namespace WebStyleLifetimeDemo.Parts
{
[Export]
public class WebServer
{
ExportFactory<CompositionContext> _requestSco... |
@using BuildingFacilityManager.Models.Building_Models
@using BuildingFacilityManager.ViewModels
@{
var building = (BuildingTreeViewModel)ViewBag.BuildingTreeViewModel;
}
<div class="sidenav">
<h4 class="btn btn-primary" id="buildingTree">ITI Building</h4>
<ul id="nav">
@foreach (var storey in bui... |
/* ========================================================================
* Copyright (c) 2005-2013 The OPC Foundation, Inc. All rights reserved.
*
* OPC Foundation MIT License 1.00
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
... |
@model MvcApp.ViewModels.Account.LoginViewModel
@{
ViewBag.Title = "Log in";
}
<h2>@ViewBag.Title.</h2>
<h4 class="brandfont">Use an account to log in.</h4>
<hr />
<section id="loginForm">
@using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-... |
/*
* 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... |
// 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.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;
using Microsoft... |
//
// AUGraph.cs: AUGraph wrapper class
//
// Authors:
// AKIHIRO Uehara (u-akihiro@reinforce-lab.com)
// Marek Safar (marek.safar@gmail.com)
//
// Copyright 2010 Reinforce Lab.
// Copyright 2010 Novell, Inc.
// Copyright 2012 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
/... |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.OrderingRules
{
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
internal st... |
/*
Copyright (c) 2018-2019 Festo AG & Co. KG <https://www.festo.com/net/de_de/Forms/web/contact_international>
Author: Michael Hoffmeister
This source code is licensed under the Apache License 2.0 (see LICENSE.txt).
This source code may use other Open Source software components (see LICENSE.txt).
*/
using System;
us... |
using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
using Microsoft.VisualBasic.ApplicationServices;
namespace LiveReload
{
public class SingleInstanceManager : WindowsFormsApplicationBase
{
private App application;
public SingleInstanceManager() {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Server.Infrastructure.World;
namespace Server.Infrastructure.Synchronization
{
/// <summary>
/// Marks a property on an <see cref="Entity"/> as being in sync with all clients.
/// A pr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.Graphics;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace XLabs.Platform
{
/// <summary>
/// Class ViewGroupExtensions.
/// </su... |
//
// PatternParser.cs
//
// Author:
// Marek Habersack <mhabersack@novell.com>
//
// Copyright (C) 2009 Novell Inc. http://novell.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 So... |
/*
* 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 Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace Logmug.SqlServerSample.Pages
{
[ResponseCache(Duration = 0, Location = ... |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/tasks/v2/target.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using TygaSoft.IDAL;
using TygaSoft.Model;
using TygaSoft.DBUtility;
namespace TygaSoft.SqlServerDAL
{
public partial class Supplier : ISupplier
{
#region ISupplier Memb... |
using System;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Xml.Linq;
using DaveSexton.XmlGel.Documents;
namespace DaveSexton.XmlGel.UI
{
class FlowDocumentToXhtmlVisitor : FlowDocumentToXDocumentVisitor
{
public FlowDocumen... |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
// This code was generated by an automated template.
using Mosa.Compiler.Framework;
namespace Mosa.Platform.ARMv8A32.Instructions
{
/// <summary>
/// SbcRegShift - Subtract with Carry
/// </summary>
/// <seealso cref="Mosa.Platform.ARMv8A32.ARMv8... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
[Serializable]
public class NoiseSetting
{
public float strength = 1;
public float roughness = 2;
[Range(1,10)]
public int numLayers=1;
public float persistence =.5f;
public float baseRoughness = 2;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace WasatchNET
{
[ComVisible(true)]
[Guid("B32497AD-4D20-4027-9E90-5A34E7367B3B")]
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
public interface IDriverVBAWrapper
... |
using System.Collections.Generic;
using UnityEngine;
namespace UCore.Entities
{
public class EntityManager
{
public static readonly EntityManager instance = new EntityManager();
private readonly Dictionary<GameObject, IEntity> _entities;
public EntityManager()
{
_e... |
// 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;
namespace Microsoft.AspNetCore.DataProtection
{
/// <summary>
/// Signifies that the <see cref="RegistryPolicyResolver"/> should ... |
using HBK.Storage.Adapter.Storages;
using HBK.Storage.Core.FileSystem;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Threading.Tasks;
namespace HBK.Storage.Api.FileProcessHandlers
{
/// <summary>
/// 處理檔案任務模型
/// </summary>
publi... |
/*
* SimScale API
*
* The version of the OpenAPI document: 0.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
usi... |
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using CuteAnt;
using DotNetty.Common;
using EventStore.ClientAPI.SystemData;
using EventStore.Core.Messages;
using EventStore.Transport.Tcp.Messages;
using Microsoft.Extensions.Logging;
namespace EventStore.ClientAP... |
internal class Biginteger
{
} |
using System.Collections.Generic;
using Ship;
using RuleSets;
using ActionsList;
// Second->First: Two same actions
// Triggers are empty
namespace Ship
{
namespace TIEAdvanced
{
public class DarthVader : TIEAdvanced, ISecondEditionPilot
{
public DarthVader() : base()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataLayer;
using DataLayer.QueryEntities;
namespace NBP_Cassandra
{
public enum Role
{
Admin,
Korisnik,
Restoran,
NoRole
}
public class Singleton
... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace System.Data.Entity.Infrastructure
{
using System.Data.Entity.Utilities;
using System.IO;
using System.Xml;
using System.Xml.Linq;
/// <summary... |
// 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.Threading;
using System.Threading.Tasks;
using Microsoft.Data.Entity.Infrastructure;
using Microsoft.Data.Entity.Relationa... |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Copyright (c) Denis Kuzmin <x-3F@outlook.com> github/3F
// Copyright (c) IeXod contributors https://github.com/3F/IeXod/graphs/contributors
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
us... |
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Markup.Xaml;
using Avalonia.ReactiveUI;
using Camelotia.Presentation.Interfaces;
using ReactiveUI;
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
namespace MegaCom.UI.Views
{
public sealed class RenameFileView : Reactive... |
namespace AsterNET.Manager.Event
{
/// <summary>
/// A DisconnectEvent is triggered when the connection to the asterisk server is lost.<br/>
/// It is a pseudo event not directly related to an asterisk generated event.
/// </summary>
public class DisconnectEvent : ConnectionStateEvent
{
public DisconnectEvent(M... |
using Buildersoft.Andy.X.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UP.MCU.Edge.Logic.Models.Time;
namespace UP.MCU.Edge.Logic.Services.Outbounds.Time
{
public class CommandOutboundService
{
private readonly Writer<... |
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Linq;
using System;
public class MiscUtil
{
static Regex rx = new Regex(@"^(\w+?)(\?.+?)(\s.*)?$", RegexOptions.Compiled);
public static string TransformCommand(string cmd)
{
if (rx.IsMatch(cmd))
{
Match m = rx.Mat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using NServiceKit.DataAnnotations;
namespace NServiceKit.OrmLite.SqlServerTests
{
/// <summary>test for issue #69.</summary>
class UnicodeTests : OrmLiteTestBase
{
/// <summary>Can insert a... |
using System.Reflection;
using System.Runtime.InteropServices;
// Общие сведения об этой сборке предоставляются следующим набором
// набора атрибутов. Измените значения этих атрибутов для изменения сведений,
// связанные со сборкой.
[assembly: AssemblyTitle("SVG2")]
[assembly: AssemblyDescription("")]
[assembly: Asse... |
using CodeArts.Emit.Expressions;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Reflection.Emit;
namespace CodeArts.Emit
{
/// <summary>
/// 字段。
/// </summary>
[DebuggerDisplay("{RuntimeType.Name} {Name}")]
public class FieldEmitter ... |
using HttpSequencer;
using HttpSequencer.SequenceItemActions;
using Newtonsoft.Json;
using PactTests;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Xunit;
namespace PactTests_OpenTests
{
public class HttpSequencer_ISequenceItemAction
{
private readonl... |
namespace Skender.Stock.Indicators;
public static partial class Indicator
{
// ULTIMATE OSCILLATOR
/// <include file='./info.xml' path='indicator/*' />
///
public static IEnumerable<UltimateResult> GetUltimate<TQuote>(
this IEnumerable<TQuote> quotes,
int shortPeriods = 7,
int m... |
namespace Swan.Net.Dns
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
/// <summary>
/// DnsClient public methods.
/// </summary>
internal partial class DnsClient
{
private readonly IPEndPoint _dns;
... |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: common/serial/typed_message.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using p... |
/*
* 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... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using Sandbox;
using System;
[Library("ent_locomotive", Title = "GE B40-8", Spawnable = true)]
public partial class LocomotiveEntity : Prop, IUse
{
[Net] public Player driver {get; private set;}
private TimeSince timeSinceDriverLeft;
private LocomotiveSeatEntity driverseat;
public override void Spawn()
{
var o... |
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// Code forked from Betsegaw Tadele's https://github.com/betsegaw/windowwalker/
using System.Collections.Generic;
using System.Linq;
n... |
using System;
using System.Collections.Generic;
using UnityEngine;
using ColossalFramework;
namespace CurbHeightAdjuster
{
/// <summary>
/// Class to manage changes to networks.
/// </summary>
public static class NetHandler
{
/// Original script by Ronyx69 to adjust curb heights from -30c... |
namespace BitBucketBrowser.BitBucket
{
public class Owner
{
public string username
{
get;
set;
}
public string display_name
{
get;
set;
}
public OwnerLinks links
{
get;
set;
}
}
} |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 08.05.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... |
using System;
using ExtendedXmlSerializer.Core.Specifications;
namespace ExtendedXmlSerializer.ReflectionModel
{
sealed class IsNullableTypeSpecification : DelegatedAssignedSpecification<Type, Type>
{
public static IsNullableTypeSpecification Default { get; } = new IsNullableTypeSpecification();
IsNullableTypeS... |
using Microsoft.AspNetCore.Routing;
namespace Microsoft.AspNetCore.Mvc
{
public interface IR4PageActionResult : IR4ActionResult
{
string PageName { get; set; }
string PageHandler { get; set; }
new string Protocol { get; set; }
new RouteValueDictionary RouteValueDictionary { get... |
using Vim.EditorHost;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Vim;
using Vim.Extensions;
using Vim.UnitTest;
using Vim.VisualStudio.Implementation.Misc;
using Vim.VisualStudio.UnitTest.Utils;
using Xunit;
namespace Vim.VisualStudio.UnitTest
{
/// <summary>
/// Used t... |
namespace Projector.Specs
{
using System;
using System.Text;
using Projector.ObjectModel;
internal sealed class NamesRestriction : ITypeRestriction, IPropertyRestriction
{
private readonly string[] names;
private readonly StringComparison comparison;
public NamesRe... |
using Assets.Code.World;
using Game;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Assets.Code
{
public static class GameInput
{
private static Ray ray;
private static RaycastHit hit;
public static ClientTile GetTileMouseIs()
{
ray = Camera.main.Scr... |
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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 la... |
//
// System.Resources.ResourceReader.cs
//
// Authors:
// Duncan Mak <duncan@ximian.com>
// Nick Drochak <ndrochak@gol.com>
// Dick Porter <dick@ximian.com>
// Marek Safar <marek.safar@seznam.cz>
// Atsushi Enomoto <atsushi@ximian.com>
// Larry Ewing <lewing@novell.com>
//
// (C) 2001, 2002 Ximian Inc, http://... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d2d1.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.DirectX;
p... |
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.IdentityManagement")]
[assembly: As... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Senparc.Weixin.MP.AdvancedAPIs;
using Senparc.Weixin.MP.CommonAPIs;
namespace ... |
using Svelto.DataStructures;
namespace Svelto.ECS {
internal interface ITypeSafeStream
{
void Dispose();
}
public class EntityStream<T> : ITypeSafeStream where T : unmanaged, IEntityComponent
{
readonly ThreadSafeFasterList<Consumer<T>> _consumers;
internal EntityStream()
... |
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* OpenAPI spec version: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using... |
namespace TotalError.OrderSales.Api.Models
{
public class RegisterModel
{
public string Name { get; set; }
public string Email { get; set; }
public string Password { get; set; }
}
} |
/*
Problem 20.* Variations of set
• Write a program that reads two numbers N and K and generates all the variations of K elements from the set [ 1..N ].
*/
using System;
class VariationsOfSet
{
static void Main(string[] args)
{
}
} |
/*
* 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 System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using WitcherTRPGWebApplication.Data;
using WitcherTRPGWebApplication.Models;
namespace WitcherTRPG_API.Controllers
{
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Calculators;
using System.Security.Cryptography.X509Certificates;
using System.Diagnostics.Contracts;
using System;
using Moq;
using System.Security.Cryptography;
using BadRandomGeneratorSpace;
namespace CalculatorTest
{
// This test class is going to show ... |
namespace Ball_Class_Based
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <p... |
using PerformanceCalculatorRunner.Models;
namespace PerformanceCalculatorRunner.Writers
{
public class ResolveCsvHorizontalFileWriter : CsvHorizontalFileWriter
{
public ResolveCsvHorizontalFileWriter(string resultFile) : base(resultFile)
{
}
protected override string GetColumn... |
namespace CalculatorGUI
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <p... |
using Smellyriver.TankInspector.DataAnalysis;
using Smellyriver.Wpf.Utilities;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace Smellyriver.TankInspector.UIComponents
{
/// <summary>
/// Interaction logic for ComparedValueView.xaml
/// </summary>
... |
using Contensive.BaseClasses;
using Contensive.Models.Db;
using Contensive.Processor.Exceptions;
using Contensive.Processor.Models.Domain;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using static Contensive.Processor.Constants;
using static Contensive.Processor.Controllers.GenericControl... |
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("jsa... |
using Newtonsoft.Json;
namespace StarwebSharp.Entities
{
public class PaymentMethodModelItem
{
[JsonProperty("data")]
public PaymentMethodModel Data { get; set; } = new PaymentMethodModel();
}
} |
namespace Teronis.Reflection.Caching
{
public class PropertyCacheRemovedEventArgs<TProperty> : PropertyCacheEventArgs<TProperty>
{
public PropertyCacheRemovedEventArgs(string propertyName, TProperty property)
: base(propertyName, property) { }
}
} |
using Constellation.Feature.PageTagging.Controllers;
using Constellation.Feature.PageTagging.Repositories;
using Microsoft.Extensions.DependencyInjection;
using Sitecore.DependencyInjection;
namespace Constellation.Feature.PageTagging
{
/// <summary>
/// Informs the Dependency Injection framework of the services av... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Drawing;
using System.Reflection;
using Duality;
using Duality.Resources;
namespace Duality.Editor
{
/// <summary>
/// A <see cref="IPreviewGenerator"/> that provides previews
/// for objects of type T
/// </summary>
/// <typeparam ... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Dota2SentinelDomain;
namespace Dota2SentinelHost.Migrations
{
[DbContext(typeof(Repository))]
partial class... |
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6365, generator: {generator})
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Commvault.Powershell.Models
{
using Commvault.Powershell.Runtime.PowerShell;
[System.ComponentModel.TypeConvert... |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System;
using System.IO;
namespace Microsoft.WindowsAzure.MobileServices
{
internal cl... |
// 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;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using StarkPlatform.Compiler.Langu... |
//
// Copyright (c) Nick Guletskii and Arseniy Aseev. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the solution root for full license information.
//
using System.Reflection;
using System.Runtime.InteropServices;
using Microsoft.Tools.WindowsInstallerXml.Bootstrapper;
using WixWPFW... |
namespace Microsoft.ApplicationInsights.DataContracts
{
using System;
using System.Collections.Concurrent;
using System.Globalization;
using System.IO;
using System.Reflection;
using Microsoft.ApplicationInsights.Extensibility.Implementation;
using Microsoft.ApplicationInsights.Extensibilit... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityMVVM.ViewModel;
namespace UnityMVVM.Samples.UsingViews
{
public class ViewModel : ViewModelBase
{
public bool IsViewOpen
{
get { return _isViewOpen; }
set
{
... |
namespace Effekseer.GUI
{
partial class DockNodeRendererValues
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed ... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Documents;
namespace BGAssist.Braille.Client.Logic.DocumentStructure
{
public class Section : Block
{
public string Title { get... |
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2017
// by DotNetNuke Corporation
//
// 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 restrict... |
namespace Ncom.Enumerations
{
public enum NavigationStatus : byte
{
/// <summary>
/// All quantities in the packet are invalid
/// </summary>
Invalid = 0,
/// <summary>
/// Raw IMU measurements.
/// <para>These are output at roughly 10 Hz before the sy... |
using System;
using System.Globalization;
namespace FairlayDotNetClient.Private.Datatypes
{
public static class CurrencyIds
{
/// <summary>
/// Normally mBTC is used internally in Fairlay, however we also support BTC with segwit in the
/// Wallet Service (depending on the address used for cashout withdrawals ... |
/*
| Version 10.1.84
| Copyright 2013 Esri
|
| 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... |
namespace AdventOfCode.Solutions.Year2021.Day16;
class Solution : SolutionBase
{
Queue<int> InputAsQueue => new Queue<int>(ParseInput());
public Solution() : base(16, 2021, "Packet Decoder") { }
protected override string SolvePartOne() => ParseBitsAsPacket(InputAsQueue).VersionS.ToString();
protecte... |
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
namespace Httwrap.Auth
{
public class BasicAuthCredentials : Credentials
{
private readonly bool _isTls;
private readonly string _password;
private readonly string _username;
public BasicAut... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.