C# Class Serenity.CodeGenerator.CodeFileHelper

ファイルを表示 Open project: volkanceylan/Serenity Class Usage Examples

Public Properties

Property Type Description
Kdiff3Path string
Overwrite bool?
TFPath string
TFSIntegration bool
TSCPath string

Public Methods

Method Description
CheckoutAndWrite ( string file, byte contents, bool addToSourceControl ) : void
CheckoutAndWrite ( string file, string contents, bool addToSourceControl ) : void
ExecuteTFCommand ( string file, string command ) : void
ExecuteTSC ( string workingDirectory, string arguments ) : void
FileContentsEqual ( string file1, string file2 ) : bool
MergeChanges ( string backup, string file ) : void
SetupTFSIntegration ( string tfPath ) : void
SetupTSCPath ( string tscPath ) : void
StreamsContentsAreEqual ( Stream stream1, Stream stream2 ) : bool
ToUTF8BOM ( string s ) : byte[]

Private Methods

Method Description
InsertDefinition ( string file, string type, string key, string code ) : bool

Method Details

CheckoutAndWrite() public static method

public static CheckoutAndWrite ( string file, byte contents, bool addToSourceControl ) : void
file string
contents byte
addToSourceControl bool
return void

CheckoutAndWrite() public static method

public static CheckoutAndWrite ( string file, string contents, bool addToSourceControl ) : void
file string
contents string
addToSourceControl bool
return void

ExecuteTFCommand() public static method

public static ExecuteTFCommand ( string file, string command ) : void
file string
command string
return void

ExecuteTSC() public static method

public static ExecuteTSC ( string workingDirectory, string arguments ) : void
workingDirectory string
arguments string
return void

FileContentsEqual() public static method

public static FileContentsEqual ( string file1, string file2 ) : bool
file1 string
file2 string
return bool

MergeChanges() public static method

public static MergeChanges ( string backup, string file ) : void
backup string
file string
return void

SetupTFSIntegration() public static method

public static SetupTFSIntegration ( string tfPath ) : void
tfPath string
return void

SetupTSCPath() public static method

public static SetupTSCPath ( string tscPath ) : void
tscPath string
return void

StreamsContentsAreEqual() public static method

public static StreamsContentsAreEqual ( Stream stream1, Stream stream2 ) : bool
stream1 Stream
stream2 Stream
return bool

ToUTF8BOM() public static method

public static ToUTF8BOM ( string s ) : byte[]
s string
return byte[]

Property Details

Kdiff3Path public_oe static_oe property

public static string Kdiff3Path
return string

Overwrite public_oe static_oe property

public static bool? Overwrite
return bool?

TFPath public_oe static_oe property

public static string TFPath
return string

TFSIntegration public_oe static_oe property

public static bool TFSIntegration
return bool

TSCPath public_oe static_oe property

public static string TSCPath
return string