C# 클래스 W3c.Ddr.Simple.ServiceFactory

Defines a factory for instantiating Service with the supplied default namespace and configuration.
파일 보기 프로젝트 열기: OpenDDRdotORG/OpenDDR-CSharp

공개 메소드들

메소드 설명
newService ( Type serviceType, String defaultVocabulary, Properties configuration ) : IService

Instantiates an instance of the Type serviceType establishing the Default Vocabulary to be the one specified and with implementation specific values passed as Properties.

메소드 상세

newService() 공개 정적인 메소드

Instantiates an instance of the Type serviceType establishing the Default Vocabulary to be the one specified and with implementation specific values passed as Properties.
Throws when... Throws when...
public static newService ( Type serviceType, String defaultVocabulary, Properties configuration ) : IService
serviceType System.Type The interface implementation
defaultVocabulary String The default vocabulary
configuration W3c.Ddr.Models.Properties The Property
리턴 IService