Class DomItem
- Namespace
- combit.Reporting.Dom
- Assembly
- combit.ListLabel31.CrossPlatform.dll
public class DomItem
- Inheritance
-
DomItem
- Derived
- Inherited Members
Fields
NonFormulaPropertyCache
Dictionary to cache non-formula properties for each type.
protected static readonly ConcurrentDictionary<Type, HashSet<string>> NonFormulaPropertyCache
Field Value
domHandle
protected nint domHandle
Field Value
Properties
InternalObjectType
Gets or sets the internal object type for this DomItem.
public string InternalObjectType { get; set; }
Property Value
Methods
CopyFrom(DomItem, bool)
Copies the properties and subobjects from the specified source DomItem to the current instance.
public void CopyFrom(DomItem source, bool forceSaveInvalidFormula = false)
Parameters
sourceDomItemThe source DomItem to copy from.
forceSaveInvalidFormulaboolWhether to force saving invalid formulas.
CopyFromWithEvaluate(DomItem, bool, bool)
Copies the properties and values from the specified DomItem source to the current instance, with an option to evaluate formulas during the copy process.
public void CopyFromWithEvaluate(DomItem source, bool ignoreCollections = false, bool forceSaveInvalidFormula = false)
Parameters
sourceDomItemThe DomItem instance from which to copy properties and values.
ignoreCollectionsboolA value indicating whether to ignore collection properties during the copy process. true to skip copying collections; otherwise, false.
forceSaveInvalidFormulaboolA value indicating whether to force saving invalid formulas during the copy process. true to save invalid formulas; otherwise, false.
Remarks
This method evaluates formulas during the copy process, ensuring that any formula-based properties are recalculated and applied to the target instance. Use this method when you need to ensure that formulas are evaluated as part of the copy operation.
GenerateCode(CodeMemberMethod, string)
Generates code for the current DomItem instance.
public virtual void GenerateCode(CodeMemberMethod method, string prefix)
Parameters
methodCodeMemberMethodThe code member method to add statements to.
prefixstringThe prefix for code generation.
GetNameAliasForVirtualProperty(string)
protected virtual string GetNameAliasForVirtualProperty(string propertyName)
Parameters
propertyNamestring
Returns
GetPropertyPath(string)
public virtual string GetPropertyPath(string propertyName)
Parameters
propertyNamestring
Returns
GetPropertyVirtualValue(string, string, ref bool)
protected virtual string GetPropertyVirtualValue(string propertyName, string virtualValue, ref bool exists)
Parameters
Returns
GetVirtualVariableNames(string)
Returns a string list of virtual variable names for the given property.
public virtual List<string> GetVirtualVariableNames(string propertyName)
Parameters
propertyNamestring