Show / Hide Table of Contents

Method GetService

| Improve this Doc View Source

GetService<T>(Boolean)

Gets the service.

Declaration
public virtual T GetService<T>(bool autoCreate = true)

    where T : class, IService
Parameters
Type Name Description
System.Boolean autoCreate

Indicates whether the service should be created automatically.

Returns
Type Description
T

The result service.

Type Parameters
Name Description
T

The type of the service.

Implements
IDataPresenter.GetService<T>(Boolean)
  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest