text stringlengths 1 932k |
|---|
#if false
using System.Reflection;
namespace Toolbox.MetaParser
{
class FieldParser : IParser
{
readonly FieldInfo _info;
public FieldParser(FieldInfo info, IParser parser)
{
_info = info;
_parser = parser;
}
readonly IParser _parser;
#region IParser Members
public int? parse(IParserContex... |
namespace AutoScalping
{
public static class GloableConstants
{
public static class Jiang
{
public static string Phone_CurrentIssueServiceUrl = "http://app.jiangapps.com/app/PhoneTermInfo";
public static string Phone_CqsscBetServiceUrl = "http://app.jiangapps.com/Lottery... |
/*
* 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... |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... |
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("TR... |
// <copyright file="Structs.cs" company="Engage Software">
// Engage: Publish
// Copyright (c) 2004-2013
// by Engage Software ( http://www.engagesoftware.com )
// </copyright>
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
// TO THE WARRANTIES OF MERC... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Reflection.Metadata.Ecma335;
namespace System.Reflection.Metadata
{
public enum SignatureTypeKind : byte
{
/// <summary>
/// It is not known in ... |
using Serilog.Events;
using SQLite;
using System;
using System.Collections.Generic;
using System.Text;
namespace Serilog.Sinks.SQLite
{
[Table("Logs")]
public class LogEntry
{
[PrimaryKey, AutoIncrement, Column("id")]
public int Id { get; set; }
/// <summary>
/// The time ... |
namespace VectorChat.Utilities
{
/// <summary>
/// Configuration for the Server class
/// </summary>
public struct ServerConfig
{
/// <summary>
/// Port which will be used to listening for the connections
/// </summary>
public string Port { get; set; }
/// <summary>
/// Choose whether to create log f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NHibernate;
using PointNet.Data.Infrastructure;
using PointNet.Model;
namespace PointNet.Data.Repositories
{
public class CustomerRepository : RepositoryBase<Customer>, ICustomerRepository
... |
namespace ManagerApp_GUI
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... |
using System;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
using Nest;
using FluentAssertions;
using Tests.Framework;
using Newtonsoft.Json;
using static Nest.Infer;
namespace Tests.Search.Request
{
/** Allows to control how the `_source` field is returned with every hit.
* By default operatio... |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Dingtalkim_1_0.Models
{
public class SendTemplateInteractiveCardRequest : TeaModel {
/// <summary>
/// 可控制卡片回调的url【可空:不填写无需回调】
/// ... |
using System;
namespace BookFast.Facility.Data.Models
{
internal class ReliableEvent
{
public int Id { get; set; }
public string EventName { get; set; }
public DateTimeOffset OccurredAt { get; set; }
public string User { get; set; }
public string Tenant { get; set; }
... |
using Util.Datas.Sql.Queries.Builders.Conditions;
using Xunit;
namespace Util.Tests.Datas.Sql.Conditions {
/// <summary>
/// Or连接条件测试
/// </summary>
public class OrConditionTest {
/// <summary>
/// 获取条件 - 传入字符串查询条件
/// </summary>
[Fact]
public void Test_11() {
... |
@model IEnumerable<RatesModel>
@{
ViewBag.Title = "Rates";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="col-md-4"><h2 style="float:left;margin-top:20px">Rates</h2></div>
<div id="filters" class="input-group pull-right" style="width:200px;margin-top:20px">
<span class="... |
/*
* 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.ComponentModel;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
... |
using System;
using System.IO;
using EventStore.Core.TransactionLog.Unbuffered;
using NUnit.Framework;
namespace EventStore.Core.Tests.TransactionLog.Unbuffered
{
[TestFixture]
public class UnbufferedTests : SpecificationWithDirectory
{
[Test]
public void when_resizing_a_file()
{
... |
// Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia.Platform;
namespace Avalonia.Input
{
/*
============================================================================... |
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Serialization.Xml.Internal.Reflection {
public static class MemberInfoEx {
public static Action<T, TProperty> MakeSetter<T, TProperty>(this PropertyInfo property) {
var obj = Expression.Parameter... |
#region MigraDoc - Creating Documents on the Fly
//
// Authors:
// Stefan Lange
// Klaus Potzesny
// David Stephensen
//
// Copyright (c) 2001-2019 empira Software GmbH, Cologne Area (Germany)
//
// http://www.pdfsharp.com
// http://www.migradoc.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is ... |
using System;
using Altinn.Studio.Designer.Helpers;
using Xunit;
namespace Designer.Tests.Helpers
{
public class GuardTests
{
[Theory]
[InlineData("filename.xsd", ".xs")]
[InlineData("path/to/filename.json", "json")]
[InlineData("path/to/filename.schema.json", "jsonschema")]
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Channels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNe... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System.Collections.Generic;
using System.Collections;
namespace BuckarooSdk.Services
{
public interface IParameterGroup
{
string GroupName { get; }
}
public abstract class ParameterGroup : IParameterGroup
{
public virtual string GroupName => this.GetType().Name;
}
public interface IParameterGroupCo... |
using System;
namespace Mccole.Geodesy.Formatter
{
/// <summary>
/// Provides culture-specific information for formatting and parsing numeric values to longitude.
/// </summary>
public class LongitudeFormatInfo : DegreeMinuteSecondFormatInfo
{
/// <summary>
/// Provides culture-spe... |
using System;
using System.Linq;
using MockingDemo.Model;
namespace MockingDemo.BusinessLogic
{
public class BookManipulator
{
private readonly Book _book;
public BookManipulator(Book book) =>
_book = book;
public virtual bool CheckIfIsbnIsValid()
{
va... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
using System.Threading.Tasks;
using System.Text.Json.Serialization;
namespace Emails.Models
{
public class Emails
{
public... |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
namespace olewoo.interop
{
public class CustomDatas
{
public CustomDatas(ITypeLib2 tl)
{
var items = new List<CUSTDATAITEM>();
if (tl != ... |
using System.Collections.Generic;
using NuPattern.Authoring.PatternToolkit.Guidance.Links;
using NuPattern.Authoring.PatternToolkit.Properties;
using NuPattern.Library.Commands;
using NuPattern.Reflection;
using NuPattern.Runtime.Bindings;
using NuPattern.Runtime.Guidance;
namespace NuPattern.Authoring.PatternToolkit... |
/*
* 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 ... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using SharedLibraryCore.Database;
namespace SharedLibraryCore.Migrations
{
[DbCo... |
#pragma checksum "C:\Users\OSX\Desktop\PSO AKADEMİ\ControlCenter.WebUI\Views\ControlCenter\SubscribeList.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "89040f21ad98ea80b6d4307b9fd6640cf5bc3279"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAt... |
using System.Threading.Tasks;
using Alfred.Models.Communities;
namespace Alfred.Services
{
public interface ICommunityService
{
Task<CommunityResponseModel> GetCommunities(CommunityCriteriaModel criteriaModel);
Task<CommunityModel> GetCommunity(int id);
Task<int> CreateCommunity(CreateC... |
using UnityEditor;
using UnityEngine;
using Unity.LEGO.Behaviours.Actions;
namespace Unity.LEGO.EditorExt
{
[CustomEditor(typeof(LookAtAction), true)]
public class LookAtActionEditor : MovementActionEditor
{
LookAtAction m_LookAtAction;
SerializedProperty m_LookAtProp;
SerializedPr... |
namespace OpenNISharp2
{
public enum PixelFormat
{
Depth1MM,
Depth100UM,
Shift92,
Shift93,
Rgb888,
Yuv422,
Gray8,
Gray16,
Jpeg,
Yuyv
}
} |
using System;
using System.Windows.Forms;
namespace WFApp
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefaul... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace TurniTech.Common.Contracts
{
public interface IEntity
{
[JsonProperty("id")]
string Id { get; set; }
}
} |
using Scripts.Game.Game_Logic;
using Scripts.Player;
using System.Collections;
using UnityEngine;
namespace Scripts.Game.Puzzles
{
public class WallCrush : MonoBehaviour
{
public GameObject otherWall; // A reference to the other wall.
public GameObject endPosObj; // The GameObject contai... |
/*
* Intersight REST API
*
* This is Intersight REST API
*
* OpenAPI spec version: 1.0.9-262
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using RestSharp;
using intersight.Clie... |
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Insolvency.CalculationsEngine.Redundancy.API.Infrastructure.Middlewares.Validators;
using Insolvency.CalculationsEngine.Redundancy.BL.DTOs.ProjectedNoticeDate;
using Insolvency.CalculationsEngine.Redundancy.BL.DTOs.Errors;
using Insolvency.Calcul... |
#region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applic... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace SeleniumFixture.xUnit.Impl
{
public class SeleniumTheoryDiscoverer : IXunitTestCaseDiscoverer
{
readonly IMessageSin... |
// This file was automatically generated and may be regenerated at any
// time. To ensure any changes are retained, modify the tool with any segment/component/group/field name
// or type changes.
namespace Machete.HL7Schema.V26
{
using HL7;
/// <summary>
/// LCH (Segment) - Location Characteristic
/// ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Common.Logging;
using NuGet;
using ScriptCs.Contracts;
using LogLevel = ScriptCs.Contracts.LogLevel;
namespace ScriptCs.Hosting
{
public class ScriptServicesBuilder : ServiceOverrides<IScriptServicesBuilder>, IScriptService... |
using StackExchange.Redis.Branch.Entity;
namespace StackExchange.Redis.Branch.Repository
{
internal interface IFilter<T> where T : RedisEntity, new()
{
bool Invoke(T entity);
}
} |
using UnityEngine;
using System.Collections;
using System;
namespace BGE.Forms
{
public class Formation : SteeringBehaviour
{
public Boid leaderBoid;
public GameObject leader;
public Vector3 offset;
private Vector3 targetPos;
public bool useDeadReconing = false;
... |
using System.Collections.Generic;
using System.Linq;
using Rhino.Mocks;
using UCDArch.Core.DomainModel;
using UCDArch.Core.PersistanceSupport;
using UCDArch.Testing;
namespace Purchasing.Tests.Core
{
public abstract class AbstractControllerRecordFakesStrings<T> where T : DomainObjectWithTypedId<string>
{
... |
#region Disclaimer/Info
///////////////////////////////////////////////////////////////////////////////////////////////////
// Subtext WebLog
//
// Subtext is an open source weblog system that is a fork of the .TEXT
// weblog system.
//
// For updated news and information please visit http://subtextproject.com/
// Su... |
using Glav.CognitiveServices.FluentApi.Core.Configuration;
using System.Collections.Generic;
using System.Linq;
namespace Glav.CognitiveServices.FluentApi.Core
{
public static class LanguageListBuilder
{
private static object _lockObject = new object();
private static List<SupportedLanguageIte... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Infiniminer
{
public enum BlockType : byte
{
None,
Dirt,
Ore,
Gold,
Diamond,
Rock,
Ladder,
Explosive,
Jump,
Shock,
BankRed,
BankBlue,
... |
using System;
using KmouHelmet.Backend.Dtos;
using KmouHelmet.Backend.Models;
namespace KmouHelmet.Backend.Mappers
{
public class GpsMapperDtos
{
public LocationModel MapperToLocationDto(GpsDto dto) =>
new LocationModel
{
DeviceId = dto.DeviceId,
... |
#pragma checksum "D:\Projects\GitRepos\Hackaton2018AsenZlatarovApp\HakatonApp.Web\Areas\Identity\Pages\_ViewStart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "13b82ef97968a56a4de533f67cf3e21d662f41aa"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompi... |
using UnityEngine;
using System.Collections;
public class EditButton : MonoBehaviour {
// edit button allows users to edit account details
// Requires other PasswordButton, within scene these buttons are right next to one another
// it is needed because on press of PasswordButton password change menu appears, an... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using TaskoMask.Application.Share.Dtos.Common.Users;
using TaskoMask.Presentation.Framework.Web.Controllers;
using TaskoMask.Presentation.Framework.Web.Services.Authentication.CookieAuthentication;
using DNTCaptcha.Core;
using TaskoMask.Domain.Core.Models;
... |
namespace MyStik.TimeTable.Data.Migrations
{
using System.Data.Entity.Migrations;
public partial class OccurrenceGroup : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.OccurrenceGroup",
c => new
{
... |
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using JP.Utils.Framework;
using Microsoft.QueryStringDotNET;
using MyerSplash.Common;
using MyerSplash.Data;
using MyerSplash.Model;
using MyerSplash.ViewModel.DataViewModel;
using MyerSplashShared.API;
using MyerSplashShared.Service;
using System;
using Syst... |
using System.ComponentModel.DataAnnotations;
namespace Chatter.Shared.Models.Register
{
public class RegisterModel
{
[Required]
[EmailAddress]
[Display(Name = "Email")]
public string Email { get; set; }
[Required]
[Display(Name = "Name")]
public string ... |
// Copyright (c) Yamool. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
namespace Yamool.Net.DNS
{
using System;
using System.Collections.Generic;
public class DnsException : Exception
{
public DnsException(RCODE ... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BazaDanychMySQL
{
public static class Timestamp
{
public static long ConvertDateToTimeStamp(DateTimeOffset date )
{
return date.ToUnixTimeSeconds();
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace ViewLayer.ViewModel
{
public class BaseViewModel : INotifyPropertyChanged
{
public event PropertyChangedEven... |
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
namespace ContosoUniversity.Migrations
{
public partial class RowVersion : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<byte[]>(... |
// ----------------------------------------------------------------------------
// EnemyMovementTest.cs
//
// Author: Arturo Serrano
// Date: 20/02/21
//
// Brief: Test - Check enemy movement
// ----------------------------------------------------------------------------
using System.Collections;
using System.Collecti... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using Azure.ResourceManager.AppService;
namespace Azure.ResourceManager.AppService.Models
{
/// <summary> Coll... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
[SerializeField]
private float m_MaxVelocity = 10.0f;
[SerializeField]
private float m_RotationSpeedScale = 20.0f;
[SerializeField]
private float m_MovementSpeedScal... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using CsQuery;
using CsQuery.ExtensionMethods;
using Nap.Html.Attributes.Base;
using Nap.Html.Enum;
using Nap.Html.Exceptions;
using Nap.Html.Factories;
using Nap.Html.Serialization.Binders.Base;
using Nap.Html.Serialization.Co... |
/*
* 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... |
// -------// -------------------------------------------------------------------------------------------------------------------
// <copyright file="PrepareShutdownDelegate.cs" company="Konyshev A.V., Stepanov N.O.">
// Copyright (c) Konyshev A.V., Stepanov N.O.
// </copyright>
// <summary>
// Делегат для реакции ... |
using System;
using System.Collections.Generic;
using System.DirectoryServices.Protocols;
using System.Globalization;
using System.Text.RegularExpressions;
using IdFix.Rules.MultiTentant;
using IdFix.Rules.Shared;
using IdFix.Settings;
namespace IdFix.Rules
{
/// <summary>
/// Represents the collection of rul... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MacrosTracker.Models
{
public class RecipeListItem
{
public int RecipeId { get; set; }
public string RecipeName { get; set;... |
// Copyright 2020 The Tilt Brush Authors
//
// 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 ... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/winreg.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop
{
pub... |
@page
@model RolaltyCardProject.Pages.CardCreation.IndexModel
@{
Layout = "_Layout";
}
@if (Model.IsMaxLoyatyCardsFull)
{
<div class="alert alert-danger alert-dismissible fade show" role="alert">
You have reached the maximum amount of Loyaty Cards. Delete one first before creating a new one.
<... |
namespace Modding
{
/// <summary>
/// Settins related to the in-game console
/// </summary>
public class InGameConsoleSettings
{
/// <summary>
/// Wheter to use colors in the log console.
/// </summary>
public bool UseLogColors;
/// <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 System;
using System.Reactive.Subjects;
namespace Toggl.Multivac.Extensions.Reactive
{
/// <summary>
/// A wrapper for BehaviorSubject.
/// It behaves just like BehaviorSubject, except that it can't terminate or error out.
/// </summary>
/// <remarks>
/// Sanitization function is optional... |
using SerrisTabsServer.Items;
using SerrisTabsServer.Manager;
namespace SerrisTabsServer.Storage
{
public class StorageType
{
public StorageType(InfosTab tab, int _ListTabsID) { }
public InfosTab Tab { get; set; }
public int ListTabsID { get; set; }
public FileTypesManager Fi... |
namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Models.Api202001Preview
{
using Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Runtime.PowerShell;
/// <summary>
/// A PowerShell PSTypeConverter to support converting to an instance of <see cref="CredentialResult" />
/// </summar... |
using System.Collections.Generic;
namespace ReqTrack.Domain.Core.UseCases.Boundary.Responses
{
public class ValidationErrorResponse : ResponseModel
{
public ValidationErrorResponse(IReadOnlyDictionary<string, string> errors, string message = null) : base(message)
{
ValidationErrors... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.CompilerServices;
namespace LostTech.LargeCollections
{
public readonly struct Index<T> : IEquatable<Index<T>>
wh... |
using JsonApiDotNetCore.Configuration;
using JsonApiDotNetCore.Controllers;
using JsonApiDotNetCore.Services;
using Microsoft.Extensions.Logging;
namespace JsonApiDotNetCoreTests.IntegrationTests.ResourceDefinitions.Reading
{
public sealed class MoonsController : JsonApiController<Moon>
{
public MoonsC... |
using System;
using System.Collections.Generic;
namespace Trains.NET.Rendering
{
public class PaintBrush : IEquatable<PaintBrush?>
{
public Color? Color { get; internal set; }
public PaintStyle? Style { get; internal set; }
public int? TextSize { get; internal set; }
public Tex... |
#region License
//
// MIT License
//
// CoiniumServ - Crypto Currency Mining Pool Server Software
// Copyright (C) 2013 - 2017, CoiniumServ Project
// Hüseyin Uslu, shalafiraistlin at gmail dot com
// https://github.com/bonesoul/CoiniumServ
//
// Permission is hereby granted, free of charge, ... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Newtonsoft.Json;
namespace SportsStore.Infrastructure {
public static class SessionExtensions {
public static void SetJson(this ISession session, string key, object value) {
session.SetString(key, JsonConvert.Se... |
using System;
using Ayehu.Sdk.ActivityCreation.Interfaces;
using Ayehu.Sdk.ActivityCreation.Extension;
using Ayehu.Sdk.ActivityCreation.Helpers;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Collections.Generic;
namespace Ayehu.LogicMonitor
{
public class LM_delete_escalation_chain : IAc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotNetify;
using DotNetify.Security;
using DotNetify.Testing;
using Microsoft.IdentityModel.Tokens;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using Newtonsoft.Json.... |
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
// Description: Italic element.
// Xaml markup helper for indicating italicized content.
// Equivalent to a Span with FontStyle property set to FontStyles.Italic.
// ... |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Weikio.ApiFramework.Abstractions;
using Weikio.ApiFramework.ApiProviders.PluginFramework;
using Weikio.ApiFramework.SDK;
namespace Weikio.ApiFramework.Admin.Areas.Admin.Controlle... |
// 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.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Microsoft.EntityF... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Vanjaro.Core.Entities
{
public class EditorOptions
{
public string GetContentUrl { get; set; }
public string UpdateContentUrl { get; set; }
public string SettingsUrl { get; set; }
pub... |
using System;
using System.Collections.Generic;
using System.Text;
using Qks.Plugin.Core;
using System.ComponentModel.DataAnnotations;
namespace Qks.Plugin.Application
{
public class UserDto
{
public int Id { get; set; }
[Required]
public string Name { get; set; }
[Range(10, ... |
// Copyright (c) Giovanni Lafratta. All rights reserved.
// Licensed under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Novacta.Analytics.Infrastructure
{
internal delegate MatrixImplementor<TReturn> MatrixUnaryOperator<TReturn, TMatrix>(MatrixImplementor<TMatrix> ... |
using System;
using System.IO;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using net.adamec.lib.common.dmn.engine.parser;
namespace net.adamec.lib.common.dmn.engine.test.unit
{
[TestClass]
[TestCategory("Code tests - parser")]
public class DmnParserFileBasicTests13
{
... |
#region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/St... |
using Microsoft.Crm.Services.Utility;
using System;
namespace CloudSmith.Cds.CrmSvcUtil.Cache
{
public class SdkMessagePairCacheItem : IHaveCacheKey, IParseCacheKey<string>, IParseMetadata<SdkMessagePair>
{
public SdkMessagePairCacheItem()
{
Key = new Func<string>(() => { return Re... |
using System.Windows;
namespace TVTComment.Views
{
/// <summary>
/// Interaction logic for Shell.xaml
/// </summary>
public partial class Shell : Window
{
public Shell()
{
InitializeComponent();
}
}
} |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace WindowManager.WPF.Host
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Applicatio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.