AgentMulder.Containers.Autofac.Patterns.FromAssemblies.BasedOn.AsImplementedInterfaces.ImplementedInterfacesRegistration.ImplementedInterfacesRegistration C# (CSharp) Method

ImplementedInterfacesRegistration() public method

public ImplementedInterfacesRegistration ( ITreeNode registrationRootElement ) : System.Collections.Generic
registrationRootElement ITreeNode
return System.Collections.Generic
            public ImplementedInterfacesRegistration(ITreeNode registrationRootElement)
                : base(registrationRootElement)
            {
                AddFilter(typeElement => typeElement.GetSuperTypes()
                                                    .SelectNotNull(type => type.GetTypeElement())
                                                    .OfType<IInterface>()
                                                    .Any(@interface => @interface.GetClrName().FullName != "System.IDisposable"));
            }
AsImplementedInterfaces.ImplementedInterfacesRegistration