public void SetToVariant(ParameterReference parameter, Variant localValue) { if (TryGetParameter(parameter, out var param)) { localValue.Set(param.Value.Get()); } }
public void SetValue(Variant value) { if (Owner != null) { Owner.CallSetter(Property, value); } else { if (_localValue == null) { _localValue = new Variant(value.HoldType); } _localValue.Set(value.Get()); } }