Module |
|
Header |
/Engine/Source/Runtime/Portal/Services/Public/IPortalServiceLocator.h |
Include |
#include "IPortalServiceLocator.h" |
template<typename ServiceType>
TSharedRef< ServiceType > GetServiceRef
(
const FString & ProductId
)
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.
Parameter |
Description |
---|---|
ServiceType |
The type of service to get. |