CK.Plugins.ObjectExplorer.ViewModels.LogViewModels.VMLogConfig.EventRegistration C# (CSharp) Method

EventRegistration() private method

Registers the config to the event from the vmLogServiceConfig it needs to listen to
private EventRegistration ( VMLogServiceConfig s ) : void
s VMLogServiceConfig
return void
        internal void EventRegistration( VMLogServiceConfig s )
        {
            s.ServiceCancelModificationsAsked += new EventHandler( OnServiceCancelModificationsAsked );
            s.ServiceDeletionAsked += new EventHandler( OnServiceDeletionAsked );
            s.LogConfigChanged += new EventHandler<PropertyChangedEventArgs>( OnServiceLogConfigChanged );
            s.ServiceModificationAsked += new EventHandler( OnServiceModificationAsked );
        }