コード例 #1
0
        static void ExtensionNodesChanged(object sender, ExtensionNodeEventArgs args)
        {
            var binding = (ResXEditorBinding)args.ExtensionObject;

            if (args.Change == ExtensionChange.Add)
            {
                ResXEditorKnownEditors.RegisterKnownTypes(binding.TypesHandled);
            }
            else
            {
                ResXEditorKnownEditors.UnregisterKnownTypes(binding.TypesHandled);
            }
        }
コード例 #2
0
 protected override bool SkipNode(ResXNode node)
 {
     return(ResXEditorKnownEditors.IsKnownType(node.Value.GetType()));
 }