Example #1
0
        //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);
        }
Example #2
0
        //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);
        }
Example #3
0
        //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;
        }