Table of Contents

Class EmptyReportGeneratorContext

Namespace
Cryville.EEW.Report
Assembly
Cryville.EEW.dll
public class EmptyReportGeneratorContext : IReportGeneratorContext
Inheritance
EmptyReportGeneratorContext
Implements
Inherited Members
Extension Methods

Properties

Instance

The shared instance of the EmptyReportGeneratorContext class.
public static EmptyReportGeneratorContext Instance { get; }

Property Value

EmptyReportGeneratorContext

SeverityScheme

The severity scheme.
public ISeverityScheme SeverityScheme { get; }

Property Value

ISeverityScheme

Methods

NameLocation(double, double, CultureInfo?, ref CultureInfo, out string?, out int)

Names a location in a culture.
public bool NameLocation(double lat, double lon, CultureInfo? localCulture, ref CultureInfo targetCulture, out string? name, out int specificity)

Parameters

lat double
The latitude of the location.
lon double
The longitude of the location.
localCulture CultureInfo
The local culture supported by the event itself.
targetCulture CultureInfo
The target culture of the location name. When the method returns, set to the actual culture of the location name.
name string
The location name.
specificity int
The location specificity. See LocationSpecificity.

Returns

bool
Whether the name is given by the context. false if the generator should provide a local name instead.