Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Why doesn't OwinEnvironment implement IEnumerable.GetEnumerator? #788

Closed
@kchanlee

Description

@kchanlee

In the project Microsoft.AspNetCore.Owin, OwinFeatureCollection implements IEnumerable.GetEnumerator() which looks good.

        IEnumerator IEnumerable.GetEnumerator()
        {
            return GetEnumerator();
        }

        public IEnumerator<KeyValuePair<Type, object>> GetEnumerator()
        {
            ...
        }

Why doesn't OwinEnvironment implements IEnumerable.GetEnumerator() same as OwinFeatureCollection? Now (dev branch, Commit 2cafa43) it just

        IEnumerator IEnumerable.GetEnumerator()
        {
            throw new NotImplementedException();
        }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions