Skip to content

Typed factory should allow disposing multiple times #458

@jonyadamit

Description

@jonyadamit

According to .NET Guidelines a dispose method should tolerate being called multiple times without throwing an exception.
This exception should not be thrown when method equals FactoryMethod.Dispose:

throw new ObjectDisposedException("this", "The factory was disposed and can no longer be used.");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions