public static UnitNode UnitNode(string value) { UnitNode retn = s_UnitNodePool.Get(); retn.value = value; return(retn); }
internal static MeasurementNode MeasurementNode(StyleLiteralNode value, UnitNode unit) { MeasurementNode measurementNode = s_MeasurementNodePool.Get(); measurementNode.value = value; measurementNode.unit = unit; return(measurementNode); }