//public abstract void LoadSchema(object source); protected void RaiseMembersDiscovered(IDictionary <string, Type> fieldTypes) { EventHandler <ChoEventArgs <IDictionary <string, Type> > > membersDiscovered = MembersDiscovered; if (membersDiscovered != null) { var ea = new ChoEventArgs <IDictionary <string, Type> >(fieldTypes); membersDiscovered(this, ea); } InitializeRecordFieldConfiguration(RecordConfiguration); }
//public abstract void LoadSchema(object source); protected void RaiseMembersDiscovered(IDictionary <string, Type> fieldTypes) { EventHandler <ChoEventArgs <IDictionary <string, Type> > > membersDiscovered = MembersDiscovered; if (membersDiscovered == null) { return; } var ea = new ChoEventArgs <IDictionary <string, Type> >(fieldTypes); membersDiscovered(this, ea); }
//public abstract void LoadSchema(object source); protected void RaiseMembersDiscovered(ref Dictionary <string, Type> membersInfo) { EventHandler <ChoEventArgs <Dictionary <string, Type> > > membersDiscovered = MembersDiscovered; if (membersDiscovered == null) { return; } var ea = new ChoEventArgs <Dictionary <string, Type> >(membersInfo); membersDiscovered(this, ea); membersInfo = ea.Value; }