VAF.Extensions.Community
VAF.Extensions.Community copied to clipboard
ObjectCopyOptions Helper methods for Properties
Could we have helper methods on ObjectCopyOptions for the underlying Properties ? Chainable would be nice too.
These could be the above specified helpers:
- public ObjectCopyOptions ReplaceOrAdd(int propertyId, MFDataType dataType, object value);
- public ObjectCopyOptions Add(int propertyId, MFDataType dataType, object value);
- public ObjectCopyOptions Remove(int propertyId);
An improved overload could infer DataType from propertyId:
- public ObjectCopyOptions ReplaceOrAdd(int propertyId, object value);
- public ObjectCopyOptions Add(int propertyId, object value);