C# 클래스 Netduino.WebServer.Core.Utilities.Format

파일 보기 프로젝트 열기: martinbuberl/Netduino

공개 메소드들

메소드 설명
BoolToYesNo ( bool value ) : string

Returns "Yes" if true; otherwise "No".

GetPhysicalAddress ( byte byteArray, char seperator = '-' ) : string

Formats a byte array to a physical address (MAC address).

메소드 상세

BoolToYesNo() 공개 정적인 메소드

Returns "Yes" if true; otherwise "No".
public static BoolToYesNo ( bool value ) : string
value bool The boolean to format.
리턴 string

GetPhysicalAddress() 공개 정적인 메소드

Formats a byte array to a physical address (MAC address).
public static GetPhysicalAddress ( byte byteArray, char seperator = '-' ) : string
byteArray byte The byte array to format.
seperator char The seperator.
리턴 string