text stringlengths 1 932k |
|---|
using Android.App;
using Android.Bluetooth;
using Android.OS;
using Java.Lang;
using System;
using System.Linq;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading;
using Exception = System.Exception;
namespace Plugin.BluetoothLE.Internals
{
public class DeviceContext
{
... |
using Microsoft.AspNetCore.Components.Rendering;
using Microsoft.Extensions.Localization;
namespace MComponents.MGrid
{
public interface IMGridObjectFormatter<T>
{
IStringLocalizer<MComponentsLocalization> L { get; set; }
string FormatPropertyColumnValue(IMGridPropertyColumn pColumn, IMProper... |
namespace GuruDataModel
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Resposta")]
public partial class Resposta
{
[Key]
[Column(... |
// Copyright (C) 2009-2021 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: Alex Yakunin
// Created: 2009.03.26
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using Xtensive.Coll... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... |
/*
Copyright 2021 Lip Wee Yeo Amano
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;
using System.Diagnostics.CodeAnalysis;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Outlining;
namespace ExpandRegions
{
public class RegionTextViewHandler
{
#region Private Fields
private IWpfTextView _textView;
private IOutliningManager ... |
namespace Springboard365.Xrm.Plugins.Core
{
using Microsoft.Xrm.Sdk;
using Springboard365.Xrm.Plugins.Core.Constants;
using Springboard365.Xrm.Plugins.Core.Extensions;
using Springboard365.Xrm.Plugins.Core.Framework;
public abstract class UpdatePlugin : Plugin
{
protected override void... |
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Xml;
using AWSPowerShellGenerator.Analysis;
using AWSPowerShellGenerator.Generators;
using AWSPowerShellGenerator.ServiceConfig;
using AWSPowerShellG... |
using MagusCharacterGenerator.GameSystem.Qualifications;
using MagusCharacterGenerator.Qualifications;
using Mtf.Helper;
using System.Linq;
namespace MagusCharacterGenerator.GameSystem.Psi
{
static class PsiPointCalculator
{
public static (IPsi Psi, ushort PsiPoints, byte PsiPointsModifier) Calculate(... |
#region License
//
// InputAttribute.cs July 2006
//
// Copyright (C) 2006, Niall Gallagher <niallg@users.sf.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.apac... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DisplayStats : MonoBehaviour
{
public Text lastScore;
public Text highestScore;
void OnEnable()
{
if (PlayerPrefs.HasKey("lastscore"))
lastScore.text = "Last Score : "... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence;
using Umbraco.Core.PropertyEditors;
using umbraco.BasePages;
using umbraco.BusinessLogic;
usin... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Globalization;
namespace g3
{
/// <summary>
/// Writes various mesh file formats. Format is determined from extension. Currently supports:
/// * .obj : Wavefront OBJ Format https://en.wikipedia.org/wiki/Wavefron... |
// DecorationInventory
Decompiled was cancelled. |
namespace EfCoreFunctionApp.Commands.UserCommand;
public record CreateUserCommand(Guid Id, string Type, string UserToken, string UserName, string Password, string FirstName, string LastName, string Email, string PhoneNumber); |
using System;
using BrnShop.Core;
namespace BrnShop.Web.Framework
{
/// <summary>
/// 移动前台工作上下文类
/// </summary>
public class MobileWorkContext
{
public ShopConfigInfo ShopConfig = BSPConfig.ShopConfig;//商城配置信息
public bool IsHttpAjax;//当前请求是否为ajax请求
public string IP;//用户i... |
// This file was automatically generated by the code gen tool - do not modify.
using System ;
using scg = System.Collections.Generic ;
using sd = System.Data ;
using sds = System.Data.SqlClient ;
using sr = System.Reflection ;
using mst = Microsoft.SqlServer.Types ;
using mss = Microsoft.SqlServer.Server ;
using acr... |
@{
Layout = null;
}
<h2>Contact Us
</h2>
<p>
Contact us at
<a href="mailto:angularstart@technovert.com?Subject=AngularStarter Project Template.">
angularstart@technovert.com
</a>
for any request \ clarifications.
</p>
<p>
Source code and binaries for this template have been released ... |
using System;
using Autodesk.Analytics.Core;
using Autodesk.Analytics.Events;
using Dynamo.Configuration;
using Dynamo.Logging;
using Dynamo.Models;
using Moq;
using NUnit.Framework;
namespace Dynamo.Tests
{
class TestAnalytics
{
public static void Init(IAnalyticsClient client, DynamoModel model)
... |
using System;
using System.Linq;
using PostSharp.Patterns.Contracts;
using ThreatsManager.Interfaces;
using ThreatsManager.Interfaces.Extensions;
using ThreatsManager.Interfaces.ObjectModel;
using ThreatsManager.Interfaces.ObjectModel.ThreatsMitigations;
using ThreatsManager.Utilities;
namespace ThreatsManager.Extens... |
using StandardCollections.ObjectModel;
using StandardCollections.Properties;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Threading;
namespace StandardCollections
{
/// <summary>
/// Provides a collection of objects that ... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Twinvision.BolRetailerApi.ObjectDefinitions;
namespace Twinvision.BolRetailerApi
{
/// <summary>
/// Contains all functions used to communicate to BOL about Pricing
/// </summary>
public class Pricin... |
/*
===============================================================================
EntitySpaces Studio by EntitySpaces, LLC
Persistence Layer and Business Objects for Microsoft .NET
EntitySpaces(TM) is a legal trademark of EntitySpaces, LLC
http://... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace OpenRiaServices... |
// 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.Collections.Generic;
using Microsoft.Extensions.DiagnosticAdapter;
namespace Microsoft.AspNetCore.Mvc
{
public class TestDiagnosticLis... |
using System.Collections.Generic;
using System.Linq;
using FubuMVC.Core.Assets.Files;
using FubuMVC.Core.Runtime;
namespace FubuMVC.Core.Assets
{
public interface IAssetRequirements
{
IEnumerable<string> AllRequestedAssets { get; }
IEnumerable<string> AllRenderedAssets { get; }
void Req... |
using System;
using System.Collections.Generic;
namespace ESFA.DC.ILRLegacy.DataStore.ILR1718EF
{
public partial class AecLearningDeliveryPeriod
{
public int Ukprn { get; set; }
public string LearnRefNumber { get; set; }
public int AimSeqNumber { get; set; }
public int Period {... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Smart_Strength_Backend.Models
{
public class Questionnaire
{
public string DietExperience { get; set; }
public string FitnessGoal { get; set; }
public string ProgressionRate { get... |
using Discord.WebSocket;
using DEA.Services;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace DEA.Entities.Event
{
public abstract class Event
{
protected readonly DiscordSocketClient _client;
protected readonly TaskService _taskService;
public Event(IServiceProv... |
// <copyright file="SkillListViewPlugIn.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.GameServer.RemoteView.Character
{
using System.Collections.Generic;
using System.Linq;
using System.... |
// Copyright 2012-2021 Dmytro Kyshchenko
//
// 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 ag... |
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE.md file or at
* https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.460/blob/master/LICENSE
*
*/
#endregion
using System;
using System.Security.Cryptography;
using System.Text;
name... |
using System;
namespace ST
{
public enum Side
{
Aft,
Forward,
Port,
Starboard,
Top,
Bottom,
}
public static class SideExtensions
{
public static string ToFriendlyString(this Side me)
{
switch (me)
{
... |
namespace PugnaFighting.Web
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
public static class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilde... |
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// package route -- go2cs converted at 2020 October 09 04:51:38 UTC
// import "golang.org/x/net/route" ==> using route = go.golang.org.x.net.route_package
// Or... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
namespace Makaretu.Dns
{
/// <summary>
/// Allows administrators to use several servers for a single domain.
/// </summary>
public class SRVRecord : ResourceRecord
{
/// <summary>
... |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayBossProdAntlegalchainOrderApplyResponse.
/// </summary>
public class AlipayBossProdAntlegalchainOrderApplyResponse : AopResponse
{
/// <summary>
/// 法链业务ID,用于查询上链状态
/// </summa... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ManageLiteAV;
namespace TRTCCSharpDemo
{
public partial class VedioSettingForm : Form
{
private TRTCVideoEncPara... |
using POEApi.Model;
using System.Linq;
namespace Procurement.ViewModel.Filters.ForumExport
{
public class FatedUniqueTargetsFilter : IFilter
{
public FilterGroup Group
{
get { return FilterGroup.Default; }
}
public bool CanFormCategory
{
get { r... |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FluentBootstrap.Tests
{
[TestFixture]
public class TablesFixture
{
[Test]
public void StripedTableProducesCorrectHtml()
{
... |
namespace Proxoft.DocxToPdf.Core
{
internal interface IRenderer
{
RenderingOptions Options { get; }
void CreatePage(PageNumber pageNumber, PageConfiguration configuration);
IRendererPage GetPage(PageNumber pageNumber);
IRendererPage GetPage(PageNumber pageNumber, Point offset... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
using VehicleSale.Demo.Model;
using VehicleSale.Demo.Service;
namespace VehicleSale.Demo.Controllers
{
[Produces("application/json")]
[Route("api/[controller]")]
[ApiCon... |
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE.md file or at
* https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.472/blob/master/LICENSE
*
*/
#endregion
using ComponentFactory.Krypton.Toolkit;
using ExtendedControls.Base.Code.D... |
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
// This code is generated by tool. DO NOT EDIT.
using System.Text.Json.Serialization;
namespace AccelByte.Sdk.Api.Legal.Model
{
publ... |
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x100d_bc47-649061dd")]
public void Method_100d_bc47()
{
ii(0x100d_bc47, 5); push(0x24); /* push 0... |
// <auto-generated />
namespace Infraestructura.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.4.4")]
public sealed partial class in... |
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
namespace SnBatchProcessor.Telega
{
public class TelegaSetup : TelegaBase, ITelegaSetup
{
private readonly IMemoryCache _memoryCache;
public TelegaSetup(IOptions<TelegaOptions> telegaOptions, IMemoryCache memoryCa... |
using System;
using Binance.Application.Logging;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
// ReSharper disable once CheckNamespace
namespace Binance.Application
{
public static class LoggingBuilderExtensions
{
public static ILoggingBuilder AddFile(this ILoggingBuil... |
using System;
namespace Saucery2.Convertors {
internal static class NullableConvertor {
public static T GetValue<T>(this object source) {
var value = source;
var t = typeof (T);
t = Nullable.GetUnderlyingType(t) ?? t;
return (value == null || DBNull.Value.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MovimentoCheve : MonoBehaviour
{
public GameObject R;
public GameObject L;
public GameObject Up;
public GameObject leo;
public GameObject Down;
public float velocidadex;
public float velocidadey;
... |
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using ApiUtil.DataClasses;
namespace ApiUtil
{
public class FileUtil
{
int segmentSize = 45000;
public FileUtil()
{
}
public int GetFileSegCount(long fileSize, int segmentSize)
... |
using GenFx.Validation;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Threading.Tasks;
namespace GenFx
{
/// <summary>
/// Provides the abstract bas... |
using Atlas.Extensions;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Atlas.Tabs;
// Overrides default ObjectHasLinks()
public interface IHasLinks
{
bool HasLinks { get; }
}
public static class TabUtils
{
public static List<Type> IgnoreHighlightTypes { get; set; } = new();
p... |
using System.Drawing;
namespace Canon.Eos.Framework.Eventing
{
public class EosLiveImageEventArgs : EosMemoryImageEventArgs
{
internal EosLiveImageEventArgs(byte[] imageData)
: base(imageData) { }
public Point ImagePosition { get; internal set; }
public long[] Histogram {... |
// 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.Linq.Expressions;
namespace Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal
{
public interface IConditionalRemovingEx... |
using System;
using R5T.D0076.A001;
namespace System
{
public static class IServicesAggregation01Extensions
{
public static T FillFrom<T>(this T aggregation,
IServicesAggregation01 other)
where T : IServicesAggregation01
{
(aggregation as R5T.D0074.A001.IS... |
//
// Copyright (C) DataStax 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 la... |
// 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;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeA... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Rem.Attributes;
using Rem.Bot;
namespace Rem.Commands
{
[HiddenModule]
[Name("Admin")]
public class AdminModule : ModuleBase
{
private readonly BotState ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
using Microsoft.DotNet.RemoteExecutor;
using Xunit;
... |
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace EzrealClient.Internals
{
/// <summary>
/// 表示式委托工具类
/// </summary>
public static class LambdaUtil
{
/// <summary>
/// 创建属性的设置委托
/// </summary>
/// <typeparam name="TDe... |
// ----------------------------------------------------------------------------
// The MIT License
// LeopotamGroupLibrary https://github.com/Leopotam/LeopotamGroupLibraryUnity
// Copyright (c) 2012-2017 Leopotam <leopotam@gmail.com>
// ----------------------------------------------------------------------------
using... |
using Nancy;
namespace OmniSharp.CheckAliveStatus
{
public class CheckAliveStatusModule : NancyModule
{
public CheckAliveStatusModule()
{
Post["CheckAliveStatus", "/checkalivestatus"] = x =>
{
return Response.AsJson(true);
};
... |
namespace HonkPerf.NET.RefLinq;
public static partial class ActiveLinqExtensions
{
public static RefLinqEnumerable<T, Prepend<T, TPrevious>> Prepend<T, TPrevious>(this RefLinqEnumerable<T, TPrevious> prev, T toPrepend)
where TPrevious : IRefEnumerable<T>
=> new(new(prev.enumerator, toPrepend));
} |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using NetTopologySuite.Geometries;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
using PostgeSqlDemo.EntityFrameworkCore;
usi... |
namespace TaurusSoftware.WebUntisNet.Rpc.Types
{
/// <summary>
/// Base-Class for all Requests
/// </summary>
public abstract class RpcRequest<T> : IRpcRequest where T : IRpcRequestParams, new()
{
public RpcRequest()
{
@params = new T();
}
public abstract... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace API.Models
{
public class Post
{
public long Id { get; set; }
public string Name { get; set; }
public DateTime PublishedAt { get; set; }
public string Content { get; set; }
}
} |
// This file was automatically generated by the code gen tool - do not modify.
using System ;
using scg = System.Collections.Generic ;
using sd = System.Data ;
using sds = System.Data.SqlClient ;
using sr = System.Reflection ;
using mst = Microsoft.SqlServer.Types ;
using mss = Microsoft.SqlServer.Server ;
using acr... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IPolicy.cs" company="Catel development team">
// Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// --------------------------------------... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace OpenSoftware.DgmlTools.Reflection
{
public class TypesLoader : IDisposable
{
private readonly IEnumerable<string> _assemblyPaths;
private readonly ICollection<IExcludeFilter> ... |
using System;
using CommandLine;
using DotNetFs;
using DotNetFs.Io;
using DirectoryInfo = System.IO.DirectoryInfo;
namespace ReadPath
{
class Program
{
static void Main(string[] args)
{
var parser = Parser.Default.ParseArguments<Options>(args)
.WithParsed(opts => Pr... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using StankinsHelperCommands;
using StankinsObjects;
namespace Stankins.Interpreter
{
public interface IInterpreter:IValidatableObject
{
bool CanInterpretString(string data);
ResultTypeStankins Obj... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Sprite altlas imported from a Cocos2D XML data file
/// </summary>
/// <remarks>
/// Suports trimmed and rotated images. Make sure the data file is saved with the .xml extension
/// because Unity3D will not detect it as a ... |
using System;
using MonoTouch.CoreAnimation;
using MonoTouch.CoreGraphics;
using MonoTouch.Foundation;
using MonoTouch.ObjCRuntime;
using MonoTouch.UIKit;
using System.Drawing;
namespace ZoomingPdfViewer {
public class TiledPdfView : UIView {
public TiledPdfView (RectangleF frame, float scale)
: base (frame... |
// 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;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;... |
/*
* Rabbitmq Http API
*
* This is the OpenAPI specification of the RabbitMQ HTTP API. For more information, please refer to [HTTP API](https://cdn.rawgit.com/rabbitmq/rabbitmq-management/v3.7.14/priv/www/api/index.html) official documentation.
*
* OpenAPI spec version: 1.0
* Contact: carlos@adaptive.me
* Gener... |
using Microsoft.Extensions.DependencyInjection;
using System;
using Moq;
namespace Blog.DependencyInjection
{
class Program
{
void Main()
{
var collection = new ServiceCollection();
var repo = Mock.Of<IRepository<MyInterestingObject>>();
var rsd = new Servic... |
using System;
using Renci.SshNetCore.Sftp.Responses;
namespace Renci.SshNetCore.Sftp.Requests
{
internal class SftpWriteRequest : SftpRequest
{
public override SftpMessageTypes SftpMessageType
{
get { return SftpMessageTypes.Write; }
}
public byte[] Handle { get; p... |
using System.Collections;
using System.Diagnostics;
using SPSProfessional.SharePoint.Framework.Tools;
using SPSProfessional.SharePoint.Framework.WebPartCache;
namespace SPSProfessional.SharePoint.Framework.WebPartCache
{
/// <summary>
///
/// </summary>
public class SPSCacheService : ISPSCacheService... |
// 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.Threading.Tasks;
using Microsoft.DotNet.Interactive.Commands;
namespace Microsoft.DotNet.Interactive
{
public delegate Task Ke... |
using Android.Content;
using Android.Views;
using Restaurant.Droid.Providers;
using Restaurant.Droid.Renderers;
using Restaurant.Mobile.UI.Controls;
using Restaurant.Mobile.UI.Pages;
using System.ComponentModel;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using Xamarin.Forms.Platform.Android.AppCompat;
... |
using System;
namespace OpenCvSharp
{
#if LANG_JP
/// <summary>
/// Single** を配列のようにアクセスできるようにするためのクラス
/// </summary>
#else
/// <summary>
/// Managed wrapper of array pointer (Single**)
/// </summary>
#endif
public unsafe class PointerAccessor2D_Single : IPointerAccessor2D<Single>
{
... |
using System;
using System.IO;
using ILRuntime.Mono.Cecil.Pdb;
using JEngine.Core;
using libx;
using UnityEngine;
using AppDomain = ILRuntime.Runtime.Enviorment.AppDomain;
public class Init : MonoBehaviour
{
public static Init Instance;
AppDomain appdomain;
MemoryStream fs;
MemoryStream pdb;
priva... |
namespace AspNet.BasicsDemo.Infrastructure.EntityConfigurations;
public class CompanyConfiguration : IEntityTypeConfiguration<Company>
{
public void Configure(EntityTypeBuilder<Company> builder)
{
builder.HasKey(company => company.Id);
builder.Property(company => company.Id)
.ValueG... |
using advent._2019._8;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace advent._2019.tests
{
public class Day8Tests
{
[Fact]
public void Parse()
{
var img = new SpaceImage("123456789012", 3, 2);
... |
using Grpc.Core;
using GRPCDemo.Core;
using GRPCDemo.Server.Abstractions;
using Microsoft.Extensions.Logging;
using System;
using System.Threading.Tasks;
namespace GRPCDemo.Server.Services
{
public class DemoService : Core.DemoService.DemoServiceBase
{
private readonly ILogger logger;
private ... |
using Application.Core;
using Application.Parks;
using Domain;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
namespace API.Controllers
{
public class ParksController : BaseAppController
{
[AllowAnonymous]
[HttpGet]
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright company="Aspose Pty Ltd" file="AuthRequestHandler.cs">
// Copyright (c) 2003-2021 Aspose Pty Ltd
// </copyright>
// <summary>
// Permission is hereby granted, free of charge, to any pe... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
namespace Steeltoe.Integration.Acks;
public static class AckUtils
{
public static void AutoAck(IAcknowle... |
using System;
namespace PnP.Core.Model.SharePoint
{
/// <summary>
/// Indicates a change to a <seealso cref="IListItem"/> object;
/// </summary>
/// <seealso cref="IChange" />
[ConcreteType(typeof(ChangeItem))]
public interface IChangeItem : IChange
{
/// <summary>
/// Gets... |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Formats.Red.Records.Enums;
namespace GameEstate.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CSpotLightComponent : CLightComponent
{
[Ordinal(... |
// 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.Serialization;
namespace System.Text.Json
{
/// <summary>
/// Defines a custom except... |
using System;
using System.Windows.Forms;
// ReSharper disable once CheckNamespace
namespace CodeBuilder.WinForm.UI
{
public partial class BaseOptionsPage : UserControl
{
public BaseOptionsPage()
{
InitializeComponent();
}
public BaseOptionsPage(string key)
... |
namespace Sensor
{
using System.Net;
class IPRecord
{
public IPAddress IP { get; set; }
public string IPStatus { get; set; }
public string Datacenter { get; set; }
public string DatacenterTag { get; set; }
public TCPRecord TCPRecord { get; set; }
}
} |
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* OpenAPI spec version: 1.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Xunit;
usin... |
namespace Hangfire.Prometheus
{
public interface IHangfireMonitorService
{
/// <summary>
/// Obtains all job statistics from Hangfire.
/// </summary>
/// <returns>Instance of HangfireJobStatistics class containing the current stats for Hangfire jobs.</returns>
HangfireJo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Student
{
public class Student : ICloneable, IComparable<Student>
{
public Student ()
{
}
public Student (string adsress)
{
this.A... |
using System;
namespace MeterReadingMobile.WebApi.Intrata.Model
{
public class LoginUserBase : ModelBase
{
public LoginUserBase() { }
public LoginUserBase(string urlstring)
{
url = new Uri(urlstring);
}
public Uri url { get; set; }
public string log... |
namespace Book.ViewModels.Samples.Chapter15
{
public sealed class ChapterViewModel : ViewModels.ChapterViewModel
{
public override string Name => "View Location";
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.