Dependencies/Assemblies/Microsoft365DSC.Cache.xml

<?xml version="1.0"?>
<doc>
    <assembly>
        <name>Microsoft365DSC.Cache</name>
    </assembly>
    <members>
        <member name="T:Microsoft365DSC.Cache.CacheManager">
            <summary>
            Provides a centralized, thread-safe cache for expensive data structures
            shared across PowerShell and C# layers. Loading data here avoids repeated
            deserialization and the boxing overhead that occurs when passing rich
            objects from PowerShell to C#.
            </summary>
        </member>
        <member name="P:Microsoft365DSC.Cache.CacheManager.IsSchemaLoaded">
            <summary>
            Gets a value indicating whether the M365DSC schema has been loaded.
            </summary>
        </member>
        <member name="P:Microsoft365DSC.Cache.CacheManager.Schema">
            <summary>
            Gets the cached schema as an <see cref="T:System.Collections.Generic.IEnumerable`1"/> of Hashtables.
            Returns <c>null</c> if the schema has not been loaded yet.
            </summary>
        </member>
        <member name="M:Microsoft365DSC.Cache.CacheManager.LoadSchema(System.Collections.Generic.List{System.Object},System.Boolean)">
            <summary>
            Loads the SchemaDefinition.json file from <paramref name="filePath"/>,
            deserializes it into a list of <see cref="T:System.Collections.Hashtable"/> trees, and caches
            the result. Subsequent calls are no-ops unless <paramref name="force"/>
            is <c>true</c>.
            </summary>
            <param name="schema">List of schema objects to cache.</param>
            <param name="force">When <c>true</c>, reloads even if already cached.</param>
        </member>
        <member name="M:Microsoft365DSC.Cache.CacheManager.ClearSchema">
            <summary>
            Clears the cached schema, allowing it to be reloaded on next access.
            Primarily useful for testing.
            </summary>
        </member>
    </members>
</doc>