FolderSpec
public sealed class FolderSpecDescribes one configured source folder, its scan rules, and how discovered content is classified and indexed.
Fields
Section titled “Fields”
folderType
Section titled “folderType”public int folderTypeReturns
System.Int32
scanFor
Section titled “scanFor”public int scanForReturns
System.Int32
enabled
Section titled “enabled”public bool enabledReturns
System.Boolean
assignTag
Section titled “assignTag”public bool assignTagReturns
System.Boolean
public string tagReturns
System.String
storeRelative
Section titled “storeRelative”public bool storeRelativeReturns
System.Boolean
relativeKey
Section titled “relativeKey”public string relativeKeyReturns
System.String
location
Section titled “location”public string locationReturns
System.String
pattern
Section titled “pattern”public string patternReturns
System.String
excludedExtensions
Section titled “excludedExtensions”public string excludedExtensionsReturns
System.String
excludedDirectories
Section titled “excludedDirectories”public string excludedDirectoriesReturns
System.String
createPreviews
Section titled “createPreviews”public bool createPreviewsReturns
System.Boolean
removeOrphans
Section titled “removeOrphans”public bool removeOrphansReturns
System.Boolean
attachToPackage
Section titled “attachToPackage”public bool attachToPackageReturns
System.Boolean
packageMode
Section titled “packageMode”public int packageModeReturns
System.Int32
detectUnityProjects
Section titled “detectUnityProjects”public bool detectUnityProjectsReturns
System.Boolean
checkSize
Section titled “checkSize”public bool checkSizeReturns
System.Boolean
Constructors
Section titled “Constructors”
FolderSpec()
Section titled “FolderSpec()”public FolderSpec()
FolderSpec(string)
Section titled “FolderSpec(string)”public FolderSpec(string location)Creates a source-folder specification rooted at the supplied filesystem location.
Parameters
| Name | Type |
|---|---|
location |
System.String |
FolderSpec(FolderSpec)
Section titled “FolderSpec(FolderSpec)”public FolderSpec(FolderSpec other)Creates an independent copy of the supplied source-folder specification.
Parameters
| Name | Type |
|---|---|
other |
AssetInventory.FolderSpec |
Methods
Section titled “Methods”
GetLocation(bool)
Section titled “GetLocation(bool)”public string GetLocation(bool expanded)Returns the configured source path after optional variable expansion and platform normalization.
Parameters
| Name | Type |
|---|---|
expanded |
System.Boolean |
Returns
System.String
ToString()
Section titled “ToString()”public override string ToString()Returns
System.String