DiagramVisualItem CreateConversationStartMessage() { var handler = new Handler("First", null) { State = HandlerState.Success }; var diagramItem = new DiagramVisualItem { Content = handler, Height = HandlerHeight, Width = HandlerWidth }; return diagramItem; }
DiagramVisualItem CreateErrorHandler() { var handler = new Handler("Failed", null) { State = HandlerState.Fail }; var diagramItem = new DiagramVisualItem { Content = handler, Height = HandlerHeight, Width = HandlerWidth }; return diagramItem; }
DiagramVisualItem CreateConversationStartMessage() { var handler = new Handler("First", null) { State = HandlerState.Success }; var diagramItem = new DiagramVisualItem { Content = handler, Height = HandlerHeight, Width = HandlerWidth }; return(diagramItem); }
DiagramVisualItem CreateErrorHandler() { var handler = new Handler("Failed", null) { State = HandlerState.Fail }; var diagramItem = new DiagramVisualItem { Content = handler, Height = HandlerHeight, Width = HandlerWidth }; return(diagramItem); }
DiagramVisualItem CreateHandler() { var handler = new Handler("Handler", null) { State = HandlerState.Success }; var diagramItem = new DiagramVisualItem { Content = handler, Height = HandlerHeight, Width = HandlerWidth }; return(diagramItem); }
DiagramVisualItem CreateEventMessage() { var arrow = new Arrow(new StoredMessage { MessageType = "Event", Status = MessageStatus.Successful }, null) { Width = ArrowWidth, Type = ArrowType.Event }; var diagramItem = new DiagramVisualItem { Content = arrow, }; return(diagramItem); }
public DiagramItemDescription(DiagramVisualItem item, string description) { Item = item; Description = description; }
DiagramVisualItem CreateEventMessage() { var arrow = new Arrow(new StoredMessage { MessageType = "Event", Status = MessageStatus.Successful }, null) { Width = ArrowWidth, Type = ArrowType.Event }; var diagramItem = new DiagramVisualItem { Content = arrow, }; return diagramItem; }
DiagramVisualItem CreateHandler() { var handler = new Handler("Handler", null) { State = HandlerState.Success }; var diagramItem = new DiagramVisualItem { Content = handler, Height = HandlerHeight, Width = HandlerWidth }; return diagramItem; }