content stringlengths 23 1.05M |
|---|
using Microsoft.Extensions.Configuration;
namespace NUnit.DFM.Interfaces
{
public interface IConfigurationBuilderSetup
{
IConfigurationRoot Create();
}
}
|
using AngleSharp.Dom;
using AngleSharp.Dom.Html;
using ComboRox.Core.Utilities.SimpleGuard;
namespace Html2Amp.Sanitization.Implementation
{
public class AudioSanitizer : MediaSanitizer
{
public override bool CanSanitize(IElement element)
{
return element != null && element is IHtmlAudioElement;
}
publi... |
using System;
using UltimaOnline;
using UltimaOnline.Mobiles;
using UltimaOnline.Items;
using UltimaOnline.Gumps;
using UltimaOnline.Engines.Quests;
namespace UltimaOnline.Engines.Quests.Ninja
{
public class Zoel : BaseQuester
{
[Constructable]
public Zoel() : base("the Masterful Ta... |
using System;
using Grasshopper.Kernel;
using Grasshopper.Kernel.Parameters;
using DB = Autodesk.Revit.DB;
namespace RhinoInside.Revit.GH.Components.Material
{
public class MaterialIdentity : TransactionalChainComponent
{
public override Guid ComponentGuid => new Guid("222B42DF-16F6-4866-B065-FB77AADBD973");
... |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Multiplier;
using BestHTTP.Sec... |
namespace EmailSender.Services.SmtpService.Models;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
[ExcludeFromCodeCoverage]
public class EmailData
{
public string From { get; set; }
public List<string> To { get; set; }
public List<string> Cc { get; set; }
p... |
using Assets.Core.Controller;
using Assets.Core.Controller.Handlers.app;
using Assets.Core.Utils;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace Assets.Core.View
{
public class LoginPopupView : MonoBehaviour
{
[Header("Inputs")]
public TMP_InputField emailInput;
publi... |
namespace SpanJson.Formatters.Dynamic
{
static class DynamicExtensions
{
public static string ToJsonValue(this object input)
{
if (input is ISpanJsonDynamic dyn)
{
return dyn.ToJsonValue();
}
return input?.ToString();
}
... |
using EasySharpWpf.ViewModels.Rails.Edit.Core;
using EasySharpWpf.Views.ValidationRules.Core;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
using System.Windows.Data;
using EasySharpStandardMvvm.ViewModels.Rails.Edit.Core;
namespace EasySharpWpf.ViewModels.Rails.Edit.Implementation
{
inter... |
@{
ViewBag.Title = "Game Play";
}
<h2>Game Play</h2>
<form action="/Home/FireTop">
Top: <input type="range" name="possition" min="0" max="100" />
<input type="submit" value="Fire Top"/>
</form>
<form action="/Home/FireBottom">
Bottom: <input type="range" name="possition" min="0" max="100" />
<in... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Runtime.InteropServices;
using System.Collections;
using Sandbox.Common;
using Sandbox.Common.ObjectBuilders;
using Sandbox.Definitions;
using Sandbox.Engine;
using Sandbox... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class VelocityEverywhereExtension
{
public static Vector3 GetVelocity(this GameObject gameObject)
{
var rigidBody = gameObject.GetComponent<Rigidbody>();
if (rigidBody)
return rigidBody.vel... |
using System;
namespace Adriva.Extensions.Reporting.Abstractions
{
public sealed class FilterNameComparer : StringComparer
{
public override int Compare(string x, string y)
{
if (string.IsNullOrWhiteSpace(x) && string.IsNullOrWhiteSpace(y)) return 0;
if (string.IsNullOrW... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Attacker : MonoBehaviour
{
[Range(0f, 4f)] [SerializeField] float walkSpeed = 1f;
[SerializeField] float attack = 3f;
bool canMove = false;
Animator animator;
LevelController levelController;... |
using Newtonsoft.Json;
using System;
namespace This4That_library.Models.Integration
{
[Serializable]
public abstract class APIRequestDTO
{
private string userID;
[JsonProperty(PropertyName = "userId", Required = Required.Always)]
public string UserID
{
... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace Voxell.Rasa
{
public enum RasaState { Idle = 0, Running = 1, Success = 2, Failure = 3 }
public enum CapacityInfo { Single = 0, Multi = 1 }
public struct PortInfo
{
public CapacityInfo capacityInfo;
public Type portType;
p... |
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Windows.Controls;
n... |
namespace Cofoundry.Domain
{
/// <summary>
/// A document asset is a non-image file that has been uploaded to the
/// CMS. The name could be misleading here as any file type except
/// images are supported, but at least it is less ambigous than the
/// term 'file'.
/// </summary>
public s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Innovator.Client.QueryModel
{
public class NegationOperator : UnaryOperator, INormalize
{
public override int Precedence => (int)PrecedenceLevel.Negation;
public override void Visi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MySql.Data;
using MySql.Data.MySqlClient;
namespace ServerLib
{
/// <summary>
/// 提供Model层与mysql的接口
/// </summary>
public class ModelBasic
{
public MySqlConnection conne... |
using IRunes.App.Controllers;
using MiniServer.HTTP;
using MiniServer.WebServer;
using System.IO;
namespace IRunes.App
{
public class Launcher
{
public static void Main(string[] args)
{
// Web Server Routing Table
ServerRoutingTable routes = new ServerRoutingTable();
... |
using BankApi.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace BankApi.Repositories
{
public class CustomerRepository : ICustomerRepository
{
private readonly BankdbContext _bankdbContext;
pu... |
using System.Security.Cryptography;
namespace BingoX.Security
{
/// <summary>
/// 非对称加密密钥结构
/// </summary>
public struct AsymmetricKey
{
/// <summary>
/// 公钥(XML格式)
/// </summary>
public string Public { get; set; }
/// <summary>
/// 私钥(XML格式)
... |
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using neobooru.Models;
using neobooru.Utilities.Attributes;
namespace neobooru.ViewModels
{
public class PostUploadViewModel
{
[ValidImage(allowedContentTypes: new string[] { "jpg", "jpeg", "pjpeg", "png", "x-png" }... |
// CamelliaWrapEngine
using Org.BouncyCastle.Crypto.Engines;
public class CamelliaWrapEngine : Rfc3394WrapEngine
{
public CamelliaWrapEngine()
: base(new CamelliaEngine())
{
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Abp.Extensions
{
public static class EnumExtensions
{
public static string GetDisplayName(FieldInfo field)... |
using ERP.Domain.Core.GuardClauses;
using ERP.Domain.Core.Models;
namespace ERP.Domain.Modules.Roles
{
public class RolePermission : BaseAuditableEntity
{
public RolePermission()
{ }
private RolePermission(Guid roleId, int permissionId, Guid createdBy)
{
RoleId = ro... |
using System;
namespace MobilePhone
{
using static GSM_Test.PseudoTestGSM;
class Engine
{
static void Main()
{
DisplayGSMsInfo();
DisplayIPhone4sInfo();
}
}
} |
namespace dto.endpoint.auth.silentlogin
{
public class SilentLoginRequest{
///<Summary>
///Whether this is a newly created client logging into demo for the very first time after account creation.
///</Summary>
public bool firstTimeDemoLogin { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Delight
{
/** Utilities for encoding and decoding data using Base64 and variants thereof */
public sealed partial class Base64 : Delight.Shim.Shimmed_PHPOnly
{
/**
* The la... |
using UnityEngine;
namespace PlayFab.Internal
{
//public to be accessible by Unity engine
public class SingletonMonoBehaviour<T> : MonoBehaviour where T : SingletonMonoBehaviour<T>
{
private static T m_instance;
public static T instance
{
get
{
... |
using System;
using System.Runtime.InteropServices;
using System.Security;
namespace __Primitives__
{
partial class WinAPI
{
partial class COM
{
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("89c31040-846b-11ce-97d3-00aa0055595a")]
[SuppressUnmanagedCodeSecurity]
public i... |
using Repo1.Core.ns11.Configuration;
namespace Repo1.D8Uploader.Lib45.Configuration
{
public class UploaderCfg : DownloaderCfg
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Rigidbody2D))]
public class missile : MonoBehaviour
{
public Transform target;
private Rigidbody2D rb;
public float speed = 5f;
public float firespeed = 100f;
public float rotationSpeed = 0f;
... |
namespace aspnetcore_custom_exception_middleware.Infrastructure.Extensions
{
using Microsoft.AspNetCore.Builder;
using Middleware;
public static class MiddlewareExtensions
{
public static IApplicationBuilder UseNumberChecker(this IApplicationBuilder app) =>
app.UseMiddleware<Number... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CyPhy = ISIS.GME.Dsml.CyPhyML.Interfaces;
using CyPhyClasses = ISIS.GME.Dsml.CyPhyML.Classes;
namespace CyPhy2Modelica_v2.Modelica
{
public class Metric : IComparable<Metric>
{
public string Name { g... |
namespace Weasel.SqlServer.SqlGeneration
{
// TODO -- move to Weasel
public class WhereInSubQuery : ISqlFragment
{
private readonly string _tableName;
public WhereInSubQuery(string tableName)
{
_tableName = tableName;
}
public void Apply(CommandBuilder b... |
using System.ComponentModel;
namespace LineReadyApi.Models
{
public class FormField
{
public const string DefaultType = "string";
public string Label { get; set; }
public int? MaxLength { get; set; }
public int? MinLength { get; set; }
public string Name { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace JwtSecureWebApi
{
public static class Constants
{
public static string Issure = "hemant.shelar";
public static string Audience = "my.audience";
public static string SecurityKey = @"This_is_my_super_stron... |
// Based on https://github.com/aspnet/EntityFrameworkCore
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using JetBrains.Annotations;
namespace Microsoft.EntityFrameworkCore.Infrastructure
{
public class CypherModelCustomizer: RelationalModel... |
/*
* Copyright(c) 2019 Samsung Electronics Co., Ltd.
*
* 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... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OAHub.Base.Models.OrganizationModels
{
public class ApiMember
{
public string UserId { get; set; }
public string Position { get; set; }
public DateTime JoinAt { get; set; }
public bool IsLocked { ge... |
using UnityEngine;
[System.Serializable, CreateAssetMenu(menuName = "Framework Data/Variable/Integer", order = 2)]
public class IntVariable : DataVariable<int>
{
MinMaxClamp<int> ClampValue = null;
#region PRIVATE METHODS
private void InternalClamping()
{
RuntimeValue = Mathf.Clamp(Runtime... |
using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using MetadataExtractor;
using NativeMedia;
using Sample.Helpers;
namespace Sample.ViewModels
{
public class MediaFileInfoVM : BaseVM
{
public MediaFileInfoVM(IMediaFile file)
{
File = file;
... |
using System;
namespace DirectX12GameEngine.Core
{
public static class MemoryExtensions
{
public static unsafe void CopyTo(this IntPtr source, IntPtr destination, int sizeInBytesToCopy)
{
CopyTo(new ReadOnlySpan<byte>(source.ToPointer(), sizeInBytesToCopy), destination);
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnTile : MonoBehaviour
{
public GameObject tileToSpawn;
public GameObject referenceObject;
public float timeOffset = 0.4f;
public float distanceBetweenTiles = 5.0F;
public float randomValue = 0.8f;
pr... |
using System;
using Iviz.Controllers;
using Iviz.Core;
using Iviz.Displays;
using Iviz.Resources;
using Iviz.XmlRpc;
using JetBrains.Annotations;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace Iviz.App.ARDialogs
{
[RequireComponent(typeof(BoxCollider))]
public sealed class A... |
using Dapper.Contrib.Extensions;
using Fap.Core.Infrastructure.Metadata;
using System;
using System.Collections.Generic;
using System.Text;
namespace Fap.Core.Infrastructure.Config
{
/// <summary>
/// 配置项
/// </summary>
[Serializable]
public class FapConfig : BaseModel
{
/// <summary>
... |
using System;
using System.Collections;
using System.Reflection;
using UnityEditor;
using UnityEditorInternal;
using static UnityEditorInternal.ReorderableList;
using UnityEngine;
using UObject = UnityEngine.Object;
namespace XT.Base {
internal static class PaneGUI {
public static void Space(float pixels) {
GUILay... |
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
using API.Client;
using DLCS.Mediatr.Behaviours;
using MediatR;
using Microsoft.Extensions.Logging;
namespace Portal.Behaviours
{
/// <summary>
/// Audits request by logging message type/contents and UserId
///... |
// ==========================================================================
// AppEventDispatcher.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ====================================================... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Binary_Tree_Printer;
namespace CPrintTester
{
class Program
{
private class Node : IPrintableBinaryNode
{
private readonly int _num;
public Node Left { get; set; }
public Node Right... |
namespace BullOak.Repositories.EventStore.Test.Integration.Contexts
{
using BullOak.Repositories.EventStore.Test.Integration.Components;
using BullOak.Repositories.Session;
using System;
using System.Collections.Generic;
internal class TestDataContext
{
internal Guid CurrentStreamId { ... |
namespace Telerik.UI.Xaml.Controls.Input
{
/// <summary>
/// Provides a set of predefined font weights as static property values.
/// </summary>
public enum FontWeightName
{
/// <summary>
/// Specifies a "Black" font weight.
/// </summary>
Black,
/// <summar... |
using System;
using System.Collections;
using System.Collections.Generic;
using Cysharp.Threading.Tasks;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
namespace Tests
{
public class DelayTest
{
[UnityTest]
public IEnumerator DelayIgnore() => UniTask.ToCoroutine(async (... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Detective.Query.Rank;
using Detective.Query.Result;
namespace Detective.Search.Rank
{
public class DefaultRanker
{
public ScoredMatch[] Rank(CandidateRecordSet candid... |
using System;
using UnityEngine;
using UnityEngine.Assertions;
using Grove.Actions;
using Grove.Common;
using Grove.Properties;
namespace Grove.Properties
{
public abstract class PropertySetter<T, TProperty> : ActionBase
where TProperty : Property<T>
{
[SerializeField]
protected TProperty m_Target;
protect... |
namespace MyApp.Core;
public interface ICharacterRepository
{
Task<CharacterDetailsDto> CreateAsync(CharacterCreateDto character);
Task<Option<CharacterDetailsDto>> ReadAsync(int characterId);
Task<IReadOnlyCollection<CharacterDto>> ReadAsync();
Task<Status> UpdateAsync(int id, CharacterUpdateDto chara... |
using System;
using System.Runtime.InteropServices;
namespace Microsoft.Git.CredentialManager.Interop
{
/// <summary>
/// Marshaler for converting between .NET strings (UTF-16) and byte arrays (UTF-8).
/// Uses <seealso cref="U8StringConverter"/> internally.
/// </summary>
public class U8StringMars... |
namespace ByrneLabs.TestoRoboto.HttpServices
{
public enum OAuth2TokenLocation
{
Headers,
QueryParameters
}
}
|
using OpenAL;
namespace Bronze.Audio
{
public class Sound
{
internal uint Buffer { get; }
public AudioType Type
{
get
{
Al.GetBufferi(Buffer, Al.Channels, out int channels);
return channels == 1 ? AudioType.Positional : AudioType... |
namespace Svg
{
/// <summary>
/// Represents a list of re-usable SVG components.
/// </summary>
[SvgElement("defs")]
public partial class SvgDefinitionList : SvgElement
{
public override SvgElement DeepCopy()
{
return DeepCopy<SvgDefinitionList>();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KeyGame
{
class Stats
{
public int Total = 0;
public int Missed = 0;
public int Correct = 0;
public int Accuracy = 0;
public voi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bss.Optimization.Appetizers.Entities
{
public class MenuItemCollection : List<MenuItem>
{
public MenuItemCollection()
{
this.Add(new MenuItem() ... |
using SecureApp.Licensing;
namespace Demo
{
internal static class Program
{
private static readonly Base Base = new Base();
public static void Main()
{
for (;;)
{}
}
}
} |
//===============================================================================
// Microsoft patterns & practices Enterprise Library
// Exception Handling Application Block
//===============================================================================
// Copyright © Microsoft Corporation. All rights reserved.
//... |
using System.Threading.Tasks;
using MyLab.Search.Delegate;
using MyLab.Search.Delegate.Models;
using MyLab.Search.Delegate.Services;
using MyLab.Search.Delegate.Tools;
using Nest;
using Newtonsoft.Json;
using Xunit;
namespace UnitTests
{
public partial class RequestBuilderBehavior
{
[Theory]
[... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*-------------------------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entity
{
public class Invoice
{
public int InvoiceId { get; set; }
[Re... |
namespace Assistant.Modules.CodeExec
{
public interface ICompiledLanguage : ILanguage
{
public string CompileCommand { get; }
}
}
|
namespace OmniXaml.Wpf
{
using System.Xaml;
public class ObjectWriterFactory : IXamlObjectWriterFactory
{
public XamlObjectWriterSettings GetParentSettings()
{
return new XamlObjectWriterSettings();
}
public XamlObjectWriter GetXamlObjectWriter(XamlObjectWriterS... |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////... |
using System.Collections.Generic;
using System.IO.Packaging;
using IOPath = System.IO.Path;
namespace PdfSharp.Xps.XpsModel
{
/// <summary>
/// Binds an ordered sequence of fixed pages together into a single multi-page document.
/// </summary>
public class FixedDocument : XpsElement
{
/// <summary>
... |
using System;
using System.Threading;
using System.ComponentModel;
using System.Windows.Forms;
namespace HotPlate.WinForms
{
public partial class Main : Form
{
private readonly Core.HotPlate hotPlate;
private int turns;
public Main()
{
InitializeComponent();
... |
using System;
using System.Windows;
namespace Dynamo.Wpf.ViewModels.Watch3D
{
[Flags]
internal enum DynamoMeshShaderStates
{
None = 0,
/// <summary>
/// Used to determine if alpha should be lowered.
/// </summary>
IsFrozen = 1,
/// <summary>
/// Used... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Gherkin.Ast;
using Gherkin.AstGenerator;
using NUnit.Framework;
namespace Gherkin.Specs
{
[TestFixture]
public class ParserErrorsTe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Social.Base
{
public class WallEntry
{
public string Id;
public string FromId;
public string FromName;
public string Message;
public WallEntryType Type;
public int Li... |
namespace Solrevdev.InstagramBasicDisplay.Core.Instagram
{
/// <summary>
/// A typed version of appsettings used for configuration, It is common to have development
/// and production credentials when consuming the basic display api
/// </summary>
public class InstagramCredentials
{
/// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Csla;
namespace Rolodex
{
public partial class CompanyEditUoW
{
private CompanyEditUoW() { }
#region Factory Methods
public static CompanyEditUoW GetCompanyEdit(int companyID)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TwitchAPI.Models;
namespace TwitchAPI.Data
{
public interface ITwitchRepository
{
bool SaveChanges();
IEnumerable<User> GetAllUsers();
User GetUserByUserId(int id);
User Ge... |
using LineageServer.Server;
using System;
using System.IO;
namespace LineageServer.Serverpackets
{
class S_Emblem : ServerBasePacket
{
private const string S_EMBLEM = "[S] S_Emblem";
public S_Emblem(int emblemId)
{
string emblem_file = emblemId.ToString();
FileI... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Destructor_01
{
class Program
{
static void Main(string[] args)
{
Third t = new Third();
/* Run with F5 then check Output W... |
using MediatR;
using System;
using System.Collections.Generic;
namespace Watchster.Application.Features.Commands
{
public class CreateMovieCommand : IRequest<int>
{
public int TMDbId { get; set; }
public string Title { get; set; }
public DateTime? ReleaseDate { get; set; }
publ... |
using SF.IP.Domain.Common;
using SF.IP.Domain.ValueObjects;
using System;
using System.Collections.Generic;
namespace SF.IP.Domain.Entities;
// This will work as AggregateRoot
public class InsurancePolicy : BaseEntity //, Some IAggregateInterface
{
public InsurancePolicy()
{
//Id = Guid.NewGuid();
... |
#addin "Cake.Markdownlint"
#addin "Cake.Issues&prerelease"
#addin "Cake.Issues.MsBuild&prerelease"
#addin "Cake.Issues.Markdownlint&prerelease"
#addin "Cake.Issues.DupFinder&prerelease"
#addin "Cake.Issues.InspectCode&prerelease"
#addin "Cake.Issues.Reporting&prerelease"
#addin "Cake.Issues.Reporting.Generic&prerelease... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
//trabalhando com imagens
using System.Drawing;
namespace Azzi_Sprite_Compiler_v2
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
... |
using System.Runtime.Serialization;
using DvachBrowser4.Core.Models.Other;
namespace DvachBrowser4.Core.Models.Links
{
/// <summary>
/// Информация об избранном треде.
/// </summary>
[DataContract(Namespace = CoreConstants.DvachBrowserNamespace)]
public class FavoriteThreadInfo : ShortThreadInfo
... |
using System;
using System.Collections.Generic;
using System.Linq;
using UBaseline.Shared.Property;
using Uintra.Features.Breadcrumbs.Models;
using Uintra.Features.Navigation.Models;
namespace Uintra.Core.Article
{
public class ArticlePageViewModel : UBaseline.Shared.ArticlePage.ArticlePageViewModel
{
... |
using Marten.Schema;
using Marten.Storage;
namespace Marten.Events
{
public class StreamsTable : Table
{
public StreamsTable(EventGraph events) : base(new DbObjectName(events.DatabaseSchemaName, "mt_streams"))
{
AddPrimaryKey(events.StreamIdentity == StreamIdentity.AsGuid
... |
namespace Esfa.Vacancy.Api.Types
{
public struct GeoPoint
{
public GeoPoint(double latitude, double longitude)
{
Longitude = (decimal)longitude;
Latitude = (decimal)latitude;
}
/// <summary>
/// The longitude.
/// </summary>
publi... |
using Newtonsoft.Json;
namespace Notion.Client
{
public class NumberProperty : Property
{
public override PropertyType Type => PropertyType.Number;
[JsonProperty("number")]
public Number Number { get; set; }
}
public class Number
{
[JsonProperty("format")]
... |
using System.Threading.Tasks;
using Nervestaple.EntityFrameworkCore.Models.Criteria;
using Nervestaple.EntityFrameworkCore.Models.Entities;
using Nervestaple.EntityFrameworkCore.Models.Parameters;
namespace Nervestaple.WebService.Services {
/// <summary>
/// Provides an interface that the all read onl... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Liath.Vor.Contracts.DataAccess;
using Liath.Vor.DataAccess.Extensions;
using Liath.Vor.Models;
using Liath.Vor.Session;
using Liath.Vor.DataAccess.Extensions.IDataReaderExtension... |
using System;
using System.Collections;
using Tamir.SharpSsh;
using System.IO;
namespace sharpSshTest.sharpssh_samples
{
/// <summary>
/// Summary description for SshExeTest.
/// </summary>
public class SshExpectTest
{
public static void RunExample()
{
try
{
SshConnectionInfo input =... |
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace YC.Micro.Core
{
public static class AppServiceExtensions
{
/// <summary>
/// 注册应用程序域中所有有AppServ... |
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.IO;
#if UNITY_2018_1_OR_NEWER
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
#elif UNITY_5_6_OR_NEWER
using UnityEditor.Build;
#endif
namespace AlmostEngine.Screenshot
{
public static class FrameworkDependency
{
... |
using System;
namespace Contract.Architecture.Backend.Core.Contract.Logic.Modules.SessionManagement.Sessions
{
public interface ISession
{
DateTime ExpiresOn { get; set; }
string Name { get; set; }
string Token { get; set; }
Guid? EmailUserId { get; set; }
}
} |
using System;
using Microsoft.OpenApi.Any;
using Microsoft.OpenApi.Models;
namespace Swashbuckle.AspNetCore.SwaggerGen.Test
{
public class VendorExtensionsDocumentFilter : IDocumentFilter
{
public void Apply(OpenApiDocument swaggerDoc, DocumentFilterContext context)
{
context.Schem... |
using MonitorWang.Core.Geckoboard.DataProvider;
using MonitorWang.Core.Geckoboard.Entities;
namespace MonitorWang.Core.Geckoboard
{
public interface IGeckoboardDataServiceImpl
{
/// <summary>
///
/// </summary>
/// <returns></returns>
GeckoPieChart GetGeckobo... |
using System;
using System.Collections.Generic;
using Autofac;
using SlackNet.Handlers;
namespace SlackNet.Autofac
{
public class AutofacSlackServiceConfiguration : FactorySlackServiceConfigurationWithDependencyResolver<AutofacSlackServiceConfiguration, IComponentContext>
{
private readonly ContainerB... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.