/// <summary> /// Creates a new <see cref="MediaFileNodeType"/> /// </summary> /// <param name="uniqueInstance">True if the <see cref="IMediaFile"/> returned should be a new unique instance (uncached)</param> public MediaFileNodeType(MediaFileType mediaFileType, bool uniqueInstance) : base(mediaFileType.RuntimeType) { this.MediaFileType = mediaFileType; this.UniqueInstance = uniqueInstance; }
/// <summary> /// Creates a new <see cref="MediaFileNodeType"/> /// </summary> /// <param name="mediaFileType">The type of <see cref="IMediaFile"/> to return</param> public MediaFileNodeType(MediaFileType mediaFileType) : this(mediaFileType, false) { }