Click or drag to resize

MetadataShadowCopyProvider Class



Implements shadow-copying metadata file cache.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.Scripting.HostingMetadataShadowCopyProvider

Namespace:  Microsoft.CodeAnalysis.Scripting.Hosting
Assembly:  Microsoft.CodeAnalysis.Scripting (in Microsoft.CodeAnalysis.Scripting.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class MetadataShadowCopyProvider : IDisposable

The MetadataShadowCopyProvider type exposes the following members.

Constructors
  NameDescription
Public methodMetadataShadowCopyProvider
Initializes a new instance of the MetadataShadowCopyProvider class
Top
Methods
  NameDescription
Public methodDispose
Clears shadow-copy cache, disposes all allocated metadata, and attempts to delete copied files.
Public methodGetMetadata
Gets or creates metadata for specified file path.
Public methodGetMetadataShadowCopy
Gets or creates a copy of specified assembly or standalone module.
Public methodIsShadowCopy
Determine whether given path is under the shadow-copy directory managed by this shadow-copy provider.
Public methodNeedsShadowCopy
Determines whether given file is a candidate for shadow-copy.
Public methodSuppressShadowCopy
Suppresses shadow-copying of specified path.
Top
See Also