C# Class WixSharp.WixGuid

Wix# wrapper around T:System.Guid. WixGuid allows generation of continuous GUIDs for for composing reproducible WiX source files.
Inheritance: WixObject
Exibir arquivo Open project: Eun/WixSharp Class Usage Examples

Public Properties

Property Type Description
ConsistentGenerationStartValue System.SequentialGuid
Value System.Guid

Public Methods

Method Description
HashGuidByInteger ( System.Guid guid, int hashValue ) : System.Guid

Hashes the Guid by the specified integer hash value.

NewGuid ( ) : System.Guid

Returns new GUID.

NewGuid ( object seed ) : System.Guid

Returns new GUID.

WixGuid ( string guid ) : System

Initializes a new instance of the WixGuid class.

Method Details

HashGuidByInteger() public static method

Hashes the Guid by the specified integer hash value.
public static HashGuidByInteger ( System.Guid guid, int hashValue ) : System.Guid
guid System.Guid The GUID.
hashValue int The hash value.
return System.Guid

NewGuid() public static method

Returns new GUID.
public static NewGuid ( ) : System.Guid
return System.Guid

NewGuid() public static method

Returns new GUID.
public static NewGuid ( object seed ) : System.Guid
seed object
return System.Guid

WixGuid() public method

Initializes a new instance of the WixGuid class.
public WixGuid ( string guid ) : System
guid string The GUID value of the instance to be created.
return System

Property Details

ConsistentGenerationStartValue public_oe static_oe property

Initial value to be used as a seed for Guid generation. If you want the Wix# project items to contain not random but reproducible sequential Guids you should initialize this field.
public static SequentialGuid,System ConsistentGenerationStartValue
return System.SequentialGuid

Value public_oe property

GUID value of the WixGuid instance.
public Guid,System Value
return System.Guid