API Reference
Class
DomainPortfolioSnapshotBuilder
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:
DomainPortfolioSnapshotBuilds a portfolio snapshot from a populated DomainHealthCheck.
Parameters
- subject System.String
- Domain or host represented by the snapshot.
- healthCheck DomainDetective.DomainHealthCheck
- Health check that contains analysis results.
- checks System.Collections.Generic.IEnumerable{DomainDetective.HealthCheckType} = null
- Optional subset of checks to include.
- capturedAtUtc System.Nullable{System.DateTimeOffset} = null
- Optional capture time. Defaults to the current UTC time.
Returns
Storage-free portfolio snapshot.
public static DomainPortfolioSummaries BuildSummaries(DomainPortfolioSnapshot snapshot) #Returns:
DomainPortfolioSummariesBuilds typed high-value summary projections from snapshot sections.
Parameters
- snapshot DomainDetective.DomainPortfolioSnapshot
- 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
public static DomainPortfolioSnapshot ToPortfolioSnapshot(DomainHealthCheck healthCheck, String subject, IEnumerable<HealthCheckType> checks = null, Nullable<DateTimeOffset> capturedAtUtc = null) #Returns:
DomainPortfolioSnapshotBuilds a portfolio snapshot from this health check.
Parameters
- healthCheck DomainDetective.DomainHealthCheck
- Health check that contains analysis results.
- subject System.String
- Domain or host represented by the snapshot.
- checks System.Collections.Generic.IEnumerable{DomainDetective.HealthCheckType} = null
- Optional subset of checks to include.
- capturedAtUtc System.Nullable{System.DateTimeOffset} = null
- Optional capture time. Defaults to the current UTC time.
Returns
Storage-free portfolio snapshot.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object