Example #1
0
 private static GenerationEventArgs GetContainerGenerationArgs(
     IReleaseActionContainer <IReleaseWorkflowBlock> container,
     GenerationEventType eventType)
 {
     return(new GenerationEventArgs
     {
         BlockType = container.ItemType,
         DisplayName = container.DisplayName,
         Sequence = container.Sequence,
         IsEnabled = true,
         IsContainer = true,
         GenerationEventType = eventType
     });
 }
 private static GenerationEventArgs GetContainerGenerationArgs(
     IReleaseActionContainer<IReleaseWorkflowBlock> container, 
     GenerationEventType eventType)
 {
     return new GenerationEventArgs
                {
                    BlockType = container.ItemType, 
                    DisplayName = container.DisplayName, 
                    Sequence = container.Sequence, 
                    IsEnabled = true, 
                    IsContainer = true, 
                    GenerationEventType = eventType
                };
 }
Example #3
0
 private static GenerationEventArgs GetActionGenerationArgs(ReleaseAction action, GenerationEventType eventType)
 {
     return(new GenerationEventArgs
     {
         BlockType = action.ItemType,
         DisplayName = action.DisplayName,
         Sequence = action.Sequence,
         IsEnabled = action.Enabled,
         IsContainer = false,
         GenerationEventType = eventType
     });
 }
 private static GenerationEventArgs GetActionGenerationArgs(ReleaseAction action, GenerationEventType eventType)
 {
     return new GenerationEventArgs
                {
                    BlockType = action.ItemType, 
                    DisplayName = action.DisplayName, 
                    Sequence = action.Sequence, 
                    IsEnabled = action.Enabled, 
                    IsContainer = false, 
                    GenerationEventType = eventType
                };
 }