public ExtensionMapping(AssetTypeEnum assetType, bool primaryMatch, string fileExtension, string assetDirectory, AssetFileEnum fileTypeEnum) { this.primaryMatchEnum = (primaryMatch ? ExtensionPrimaryEnum.MatchPrimary : ExtensionPrimaryEnum.DontMatchPrimary); this.typeEnum = assetType; this.fileExtension = fileExtension; this.assetDirectory = assetDirectory; this.fileTypeEnum = fileTypeEnum; }
public ExtensionMapping(AssetTypeEnum assetType, string fileExtension, string assetDirectory, AssetFileEnum fileTypeEnum) { this.primaryMatchEnum = ExtensionPrimaryEnum.DontCare; this.typeEnum = assetType; this.fileExtension = fileExtension; this.assetDirectory = assetDirectory; this.fileTypeEnum = fileTypeEnum; }