C# Class W3c.Ddr.Simple.ServiceFactory

Defines a factory for instantiating Service with the supplied default namespace and configuration.
Mostrar archivo Open project: OpenDDRdotORG/OpenDDR-CSharp

Public Methods

Method Description
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.

Method Details

newService() public static method

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
return IService