Class PropertyFactoryLoader
- Namespace
- Jabra.NET.Sdk.Properties
- Assembly
- Jabra.NET.Sdk.Properties.dll
public class PropertyFactoryLoader : IPropertyFactoryLoader
- Inheritance
-
PropertyFactoryLoader
- Implements
- Inherited Members
Constructors
PropertyFactoryLoader()
public PropertyFactoryLoader()
Methods
Create()
TODO: improve - Create a PropertyFactory
public Task<IPropertyFactory> Create()
Returns
- Task<IPropertyFactory>
A property factory
Create(Stream)
TODO: improve - Create a PropertyFactory from a property declaration.
public Task<IPropertyFactory> Create(Stream definition)
Parameters
definition
StreamThe property declaration backing the property factory.
Returns
- Task<IPropertyFactory>
A property factory
CreateFromFile(string)
TODO: improve - Create a PropertyFactory from a property declaration read from a file.
public Task<IPropertyFactory> CreateFromFile(string definitionPath)
Parameters
definitionPath
stringThe file path of the property declaration backing the property factory.
Returns
- Task<IPropertyFactory>
A property factory
CreateFromText(string)
TODO: improve - Create a PropertyFactory from a property declaration.
public Task<IPropertyFactory> CreateFromText(string definition)
Parameters
definition
stringThe property declaration backing the property factory.
Returns
- Task<IPropertyFactory>
A property factory
GetSchemaVersion()
Return the version of the property definition JSON schema that the property module supports.
public Task<SemanticVersion> GetSchemaVersion()
Returns
- Task<SemanticVersion>
The property definition JSON schema version supported by the property module.