示例#1
0
 public static MvcHtmlString ToHtmlString( Eventually expression, bool link = true)
 {
     var bound = GetTimeBound (expression.TimeBound);
     return MvcHtmlString.Create (string.Format("◊{0} {1}",
                                                bound,
                                                expression.Enclosed.ToHtmlString(link)
                                                ));
 }
 private static string ToHtmlString(Eventually expression)
 {
     var bound = GetTimeBound (expression.TimeBound);
     return string.Format("◊{0} {1}",
                          bound,
                          ToHtmlString(expression.Enclosed)
                          );
 }