VAF.Extensions.Community icon indicating copy to clipboard operation
VAF.Extensions.Community copied to clipboard

PropertyValueInstruction constructors

Open CraigHawker opened this issue 4 years ago • 0 comments

They are currently quite verbose. Could we add some helper methods for creation?

  • public static PropertyValueInstruction CreateRemoveInstruction(int propertyId);
  • public static PropertyValueInstruction CreateReplaceOrAddInstruction(int propertyId, MFDataType dataType, object value)
  • ...

CreateRemoveInstruction is perhaps most important as there's no point providing types and values for a removal command.

CraigHawker avatar May 12 '21 13:05 CraigHawker