content stringlengths 23 1.05M |
|---|
using System;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
namespace MongoDistributedCache
{
public interface IMongoAccessor
{
MongoCacheItem Get(string key);
Task<MongoCacheItem> GetAsync(string k... |
namespace TheSaga.Handlers.Builders
{
public interface IHandlersBuilderWhen : IHandlersBuilder
{
}
}
|
using System;
using Unity.Entities;
namespace Ecosystem.ECS.Player
{
/// <summary>
/// Marks an entity as player-controlled.
/// </summary>
[Serializable]
[GenerateAuthoringComponent]
public struct PlayerTag : IComponentData
{
}
} |
// ReSharper disable once CheckNamespace
namespace Fluxera.Utilities.Extensions
{
using System;
using System.Globalization;
using Guards;
public static partial class DateTimeExtensions
{
/// <summary>
/// Gets the next occurrence of the specified weekday within the current week using the current culture... |
using System;
using EcsRx.Entities;
using EcsRx.Events;
using EcsRx.Pools;
using UnityEngine;
using Zenject;
namespace EcsRx.Unity.Systems
{
public interface IViewHandler
{
IPoolManager PoolManager { get; }
IEventSystem EventSystem { get; }
IInstantiator Instantiator { get; }
... |
using System;
using System.Globalization;
using Newtonsoft.Json;
namespace Kudu.Contracts.Diagnostics
{
public class ApplicationLogEntry
{
[JsonProperty(PropertyName = "timestamp")]
public DateTimeOffset TimeStamp { get; set; }
[JsonProperty(PropertyName = "level")]
public str... |
// (c) 2020 Francesco Del Re <francesco.delre.87@gmail.com>
// This code is licensed under MIT license (see LICENSE.txt for details)
namespace SharpRedisMonitor.Models
{
public class ClientsModel
{
public string ConnectedClients { get; set; }
}
}
|
using ShapeCrawler;
internal class PictureSample
{
internal static void ReadPicture()
{
using var presentation = SCPresentation.Open(@"test.pptx", true);
var slide = presentation.Slides[0];
// Get picture shape by name
var pictureShape = slide.Shapes.GetByName<IPicture... |
using System;
using BookLovers.Shared;
using BookLovers.Shared.SharedSexes;
namespace BookLovers.Readers.Domain.Profiles.Services.Factories
{
public class ProfileContentData
{
public FullName FullName { get; }
public DateTime BirthDate { get; }
public Sex Sex { get; }
public... |
public enum ButtonInteractID // TypeDefIndex: 10738
{
// Fields
public int value__; // 0x0
public const ButtonInteractID A = 0;
public const ButtonInteractID B = 1;
public const ButtonInteractID X = 2;
public const ButtonInteractID Y = 3;
}
|
using System.Xml.Linq;
namespace Weixin.Next.MP.Messaging.Requests
{
/// <summary>
/// 未知类别的请求消息, 可以通过 Xml 属性直接获取消息内容
/// </summary>
public class UnknownRequestMessage : RequestMessage
{
public UnknownRequestMessage(XElement xml) : base(xml)
{
}
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Net;
using GCore.Extensions.StreamEx;
namespace GCore.Networking {
public class NetworkingHelper {
public static string FTPUpload(string ftpServer, string filename) {
return FTP... |
using System.Runtime.InteropServices;
using Prometheus.SystemMetrics.Native;
namespace Prometheus.SystemMetrics.Collectors
{
/// <summary>
/// Collects data on system load average
/// </summary>
public class LoadAverageCollector : ISystemMetricCollector
{
internal Gauge Load1 { get; private set; } = default!;
... |
/*
* Copyright 2018 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 "licens... |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace StopGuessing.DataStructures
{
public class MemoryUsageLimiter : IDisposable
{
private CancellationTokenSource cancellationTokenSource = new CancellationTokenSource();
public class ReduceMemoryUsageEventParameters : ... |
using Identity.Core.Entities;
using Identity.Core.Managers;
using IdentityServer3.AspNetIdentity;
namespace Identity.Core.Services
{
/// <summary>
/// The user service, wraps logical operations to the usermanager object
/// </summary>
public class ApplicationUserService : AspNetIdentityUserService<App... |
using System;
using HarvestingFieldsPgm.Engine;
class HarvestingFieldsTest
{
static void Main(string[] args)
{
string command = Console.ReadLine();
while (!command.Equals("HARVEST"))
{
string result = Engine.GetFields(command);
Console.WriteLine(result.Replace("... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Prism.Container.Extensions.Shared.Mocks;
using Prism.Container.Extensions.Shared.Tests;
using Prism.Container.Extensions.Tests.Mocks;
using Prism.Ioc;
using Unity;
using Xunit;
using Xunit.Abstractions;
namespace Prism.U... |
/*************************************************************************************************
* Copyright (c) 2018 Gilles Khouzam
*
* 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 with... |
using System;
using Nuve.Orthographic;
namespace Nuve.Condition
{
internal static class ConditionFactory
{
public static ConditionBase Create(string name, string morphemeLocation, string operand, Alphabet alphabet)
{
switch (name)
{
case "EndsWithConsonan... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using ATBase.OssCore.Domain;
namespace ATBase.OssProvider.AliOss.Util
{
internal class AliOssUtil
{
public static void EnsureObjectKey(ref String objectKey)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using Photon.Realtime;
using System.Linq;
public class NetworkManager : MonoBehaviourPunCallbacks
{
public static NetworkManager Instance = null;
//Photon Settings
[SerializeField] private bool isConnected = ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIManager : MonoSingleton<UIManager>
{
/* This script provides behaviour for UI.*/
public Color blueMountains;
[Header("UI Screens.")]
[Header("Main menu.")]
public GameObject main... |
using LanguageExt;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using static LanguageExt.Prelude;
namespace LanguageExtTests
{
public class CompositionTests
{
private readonly Func<string> _f;
private readonly... |
using System.Text;
namespace NsqClient.Commands
{
internal class SubscribeCommand : ICommand
{
private string template = "SUB {0} {1}\n";
private readonly string topic;
private readonly string channel;
public SubscribeCommand(string topic, string channel)
{
... |
[EnableCors(origins: "http://www.contoso.com,http://www.example.com",
headers: "*", methods: "*")] |
[TrackColorAttribute] // RVA: 0x145060 Offset: 0x145161 VA: 0x145060
[TrackClipTypeAttribute] // RVA: 0x145060 Offset: 0x145161 VA: 0x145060
[TrackBindingTypeAttribute] // RVA: 0x145060 Offset: 0x145161 VA: 0x145060
public class TransformTweenTrack : TrackAsset // TypeDefIndex: 6098
{
// Methods
// RVA: 0x1D2D1D0 Of... |
/*
* DarkHouse
* Horror Exploration Game
* Copyright (c) 2019 Mohammad Najmi
*/
namespace DarkHouse
{
/// <summary>
/// IWindow Interface
/// </summary>
/// <remarks>Defines a window</remarks>
public interface IWindow : IIdentity, ILockable, IOpenable, IShape3D
{
}
}
|
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[RequireComponent (typeof (SynthControl))]
public class TouchKey : MonoBehaviour {
public Camera gameCam;
[Range(0.003f, 3.0f)] public float env_atk = 1.0f;
[Range(0.003f, 3.0f)] public float env_rel = 1.0f;
[Range(24,48)] public int sca... |
using Xunit;
using static Dommel.DommelMapper;
namespace Dommel.Tests
{
public class AnyTests
{
private static readonly ISqlBuilder SqlBuilder = new SqlServerSqlBuilder();
[Fact]
public void GeneratesAnyAllSql()
{
var sql = BuildAnyAllSql(SqlBuilder, typeof(Foo));
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using com.pacifica.slot.core;
namespace com.pacifica.slot.objects{
/*! \brief
*
* WHAT IT DOES:
* -
*
* REQUIREMENTS:
* -
*/
public class LineNumbers : MonoBehaviour {
public List<LineNumberButton> linenumbers;
Sl... |
using UNKO.Utils;
namespace UNKO.ManageResource
{
[System.Serializable]
public class EffectPlayCommand : ResourcePlayCommandBase<IEffectPlayer>
{
// NOTE inspector 노출용 - 유니티 에디터는 제네릭 클래스를 인스펙터에 노출을 못하기 때문에
[System.Serializable]
public class Pool : SimplePool<EffectPlayCommand>
... |
using System;
using System.Collections.Generic;
namespace Discord
{
/// <summary>
/// Represents a message object.
/// </summary>
public interface IMessage : ISnowflakeEntity, IDeletable
{
/// <summary>
/// Gets the type of this system message.
/// </summary>
... |
// Copyright Finbuckle LLC, Andrew White, and Contributors.
// Refer to the solution LICENSE file for more inforation.
using System;
namespace Finbuckle.MultiTenant
{
/// <summary>
/// Marks a class as multitenant when used with a database context
/// derived from MultiTenantDbContext or MultiTenantIdenti... |
using System.ComponentModel.DataAnnotations;
namespace Cofoundry.Web.Admin.Internal
{
public class CompleteAccountRecoveryViewModel
{
/// <summary>
/// The value to set as the new account password. The password will go through
/// additional validation depending on the password policy... |
using static TNoodle.Puzzles.Puzzle;
namespace TNoodle.Puzzles
{
public class PuzzleStateAndGenerator
{
public PuzzleStateAndGenerator(PuzzleState state, string generator)
{
State = state;
Generator = generator;
}
public PuzzleState State { get; }
... |
//
// ContainerRegistrationConfigElement.cs
//
// Copyright 2018 Craig Fowler et al
//
// 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/lic... |
using System.Text.Json.Serialization;
namespace SimpleFormsService.Domain.Entities.Base;
public interface IEntityBase
{
Guid Id { get; }
}
public abstract class EntityBase : IEntityBase
{
protected EntityBase(Guid id)
{
if (id == default)
throw new ArgumentNullException(nameof(id)... |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using AgentHeisenbug.QuickFixes;
namespace AgentHeisenbug.Tests.Of.QuickFixes {
[TestFixture]
public class MakeFieldReadOnlyFixTests : HeisenbugQuickFixTestBase<MakeFieldReadOnlyFix> {
[TestCase("ReadOnly... |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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.a... |
using System.Linq;
namespace Songhay.Extensions
{
/// <summary>
/// Extensions of <see cref="string"/>.
/// </summary>
public static partial class StringExtensions
{
/// <summary>
/// Converts the <see cref="string"/> into a numeric format for parsing.
/// </summary>
... |
//
// Attribute to mark properties as transient, so that we don't keep
// a managed reference to them more than absolutely required.
//
// Copyright 2013 Xamarin Inc
//
// Authors:
// Rolf Bjarne Kvinge <rolf@xamarin.com>
//
using System;
namespace ObjCRuntime {
[AttributeUsage (AttributeTargets.Parameter, AllowMul... |
using ControllerLib.Driver;
using System;
namespace ControllerLib.Input
{
public enum BatteryType
{
Disconnected = 0,
Wired = 1,
Alkaline = 2,
Nimh = 3,
Unknown = 4
}
public enum BatteryLevel
{
Empty = 0,
Low = 1,
Medium = 2,
... |
// *****************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the Microsoft Public License.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANT... |
using Bb.Sdk.Decompiler.IlParser;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
namespace Bb.Sdk.Decompiler.Methods
{
public sealed class MethodBody
{
readonly internal MethodDefinition method;
//internal ParameterDefinition... |
using MarvelousSoftware.QueryLanguage.Config;
using MarvelousSoftware.QueryLanguage.Lexing.Tokens.Abstract;
namespace MarvelousSoftware.QueryLanguage.Lexing.Tokens
{
/// <summary>
/// Token for keywords such as 'Equals' or 'StartsWith'.
/// </summary>
public class CompareOperatorToken : KeywordTokenBa... |
using System.Collections.Generic;
using Telerik.JustDecompiler.Decompiler.LogicFlow.Common;
using Telerik.JustDecompiler.Cil;
namespace Telerik.JustDecompiler.Decompiler.LogicFlow.DTree
{
class DTNode : TreeNode
{
/// <summary>
/// Gets a set of all the nodes that dominate this node.
... |
namespace SimpleUwpTwoWayComms
{
using System;
using System.Collections.Generic;
using System.Net;
using Windows.Devices.Bluetooth.Advertisement;
class BluetoothLEStreamSocketWatcher
{
public event EventHandler<BluetoothLEStreamSocketDiscoveredEventArgs> StreamSocketDiscovered;
public BluetoothLE... |
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
namespace System.ServiceModel.XamlIntegration
{
using System;
using System.Diagnostics.CodeAnalysis;
using Syst... |
//-----------------------------------------------------------------------------
// Copyright : (c) Chris Moore, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using System.Refle... |
using ComparerCode.Base;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Text;
namespace ComparerCode
{
[TestClass]
public class BuildStrings : PerformanceTestClass
{
static List<string> toAppend;
//good value 30e3
static double s... |
/*
* Copyright (C) 2008, Marek Zawirski <marek.zawirski@gmail.com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* - Redistributions of source code must retain the above ... |
namespace Cosmos.Security.Cryptography
{
public interface IRsaKeyConverter
{
/// <summary>
/// Public Key Convert pem->xml
/// </summary>
/// <param name="publicKey"></param>
/// <returns></returns>
string PublicKeyPemPkcs8ToXml(string publicKey);
/// <s... |
using System.Runtime.Serialization;
namespace Khernet.Services.Messages
{
[DataContract]
public enum PeerState : sbyte
{
[EnumMember]
New = -1,
[EnumMember]
Offline = 0,
[EnumMember]
Idle = 1,
[EnumMember]
Online = 2,
[EnumMember]... |
namespace EvMSBuildTest.Stubs
{
internal class StubEvaluatingProperty: EvMSBuilderAcs
{
public override string GetPropValue(string name, string project)
{
if(UVars.IsExist(name, project)) {
return GetUVarValue(name, project);
}
return $"[P~{na... |
using nHydrate.Generator.Common.GeneratorFramework;
using nHydrate.Generator.Common.Util;
using System;
using System.Xml;
namespace nHydrate.Generator.Common.Models
{
/// <summary>
/// This is the base for all column classes
/// </summary>
public abstract class ColumnBase : BaseModelObject, ICodeFacade... |
using System;
namespace Network.Models
{
public class RetryModel
{
public TimeSpan SleepPeriod { get; set; }
public int RetryCount { get; set; }
}
}
|
/*
Copyright 2007-2017 The NGenerics Team
(https://github.com/ngenerics/ngenerics/wiki/Team)
This program is licensed under the MIT License. You should
have received a copy of the license along with the source code. If not, an online copy
of the license can be found at https://opensource.org/licenses/MIT.
*... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace crass
{
public class PlayerPrefsEraserMenu : MonoBehaviour
{
[MenuItem("Tools/Clear Player Prefs")]
static void erase ()
{
PlayerPrefs.DeleteAll();
}
}
}
|
using Autofac;
using JetBrains.Annotations;
using MAVN.Service.QuorumOperationExecutor.Settings;
using Lykke.Service.QuorumTransactionSigner.Client;
using Lykke.SettingsReader;
namespace MAVN.Service.QuorumOperationExecutor.Modules
{
[UsedImplicitly]
public class ClientsModule : Module
{
private re... |
using System.Xml.Linq;
namespace Iodd2AmlConverter.Library.Iodd
{
public interface IDeserializableIodd
{
void Deserialize(XElement element);
}
} |
using System;
using Rebus.Activation;
using Rebus.Bus;
using Rebus.Config;
using Rebus.Handlers;
namespace Rebus.Tests.Contracts.Activation
{
public interface IActivationContext
{
IHandlerActivator CreateActivator(Action<IHandlerRegistry> configureHandlers, out IActivatedContainer container);
... |
using System.Collections.Generic;
using System.Linq;
using Bechtle.A365.ConfigService.Common;
using Xunit;
namespace Bechtle.A365.ConfigService.Tests.Common
{
public class QueryRangeTests
{
public static IEnumerable<object[]> QueryData => new[]
{
new object[] { 0, 0 },
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PlanetbaseMultiplayer.SharedLibs.DataPackages
{
[Serializable]
public class UpdateResourceDataPackage : IDataPackage
{
public Guid ResourceId;
public ResourceAction Action;
public Resour... |
using OrchardCore.ContentManagement;
namespace OrchardCore.Lists.Models
{
public class ListPart : ContentPart
{
}
}
|
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using Microsoft.Performance.SDK.Extensibility;
using Microsoft.Performance.SDK.Extensibility.DataCooking;
using Microsoft.Performance.SDK.Processing;
namespace Microsoft.Performance.SDK.Runtime.E... |
namespace ExrinSampleMobileApp.Framework.Locator
{
public enum Containers
{
Authentication,
Main,
Tabbed
}
}
|
@model IssuesListingViewModel
@* When issues are listed in carousel (New Issues page) *@
@*@if (Model.UseCarousel)
{
@Html.DisplayFor(m => m.Issues)
}*@
@* When issues are listed normally (Approved Issues page) *@
<div class="row">
<ul class="list-group">
@Html.DisplayFor(m => m.Issues)
</ul>
... |
namespace SystemCommandLine.Demo
{
public class GreetOptions
{
public object Greeting { get; set; }
}
} |
using SadConsole.Input;
using SadConsole.UI.Themes;
using SadRogue.Primitives;
using System;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
namespace SadConsole.UI.Controls
{
/// <summary>
/// A scrollable list control.
/// </summary>
[DataContract]
public c... |
namespace Mvc3Host.Services {
using Mvc3Host.Models;
using MvcTurbine.ComponentModel;
public class ServiceRegistry : IServiceRegistration {
public void Register(IServiceLocator locator) {
locator.Register<IFooService, FooService>();
locator.Register(() => new Person... |
//____________________________________________________________________________
//
// Copyright (C) 2018, Mariusz Postol LODZ POLAND.
//
// To be in touch join the community at GITTER: https://gitter.im/mpostol/TP
//____________________________________________________________________________
namespace TPA.Reflection... |
namespace Switchvox.Backups
{
class Apply
{
}
}
|
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Exentials.MdcBlazor.ServerDemo.Components
{
public partial class DemoComponent
{
[Parameter] public RenderFragment TopBar { get; set; }
[Parameter] ... |
using System.Collections.Generic;
namespace Configurator
{
public interface IReader
{
List<string> Read(string path);
}
}
|
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using Google.Apis.Customsearch.v1;
using ApiServer.Models;
using Newtonsoft.Json.Linq;
using System.Linq;
namespace ApiServer
{
public class GoogleCustomSearchModule : ISearchModule
{
private static Go... |
namespace SpecFirst.Core.DecisionTable.Parser
{
using System;
using System.Linq;
using System.Xml.Linq;
public sealed class TableTypeParser
{
public TableType Parse(XElement table)
{
var firstRow = table.Descendants("tr").First();
var column = firstRow.Desce... |
using System;
using System.Runtime.InteropServices;
using ClangNet.Native;
namespace ClangNet
{
/// <summary>
/// Managed Clang Index Objective-C Property Declaration Info
/// </summary>
public class ClangIndexObjCPropertyDeclarationInfo : ClangIndexInfo
{
/// <summary>
/// Native ... |
namespace Memories.Business.Models
{
public class BookImageUI : BookUI
{
private byte[] _imageSource;
public byte[] ImageSource
{
get { return _imageSource; }
set { SetProperty(ref _imageSource, value); }
}
public BookImageUI()
{
... |
namespace ComputerBlueprintContext
{
public class PowerConnectorDetails : IConnectionDetails, IPinoutProvider
{
public Pinout Pinout { get; }
}
} |
using System;
using System.Collections.Generic;
namespace Cortside.Health.Models {
/// <summary>
/// Health
/// </summary>
public class HealthModel : ServiceStatusModel {
/// <summary>
/// The service identifier
/// </summary>
public string Service { get; set; }
... |
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Oakland Software Incorporated" email="general@oaklandsoftware.com"/>
// <version>$Revision$</version>
// </file>
using System;
using System.Windows.Forms;
using ICSharpCode.Core;
using No... |
namespace Vimeo.Api.NetStandards.Types
{
public class File
{
}
} |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using HorseShow.Model;
using Parse;
namespace HorseShow.Droid
{
public class ParseStorage : IParseStorage
{
static ParseStorage HsEventServiceInstance = new ParseStorage();
public static ParseStorage Default { get { return HsEventSer... |
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
using System.Threading.Tasks;
namespace Gov.Jag.PillPressRegistry.Public.ViewModels
{
public enum ProductPurp... |
namespace Schierle.Documentor.Test.Utils.EnumerableExtensionsTests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public partial class EnumerableExtensionsTest
{
}
}
|
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DynamicSugar;
using System.Dynamic;
namespace DynamicSugarSharp_UnitTests{
[TestClass]
public class StringFormat_UnitTests {
[TestMethod]
public voi... |
// Copyright 2013 Cultural Heritage Agency of the Netherlands, Dutch National Military Museum and Trezorix bv
//
// 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... |
namespace Anvil.Payloads.Request.Types
{
public class GeneratePdfHtml
{
public string? Html { get; set; }
public string? Css { get; set; }
}
} |
namespace Stopify.Services.Models
{
using System;
using Microsoft.AspNetCore.Http;
public class ProductCreateServiceModel
{
public string Name { get; set; }
public decimal Price { get; set; }
public IFormFile Picture { get; set; }
public DateTime ManufacturedOn { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace CodapaloozaAPI.Models
{
[DataContract]
public class Search
{
public class Coordinate
{
public double latitude { get; set; }
public do... |
using Bisner.Constants;
using Bisner.Mobile.Core.Helpers;
using Bisner.Mobile.Core.ViewModels;
using Bisner.Mobile.Core.ViewModels.Chat;
using Bisner.Mobile.Core.ViewModels.Dashboard;
using Bisner.Mobile.Core.ViewModels.Feed;
using MvvmCross.Core.ViewModels;
namespace Bisner.Mobile.Core
{
public class BisnerAppSta... |
using Abp;
using System;
using System.Collections.Generic;
using System.Text;
namespace PearAdmin.AbpTemplate.DataExporting.Excel.Dto
{
/// <summary>
/// 从Excel导入记录请求参数
/// </summary>
public class ImportRecordsFromExcelJobArgs
{
public int? TenantId { get; set; }
public Guid Binar... |
using WebMarkupMin.Core;
namespace WebMarkupMin.Yui
{
/// <summary>
/// YUI JS Minifier factory
/// </summary>
public sealed class YuiJsMinifierFactory : IJsMinifierFactory
{
/// <summary>
/// Gets or sets a minification settings used to configure the YUI JS Minifier
/// </summary>
public YuiJsMinificati... |
using System.IO;
using System.Linq;
namespace Forge.Forms.LiveReloading.Extensions
{
internal static class DirectoryExtensions
{
/// <summary>
/// Finds the project root.
/// </summary>
/// <param name="directoryPath">The directory path.</param>
/// <param name="maxUpwa... |
/*Copyright 2015 Sean Finch
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, software
distr... |
namespace P03_StudentSystem
{
using System;
class StartUp
{
static void Main(string[] args)
{
StudentSystem studentSystem = new StudentSystem();
while (true)
{
string input = Console.ReadLine();
studentSystem.ParseCommand(... |
using Subsonic.Client.EventArgs;
using Subsonic.Client.Handlers;
using Subsonic.Client.Models;
using System;
namespace Subsonic.Client.Monitors
{
public class ChatMonitor<T> : IObserver<ChatModel> where T : class, IDisposable
{
private IDisposable _cancellation;
public event Action... |
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef
using Beef.Entities;
using NUnit.Framework;
using System.Collections.Generic;
namespace Beef.Core.UnitTest.Core
{
[TestFixture]
public class ValidationExceptionTest
{
[Test]
public void Ctor_Null... |
using System;
using System.Collections.Generic;
using System.Text;
using Traveller.Core.Providers;
using Traveller.Models;
using Traveller.Models.Abstractions;
using Traveller.Models.Vehicles.Abstractions;
namespace Traveller.Core
{
public class Engine
{
private const string TerminationCommand = "Exit... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.