C# Class CodeGarten.Service.ServiceFactory

显示文件 Open project: CodeGarten/CodeGarten

Public Properties

Property Type Description
ServiceLogger Logger

Public Methods

Method Description
AvaibleServices ( ) : IEnumerable
CreateController ( System.Web.Routing.RequestContext requestContext, string serviceName, string controllerName ) : IController
Install ( string name ) : bool
InstallAll ( ) : bool
InstancePath ( string service, Container container, WorkSpaceType workSpaceType ) : string
LoadServices ( ) : void
NotInstalledServices ( ) : IEnumerable

Private Methods

Method Description
ServiceFactory ( ) : System

Method Details

AvaibleServices() public static method

public static AvaibleServices ( ) : IEnumerable
return IEnumerable

CreateController() public static method

public static CreateController ( System.Web.Routing.RequestContext requestContext, string serviceName, string controllerName ) : IController
requestContext System.Web.Routing.RequestContext
serviceName string
controllerName string
return IController

Install() public static method

public static Install ( string name ) : bool
name string
return bool

InstallAll() public static method

public static InstallAll ( ) : bool
return bool

InstancePath() public static method

public static InstancePath ( string service, Container container, WorkSpaceType workSpaceType ) : string
service string
container CodeGarten.Data.Model.Container
workSpaceType CodeGarten.Data.Model.WorkSpaceType
return string

LoadServices() public static method

public static LoadServices ( ) : void
return void

NotInstalledServices() public static method

public static NotInstalledServices ( ) : IEnumerable
return IEnumerable

Property Details

ServiceLogger public_oe static_oe property

public static Logger ServiceLogger
return Logger