API Reference
Class
IdentityExposureChartSampleBuilder
Builds deterministic identity exposure samples for renderer fixtures and documentation.
Inheritance
- Object
- IdentityExposureChartSampleBuilder
Methods
public static IdentityExposureChartModel CreateChartModel(String domainName = "contoso.com", String title = "Tier 0 Exposure Sample") #Returns:
IdentityExposureChartModelCreates a deterministic ChartForgeX-ready identity exposure chart model.
Parameters
- domainName System.String = "contoso.com"
- Sample DNS domain name.
- title System.String = "Tier 0 Exposure Sample"
- Optional chart title.
Returns
Sample chart model.
public static IdentityExposureSnapshot CreateSnapshot(String domainName = "contoso.com", Int32 maxPaths = 12, Int32 maxAlternatePaths = 8) #Returns:
IdentityExposureSnapshotCreates a deterministic Active Directory identity exposure snapshot.
Parameters
- domainName System.String = "contoso.com"
- Sample DNS domain name.
- maxPaths System.Int32 = 12
- Maximum cheapest paths to include.
- maxAlternatePaths System.Int32 = 8
- Maximum alternate paths to include.
Returns
Sample identity exposure snapshot.
public static String ToJson(String domainName = "contoso.com", String title = "Tier 0 Exposure Sample", Boolean indented = true) #Returns:
StringSerializes the deterministic ChartForgeX sample to JSON.
Parameters
- domainName System.String = "contoso.com"
- Sample DNS domain name.
- title System.String = "Tier 0 Exposure Sample"
- Optional chart title.
- indented System.Boolean = true
- Whether to write indented JSON.
Returns
Sample chart JSON.
public static Task<String> WriteJsonAsync(String path, String domainName = "contoso.com", String title = "Tier 0 Exposure Sample", Boolean indented = true, CancellationToken cancellationToken = null) #Returns:
Task<String>Writes the deterministic ChartForgeX sample JSON to disk.
Parameters
- path System.String
- Destination JSON file path.
- domainName System.String = "contoso.com"
- Sample DNS domain name.
- title System.String = "Tier 0 Exposure Sample"
- Optional chart title.
- indented System.Boolean = true
- Whether to write indented JSON.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Path that was written.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object