Example #1
0
        private object GetPropertyValue(MethodBase method, PropertyData propertyData) {
            if (propertyData == null) {
                return Activator.CreateInstance(((MethodInfo)method).ReturnType);
            }

            return propertyData;
        }
Example #2
0
 public void SetProperty(string propertyName, PropertyData value) {
     Property[propertyName] = value;
 }
 public string SerializeProperty(PropertyData property) {
     return property.Serialize();
 }
Example #4
0
 public void SetProperty(string propertyName, PropertyData value)
 {
     Property[propertyName] = value;
 }