Class AbsoluteToRelativePathBase
Base for a path with a relative path inside.
public abstract class AbsoluteToRelativePathBase : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged, IPath, IHasKey
- Inheritance
-
PropertyChangedBaseAbsoluteToRelativePathBase
- Implements
-
INotifyPropertyChangedEx
- Derived
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Properties
BasePath
Gets the path base for the RelativePath.
protected virtual string BasePath { get; }
Property Value
Description
Gets the translatable description.
public abstract ITranslation Description { get; }
Property Value
- ITranslation
Key
Gets the unique key.
public abstract string Key { get; }
Property Value
Path
Gets or sets the absolute path as relative from or to RelativePath.
public string Path { get; set; }
Property Value
RelativePath
Gets or sets the relative path. Will be set in the Path setter. When null: Path returns Empty When Empty: Path returns BasePath When level is lower than the BasePath, RelativePath is set to absolute path.
protected abstract string RelativePath { get; set; }
Property Value
Methods
Save()
Saves the path e. g. to a file.
public abstract void Save()