/// <summary> /// Instantiates a new <see cref="BasicClientBase"/>. /// </summary> /// <param name="channelAddress">This client's address.</param> /// <param name="configuration">This client's configuration.</param> /// <param name="registrationController">This client's registration controller.</param> protected BasicClientBase(IChannelAddress channelAddress, IClientConfiguration configuration, IRegistrationController registrationController) : this() { Initialize(channelAddress, configuration, registrationController); }
public AnalyticsManager(INotificationManager notificationManager, IEnvironmentInformation environmentInformation, IPersistentStorage persistentStorage, IRegistrationController registrationController) { _notificationManager = notificationManager; _environmentInformation = environmentInformation; _persistentStorage = persistentStorage; _registrationController = registrationController; }
internal TransportController(IRegistrationController registrationController) : this() { if (registrationController == null) { registrationController = new RegistrationControllers.NullRegistrationController((byte[])null); } RegistrationController = registrationController; }
/// <summary> /// Instantiates a new <see cref="TransportController"/>. /// </summary> /// <param name="transportConfiguration">The transportation configuration for this <see cref="TransportController"/>.</param> /// <param name="registrationController">The registration controller used by this <see cref="TransportController"/>.</param> public TransportController(ITransportConfiguration transportConfiguration, IRegistrationController registrationController) : this() { if (registrationController == null) { registrationController = new RegistrationControllers.NullRegistrationController((byte[])null); } RegistrationController = registrationController; TransportConfiguration = transportConfiguration ?? throw new ArgumentNullException(nameof(transportConfiguration)); }
/// <summary> /// Instantiates a new <see cref="Client"/>. /// </summary> /// <param name="channelAddress">This client's address.</param> /// <param name="configuration">This client's configuration.</param> /// <param name="registrationController">This client's registration controller.</param> public Client(IChannelAddress channelAddress, IClientConfiguration configuration, IRegistrationController registrationController) : base(channelAddress, configuration, registrationController) { }