public ElementAction(Element element, ElementActionType actionType) { ApplicationId = element.ApplicationId; DisplayText = GetDisplayName(element); Input = string.Empty; Type = actionType; Properties = GetProperties(element); Property = Properties.FirstOrDefault() ?? string.Empty; }
public ElementAction(Element element, ElementActionType actionType) { ApplicationId = element.ApplicationId; DisplayText = GetDisplayName(element); Input = string.Empty; Type = actionType; Properties = GetProperties(element); Property = Properties.FirstOrDefault() ?? string.Empty; }