예제 #1
0
        private IEnumerable <Snippet> BuildSnippets(BindingChildReference literal)
        {
            Snippet[] snippetArray = new Snippet[1];
            Snippet   snippet      = new Snippet {
                Value = "__bindingWriter" + base.FrameData.NestingLevel + ".ToString()"
            };

            snippetArray[0] = snippet;
            return(snippetArray);
        }
예제 #2
0
 private IEnumerable <Snippet> BuildSnippets(BindingChildReference literal)
 {
     return(new[] { new Snippet {
                        Value = "__bindingWriter" + FrameData.NestingLevel + ".ToString()"
                    } });
 }