示例#1
0
 public void Deconstruct(
     out XLAlignmentKey alignment,
     out XLBorderKey border,
     out XLFillKey fill,
     out XLFontKey font,
     out Boolean includeQuotePrefix,
     out XLNumberFormatKey numberFormat,
     out XLProtectionKey protection)
 {
     alignment          = Alignment;
     border             = Border;
     fill               = Fill;
     font               = Font;
     includeQuotePrefix = IncludeQuotePrefix;
     numberFormat       = NumberFormat;
     protection         = Protection;
 }
示例#2
0
 public static XLNumberFormatValue FromKey(ref XLNumberFormatKey key)
 {
     return(Repository.GetOrCreate(ref key));
 }
示例#3
0
 private XLNumberFormatValue(XLNumberFormatKey key)
 {
     Key = key;
 }
 public XLNumberFormat(XLStyle style, XLNumberFormatKey key) : this(style, XLNumberFormatValue.FromKey(key))
 {
 }