/// <inheritdoc /> public INetworkDeviceDefinitionBuilder WithUpdateSource(INetworkDeviceUpdateSourceBase deviceUpdateSource) { _deviceUpdateSource = deviceUpdateSource; return(this); }
public INetworkDeviceDefinitionBuilder CreateBuilder <T>(INetworkDeviceUpdateSourceBase source) where T : INetworkDevice { var builder = _lifetimeScope.GetService <NetworkDeviceDefinitionBuilder <T> >(); return(builder.WithUpdateSource(source)); }
public INetworkDeviceDefinitionBuilder CreateBuilder <T>(INetworkDeviceUpdateSourceBase source) where T : INetworkDevice { return(_lifetimeScope.Resolve <NetworkDeviceDefinitionBuilder <T> >().WithUpdateSource(source)); }