TestimoX

API Reference

Class

InventoryHub

Namespace ADPlayground.Inventories
Assembly ADPlayground
Modifiers sealed

In-memory cache for domain/forest inventories with simple prefetch and invalidation.

Inheritance

  • Object
  • InventoryHub

Methods

public DomainInventory GetDomain(String domainName, InventoryOptions opts = null) #
Returns: DomainInventory

Gets or creates a domain inventory and optionally prefetches sections.

Parameters

domainName System.String requiredposition: 0
Target domain (DNS name).
opts ADPlayground.Inventories.InventoryOptions = null optionalposition: 1
Optional prefetch options.
public ForestInventory GetForest(String forestName, InventoryOptions opts = null) #
Returns: ForestInventory

Gets or creates a forest inventory and optionally prefetches sections.

Parameters

forestName System.String requiredposition: 0
Target forest (DNS name).
opts ADPlayground.Inventories.InventoryOptions = null optionalposition: 1
Optional prefetch options.
public Void Invalidate(String scope = null) #
Returns: Void

Invalidates cached inventories. When scope is null, clears all.

Parameters

scope System.String = null optionalposition: 0
Domain or forest name to clear, or null for all.

Properties

public static InventoryHub Current { get; } #

Shared process-wide hub instance.