Skip to content

Make the Bewit builder pipeline more Fluent-ish #7

@gmiserez

Description

@gmiserez

Is your feature request related to a problem? Please describe.
The Bewit builder pipeline could be more Fluent-ish.

Describe the solution you'd like
Instead of this:

    public class BewitRegistrationBuilder
    {
        public Func<INonceRepository> GetRepository { get; set; }
    }
}

do this:

    public class BewitRegistrationBuilder
    {
        internal Func<INonceRepository> GetRepository { get; private set; }

        public BewitRegistrationBuilder SetRepository(Func<INonceRepository> create)
        {
            GetRepository = create;
            return this;
        }
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions