Method CreateChainOperation
CreateChainOperation<TObject, TObjectDependency>(AsyncOperationHandle<TObjectDependency>, Func<AsyncOperationHandle<TObjectDependency>, AsyncOperationHandle<TObject>>)
Create a chain operation to handle dependencies.
선언
public AsyncOperationHandle<TObject> CreateChainOperation<TObject, TObjectDependency>(AsyncOperationHandle<TObjectDependency> dependentOp, Func<AsyncOperationHandle<TObjectDependency>, AsyncOperationHandle<TObject>> callback)
파라미터
타입 | 이름 | 설명 |
---|---|---|
AsyncOperationHandle<TObjectDependency> | dependentOp | The dependency operation. |
Func<AsyncOperationHandle<TObjectDependency>, AsyncOperationHandle<TObject>> | callback | The callback method that will create the dependent operation from the dependency operation. |
반환
타입 | 설명 |
---|---|
AsyncOperationHandle<TObject> | The operation handle. |
타입 파라미터
이름 | 설명 |
---|---|
TObject | The type of operation handle to return. |
TObjectDependency | The type of the dependency operation. |
CreateChainOperation<TObject>(AsyncOperationHandle, Func<AsyncOperationHandle, AsyncOperationHandle<TObject>>)
Create a chain operation to handle dependencies.
선언
public AsyncOperationHandle<TObject> CreateChainOperation<TObject>(AsyncOperationHandle dependentOp, Func<AsyncOperationHandle, AsyncOperationHandle<TObject>> callback)
파라미터
타입 | 이름 | 설명 |
---|---|---|
AsyncOperationHandle | dependentOp | The dependency operation. |
Func<AsyncOperationHandle, AsyncOperationHandle<TObject>> | callback | The callback method that will create the dependent operation from the dependency operation. |
반환
타입 | 설명 |
---|---|
AsyncOperationHandle<TObject> | The operation handle. |
타입 파라미터
이름 | 설명 |
---|---|
TObject | The type of operation handle to return. |
CreateChainOperation<TObject, TObjectDependency>(AsyncOperationHandle<TObjectDependency>, Func<AsyncOperationHandle<TObjectDependency>, AsyncOperationHandle<TObject>>, bool)
Create a chain operation to handle dependencies.
선언
public AsyncOperationHandle<TObject> CreateChainOperation<TObject, TObjectDependency>(AsyncOperationHandle<TObjectDependency> dependentOp, Func<AsyncOperationHandle<TObjectDependency>, AsyncOperationHandle<TObject>> callback, bool releaseDependenciesOnFailure = true)
파라미터
타입 | 이름 | 설명 |
---|---|---|
AsyncOperationHandle<TObjectDependency> | dependentOp | The dependency operation. |
Func<AsyncOperationHandle<TObjectDependency>, AsyncOperationHandle<TObject>> | callback | The callback method that will create the dependent operation from the dependency operation. |
bool | releaseDependenciesOnFailure | Whether to release dependencies if the created operation has failed. |
반환
타입 | 설명 |
---|---|
AsyncOperationHandle<TObject> | The operation handle. |
타입 파라미터
이름 | 설명 |
---|---|
TObject | The type of operation handle to return. |
TObjectDependency | The type of the dependency operation. |
CreateChainOperation<TObject>(AsyncOperationHandle, Func<AsyncOperationHandle, AsyncOperationHandle<TObject>>, bool)
Create a chain operation to handle dependencies.
선언
public AsyncOperationHandle<TObject> CreateChainOperation<TObject>(AsyncOperationHandle dependentOp, Func<AsyncOperationHandle, AsyncOperationHandle<TObject>> callback, bool releaseDependenciesOnFailure = true)
파라미터
타입 | 이름 | 설명 |
---|---|---|
AsyncOperationHandle | dependentOp | The dependency operation. |
Func<AsyncOperationHandle, AsyncOperationHandle<TObject>> | callback | The callback method that will create the dependent operation from the dependency operation. |
bool | releaseDependenciesOnFailure | Whether to release dependencies if the created operation has failed. |
반환
타입 | 설명 |
---|---|
AsyncOperationHandle<TObject> | The operation handle. |
타입 파라미터
이름 | 설명 |
---|---|
TObject | The type of operation handle to return. |