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