Ejemplo n.º 1
0
 public void OnTypesGenerated(IEnumerable <IDataType> types)
 {
     if (this.TypesGenerated != null)
     {
         DataTypeEventArgs e = new DataTypeEventArgs(types);
         this.TypesGenerated(this, e);
     }
 }
Ejemplo n.º 2
0
 public void OnTypeGenerated(IDataType type)
 {
     if (this.TypesGenerated != null)
     {
         DataTypeCollection <IDataType> types = new DataTypeCollection <IDataType> {
             type
         };
         DataTypeEventArgs e = new DataTypeEventArgs(types.AsReadOnly());
         this.TypesGenerated(this, e);
     }
 }