Class ContainerPipelineExtensions
Extension pipe the container
Inheritance
System.Object
ContainerPipelineExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Onbox.Revit.V8.Applications
Assembly: Onbox.Revit.dll
Syntax
public static class ContainerPipelineExtensions
Methods
| Improve this Doc View SourcePipe<T>(IContainer)
Adds dependencies specified on the pipeline. It is used to compose the container with these dependencies
Declaration
public static IContainer Pipe<T>(this IContainer container)
where T : class, IContainerPipeline, new()
Parameters
Type | Name | Description |
---|---|---|
IContainer | container |
Returns
Type | Description |
---|---|
IContainer |
Type Parameters
Name | Description |
---|---|
T |
Pipe<T>(IContainerResolver)
Container Resolver pipeline is used to resolve dependencies or cleanup the dependencies of the container
Declaration
public static IContainerResolver Pipe<T>(this IContainerResolver container)
where T : class, IContainerResolverPipeline, new()
Parameters
Type | Name | Description |
---|---|---|
IContainerResolver | container |
Returns
Type | Description |
---|---|
IContainerResolver |
Type Parameters
Name | Description |
---|---|
T |