Exemple #1
0
        /// <summary>
        /// タグのListを返す
        /// </summary>
        /// <returns></returns>
        private static List <TagTransferItemViewModel> GetTagListItems()
        {
            var retList = new List <TagTransferItemViewModel>();

            var models = TagExpander.Expand(ModelsComposite.TagManager);

            foreach (var model in models)
            {
                retList.Add(new TagTransferItemViewModel(model as SaveTagModel));
            }

            return(retList);
        }
 /// <summary>
 /// タグの転送
 /// </summary>
 /// <param name="tags">タグ</param>
 private static void TransferTags(List <SaveTagModel> tags)
 {
     TagExpander.Expand(tags, ModelsComposite.TagManager);
 }
        private bool ExpandTagModel()
        {
            TagExpander.Expand(LoadComposition.TagModelCollection, ModelsComposite.TagManager);

            return(true);
        }