public InternalExtensionInfo(string subPath) { _fileInfo = new NotFoundFileInfo(subPath); _subPath = subPath; _manifestInfo = new NotFoundManifestInfo(subPath); _features = new EmptyFeatureInfoList(); }
public ExtensionInfo( IFileInfo fileInfo, string subPath, IManifestInfo manifestInfo, Func <IExtensionInfo, IFeatureInfoList> features) { _fileInfo = fileInfo; _subPath = subPath; _manifestInfo = manifestInfo; _features = features(this); }