AntCollection Constructor
Initializes a new instance of the
AntCollection class. The ANT radio is initialized for continuous scan mode.
Namespace: SmallEarthTech.AntPlus.Extensions.HostingAssembly: SmallEarthTech.AntPlus.Extensions.Hosting (in SmallEarthTech.AntPlus.Extensions.Hosting.dll) Version: 1.1.0.0+c05bd17c9aeef16f18715dc523820c84b7d5372d
public AntCollection(
IServiceProvider services,
IAntRadio antRadio,
ILogger<AntCollection> logger,
IOptions<TimeoutOptions> options
)
Public Sub New (
services As IServiceProvider,
antRadio As IAntRadio,
logger As ILogger(Of AntCollection),
options As IOptions(Of TimeoutOptions)
)
public:
AntCollection(
IServiceProvider^ services,
IAntRadio^ antRadio,
ILogger<AntCollection^>^ logger,
IOptions<TimeoutOptions^>^ options
)
new :
services : IServiceProvider *
antRadio : IAntRadio *
logger : ILogger<AntCollection> *
options : IOptions<TimeoutOptions> -> AntCollection
Parameters
- services IServiceProvider
- The service provider.
- antRadio IAntRadio
- The ANT radio.
- logger ILoggerAntCollection
- The logger.
- options IOptionsTimeoutOptions
- The ANT device timeout options.