17 using erminas.SmartAPI.CMS.Converter;
19 namespace erminas.SmartAPI.CMS.Project.ContentClasses.Elements
21 [EnumConversionHelper]
22 public static class FrameborderUtils
24 public static Frameborder ToFrameborder(
string value)
26 if (
string.IsNullOrEmpty(value))
30 switch (value.ToUpperInvariant())
37 throw new ArgumentException(
string.Format(
"Cannot convert string value {1} to {0}",
42 public static string ToRQLString(
this Frameborder value)
53 throw new ArgumentException(
string.Format(
"Unknown {0} value: {1}", typeof (
Frameborder).Name, value));