Packageorg.spicefactory.lib.reflect.metadata
Classpublic class TargetPropertyUtil
InheritanceTargetPropertyUtil Inheritance Object

Utility method to set the member name for a property or method with a metadata tag.



Public Methods
 MethodDefined By
  
setPropertyName(member:Member, metadata:Object, domain:ApplicationDomain = null):void
[static] Locates the property marked with the [Target] metadata tag in the specified metadata object to the name of the specified member (property or method).
TargetPropertyUtil
Method Detail
setPropertyName()method
public static function setPropertyName(member:Member, metadata:Object, domain:ApplicationDomain = null):void

Locates the property marked with the [Target] metadata tag in the specified metadata object to the name of the specified member (property or method).

Parameters

member:Member — the member whose name should be applied to the metadata object
 
metadata:Object — the metadata object to apply the member name to
 
domain:ApplicationDomain (default = null) — the ApplicationDomain to use for reflection