예제 #1
0
        private void WriteXamlBoilerplate(XamlBoilerplateID bpID, XPathNavigator typeReflection, SyntaxWriter writer)
        {
            string xamlBlockId = System.Enum.GetName(typeof(XamlBoilerplateID), bpID);

            if (xamlBlockId != null)
            {
                writer.WriteStartSubBlock(xamlBlockId);
                if (typeReflection != null)
                {
                    WriteTypeReference(typeReflection, writer);
                }
                writer.WriteEndSubBlock();
            }
        }
예제 #2
0
 private void WriteXamlBoilerplate(XamlBoilerplateID bpID, XPathNavigator typeReflection, SyntaxWriter writer)
 {
     string xamlBlockId = System.Enum.GetName(typeof(XamlBoilerplateID), bpID);
     if (xamlBlockId != null)
     {
         writer.WriteStartSubBlock(xamlBlockId);
         if (typeReflection != null)
             WriteTypeReference(typeReflection, writer);
         writer.WriteEndSubBlock();
     }
 }
예제 #3
0
 private void WriteXamlBoilerplate(XamlBoilerplateID bpID, SyntaxWriter writer)
 {
     WriteXamlBoilerplate(bpID, null, writer);
 }
예제 #4
0
 private void WriteXamlBoilerplate(XamlBoilerplateID bpID, SyntaxWriter writer)
 {
     WriteXamlBoilerplate(bpID, null, writer);
 }