mdbs99 / james

James is a collection of object-oriented Pascal primitives for Lazarus and Delphi
MIT License
54 stars 20 forks source link

Rename some methods in DataParams #110

Closed mdbs99 closed 5 years ago

mdbs99 commented 5 years ago

Rename these methods to be more consistent with others.

From:

    function SaveAs(aDest: TParams): IDataParams;
    function AsString(const SeparatorChar: string): string; overload;
    function AsString: string; overload;

To:

    function ToParams(aDest: TParams): IDataParams;
    function ToString(const aSeparator: string): string; overload;
    function ToString: string; overload;
mdbs99 commented 5 years ago

More correct is:

    function AsRawUTF8(const aSeparator: RawUTF8): RawUTF8; overload;
    function AsRawUTF8: RawUTF8; overload;
    function ToParams(aDest: TParams): IDataParams;