@@ -41,15 +41,15 @@ public interface IPluginHost
4141 /// <param name="type">The type of the node.</param>
4242 /// <param name="name">The name of the type.</param>
4343 /// <param name="icon">The icon of the type (may be null).</param>
44- /// <param name="converter ">The converter used to serialize the node.</param>
44+ /// <param name="serializer ">The converter used to serialize the node.</param>
4545 /// <param name="generator">The generator used to generate code from the node.</param>
46- void RegisterNodeType ( Type type , string name , Image icon , ICustomNodeConverter converter , ICustomCodeGenerator generator ) ;
46+ void RegisterNodeType ( Type type , string name , Image icon , ICustomNodeSerializer serializer , ICustomCodeGenerator generator ) ;
4747
4848 /// <summary>Unregisters a node type.</summary>
4949 /// <param name="type">The type of the node.</param>
50- /// <param name="converter ">The converter used to serialize the node.</param>
50+ /// <param name="serializer ">The converter used to serialize the node.</param>
5151 /// <param name="generator">The generator used to generate code from the node.</param>
52- void DeregisterNodeType ( Type type , ICustomNodeConverter converter , ICustomCodeGenerator generator ) ;
52+ void DeregisterNodeType ( Type type , ICustomNodeSerializer serializer , ICustomCodeGenerator generator ) ;
5353 }
5454
5555 [ ContractClassFor ( typeof ( IPluginHost ) ) ]
@@ -112,11 +112,11 @@ public void RegisterNodeInfoReader(INodeInfoReader reader)
112112 throw new NotImplementedException ( ) ;
113113 }
114114
115- public void RegisterNodeType ( Type type , string name , Image icon , ICustomNodeConverter converter , ICustomCodeGenerator generator )
115+ public void RegisterNodeType ( Type type , string name , Image icon , ICustomNodeSerializer serializer , ICustomCodeGenerator generator )
116116 {
117117 Contract . Requires ( type != null ) ;
118118 Contract . Requires ( name != null ) ;
119- Contract . Requires ( converter != null ) ;
119+ Contract . Requires ( serializer != null ) ;
120120 Contract . Requires ( generator != null ) ;
121121
122122 throw new NotImplementedException ( ) ;
@@ -129,10 +129,10 @@ public void DeregisterNodeInfoReader(INodeInfoReader reader)
129129 throw new NotImplementedException ( ) ;
130130 }
131131
132- public void DeregisterNodeType ( Type type , ICustomNodeConverter converter , ICustomCodeGenerator generator )
132+ public void DeregisterNodeType ( Type type , ICustomNodeSerializer serializer , ICustomCodeGenerator generator )
133133 {
134134 Contract . Requires ( type != null ) ;
135- Contract . Requires ( converter != null ) ;
135+ Contract . Requires ( serializer != null ) ;
136136 Contract . Requires ( generator != null ) ;
137137
138138 throw new NotImplementedException ( ) ;
0 commit comments