Esempio n. 1
0
        internal void RaiseAfterConfigurationObjectMemberPersist(string memberName, string propertyName, object state)
        {
            OnAfterConfigurationObjectMemberPersist(memberName, propertyName, state);

            EventHandler <ChoConfigurationObjectMemberEventArgs> afterConfigurationObjectMemberPersist = AfterConfigurationObjectMemberPersist;

            if (afterConfigurationObjectMemberPersist != null)
            {
                ChoConfigurationObjectMemberEventArgs configurationObjectMemberEventArgs = new ChoConfigurationObjectMemberEventArgs(memberName, propertyName, state);

                afterConfigurationObjectMemberPersist(this, configurationObjectMemberEventArgs);
            }
        }
Esempio n. 2
0
        internal void RaiseAfterConfigurationObjectMemberLoaded(string memberName, string propertyName, object value)
        {
            OnAfterConfigurationObjectMemberLoaded(memberName, propertyName, value);

            EventHandler <ChoConfigurationObjectMemberEventArgs> afterConfigurationObjectMemberLoaded = AfterConfigurationObjectMemberLoaded;

            if (afterConfigurationObjectMemberLoaded != null)
            {
                ChoConfigurationObjectMemberEventArgs configurationObjectMemberEventArgs = new ChoConfigurationObjectMemberEventArgs(memberName, propertyName, value);
                afterConfigurationObjectMemberLoaded(this, configurationObjectMemberEventArgs);
            }

            OnPropertyChanged(memberName);
        }