public virtual object ConvertTo( PSObject sourceValue, Type destinationType, IFormatProvider formatProvider, bool ignoreCase) { return(this.ConvertTo(PSTypeConverter.GetSourceValueAsObject(sourceValue), destinationType, formatProvider, ignoreCase)); }
public virtual bool CanConvertTo(PSObject sourceValue, Type destinationType) => this.CanConvertTo(PSTypeConverter.GetSourceValueAsObject(sourceValue), destinationType);