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 }; }
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 }; }