Lines Matching refs:String
217 public static String NormalizeBinary(double what) in NormalizeBinary()
264 public static String NormalizeDecimal(double what) in NormalizeDecimal()
336 public static StringBuilder AppendIf(this String value, bool condition, string what) in AppendIf()
351 public static String Indent(this String value, int count) in Indent()
356 public static String Indent(this String value, int count, char fill) in Indent()
361 public static String Outdent(this String value, int count) in Outdent()
366 public static Boolean StartsWith(this String source, char value) in StartsWith()
375 public static Boolean EndsWith(this String source, char value) in EndsWith()
384 public static String Trim(this String value, String toCut) in Trim()
429 …return Stringify(source.Select(x => x == null ? String.Empty : x.ToString()), separator, limitPerL… in Stringify()
439 return String.Empty; in Stringify()
652 if(String.IsNullOrEmpty(libraryFile)) in TryFromResourceToTemporaryFile()
790 public static String FormatWith(this String @this, params object[] args) in FormatWith()
800 return String.Format(@this, args); in FormatWith()
811 Logger.Noisy(String.Format("Library copied to {0}.", libraryFile)); in CopyToFile()
817 … throw new InvalidOperationException(String.Format("Error while copying file: {0}.", e.Message)); in CopyToFile()
911 …source.Log(LogLevel.Error, String.Format("Expected packet of at least {0} bytes, got {1}.", MACLen… in FillPacketWithChecksums()
919 …source.Log(LogLevel.Error, String.Format("Unknown packet type: 0x{0:X}. Supported are: 0x800 (IP) … in FillPacketWithChecksums()
928 …source.Log(LogLevel.Error, String.Format("Only IPv4 packets are supported. Got IPv{0}", (packet[MA… in FillPacketWithChecksums()
977 …builder.AppendLine(String.Format("Sending packet from {0}, length: {1}", machName, packet.Bytes.Le… in DumpPacket()
981 …builder.AppendLine(String.Format("Receiving packet on {0}, length: {1}", machName, packet.Bytes.Le… in DumpPacket()