private object GetPropertyValue(MethodBase method, PropertyData propertyData) { if (propertyData == null) { return Activator.CreateInstance(((MethodInfo)method).ReturnType); } return propertyData; }
public void SetProperty(string propertyName, PropertyData value) { Property[propertyName] = value; }
public string SerializeProperty(PropertyData property) { return property.Serialize(); }