Skip to content

Add the idea of TryAs(Type, out bool success) #44

Description

@ipjohnson
bool success;

c.Export(typeof(BasicService)).TryAs(typeof(IBasicService), out success);

Only exports BasicService if no other IBasicService exist.

Also need to add a TryByInterface and TryByInterfaces to ExportTypeSetConfiguration

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions