Exemple #1
0
        private void RaiseDefinitionChanged(Domain.Build.Definition definition)
        {
            Int64 startTicks = Log.EVENT_HANDLER("Enter", Common.LOG_CATEGORY);

            GetResourcesCommand.RaiseCanExecuteChanged();

            Log.EVENT_HANDLER("Exit", Common.LOG_CATEGORY, startTicks);
        }
Exemple #2
0
 private void CallGetResources(Domain.Build.Definition definition)
 {
     if (!(definition is null))
     {
         EventAggregator.GetEvent <GetResourcesEvent>().Publish(
             new GetResourcesEventArgs()
         {
             Organization = _collectionMainViewModel.SelectedCollection.Organization,
             Project      = _contextMainViewModel.Context.SelectedProject,
             Definition   = definition
         });
     }
 }