Class CopyPolicy
public class CopyPolicy
- Inheritance
-
CopyPolicy
- Inherited Members
Constructors
CopyPolicy(CopyOptionType, long?, List<string>?, bool)
public CopyPolicy(CopyOptionType type, long? maxSize, List<string>? disallowedExtensions, bool tolerateAssetReadError)
Parameters
typeCopyOptionTypemaxSizelong?disallowedExtensionsList<string>tolerateAssetReadErrorbool
Properties
DisallowedExtensions
Extensions that are not allowed to be copied. Extensions shall not contain the trailing dot.
public List<string>? DisallowedExtensions { get; }
Property Value
MaxSize
MaxSize of assets to copy. This is only relevant when the copy option type is memory and doesn't affect headers.
public long? MaxSize { get; }
Property Value
- long?
TolerateAssetReadError
Skip asset when read error occurs
public bool TolerateAssetReadError { get; }
Property Value
Type
The copy option type
public CopyOptionType Type { get; }