Gorgon
Show / Hide Table of Contents

Class ContentFileExplorerDirectoryEntry

An file system directory entry for the ContentFileExplorer.

Inheritance
object
PropertyMonitor
ContentFileExplorerDirectoryEntry
Implements
INotifyPropertyChanging
INotifyPropertyChanged
IContentFileExplorerSearchEntry
IGorgonNamedObject
Inherited Members
PropertyMonitor.PropertyChanged
PropertyMonitor.PropertyChanging
PropertyMonitor.UsePropertyNameValidation
PropertyMonitor.OnPropertyChanging(string)
PropertyMonitor.OnPropertyChanged(string)
PropertyMonitor.NotifyPropertyChanged(string)
PropertyMonitor.NotifyPropertyChanging(string)
PropertyMonitor.NotifyAllPropertiesChanging()
PropertyMonitor.NotifyAllPropertiesChanged()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Editor.UI.Controls
Assembly: Gorgon.Editor.API.dll
Syntax
public class ContentFileExplorerDirectoryEntry : PropertyMonitor, INotifyPropertyChanging, INotifyPropertyChanged, IContentFileExplorerSearchEntry, IGorgonNamedObject

Constructors

| Edit this page View Source

ContentFileExplorerDirectoryEntry(string, IReadOnlyList<ContentFileExplorerFileEntry>)

Initializes a new instance of the ContentFileExplorerDirectoryEntry class.

Declaration
public ContentFileExplorerDirectoryEntry(string fullPath, IReadOnlyList<ContentFileExplorerFileEntry> files)
Parameters
Type Name Description
string fullPath

The full path to the directory.

IReadOnlyList<ContentFileExplorerFileEntry> files

The files under this directory.

Exceptions
Type Condition
ArgumentNullException

Thrown when the fullPath parameter is null.

ArgumentEmptyException

Thrown when the fullPath parameter is empty.

Properties

| Edit this page View Source

Files

Property to return the files for the directory.

Declaration
public IReadOnlyList<ContentFileExplorerFileEntry> Files { get; }
Property Value
Type Description
IReadOnlyList<ContentFileExplorerFileEntry>
| Edit this page View Source

FullPath

Property to return the full path to the entry.

Declaration
public string FullPath { get; }
Property Value
Type Description
string
| Edit this page View Source

IsExpanded

Property to set or return whether the entry is expanded or not.

Declaration
public bool IsExpanded { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

IsVisible

Property to set or return whether this entry is visible in the list or not.

Declaration
public bool IsVisible { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

Name

Property to return the name of the entry.

Declaration
public string Name { get; }
Property Value
Type Description
string
| Edit this page View Source

Parent

Property to return the parent of this entry.

Declaration
public ContentFileExplorerDirectoryEntry Parent { get; }
Property Value
Type Description
ContentFileExplorerDirectoryEntry

Implements

INotifyPropertyChanging
INotifyPropertyChanged
IContentFileExplorerSearchEntry
IGorgonNamedObject

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author