![]() |
Init(args)
Scripting Reference
|
Utility class containing methods related to providing and retrieving arguments for objects that implement one of the IArgs interfaces such as MonoBehaviour<TArgument> and ScriptableObject<TArgument>.
Utility class containing methods related to retrieving arguments for objects that implement the IArgs<TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument> interface such as MonoBehaviour<TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument> and ScriptableObject<TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument>.
Utility class containing methods related to retrieving arguments for objects that implement the IArgs<TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument> interface such as MonoBehaviour<TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument> and ScriptableObject<TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument>.
Utility class containing methods related to retrieving arguments for objects that implement the IArgs<TFirstArgument, TSecondArgument, TThirdArgument> interface such as MonoBehaviour<TFirstArgument, TSecondArgument, TThirdArgument> and ScriptableObject<TFirstArgument, TSecondArgument, TThirdArgument>.
Utility class containing methods related to retrieving arguments for objects that implement the IArgs<TFirstArgument, TSecondArgument> interface such as MonoBehaviour<TFirstArgument, TSecondArgument> and ScriptableObject<TFirstArgument, TSecondArgument>.
Utility class containing methods related to retrieving arguments for objects that implement the IArgs<TArgument> interface such as MonoBehaviour<TArgument> and ScriptableObject<TArgument>.
TArgument | Type of the argument. |
TFirstArgument | Type of the first argument. |
TSecondArgument | Type of the second argument. |
TFirstArgument | Type of the first argument. |
TSecondArgument | Type of the second argument. |
TThirdArgument | Type of the third argument. |
TFirstArgument | Type of the first argument. |
TSecondArgument | Type of the second argument. |
TThirdArgument | Type of the third argument. |
TFourthArgument | Type of the fourth argument. |
TFirstArgument | Type of the first argument. |
TSecondArgument | Type of the second argument. |
TThirdArgument | Type of the third argument. |
TFourthArgument | Type of the fourth argument. |
TFifthArgument | Type of the fifth argument. |
Static Public Member Functions | |
static void | Set< TClient, TArgument > (TArgument argument) |
Provides an argument for use with initializing a client of type TClient . More... | |
static void | Set< TClient, TFirstArgument, TSecondArgument > (TFirstArgument firstArgument, TSecondArgument secondArgument) |
Provides two arguments for use with initializing a client of type TClient . More... | |
static void | Set< TClient, TFirstArgument, TSecondArgument, TThirdArgument > (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument) |
Provides three arguments for use with initializing a client of type TClient . More... | |
static void | Set< TClient, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument > (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument) |
Provides four arguments for use with initializing a client of type TClient . More... | |
static void | Set< TClient, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument > (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, TFifthArgument fifthArgument) |
Provides five arguments for use with initializing a client of type TClient . More... | |
static bool | TryGet< TClient, TArgument > (Context context, [NotNull] TClient client, out TArgument argument) |
Retrieves an argument provided for the client object using the Set<TArgument> function. More... | |
static bool | TryGet< TClient, TFirstArgument, TSecondArgument > (Context context, [NotNull] TClient client, out TFirstArgument firstArgument, TSecondArgument secondArgument) |
Retrieves arguments provided for the client object using the Set<TFirstArgument, TSecondArgument> function. More... | |
static bool | TryGet< TClient, TFirstArgument, TSecondArgument > (Context context, [NotNull] TClient client, out TFirstArgument firstArgument, out TSecondArgument secondArgument) |
Retrieves arguments provided for the client object using the Set<TFirstArgument, TSecondArgument> function. More... | |
static bool | TryGet< TClient, TFirstArgument, TSecondArgument, TThirdArgument > (Context context, [NotNull] TClient client, out TFirstArgument firstArgument, out TSecondArgument secondArgument, out TThirdArgument thirdArgument) |
Retrieves arguments provided for the client object using the Set<TFirstArgument, TSecondArgument, TThirdArgument> function. More... | |
static bool | TryGet< TClient, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument > (Context context, [NotNull] TClient client, out TFirstArgument firstArgument, out TSecondArgument secondArgument, out TThirdArgument thirdArgument, out TFourthArgument fourthArgument) |
Retrieves arguments provided for the client object using the Set<TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument> function. More... | |
static bool | TryGet< TClient, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument > (Context context, [NotNull] TClient client, out TFirstArgument firstArgument, out TSecondArgument secondArgument, out TThirdArgument thirdArgument, out TFourthArgument fourthArgument, out TFifthArgument fifthArgument) |
Retrieves arguments provided for the client object using the Set<TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument> function. More... | |
static bool | Clear< TClient, TArgument > () |
Clears argument provided for client of type TClient using the Set<TArgument> function and returns a value indicating if the argument was not received by the client. More... | |
static bool | Clear< TClient, TFirstArgument, TSecondArgument > () |
Clears arguments provided for client of type TClient using the Set<TFirstArgument, TSecondArgument> function and returns a value indicating if the arguments were not received by the client. More... | |
static bool | Clear< TClient, TFirstArgument, TSecondArgument, TThirdArgument > () |
Clears arguments provided for client of type TClient using the Set<TFirstArgument, TSecondArgument, TThirdArgument> function and returns a value indicating if the arguments were not received by the client. More... | |
static bool | Clear< TClient, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument > () |
Clears arguments previously provided for client of type TClient using the Set<TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument> function and returns a value indicating if the arguments were not received by the client. More... | |
static bool | Clear< TClient, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument > () |
Clears arguments provided for client of type TClient using the Set<TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument> function and returns a value indicating if the arguments were not received by the client. More... | |
static bool | Clear< TArgument > ([NotNull] Type clientType) |
Clears dependency previously injected for client of type clientType using the Set<TArgument> function. More... | |
static bool | Clear< TFirstArgument, TSecondArgument > ([NotNull] Type clientType) |
Clears dependencies previously injected for client of type clientType using the Set<TFirstArgument, TSecondArgument> function. More... | |
static bool | Clear< TFirstArgument, TSecondArgument, TThirdArgument > ([NotNull] Type clientType) |
Clears dependencies previously injected for client of type clientType using the Set<TFirstArgument, TSecondArgument, TThirdArgument> function. More... | |
static bool | Clear< TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument > ([NotNull] Type clientType) |
Clears dependencies previously injected for client of type clientType using the Set<TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument> function. More... | |
static bool | Clear< TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument > ([NotNull] Type clientType) |
Clears dependencies previously injected for client of type clientType using the Set<TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument> function. More... | |
static bool | Received< TClient, TArgument > (TClient client) |
Returns a value indicating if argument provided for client of type TClient using the Set<TArgument> function was received by the client. More... | |
static bool | Received< TClient, TFirstArgument, TSecondArgument > (TClient client) |
Returns a value indicating if arguments provided for client of type TClient using the Set<TFirstArgument, TSecondArgument> function were received by the client. More... | |
static bool | Received< TClient, TFirstArgument, TSecondArgument, TThirdArgument > (TClient client) |
Returns a value indicating if arguments provided for client of type TClient using the Set<TFirstArgument, TSecondArgument, TThirdArgument> function were received by the client. More... | |
static bool | Received< TClient, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument > (TClient client) |
Returns a value indicating if arguments provided for client of type TClient using the Set<TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument> function were received by the client. More... | |
static bool | Received< TClient, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument > (TClient client) |
Returns a value indicating if arguments provided for client of type TClient using the Set<TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument> function were received by the client. More... | |
static bool | TryGet< TClient > (Context context, [NotNull] TClient client) |
Calls the Init function on the client with the argument previously stored using the Set function. More... | |
static bool | TryGet< TClient > (Context context, [NotNull] TClient client) |
Calls the Init function on the client with the arguments previously stored using the Set function. More... | |
static bool | TryGet< TClient > (Context context, [NotNull] TClient client) |
Calls the Init function on the client with the arguments previously stored using the Set function. More... | |
static bool | TryGet< TClient > (Context context, [NotNull] TClient client) |
Calls the Init function on the client with the arguments previously stored using the Set function. More... | |
static bool | TryGet< TClient > (Context context, [NotNull] TClient client) |
Calls the Init function on the client with the arguments previously stored using the Set function. More... | |