Пример #1
0
        /// <summary>
        ///     Called when the add-on succeeds in fetching the local information.
        /// </summary>
        private void OnLocalAddonInfoFetchSuccess(AvcAddonInfo localAddonInfo)
        {
            LocalAddonInfo = localAddonInfo;

            // Fetch the remote add-on information.
            GetAddonInfoFromWeb(localAddonInfo?.Url, OnRemoteAddonInfoFetchSuccess, OnRemoteAddonInfoFetchFailure);
        }
Пример #2
0
        /// <summary>
        ///     Called when the add-on succeeds in fetching the local information.
        /// </summary>
        private void OnLocalAddonInfoFetchSuccess(AvcAddonInfo localAddonInfo)
        {
            LocalAddonInfo = localAddonInfo;

            // Fetch the remote add-on information.
            GetAddonInfoFromWeb(localAddonInfo?.Url, OnRemoteAddonInfoFetchSuccess, OnRemoteAddonInfoFetchFailure);
        }
Пример #3
0
 /// <summary>
 ///     Called when fetching the remote add-on information succeeded.
 /// </summary>
 private void OnRemoteAddonInfoFetchSuccess(AvcAddonInfo remoteAddonInfo)
 {
     RemoteAddonInfo = remoteAddonInfo;
     State = AddonState.Success;
     onFetchComplete?.Invoke(this);
 }
Пример #4
0
 /// <summary>
 ///     Called when fetching the remote add-on information succeeded.
 /// </summary>
 private void OnRemoteAddonInfoFetchSuccess(AvcAddonInfo remoteAddonInfo)
 {
     RemoteAddonInfo = remoteAddonInfo;
     State           = AddonState.Success;
     onFetchComplete?.Invoke(this);
 }