C# Class ProtocolBuffers.Code

Afficher le fichier Open project: enyim/ProtoBuf

Méthodes publiques

Méthode Description
Comment ( string code ) : string
Indent ( int tabs, string code ) : string

Code.Indent all lines in the code string with given number of tabs

Indent ( string code ) : string

Code.Indent all lines in the code string with one tab

Prefix ( string prefix, string code ) : string

Method Details

Comment() public static méthode

public static Comment ( string code ) : string
code string
Résultat string

Indent() public static méthode

Code.Indent all lines in the code string with given number of tabs
public static Indent ( int tabs, string code ) : string
tabs int
code string
Résultat string

Indent() public static méthode

Code.Indent all lines in the code string with one tab
public static Indent ( string code ) : string
code string
Résultat string

Prefix() public static méthode

public static Prefix ( string prefix, string code ) : string
prefix string
code string
Résultat string