Domain Detective

API Reference

Class

DomainPortfolioSnapshotBuilder

Namespace DomainDetective
Assembly DomainDetective
Modifiers static

Builds storage-free portfolio snapshots from DomainDetective analysis results.

Inheritance

  • Object
  • DomainPortfolioSnapshotBuilder

Methods

public static DomainPortfolioSnapshot Build(String subject, DomainHealthCheck healthCheck, IEnumerable<HealthCheckType> checks = null, Nullable<DateTimeOffset> capturedAtUtc = null) #
Returns: DomainPortfolioSnapshot

Builds a portfolio snapshot from a populated DomainHealthCheck.

Parameters

subject System.String requiredposition: 0
Domain or host represented by the snapshot.
healthCheck DomainDetective.DomainHealthCheck requiredposition: 1
Health check that contains analysis results.
checks System.Collections.Generic.IEnumerable{DomainDetective.HealthCheckType} = null optionalposition: 2
Optional subset of checks to include.
capturedAtUtc System.Nullable{System.DateTimeOffset} = null optionalposition: 3
Optional capture time. Defaults to the current UTC time.

Returns

Storage-free portfolio snapshot.

public static DomainPortfolioSummaries BuildSummaries(DomainPortfolioSnapshot snapshot) #
Returns: DomainPortfolioSummaries

Builds typed high-value summary projections from snapshot sections.

Parameters

snapshot DomainDetective.DomainPortfolioSnapshot requiredposition: 0
Snapshot with populated sections.

Returns

Typed summary projections.

ExtractFacts(System.Object arg1) #

Extracts storage-friendly scalar facts from public analysis properties.

Parameters

arg1 System.Object required
public static DomainPortfolioSnapshot ToPortfolioSnapshot(DomainHealthCheck healthCheck, String subject, IEnumerable<HealthCheckType> checks = null, Nullable<DateTimeOffset> capturedAtUtc = null) #
Returns: DomainPortfolioSnapshot

Builds a portfolio snapshot from this health check.

Parameters

healthCheck DomainDetective.DomainHealthCheck requiredposition: 0
Health check that contains analysis results.
subject System.String requiredposition: 1
Domain or host represented by the snapshot.
checks System.Collections.Generic.IEnumerable{DomainDetective.HealthCheckType} = null optionalposition: 2
Optional subset of checks to include.
capturedAtUtc System.Nullable{System.DateTimeOffset} = null optionalposition: 3
Optional capture time. Defaults to the current UTC time.

Returns

Storage-free portfolio snapshot.

{{ include "footer" }}