Method GetRequiredService
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
GetRequiredService<T>()
Gets a required service. Never returns null; instead a ServiceRequiredException is thrown when the service cannot be found.
public T GetRequiredService<T>() where T : class
Returns
- T
Type Parameters
T