public NotificationConfiguration(TimeSpan displayDuration, int? width, int? height, string templateName, NotificationFlowDirection? notificationFlowDirection)
{
DisplayDuration = displayDuration > TimeSpan.Zero ? displayDuration : DefaultDisplayDuration;
Width = width.HasValue ? width : DefaultWidth;
Height = height.HasValue ? height : DefaultHeight;
TemplateName = !string.IsNullOrEmpty(templateName) ? templateName : DefaultTemplateName;
NotificationFlowDirection = notificationFlowDirection ?? NotificationFlowDirection.RightBottom;
}
#endregion