Navigation
API > API/Runtime > API/Runtime/PortalServices > API/Runtime/PortalServices/IPortalServiceLocator
References
| Module | PortalServices |
| Header | /Engine/Source/Runtime/Portal/Services/Public/IPortalServiceLocator.h |
| Include | #include "IPortalServiceLocator.h" |
template<typename ServiceType>
TSharedRef< ServiceType > GetServiceRef
&40;
const FString & ProductId
&41;
Remarks
Get a service of the specified type.
Unlike GetService(), this method will assert if a service instance of the specified type does not exist. The service instance.
Parameters
| Name | Description |
|---|---|
| ServiceType | The type of service to get. |