Пример #1
0
        private IDictionary <string, object> SetDefaultExtra(IDictionary <string, object> extra = null)
        {
            if (extra == null)
            {
                extra = new Dictionary <string, object>();
            }

            if (DefaultExtra != null)
            {
                foreach (var defaultExtraItem in DefaultExtra.ToList())
                {
                    extra[defaultExtraItem.Key] = defaultExtraItem.Value;
                }
            }

            return(_platform.AppendPlatformExtra(extra));
        }