Navigation
API > API/Runtime > API/Runtime/PortalServices > API/Runtime/PortalServices/IPortalServiceProvider
References
| Module | PortalServices |
| Header | /Engine/Source/Runtime/Portal/Services/Public/IPortalServiceProvider.h |
| Include | #include "IPortalServiceProvider.h" |
TSharedPtr< IPortalService > GetService
&40;
const FString & ServiceName,
const TSharedRef< FTypeContainer > & Dependencies
&41;
Remarks
Get a service instance of the specified type. The service instance, or nullptr if unavailable.
Parameters
| Name | Description |
|---|---|
| ServiceName | The name of the service type to get. |
| Dependencies | Optional service dependencies. |