コード例 #1
0
ファイル: GenFragment.cs プロジェクト: JamieO53/xpangen.old
        /// <summary>
        ///     Profile text equivalent to the fragment.
        /// </summary>
        /// <param name="syntaxDictionary">The dictionary defining the syntax of the profile text.</param>
        /// <returns>The fragment's profile text.</returns>
        public string ProfileText(ProfileFragmentSyntaxDictionary syntaxDictionary = null)
        {
            var dictionary = syntaxDictionary ?? ProfileFragmentSyntaxDictionary.ActiveProfileFragmentSyntaxDictionary;
            var t          = new GenProfileTextExpander(dictionary);

            return(t.GetText(Fragment));
        }
コード例 #2
0
 public GenProfileTextExpander(ProfileFragmentSyntaxDictionary dictionary)
 {
     Dictionary             = dictionary;
     ProfileTextPostionList = new ProfileTextPostionList();
 }