/// <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)); }
public GenProfileTextExpander(ProfileFragmentSyntaxDictionary dictionary) { Dictionary = dictionary; ProfileTextPostionList = new ProfileTextPostionList(); }