Show / Hide Table of Contents

Class AddonMetaItem

The base class of addon meta item.

Inheritance
System.Object
AddonItem
AddonMetaItem
UniqueAddonMetaItem
BusinessRules
Implements
System.ICloneable
IMetaDataSerializable
Inherited Members
AddonItem.Clone()
AddonItem.InitializeLocalizableValues(IResourceStorage, String, String)
AddonItem.GetLocalizableValues(ICollection<LocalizableValue>, Boolean)
AddonItem.LoadLocalizableValues(IEnumerable<CultureInfo>)
AddonItem.ReInitializeLocalizableValues(IResourceStorage, String, String)
AddonItem.FindByUId(Guid)
AddonItem.Validate()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.Addons.Models
Assembly: Terrasoft.Core.dll
Syntax
[DesignModeGroup(Name = "General", Position = 1)]
[DesignModeProperty(Name = "TypeName", MetaPropertyName = "JI0")]
public abstract class AddonMetaItem : AddonItem, ICloneable, IMetaDataSerializable

Constructors

AddonMetaItem()

Declaration
protected AddonMetaItem()

Properties

OwnType

Declaration
protected Type OwnType { get; }
Property Value
Type Description
System.Type

TypeName

Gets the instance type name.

Declaration
public string TypeName { get; }
Property Value
Type Description
System.String

Methods

ApplyMetaDataValue(DataReader)

Apply meta data values.

Declaration
protected virtual void ApplyMetaDataValue(DataReader reader)
Parameters
Type Name Description
DataReader reader

Instance of the DataReader type.

CompleteApplyingMetaDataValues()

Declaration
protected virtual void CompleteApplyingMetaDataValues()

ReadMetaData(DataReader)

Declaration
public virtual void ReadMetaData(DataReader reader)
Parameters
Type Name Description
DataReader reader

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
System.Object.ToString()

WriteMetaData(DataWriter)

Declaration
public virtual void WriteMetaData(DataWriter writer)
Parameters
Type Name Description
DataWriter writer

Implements

System.ICloneable
IMetaDataSerializable

Extension Methods

ReflectionUtilities.GetPropertyValue(Object, String)
ReflectionUtilities.GetPropertyDefValue(Object, String, Object)
ReflectionUtilities.TryGetPropertyValue(Object, String, out Object)
ReflectionUtilities.HasProperty(Object, String)
ReflectionUtilities.GetPropertyValue(Object, String, BindingFlags)
ReflectionUtilities.GetPropertyValueByPath(Object, String)
ReflectionUtilities.SetPropertyValue(Object, String, Object)
ReflectionUtilities.TrySetPropertyValue(Object, String, Object)
ValidateUtilities.CheckArgumentNull(Object, String)
ValidateUtilities.CheckDependencyNull(Object, String)
ValidateUtilities.EnsureDependencyNotNull<T>(T, String)
MetaDataTestUtils.CloneSchema<TItem>(TItem, Object[])
MetaDataTestUtils.CloneAbstractMetaItem<TItem>(TItem)
MetaDataTestUtils.MetaPropertiesShouldNotHaveDefValue<TInstance>(TInstance)
MetaDataTestUtils.MetaPropertiesShouldNotHaveDefValue<TInstance>(TInstance, Boolean)
MetaDataTestUtils.GetMetaData(IMetaDataSerializable)
NSubstituteExtension.Protected(Object, String, Object[])
NSubstituteExtension.Protected(Object, String, Boolean, Object[])
NSubstituteExtension.ProtectedGeneric<T>(Object, String, Object[])
NSubstituteExtension.ProtectedGeneric<T>(Object, String, Boolean, Object[])
NSubstituteExtension.ProtectedProperty(Object, String)
NSubstituteExtension.MatchInstance<T>(T)
SubstituteUtilities.GetIsSubstituteObject(Object)
SubstituteUtilities.Instead<TInstance, TValue>(TInstance, Func<TInstance, TValue>)
Back to top Generated by DocFX