Skip to content

Method Chaining #11

@bubbajoe

Description

@bubbajoe

Hello again! I was wondering if you would be open to using the method chaining design pattern for the Setters so that changing values can look much better.

Usage example:

cp := astiav.AllocCodecParameters().
                  SetHeight(1).
                  SetHeight(2).
                  SetSampleRate(3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions