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(); } }
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(); } }
private void WriteXamlBoilerplate(XamlBoilerplateID bpID, SyntaxWriter writer) { WriteXamlBoilerplate(bpID, null, writer); }