Implements Reflection for YetaWF.
Merges language specific data collected from various attributes (Description, Caption, etc.), merges language localization resources and caches all data.
This is the only mechanism that should be used for type reflection. There is some legacy code and pre-startup code that uses .NET reflection, but this should be minimal.
Namespace: YetaWF.Core.Models
Assembly: YetaWF.Core
Inheritance
public static class ObjectSupport;
This class cannot be instantiated.
CopyData | Copies properties from one object to another. | |
CopyDataFromOriginal | (not specified) | |
Equals | Determines whether the specified object is equal to the current object. | |
EvaluateModelChanges | Compare old and new objects and determine page reload/site | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. | |
GetClassData | Retrieve class information for a given Type. | |
GetEnumData | Retrieve enumeration information for a given Type. | |
GetEnumDisplayInfo | Retrieve caption/description for an enum value, derived from EnumDescription attribute. | |
GetHashCode | Serves as the default hash function. | |
GetProperties | Retrieve PropertyInfo for all properties. | |
GetProperty | Retrieve PropertyInfo used for reflection for one property. | |
GetPropertyData | Retrieve property information for a given Type. | |
GetPropertyValue | Retrieve a property value. | |
GetType | Gets the Type of the current instance. | |
HandlePropertiesAsync | Retrieve the async method named asyncName and put the return value into the property named syncName for each item in the provided list. | |
HandlePropertyAsync | Retrieve the async method named asyncName and put the return value into the property named syncName. | |
InvalidateAll | Removes all cached data. | |
MemberwiseClone | Creates a shallow copy of the current Object. | |
ModelChanges | Get list of changed properties with their disposition. | |
ObjectCompare | Get list of changed properties. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. | |
ToString | Returns a string that represents the current object. | |
TranslateObject | (not specified) | |
TryGetProperty | Retrieve PropertyInfo used for reflection for one property. | |
TryGetPropertyData | Retrieve information for one property. | |
TryGetPropertyValue | Retrieve a property value. |
ModelDisposition | (not specified) |
See Also YetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com