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