Class HierarchicalComponentContainer<TContainer, TComponent>.ReadOnly
A read-only wrapper for this container, which does not expose methods that modify the container. If changes are made to the underlying container, the read-only wrapper reflects those changes.
Inherited Members
Namespace: Unity.Build
Assembly: solution.dll
Syntax
public class HierarchicalComponentContainer<TContainer, TComponent>.ReadOnly
Methods
| Name | Description |
|---|---|
| GetComponent(Type) | Get the value of a Type component. |
| GetComponentOrDefault(Type) | Get the value of a Type component if found. Otherwise an instance created using TypeConstruction utility. The container is not modified. |
| GetComponentOrDefault<T>() | Get the value of a |
| GetComponentTypes() | Get a flatten list of all component types from this container and its dependencies. |
| GetComponent<T>() | Get the value of a |
| GetComponents() | Get a flatten list of all components recursively from this container and its dependencies. |
| GetComponents(Type) | Get a flatten list of all components recursively from this container and its dependencies, that matches Type. |
| GetComponents<T>() | Get a flatten list of all components recursively from this container and its dependencies, that matches Type. |
| HasComponent(Type) | Determine if a Type component is stored in this container or its dependencies. |
| HasComponent<T>() | Determine if a |
| IsComponentInherited(Type) | Determine if a Type component is inherited from a dependency. |
| IsComponentInherited<T>() | Determine if a |
| IsComponentOverridden(Type) | Determine if a Type component overrides a dependency. |
| IsComponentOverridden<T>() | Determine if a |
| IsComponentOverriding(Type) | Determines if component overrides a dependency. |
| IsComponentOverriding<T>() | Determines if component overrides a dependency. |
| TryGetComponent(Type, out TComponent) | Try to get the value of a Type component. |
| TryGetComponent<T>(out T) | Try to get the value of a |