|
|
@ -56,6 +56,7 @@ namespace ICSharpCode.WpfDesign |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the service object of the specified type.
|
|
|
|
/// Gets the service object of the specified type.
|
|
|
|
|
|
|
|
/// Returns null when the service is not available.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
public object GetService(Type serviceType) |
|
|
|
public object GetService(Type serviceType) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -66,6 +67,7 @@ namespace ICSharpCode.WpfDesign |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the service object of the type T.
|
|
|
|
/// Gets the service object of the type T.
|
|
|
|
|
|
|
|
/// Returns null when the service is not available.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")] |
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")] |
|
|
|
public T GetService<T>() where T : class |
|
|
|
public T GetService<T>() where T : class |
|
|
|