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 a component value. |
| GetComponentOrDefault(Type) | Get a component value if found, default value otherwise. |
| GetComponentOrDefault<T>() | Get a component value if found, default value otherwise. |
| GetComponentSource(Type, bool) | Get the source container from which the component value is coming from. |
| GetComponentSource<T>(bool) | Get the source container from which the component value is coming from. |
| GetComponentTypes() | Get all component types from all dependencies recursively. |
| GetComponent<T>() | Get a component value. |
| GetComponents() | Get all component values from all dependencies recursively. |
| GetComponents(Type) | Get all component values from all dependencies recursively, that matches specified component type. |
| GetComponents<T>() | Get all component values from all dependencies recursively, that matches specified component type. |
| HasComponent(Type) | Determine if a component exist in this container or dependencies recursively. |
| HasComponent<T>() | Determine if a component exist in this container or dependencies recursively. |
| IsComponentInherited(Type) | Determine if a component is inherited from a dependency. |
| IsComponentInherited<T>() | Determine if a component is inherited from a dependency. |
| IsComponentOverridden(Type) | |
| IsComponentOverridden<T>() | |
| IsComponentOverriding(Type) | Determines if component overrides a dependency. |
| IsComponentOverriding<T>() | Determines if component overrides a dependency. |
| TryGetComponent(Type, out TComponent) | Get a component value. |
| TryGetComponent<T>(out T) | Get a component value. |