/// <inheritdoc /> public LoginButtonNetworkConnectionController( [KeyFilter(UnityUIRegisterationKey.TitleLoginButton)][NotNull] IUIButton loginButtonElement, [NotNull] IGameConnectionEndpointDetails connectDetails, IConnectionService connectionService) { LoginButtonElement = loginButtonElement ?? throw new ArgumentNullException(nameof(loginButtonElement)); ConnectDetails = connectDetails ?? throw new ArgumentNullException(nameof(connectDetails)); ConnectionService = connectionService ?? throw new ArgumentNullException(nameof(connectionService)); }
/// <inheritdoc /> public DefaultConnectionRedirector([NotNull] IGameObjectComponentAttachmentFactory componentAttachmentFactory, [NotNull] IConnectionService connectionService, [NotNull] IGameConnectionEndpointDetails connectionDetails) { ComponentAttachmentFactory = componentAttachmentFactory ?? throw new ArgumentNullException(nameof(componentAttachmentFactory)); ConnectionService = connectionService ?? throw new ArgumentNullException(nameof(connectionService)); ConnectionDetails = connectionDetails ?? throw new ArgumentNullException(nameof(connectionDetails)); }
/// <inheritdoc /> public SharedConnectionRedirectionPayloadHandler([NotNull] IGameConnectionEndpointDetails connectionEndpoint, [NotNull] IFullCryptoInitializationService <byte[]> cryptoInitializer, ILog logger) : base(logger) { ConnectionEndpoint = connectionEndpoint ?? throw new ArgumentNullException(nameof(connectionEndpoint)); CryptoInitializer = cryptoInitializer ?? throw new ArgumentNullException(nameof(cryptoInitializer)); }
/// <inheritdoc /> public NetworkClientConnectionOnInitInitializable([NotNull] IConnectionService connectionService, [NotNull] IGameConnectionEndpointDetails connectionDetails, [NotNull] ILog logger) { ConnectionService = connectionService ?? throw new ArgumentNullException(nameof(connectionService)); ConnectionDetails = connectionDetails ?? throw new ArgumentNullException(nameof(connectionDetails)); Logger = logger ?? throw new ArgumentNullException(nameof(logger)); }