Ejemplo n.º 1
0
        private async Task <IDictionary <string, string> > SetDefaultTagsAsync(IDictionary <string, string> tags = null)
        {
            if (tags == null)
            {
                tags = new Dictionary <string, string>();
            }

            if (DefaultTags != null)
            {
                foreach (var defaultTag in DefaultTags.ToList())
                {
                    tags[defaultTag.Key] = defaultTag.Value;
                }
            }

            return(await _platform.AppendPlatformTagsAsync(tags));
        }