Coree.NETStandard
  • API
Show / Hide Table of Contents
  • Coree.NETStandard.Abstractions.DependencySingleton
    • DependencySingleton<T>
    • IDependencySingleton
  • Coree.NETStandard.Abstractions.FluentBase
    • FluentBase
    • IFluentBase
  • Coree.NETStandard.Abstractions.ServiceFactory
    • ServiceFactory<T>
  • Coree.NETStandard.Classes.AsyncEventCollection
    • AsyncEventCollection<T>
    • AsyncEventCollection<T>.CustomEventDelegate
  • Coree.NETStandard.Classes.Criteria
    • CriteriaComparisonMethod
    • CriteriaEnumerableExtensions
    • CriteriaExpressionBuilder
    • CriteriaItem<TValue>
    • CriteriaItems
    • CriteriaOperator
    • CriteriaQueryableExtensions
  • Coree.NETStandard.Classes.HttpRequestService
    • ContentComposer
    • HttpRequestHeadersExtensions
    • HttpRequestService
    • HttpRequestServiceHandler
    • HttpRequestServiceUriExtensions
    • ServiceCollectionExtensions
    • TransactionRecord
  • Coree.NETStandard.Classes.Scheduler
    • Scheduler
    • Scheduler.TickerEventArgs
    • Scheduler.TickerEventDelegate
  • Coree.NETStandard.Classes.ThreadSafeCollection
    • ThreadSafeCollection<T>
  • Coree.NETStandard.Classes.ThreadSafeValue
    • ThreadSafeValue<T>
  • Coree.NETStandard.Classes.TimeOfDay
    • TimeOfDay
  • Coree.NETStandard.Extensions.Collections.Enumerable
    • CollectionsEnumerableExtensions
  • Coree.NETStandard.Extensions.Collections.List
    • CollectionsListExtensions
  • Coree.NETStandard.Extensions.Conversions.ByteArray
    • ConversionsByteArrayExtensions
  • Coree.NETStandard.Extensions.Conversions.HostApplicationBuilder
    • ConversionsHostApplicationBuilderExtensions
  • Coree.NETStandard.Extensions.Conversions.String
    • ConversionsStringExtensions
    • Encodings
  • Coree.NETStandard.Extensions.Conversions.Stringbuilder
    • ConversionsStringbuilderExtension
  • Coree.NETStandard.Extensions.Http.HttpHeader
    • HttpHeadersExtensions
  • Coree.NETStandard.Extensions.Primitives.Bool
    • PrimitivesBoolExtensions
  • Coree.NETStandard.Extensions.Reflection.ServiceProvider
    • ReflectionServiceProviderExtensions
  • Coree.NETStandard.Extensions.Threading.CancellationToken
    • ThreadingCancellationTokenExtensions
  • Coree.NETStandard.Extensions.Utilities
    • DateTimeExtensions
  • Coree.NETStandard.Extensions.Validations.String
    • ValidationsStringExtensions
  • Coree.NETStandard.HostedServicesCollection
    • HostedServicesCollectionConfig<T>
    • IHostedServicesCollectionConfig<T>
    • ServiceCollectionExtensions
    • ServiceProviderExtensions
  • Coree.NETStandard.Serilog
    • ConditionalLevelSink
    • LoggerSinkConfigurationExtensions
    • OutputTemplates
    • ServiceCollectionExtensions
    • SourceContextShortEnricher
  • Coree.NETStandard.Services.DebugService
    • DebugService
    • IDebugService
  • Coree.NETStandard.Services.FileService
    • FileService
    • IFileService
  • Coree.NETStandard.Services.ProcessService
    • IProcessService
    • ProcessRunExitCodeState
    • ProcessRunResult
    • ProcessService
  • Coree.NETStandard.Services.RuntimeInsightsService
    • IRuntimeInsightsService
    • RuntimeInsightsService
  • Coree.NETStandard.SpectreConsole
    • CommandAppExtensions
    • HostBuilderExtensions
    • ServiceCollectionExtensions
    • SpectreConsoleHostedService
    • SpectreConsoleHostedService.ExitCode
    • SpectreConsoleTypeRegistrar
    • SpectreConsoleTypeResolver
  • Coree.NETStandard.UnderConstruction
    • DbContextExtensions
    • HttpClientStatic
    • HttpClientStatic.HttpClientResponse
    • HttpClientStatic.XRate
    • HttpClientStatic.XRateGroup
    • HttpClientStatic.XRateItem
    • IScheduleProvider
    • IntervalScheduleProvider
    • LimitedHistory<T>
    • ScheduleCombiner
    • Scheduler
    • Scheduler.TickerEventArgs
    • Scheduler.TickerEventDelegate
    • Scheduler2
    • Scheduler2.TickerEventArgs
    • Scheduler2.TickerEventDelegate
    • Scheduler3
    • Scheduler3.TickerEventArgs
    • Scheduler3.TickerEventDelegate
    • SqlliteMemoryContext
    • SqlliteMemoryContext.UserDataDto
    • TimedEntry<T>
    • Timing
    • Timing.Ticker
    • Timing.Ticker.TickerEventArgs
    • Timing.TickerSync
    • WeekDayAtScheduleProvider
  • Coree.NETStandard.Utilities
    • EventSubscription
    • MainContext

Interface IRuntimeInsightsService

Defines a contract for services that provide runtime and system insights.

Namespace: Coree.NETStandard.Services.RuntimeInsightsService
Assembly: Coree.NETStandard.dll
Syntax
public interface IRuntimeInsightsService

Properties

| Edit this page View Source

CallingAssemblyName

Gets the name of the calling assembly.

Declaration
string? CallingAssemblyName { get; }
Property Value
Type Description
string
| Edit this page View Source

CurrentDirectory

Gets the current working directory.

Declaration
string? CurrentDirectory { get; }
Property Value
Type Description
string
| Edit this page View Source

CurrentProcessMainModuleFilename

Gets the main module filename of the current process.

Declaration
string? CurrentProcessMainModuleFilename { get; }
Property Value
Type Description
string
| Edit this page View Source

CurrentProcessMainModuleName

Gets the main module name of the current process.

Declaration
string? CurrentProcessMainModuleName { get; }
Property Value
Type Description
string
| Edit this page View Source

EntryAssemblyName

Gets the name of the entry assembly.

Declaration
string? EntryAssemblyName { get; }
Property Value
Type Description
string
| Edit this page View Source

EnvironmentCommandLine

Gets the command line used to start the environment.

Declaration
string? EnvironmentCommandLine { get; }
Property Value
Type Description
string
| Edit this page View Source

ExecutingAssemblyName

Gets the name of the executing assembly.

Declaration
string? ExecutingAssemblyName { get; }
Property Value
Type Description
string
| Edit this page View Source

OSArchitecture

Gets the OS architecture.

Declaration
string? OSArchitecture { get; }
Property Value
Type Description
string
| Edit this page View Source

ProcessArchitecture

Gets the process architecture.

Declaration
string? ProcessArchitecture { get; }
Property Value
Type Description
string
| Edit this page View Source

Username

Gets the username of the process owner.

Declaration
string? Username { get; }
Property Value
Type Description
string

Methods

| Edit this page View Source

IsDebugBuild()

Checks if the current build is a debug build.

Declaration
bool? IsDebugBuild()
Returns
Type Description
bool?

True if the current build is a debug build; otherwise, false. Returns null if the determination cannot be made.

| Edit this page View Source

IsDebugBuildAsync(CancellationToken)

Checks if the current build is a debug build.

Declaration
Task<bool?> IsDebugBuildAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken

The cancellation token to cancel the operation.

Returns
Type Description
Task<bool?>

A task representing the asynchronous operation. The task result contains true if the current build is a debug build; otherwise, false. If the operation is canceled or an exception occurs, returns null.

  • Edit this page
  • View Source
In this article
Back to top