text stringlengths 1 932k |
|---|
using HoloToolkit.Unity;
using HoloToolkit.Unity.InputModule;
using System;
using System.Collections;
using System.Collections.Generic;
using UniRx;
using UnityEngine;
namespace ArchitecturePrototype.UI.Component
{
[RequireComponent(typeof(KeyboardManager))]
public class SkipChapterHandler : Singleton<SkipCha... |
// 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... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Elastic.Managed.Ephemeral;
using Elastic.Xunit.XunitPlumbing;
using Nest;
using Tests.Core.Client;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Core.Serialization;
using Tests.Framework.Integration;
using Xunit;
namespa... |
using System;
using Aop.Api.Domain;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.commerce.educate.xuexin.identity.query
/// </summary>
public class AlipayCommerceEducateXuexinIdentityQueryRequest : IAopRequest<AlipayCommerceEduc... |
//------------------------------------------------------------------------------
// <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>
//-----------------------------------------... |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
using JetBrains.Annotations;
using RoR2;
using RoR2.Achievements;
using System;
namespace Dak.AchievementLoader.CustomAchievement
{
/// <summary>
/// Adds a custom unlock to Risk of Rain 2's unlock catalog
/// </summary>
public class CustomUnlockable : Attribute
{
public string name;
public string nameToken... |
using System;
using System.Collections.Generic;
using System.Linq;
using Trady.Analysis.Infrastructure;
using Trady.Core.Infrastructure;
namespace Trady.Analysis.Candlestick
{
/// <summary>
/// Reference: http://stockcharts.com/school/doku.php?id=chart_school:chart_analysis:candlestick_bearish_reversal_patte... |
using Com.Danliris.Service.Packing.Inventory.Application.ToBeRefactored.Master.MaterialConstruction;
using Com.Danliris.Service.Packing.Inventory.Application.ToBeRefactored.Utilities;
using Com.Danliris.Service.Packing.Inventory.Infrastructure.IdentityProvider;
using Com.Danliris.Service.Packing.Inventory.WebApi.Helpe... |
/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers
* for more information concerning the license and the contributors participating to this project.
*/
using System.Net.Http.Headers;
using System.... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
using System.Threading.Tasks;
using SapphireDb.Connection;
using SapphireDb.Helper;
using SapphireDb.Internal;
using SapphireDb.Models;
namespace SapphireDb.Command.Publish
{
class PublishCommandHandler : CommandHandlerBase, ICommandHandler<PublishCommand>
{
private readonly SapphireMessageSender mess... |
using System;
using System.Text;
using MsgReader.Helpers;
namespace MsgReader.Mime.Decode
{
/// <summary>
/// Utility class for dealing with Base64 encoded strings
/// </summary>
internal static class Base64
{
#region Decode
/// <summary>
/// Decodes a base64 encoded string into the bytes it... |
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("Min... |
// 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.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.... |
using System;
public class ArenaJoin : PacketHandler<Player>
{
public ArenaJoin(
GameManager game,
RavenBotConnection server,
PlayerManager playerManager)
: base(game, server, playerManager)
{
}
public override void Handle(Player data, GameClient client)
{
... |
#if NETFRAMEWORK
using System.Configuration;
using System.Net;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace NICE.Identity.Authentication.Sdk.Attributes.Mvc
{
/// <summary>
/// This authorise attribute subclass is used by regular .net framework controllers (i.e. not api controllers).
... |
namespace Microsoft.Protocols.TestSuites.MS_ASCMD
{
using System;
using System.Xml;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestTools;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Request = Microsoft.Protocols.TestSuites.Common.Request;
using Respo... |
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace Acr.Data.Ef.Tests.Models {
public class MyFileMap : EntityTypeConfiguration<MyFile> {
public MyFileMap() {
this.HasKey(x => x.ID);
this.Property(x => x.ID... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Http;
using Syste... |
namespace Api
{
public class IdentityServerSettings
{
public string Authority { get; set; }
}
} |
namespace MongoRepository
{
using MongoDB.Driver;
using System;
using System.Configuration;
/// <summary>
/// Internal miscellaneous utility functions.
/// </summary>
internal static class Util<U>
{
/// <summary>
/// The default key MongoRepository will look for in the ... |
/*
* Developer: Ramtin Jokar [ Ramtinak@live.com ] [ My Telegram Account: https://t.me/ramtinak ]
*
* Github source: https://github.com/ramtinak/InstagramApiSharp
* Nuget package: https://www.nuget.org/packages/InstagramApiSharp
*
* IRANIAN DEVELOPERS
*/
using InstagramApiSharp.Classes;
using InstagramApiShar... |
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
using Julo.Util;
using Julo.CNMProto;
#endif
public class EditorMagics : MonoBehaviour {
#if UNITY_EDITOR
static GameObject mainMenu
{
get {
return JuloFind.byName("MainMenu");
}
}
static GameObject gameOpti... |
using it.unical.mat.embasp.languages;
namespace it.unical.mat.test
{
[Id("pick-up")]
public class PickUp
{
[Param(0)]
private string block;
public PickUp()
{
}
public string getBlock()
{
return block;
}
public void set... |
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Edge.Util.Test.Common
{
using System;
using System.IO;
using Microsoft.Extensions.Configuration;
public static class ConfigHelper
{
const string Directory = "settings";
static readonly Lazy<IConfigur... |
namespace TrainingCenter.ConnectionPoolingDemo
{
class MainWindowViewModel
{
public ObservableLinesCollection LogLines { get; set; }
public ObservableLinesCollection CountersLines { get; set; }
public bool DoNotShowWarning { get; set; }
public bool PoolTestRunning { get; set; }
public string Password { get... |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using ProtoBuf;
using ProtoBuf.Meta;
using System;
using System.IO;
using System.Runtime.CompilerServices;
namespace Benchmark
{
[SimpleJob(RuntimeMoniker.Net472), SimpleJob(RuntimeMoniker.NetCoreApp31), SimpleJob(Runtime... |
using Discount.API.Entities;
using Discount.API.Repositories;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace Discount.API.Controllers
{
[Route("/api/v1/[controller]")]
[ApiController]
public class... |
using System;
using System.Globalization;
using System.Threading;
using System.Windows.Data;
using Questify.Builder.Logic;
namespace Questify.Builder.UI.Wpf.Presentation.ValueConverters
{
public class MultiTypeStringConverter : IValueConverter
{
private enum ConvertToType
{
Convert... |
using System.Collections.Generic;
using System.Management;
namespace WindowsMonitor.Hardware.SystemConfig.V2
{
/// <summary>
/// </summary>
public sealed class MobilePlatform
{
public string BootLoaderVersion { get; private set; }
public string FirmwareRevision { get; private set; }
public uint F... |
#region License
// Copyright © 2018 Darko Jurić
//
// 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,... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
// 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.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.Test.Ut... |
// 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.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace Microsoft... |
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Windows;
using System.Windows.Controls;
using Microsoft.Xaml.Behaviors;
namespace Plainion.Windows.Interactivity
{
// initial version from: http://www.codeproject.co... |
using System;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
namespace ConsumeWebApiConsoleApp
{
public static partial class Program
{
private static HttpClient HttpClient
= new HttpClient() { BaseAddress = new Uri("https://pokeapi.co/api/v2/") };
pub... |
using System;
using System.Linq;
using Shouldly;
using Veggerby.Algorithm.LinearAlgebra;
using Xunit;
// ignore "warning CS1718: Comparison made to same variable; did you mean to compare something else?"
#pragma warning disable CS1718
namespace Veggerby.Algorithm.Tests.LinearAlgebra
{
public class VectorTests
... |
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: Alexey Kochetov
// Created: 2007.10.03
using System;
namespace Xtensive.Conversion
{
/// <summary>
/// Delegate-based implementation.
/// </summary>
/// <typeparam name="... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using EveTradingHelper.Models.Shared;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Log... |
#region Using Statements
using LightInject;
using LightInject.Nancy;
using Nancy;
using Nancy.Responses;
using Nancy.Bootstrapper;
using Nancy.Authentication.Basic;
using Cake.Core;
using Cake.Core.Diagnostics;
#endregion
namespace CakeBoss.Agent
{
public class ServiceBootstrap... |
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("Ma... |
// <copyright file="MessagesControllerTest.cs" company="3M">
// Copyright (c) 3M. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Mmm.Iot.Common.Services.Config;
using Mmm.Iot.C... |
#if SELF_TEST
//
// Copyright 2017 Carbonfrost Systems, Inc. (http://carbonfrost.com)
//
// 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... |
// 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.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.Encodings.Web;
using Microsoft.AspNetCore.Html;
using ... |
//
// System.Runtime.InteropServices/GCHandle.cs
//
// Authors:
// Ajay kumar Dwivedi (adwiv@yahoo.com) ??
// Paolo Molaro (lupus@ximian.com)
//
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and as... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using PlanEatSave.DataAceessLayer;
namespace PlanEatSave.Migrations
{
[DbContext(typeof(ApplicationDbContext))]
[... |
//======= Copyright (c) Stereolabs Corporation, All rights reserved. ===============
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Causes the attached Light component to cast light on the real world, if visible by the ZED.
/// Must be a point, spot, or directional light. Directional lights w... |
using System.Collections.Generic;
using System.Linq;
namespace ninja.model.Entity
{
public class Invoice
{
public Invoice()
{
this.Detail = new List<InvoiceDetail>();
}
public enum Types
{
A,
B,
C
}
/... |
//
// Copyright (c) Microsoft and contributors. 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 requi... |
namespace LosingWeightWithCSharp7Plus.Snippets.DefaultExpressions
{
public class CompareDefaultExpressions
{
public T2 CalculateSomethingBefore<T1, T2>(T1 first, T2 second = default(T2)) where T2 : new()
{
if (first.Equals(default(T1)))
{
// Do some compl... |
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("Commands.AnalysisServices")]
[assembly: ... |
using AutoMapper;
using Paladin.Web.Infra;
using Paladin.Web.Models;
using Paladin.Web.ViewModels;
using System;
using System.Data.Entity;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace Paladin.Web.Controllers
{
[Workflow(Current = (int)WorkflowValues.VehicleInfo, Required = (int)WorkflowValues.Emp... |
using AoC.Helpers.Days;
using AoC.Helpers.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
namespace AoC.Y2016.Days
{
public class Day02 : BaseDay
{
public Day02(IEnumerable<string> input) : base(2016, 2, input)
{
}
public Day02() : base(2016, 2)
... |
using DynamicForms.Common.Models.ApplicationModels;
using DynamicForms.Common.Models.ConfigurationModels.Fields;
namespace DynamicForms.Common.Models.ConfigurationModels.Validation
{
public class FieldValidationContext
{
public FieldBase Field { get; set; }
public Application Application { ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
u... |
//
// Main.cs
//
// Author:
// Alan McGovern <alan@xamarin.com>
//
// Copyright 2011, Xamarin Inc.
//
// 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, includ... |
// Copyright (C) NeoAxis Group Ltd. 8 Copthall, Roseau Valley, 00152 Commonwealth of Dominica.
using System;
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Text;
namespace RoslynPad.Roslyn
{
public class WorkspaceImpl : Workspace
{
p... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using Microsoft.VisualStudio.Text.Classification;
using Vim.Extensions;
using Vim.UI.Wpf.Properties;
using System.Text;
using System.... |
/*
* 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... |
using System;
using com.tinylabproductions.TLPLib.caching;
using com.tinylabproductions.TLPLib.Reactive;
using JetBrains.Annotations;
namespace com.tinylabproductions.TLPLib.Data {
/// <summary><see cref="PrefVal{A}"/> that can be inspected in editor.</summary>
public interface InspectablePrefVal {
[PublicAPI... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlanetsideExplorationTechnologies.DifficultySettings
{
public class DifficultyGeneralWind : GameParameters.CustomParameterNode
{
private const string DISPLAYNAME = "General Win... |
// This file is part of CycloneDX Library for .NET
//
// 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... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PointClient
{
class Presenter
{
private readonly Timer _timer;
private Configuration.Presenter _config;
public Presenter(Configurat... |
// This file was generated by a tool; you should avoid making direct changes.
// Consider using 'partial classes' to extend these types
// Input: pose.proto
#pragma warning disable 0612, 1591, 3021
namespace apollo.localization
{
[global::ProtoBuf.ProtoContract()]
public partial class Pose : global::ProtoBuf.... |
// 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.Collections.Generic;
namespace Ludiq.PeekCore.CodeDom
{
public sealed class CodeEnumMember : Code... |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
class LoadSceneOnEvent : ActivateOnEvent {
[Header("Event Specifics")]
[SerializeField] private int m_sceneToload = -1;
protected override void OnActivate() {
// check if valid scene
if (m_scene... |
using SharpEncrypt.ExtensionClasses;
using SharpEncrypt.Helpers;
using SharpEncrypt.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Resources;
using System.Text;
using System.Windows.Forms;
namespace SharpEncrypt.Forms
{
... |
// *** 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 Brultech.ECM1240
{
public class Rates
{
public ulong Ch1NetAbsoluteWs;
public ulong Ch2NetAbsoluteWs;
public ulong Ch1NetPolarizedWs;
public ulong Ch2NetPolarizedWs;
public uint Aux1NetWs;
public uint Aux2NetWs;
public uint Aux3NetWs;
pu... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="InstanceSetActionPropertyStepTests.cs">
// SPDX-License-Identifier: MIT
// Copyright © 2019-2020 Esbjörn Redmo and contributors. All rights reserved.
// </copyright>
// -------... |
using System.Collections.Generic;
using UnityEngine;
namespace TMPro
{
public static class TMPro_ExtensionMethods
{
public static string ArrayToString(this char[] chars)
{
string text = string.Empty;
for (int i = 0; i < chars.Length && chars[i] != 0; i++)
{
text += chars[i];
}
return text;
}... |
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models
{
using Microsoft.Azure;
using Microsoft.Azure.Management;
using Microsof... |
/**
* The MIT License
* Copyright (c) 2016 Population Register Centre (VRK)
*
* 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 righ... |
using Couchbase.Core;
using Couchbase.Core.Transcoders;
namespace Couchbase.IO.Operations.SubDocument
{
internal class SubDocReplace<T> : SubDocSingularMutationBase<T>
{
public SubDocReplace(MutateInBuilder<T> builder, string key, IVBucket vBucket, ITypeTranscoder transcoder, uint timeout)
... |
//------------------------------------------------------------------------------
// <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>
//----------------------------------------... |
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x19_4eb0-ff8ec39c")]
public void Method_0019_4eb0()
{
ii(0x19_4eb0, 4); enter(6, 0); /* enter 0x... |
// *** 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 Microsoft.EntityFrameworkCore.Migrations;
namespace OurTrace.App.Migrations
{
public partial class AddedJoinedOnDateForUsers : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name:... |
namespace NRKernal.Record
{
//
// 摘要:
// The encoded image or video pixel format to use for PhotoCapture and VideoCapture.
public enum CapturePixelFormat
{
//
// 摘要:
// 8 bits per channel (blue, green, red, and alpha).
BGRA32 = 0,
//
// 摘要:
... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/winnt.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System.... |
// 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.Runtime.InteropServices;
using System.Threading;
using Xunit;
public partial class ThreadPoolBoundHand... |
namespace ZPF
{
public class PointI
{
public PointI(int X, int Y)
{
this._X = X;
this._Y = Y;
}
/// <summary>
/// The horizontal position of the point.
/// </summary>
public int X
{
get { return _X; }
set { _X = value; }
... |
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("Si... |
// 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.Collections.Immutable;
using ShaderTools.CodeAnalysis.Symbols;
namespace ShaderTools.CodeAnalysis.Shared.Extensions
{
// Note - these metho... |
using System.Collections.Generic;
using System.Linq;
using EmpMan.Data.Infrastructure;
using EmpMan.Model.Models;
namespace EmpMan.Data.Repositories
{
public interface IProductCategoryRepository : IRepository<ProductCategory>
{
IEnumerable<ProductCategory> GetByAlias(string alias);
}
public cl... |
/*************************************************************************************
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="SmtpSettings.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project r... |
using System.Collections.ObjectModel;
namespace Chat.Areas.HelpPage.ModelDescriptions
{
public class ComplexTypeModelDescription : ModelDescription
{
public ComplexTypeModelDescription()
{
Properties = new Collection<ParameterDescription>();
}
public Collection<Para... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace DatAdmin
{
public partial class TreeSelectForm : FormEx
{
public TreeSelectForm()
{
InitializeComponent();
... |
namespace MaterialSkin.Controls
{
using System;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
public class MaterialCard : Panel, IMaterialControl
{
[Browsable(false)]
public int Depth { get; set; }
[B... |
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//using Android.App;
//using Android.Content;
//using Android.Content.PM;
//using Android.OS;
//using Android.Renderscripts;
//using Android.Runtime;
//using Android.Views;
//using Android.Widg... |
using System.Linq;
using NUnit.Framework;
using OrbitOne.SharePoint.Importer.FileSystem;
namespace OrbitOne.SharePoint.Importer.Tests
{
[TestFixture]
public class TestFilenameConversion
{
private FileNameConverter m_converter;
private readonly char[] m_illegalCharacters = new [] {'#','%','&... |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// CashCampaignInfo Data Structure.
/// </summary>
[Serializable]
public class CashCampaignInfo : AopObject
{
/// <summary>
/// 活动状态
/// </summary>
[XmlElement("camp_status")]... |
using System;
using Infrastructure.Models;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace Infrastructure.Interfaces
{
public interface ITeamRepository
{
Task<bool> AddTeamAsync(TeamEntity team);
Task<TeamEntity> FindTeamByIdAsync(Guid teamId);
Task<TeamEntity... |
using System.Collections.Generic;
namespace Homeinns.Application.ViewModel
{
/// <summary>
/// 服务器端返回菜单数据模型
/// </summary>
public class UIMenu
{
public int IsActive { get; set; }
public string MenuCode { get; set; }
public string MenuIcon { get; set; }
public string MenuName { get; set; }
public in... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Iwenli.Push.JPush.PushApi.Notification
{
public class AndroidNotification:PlatformNotification
{
public const String NOTIFICA... |
namespace CarService.Web.Areas.User
{
using System.Web.Mvc;
public class UserAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "User";
}
}
public override void RegisterArea(AreaRegist... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.