Exemple #1
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);
     }
 }
Exemple #2
0
 public Namespace(string name)
 {
     this._name      = name;
     this._dataTypes = new DataTypeCollection();
 }
Exemple #3
0
 public ReadOnlyDataTypeCollection(DataTypeCollection <IDataType> coll) : base(coll)
 {
 }