// custom field constructor public TypeDesc( string name, DescFlags flags, CustomReadFunc customReadFunc, object?[]?customParams = null, string?outputName = null) { Name = name; FieldType = CUSTOM; NumElements = 1; Flags = flags; _customReadFunc = customReadFunc; CustomParams = customParams; OutputName = outputName; }
public void DefineCustomField(string name, CustomReadFunc customReadFunc, object?[]?customParams = null, DescFlags flags = DescFlags.FTYPEDESC_SAVE) { }
protected void DefineCustomField( string name, CustomReadFunc customReadFunc, object?[]?customParams = null, DescFlags flags = FTYPEDESC_SAVE) => _handler.DefineCustomField(name, customReadFunc, customParams, flags);