Method GetService
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
GetService(Type)
Gets the service object of the specified type. Returns null when the service is not available.
public object GetService(Type serviceType)
Parameters
serviceType
Type
Returns
GetService<T>()
Gets the service object of the type T. Returns null when the service is not available.
public T GetService<T>() where T : class
Returns
- T
Type Parameters
T