text
stringlengths
1
932k
/* * 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.Threading.Tasks; using CoreGraphics; using Foundation; using Microsoft.Maui.Graphics; using Microsoft.Maui.Graphics.Platform; using ObjCRuntime; using UIKit; namespace Microsoft.Maui.Essentials.Implementations { public partial class LauncherImplementation { Task<bool> PlatformCanOpenAsyn...
using System.Runtime.Serialization; namespace Gherkin.CucumberMessages.Types { public class SourceReference { [DataMember(Name = "location")] public Location Location { get; set; } [DataMember(Name = "uri")] public string Uri { get; set; } //TODO: javaMethod, javaStac...
using System.Windows; using TaskyJ.Interface.WPF.View; namespace TaskyJ.Interface.WPF { /// <summary> /// Interaction logic for LoginWindow.xaml /// </summary> public partial class LoginWindow : Window { public LoginWindow() { InitializeComponent(); if (!Bus...
 <!-- Navbar --> <nav class="main-header navbar navbar-expand navbar-dark"> <!-- Left navbar links --> <ul class="navbar-nav"> <li class="nav-item"> <a class="nav-link" data-widget="pushmenu" href="#" role="button" onclick="onMenuCollsped()"><i class="fas fa-bars"></i></a> </li> ...
using Microsoft.Xna.Framework; using Softfire.MonoGame.CORE.Common; namespace Softfire.MonoGame.ANIM.Actions { /// <summary> /// Defines an animation's actions. /// </summary> public class AnimationAction : IMonoGameIdentifierComponent, IMonoGameActiveComponent, IMonoGameUpdateComponent { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RoboticsGUI { namespace RobotIOControls { namespace Firmata { public class FirmataPrismaticServo : AnimatGUI.DataObjects.Robotics.MotorControlSystem { publi...
using UnityEngine; using System.Collections; public class backButton : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnMouseDown(){ Application.LoadLevel ("menu"); } }
/* * Copyright 2018 JDCLOUD.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 * * Unless required by applicable law or agreed to in...
using CosmosDbExplorer.Core.Models; namespace CosmosDbExplorer.Messages { public class RemoveConnectionMessage { public RemoveConnectionMessage(CosmosConnection connection) { Connection = connection; } public CosmosConnection Connection { get; } } }
using System; using System.Collections.Generic; using System.Diagnostics; using System.Dynamic; using System.IO; using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Microsoft.Build.Locator; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.MSBuild; using Mon...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using FlatRedBall.Glue.ContentPipeline; using System.Windows.Forms; using FlatRedBall.Glue.Elements; using FlatRedBall.Glue.FormHelpers; using FlatRedBall.Glue.Plugins.ExportedImplementations; using FlatRedBall.IO; using FlatRedBall....
using System; using System.Linq; using System.Threading.Tasks; namespace PowerGrid.Server.Data { public class WeatherForecastService { private static readonly string[] Summaries = new[] { "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorchi...
using System.Threading.Tasks; using Abp.Configuration; using Abp.Zero.Configuration; using BulletRay.Authorization.Accounts.Dto; using BulletRay.Authorization.Users; namespace BulletRay.Authorization.Accounts { public class AccountAppService : BulletRayAppServiceBase, IAccountAppService { private reado...
// 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.IO; using System.Text; using Microsoft.AspNetCore.Components.Rendering; using Microsoft.Asp...
using System; using System.Collections.Generic; using System.Transactions; namespace Neo4jClient.Transactions { internal class BoltTransactionSinglePhaseNotification : ISinglePhaseNotification { private readonly ITransactionExecutionEnvironmentBolt transactionExecutionEnvironment; public Bolt...
namespace OpenGLBindings { /// <summary> /// Not used directly. /// </summary> public enum ExtRasterMultisample { /// <summary> /// Original was GL_RASTER_MULTISAMPLE_EXT = 0x9327 /// </summary> RasterMultisampleExt = 37671, /// <summary> /// Original ...
@model Blog.Models.Category @{ ViewBag.Title = "Delete"; } <h2>Delete</h2> <h3>Are you sure you want to delete this?</h3> <div> <h4>Category</h4> <hr /> <dl class="dl-horizontal"> <dt> @Html.DisplayNameFor(model => model.Name) </dt> <dd> @Html.Display...
using System; namespace UMS.Editor { /// <summary> /// Contains hooks allowing us to call code in the editor project. /// Essentially a poor-mans version of using UNITY_EDITOR compile time conditions /// </summary> public static class Hooks { public static Func<Settings> GetSettings { ...
// *** 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.Web; using System.Web.Mvc; namespace Project_2WebApi { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
// 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...
using System; using System.Collections.Generic; using System.Text; namespace Shirley.Book.Model { public class AuthenticateResult { public bool LoginSuccess { get; set; } public string Message { get; set; } } }
using asnan_Bookstore.Data; using asnan_Bookstore.Repository; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using System; using Sys...
/* Copyright 2015 MongoDB Inc. * * 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 agreed to in writing, s...
namespace GameWorld { public enum OpponentType { AI, Player } }
//------------------------------------------------------------------------------ // <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 CreativeCoders.Git.Abstractions.Branches; using CreativeCoders.Git.Abstractions.Exceptions; using JetBrains.Annotations; namespace CreativeCoders.Git.Abstractions; [PublicAPI] public static class GitRepositoryBranchExtensions { public static IGitBranch? CreateBranch(this IGitRepository gitRepository, strin...
using Blog.Core.Common; using Blog.Core.Common.DB; using Blog.Core.Common.LogHelper; using Blog.Core.IRepository.Base; using Blog.Core.IRepository.UnitOfWork; using Blog.Core.Model; using Blog.Core.Model.Models; using SqlSugar; using StackExchange.Profiling; using System; using System.Collections.Generic; using System...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using EasyLOB.Data; using EasyLOB.Library; namespace Chinook.Data { [MetadataType(typeof(AlbumDTOMetadata))] public partial class AlbumDTO : Chinook.Persistence.Chinook.Data.AlbumDTO, IZDTOBa...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; [System.Serializable] [CreateAssetMenu(fileName = "Progression Manager", menuName = "Progression Manager")] public class ProgressionManager : ScriptableObject { [System.Serializable] public class ProgressionStep ...
using System; using System.Collections.Generic; 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.Windows.Navigati...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace Changing_the_Viewer_Options { public class Startup { public Startup(IConfiguration configuratio...
using System; namespace pdxpartyparrot.Game.Data { [Serializable] public abstract class NPCBehaviorData : CharacterBehaviorData { } }
//-------------------------------------------------- // Motion Framework // Copyright©2021-2021 何冠峰 // Licensed under the MIT license //-------------------------------------------------- namespace MotionFramework.Editor { public interface IContextObject { } }
using System; using System.Threading.Tasks; using System.Timers; namespace LightHouse.Lib { public class BuildStatusRefreshTimer : ITimeBuildStatusRefresh { private Timer _timer; private Func<Task> _eventHandler; public ITimeBuildStatusRefresh OnElapsed(Func<Task> eventHandler) ...
//------------------------------------------------------------------------------ // <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> //----------------------------------------...
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
//------------------------------------------------------------------------------ // <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.Collections.Generic; namespace TuduManayer.Domain.User.SignUp.Validation { public interface IValidator { List<Error> Validate(SignUpUserArgs args); } }
// *** 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 Android.App; using Com.Umeng.Weixin.Callback; namespace XamCnblogs.Droid.wxapi { [Activity(Name = "com.android.cnblogs.wxapi.WXEntryActivity", Exported = true, Theme = "@style/WXEntryStyle", ConfigurationChanges = Android.Content.PM.ConfigChanges.KeyboardHidden | Android.Content.PM.ConfigChanges.Orientatio...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using Raven.Client.Documents; using Raven.Client.Documents.Session; using Raven.Yabt.Database.Common; using Raven.Yabt.Database.Common.BacklogItem; using Raven...
namespace AnyClone.Tests.TestObjects { using System; using System.Collections.Generic; public class DictionaryObject : IEquatable<DictionaryObject> { public IDictionary<int, BasicObject> Collection { get; set; } = new Dictionary<int, BasicObject>(); public override int GetHashCode() => base.GetHashCod...
#region License // /* // * ###### // * ###### // * ############ ####( ###### #####. ###### ############ ############ // * ############# #####( ###### #####. ###### ############# ############# // * ###### #####( ###### #####. ###### ##### ###### ##...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK; using OpenTK.Graphics; using osu.Framework.Configuration; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framewo...
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.Rendering; using UnityEngine.Serialization; using UnityEditor.VFX; using UnityEngine.VFX; namespace UnityEditor.VFX { abstract class VFXAbstractParticleOutput : VFXAbstractRenderedOutput, IVFXSubRenderer { ...
using System; using Framework.Workflow.TestGenerate; using Framework.DomainDriven.DTOGenerator.Client; using Framework.DomainDriven.FacadeServiceProxyGenerator; using Framework.Projection; namespace Framework.Workflow.ClientGenerate { public class ClientGenerationEnvironment : GenerationEnvironmentBase, Framewor...
using Kingmaker; using Kingmaker.Blueprints.Root; using Kingmaker.Controllers.Combat; using Kingmaker.EntitySystem.Entities; using Kingmaker.Inspect; using Kingmaker.Items; using Kingmaker.PubSubSystem; using Kingmaker.UI; using Kingmaker.UnitLogic; using Kingmaker.UnitLogic.Abilities; using Kingmaker.UnitLogic.Buffs;...
 using Calamari.Tests.Helpers; using NUnit.Framework; namespace Calamari.Tests.Fixtures.ConfigurationTransforms { [TestFixture] [Category(TestCategory.CompatibleOS.OnlyWindows)] public class TransformFileLocatorFixture { [Test] public void When_TransformIsFileNameOnly_And_TargetIsFileN...
using Shouldly; using Xunit; namespace AutoMapper.UnitTests.Bug { public class EnumMatchingOnValue : AutoMapperSpecBase { private SecondClass _result; public class FirstClass { public FirstEnum EnumValue { get; set; } } public enum FirstEnum { ...
//////////////////////////////////////////////////////////////////////////////// //EF Core Provider for LCPI OLE DB. // IBProvider and Contributors. 16.05.2021. using System; using System.Diagnostics; using System.Reflection; namespace Lcpi.EntityFrameworkCore.DataProvider.LcpiOle...
using System; using System.Linq; using System.Reflection; using Ncqrs.Domain; namespace Ncqrs.Commanding.CommandExecution.Mapping.Attributes { /// <summary> /// Defines that the command maps directly to a constructor on an aggregate root. /// </summary> [AttributeUsage(AttributeTargets.Class, AllowMul...
/* * Copyright 2010-2013 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 (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Text.Json.Serialization; using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { [JsonConverter(typeof(GitHubAc...
 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Util; using Android.Views; using Android.Widget; namespace Passcode.Google { internal class RoundedButton : Button { public Round...
/* * Ytel.UWP * * This file was automatically generated for ytel by APIMATIC v2.0 ( https://apimatic.io ) */ using System; using System.IO; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json....
using UnityEditor; using UnityEngine; namespace UnityMake { public struct Property : System.IDisposable { public static Property Do( Rect totalPosition, GUIContent label, SerializedProperty property ) { EditorGUI.BeginProperty( totalPosition, label, property ); return new Property(); } public void Dis...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DestroyAfter : MonoBehaviour { public float delay; float elapsed; void Update () { elapsed += Time.deltaTime; if (elapsed > delay) { Destroy(gameObject); } } }
namespace SBRW.Nancy.Bootstrapper { using System; using System.Collections.Generic; using System.IO; using System.Linq; using SBRW.Nancy.Configuration; using System.Reflection; /// <summary> /// Application startup task that attempts to locate a favicon. The startup will first scan...
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SimpleCrm.web.Controllers { [Route("about")] public class AboutController { [Route("phone")] public string Phone() { return "A99-99...
namespace QuestPDF.Infrastructure { internal class Position { public float X { get; set; } public float Y { get; set; } public static Position Zero => new Position(0, 0); public Position(float x, float y) { X = x; Y = y; } ...
// This file is part of YamlDotNet - A .NET library for YAML. // Copyright (c) 2013 Antoine Aubry and contributors // 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 restric...
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由代码生成器生成。 // 手动更改此文件可能导致应用程序出现意外的行为。 // 如果重新生成代码,对此文件的任何修改都会丢失。 // 如果需要扩展此类:可遵守如下规则进行扩展: // 1.横向扩展:如需添加额外的属性,可新建文件“InStor.cs”的分部类“public partial class InStor”}添加属性 // </auto-generated> // // <cop...
using Newtonsoft.Json; namespace CSharpTradeOffers.Trading { [JsonObject(Title = "Response")] public class GetTradeOffersSummaryResponse { [JsonProperty("pending_received_count")] public int PendingReceivedCount { get; set; } [JsonProperty("new_received_count")] public int...
/* Copyright 2012-2021 Marco De Salvo 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 agreed to...
using System.Collections.Generic; using System.IO; using System.Linq; using CHD.Common; using CHD.Common.Others; namespace CHD.Installer.Scanner.Euristic { internal sealed class MainSettingsEuristic : ISettingsEuristic { public string Filter(List<FileInfo> fileInfos) { if (fileInfos...
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace MatlabTestWindowsForm { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { ...
namespace Project2 { public class BoardElement { public Card Card { get; set; } public StatusType Status { get; set; } public BoardElement(Card card, StatusType status) { this.Card = card; this.Status = status; } public BoardElement() ...
/* * 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 System.Reflection; using System.Runtime.CompilerServices; // 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("OnlyT.Report")] [assembly: AssemblyDescri...
#region License, Terms and Author(s) // // Mannex - Extension methods for .NET // Copyright (c) 2009 Atif Aziz. All rights reserved. // // Author(s): // // Atif Aziz, http://www.raboof.com // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with ...
using Highway.Data; namespace Highway.Data.Services { /// <summary> /// Stub implementation of the User Name service to supply example names for Auditable interceptor. /// </summary> public class DefaultUserNameService : IUserNameService { #region IUserNameService Members /// <summ...
using System; using System.Collections.Generic; using wmsShared.Interfaces; using wmsShared.Model; namespace mapfileManager.mapfile { [Serializable] public class ClassObj : AbsMapfileBlock, IMapfileBlock { #region constructor #endregion #region public properties public o...
using UnityEditor.TestTools.TestRunner.Api; using UnityEngine; using UnityEngine.TestTools.TestRunner.GUI; namespace UnityEditor.TestTools.TestRunner { internal class RerunCallbackData : ScriptableSingleton<RerunCallbackData> { [SerializeField] internal TestRunnerFilter runFilter; [Ser...
/* Copyright 2010-2013 10gen Inc. * * 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 agreed to in writing...
using System; namespace Webenable.Extensions.Configuration.GoogleCloud { internal static class GoogleCloudApp { public static bool IsRunningOnGoogleCloud => Environment.GetEnvironmentVariable("GAE_INSTANCE") != null; public static string GoogleCloudProjectId => Environment.GetEnvironmentVaria...
// // System.Data.ConstraintCollection.cs // // Author: // Franklin Wise <gracenote@earthlink.net> // Daniel Morgan // // (C) Ximian, Inc. 2002 // (C) 2002 Franklin Wise // (C) 2002 Daniel Morgan // // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to ...
// *** 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.Goog...
using System; namespace SecretDoor_sLock { class Program { static void Main(string[] args) { // От конзолата се четат 3 реда: //• Горната граница на стотиците -цяло число в диапазона(1 - 9) //• Горната граница на десетиците -цяло число в диапазона...
using UnityEngine; namespace XCharts.Runtime { /// <summary> /// The style of line. /// |线条样式。 /// 注: 修改 lineStyle 中的颜色不会影响图例颜色,如果需要图例颜色和折线图颜色一致,需修改 itemStyle.color,线条颜色默认也会取该颜色。 /// toColor,toColor2可设置水平方向的渐变,如需要设置垂直方向的渐变,可使用VisualMap。 /// </summary> [System.Serializable] public class ...
using System; using System.IO; using System.Net; using System.Text; using System.Threading.Tasks; using BlogCoreEngine.Core.Entities; using BlogCoreEngine.Core.Interfaces; using BlogCoreEngine.DataAccess.Data; using BlogCoreEngine.DataAccess.Extensions; using BlogCoreEngine.Web.Extensions; using BlogCoreEngine.Web.Vie...
using UnityEngine; using System; namespace entitymanagement.examples.basic { [Serializable] public class ChangePersonAgeMod : IEntityModifier { public int NewAge; public IEntity e { get; set; } public Type IntendedEntityType { get { return typeof(PersonEntity); } } public lo...
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace Fishing.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to ...
namespace StatisticsPoland.VtlProcessing.Core.DataModelProviders.Infrastructure { using StatisticsPoland.VtlProcessing.Core.DataModelProviders.Infrastructure.Interfaces; using StatisticsPoland.VtlProcessing.Core.Models; using StatisticsPoland.VtlProcessing.Core.Models.Interfaces; using StatisticsPoland...
using System.Text; using SIS.HTTP.Enums; using SIS.HTTP.Headers; using SIS.HTTP.Responses; namespace SIS.WebServer.Results { public class TextResult : HttpResponse { public TextResult(string content, HttpResponseStatusCode responseStatusCode, string contentType = "text/plain; charset=utf-8") ...
//namespace System.Collections //{ // ///// <summary> // ///// ValidateValueCallback // ///// </summary> // //public delegate bool ValidateValueCallback(object value); // /// <summary> // /// BaseProperty // /// </summary> // public class BaseProperty // { // private static int Globa...
using GRModels; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; namespace GRDL { public class GRRepoDB : IGRRepo { private readonly GRDBContext _context; public GRRepoDB(GRDBContext context) { _context = context; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using me.cqp.luohuaming.Story.Sdk.Cqp.Core; using me.cqp.luohuaming.Story.Sdk.Cqp.Interface; namespace me.cqp.luohuaming.Story.Sdk.Cqp.Expan...
using System.Collections.Generic; namespace CampaignSample.Models { public class SearchResponse<T> { public List<T> elements { get; set; } public int total { get; set; } public int pageSize { get; set; } public int page { get; set; } } }
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace MapService.Common { public class MapPosition { [Required] public float? X { get; set; } [Required] public float? Y { get; set...
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("Ta...
using System; using System.Net; using Newtonsoft.Json; namespace HttpRemoting.Data { public sealed class JsonError: IHttpRemotingError { [JsonProperty("message")] public string Message { get; set; } [JsonProperty("error_code")] public string? ErrorCode { get; set; } [JsonProperty("status_code")] public...
using System; using System.Reactive.Linq; namespace Outracks { public static partial class Rectangle { public static IObservable<Rectangle<T>> Deflate<T>(this IObservable<Rectangle<T>> self, IObservable<Thickness<T>> thickness) where T : INumeric<T> { return self.Inflate(thickness.Inverse()); } publi...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using SwiftRuntimeLibrary.SwiftMarshal; namespace SwiftRuntimeLibrary { [SwiftTypeName ("Swift.UnsafeMutableRawBufferPointer")] [...
/* * Copyright 2013 ThirdMotion, Inc. * * 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 agreed...
// Copyright (c) 2012-2020 fo-dicom contributors. // Licensed under the Microsoft Public License (MS-PL). using Dicom.IO.Buffer; using System; using System.Linq; using Xunit; namespace Dicom.Imaging.Render { public class PixelDataTest { #region Unit tests [Fact] public void DicomPi...
using Auth.Setups; using CommonLib.Attributes; using CommonLib.Formaters; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespa...
#region License //// The MIT License (MIT) //// //// Copyright (c) 2015 Tom van der Kleij //// //// 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 witho...
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class JukeboxInkGameController : DeviceInkGameControllerBase { [Ordinal(0)] [RED("ActionsPanel")] public inkHorizontalPanelWidgetReference ActionsPanel { get; set; } [...