Class IFilePropertyImpl
Last update: 16.07.2025Namespace: VM.Managed
Assembly: VMObjBase.dll
This class is to represent the property for file.
public sealed class IFilePropertyImpl
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
IFilePropertyImpl()
public IFilePropertyImpl()
Methods
GetAbsulutePath<T>(T)
Gets the absulute path.
public static string GetAbsulutePath<T>(T TProp) where T : Property, IFileProperty
Parameters
TProp T
The property.
Returns
The absulute path
Type Parameters
T
GetChilds(PropertyDocumentBase)
Gets object container in document.
public static ObjectBase[] GetChilds(PropertyDocumentBase doc)
Parameters
The document.
Returns
ObjectBase[]
The object container in document.
GetPropertyDocumentImpl<T>(T)
Gets the property document.
public static PropertyDocumentBase GetPropertyDocumentImpl<T>(T TProp) where T : Property, IFileProperty
Parameters
TProp T
The property.
Returns
The property document.
Type Parameters
T
GetRelativePath<T>(T, string)
Gets the relative path.
public static string GetRelativePath<T>(T TProp, string strRefDir) where T : Property, IFileProperty
Parameters
TProp T
The property.
strRefDir string
The reference directory.
Returns
The relative path
Type Parameters
T
GetUnitImpl<T>(T)
Gets the unit of property document.
public static Unit GetUnitImpl<T>(T TProp) where T : Property, IFileProperty
Parameters
TProp T
The property.
Returns
Unit
The unit
Type Parameters
T
SetChilds(ObjectBase[], PropertyDocumentBase)
Sets object container in document.
public static void SetChilds(ObjectBase[] ar, PropertyDocumentBase doc)
Parameters
ar ObjectBase[]
The object container.
The document.