示例#1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Localytics"/> class.
        /// </summary>
        /// <param name="adapter">The adapter.</param>
        /// <param name="analyticsInfo">The analytics info.</param>
        public Localytics(IAdapter adapter, AnalyticsInfo analyticsInfo)
            : base(adapter, analyticsInfo)
        {
            LocalyticsInfo info = analyticsInfo as LocalyticsInfo;

            this.appKey = info.AppKey;
        }
示例#2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Localytics"/> class.
        /// </summary>
        /// <param name="analyticsInfo">The analytics info.</param>
        public Localytics(AnalyticsInfo analyticsInfo)
            : base(analyticsInfo)
        {
            LocalyticsInfo info = analyticsInfo as LocalyticsInfo;

            this.appKey = info.AppKey;
        }