示例#1
0
 public static void AddStyle(byte rplId, ReportIntProperty prop, StyleWriter writer)
 {
     if (prop != null)
     {
         writer.Write(rplId, prop.Value);
     }
 }
示例#2
0
 public void WriteSharedProperty(byte rplId, ReportIntProperty prop)
 {
     if (prop != null && !prop.IsExpression)
     {
         this.Write(rplId, prop.Value);
     }
 }
示例#3
0
 internal static int GetIntPropertyValue(ReportIntProperty intProp, int?instanceValue)
 {
     if (instanceValue.HasValue)
     {
         return(instanceValue.Value);
     }
     return(intProp?.Value ?? 0);
 }
示例#4
0
 public static int GetIntPropertyValue(ReportIntProperty intProp, int?instanceValue)
 {
     if (instanceValue.HasValue)
     {
         return(instanceValue.Value);
     }
     if (intProp != null)
     {
         return(intProp.Value);
     }
     return(0);
 }