Class Folder
Represents a folder level in folder tree.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class Folder : DomainObjectBase, IValidator, IExtensibleDataObject, IEquatable<Folder>, IFolderEntity
Constructors
Folder()
Initializes a new instance of the Folder object.
Declaration
public Folder()
Properties
Description
Gets or sets folder description.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FolderId
Gets or sets identifier of the parent folder.
Declaration
public int? FolderId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
FriendlyName
Gets or sets folder name.
Declaration
public string FriendlyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ObjectType
Gets object type identifier.
Declaration
public override EntityType ObjectType { get; }
Property Value
Type | Description |
---|---|
EntityType |
Overrides
Methods
Equals(Folder)
Determines whether the specified folder is equal to the current folder.
Declaration
public bool Equals(Folder other)
Parameters
Type | Name | Description |
---|---|---|
Folder | other | The folder to compare with the current folder. |
Returns
Type | Description |
---|---|
System.Boolean | True, if folders are equal. False, if folders are not equal. |
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | True, if objects are equal. False, if objects are not equal. |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code of the current instance. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True if state is valid; otherwise, false. |