C# Class Microsoft.Protocols.TestSuites.SharedAdapter.SequenceNumberGenerator

This class is used to generate the token by atomic increase the token by 1.
Datei anzeigen Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
GetCurrentFSSHTTPBSubRequestID ( ) : uint

This method is used to get the current sub request ID and atomic adding the token by 1.

GetCurrentSerialNumber ( ) : uint

This method is used to get the current serial number and atomic adding the token by 1.

GetCurrentToken ( ) : uint

This method is used to get the current token value and atomic adding the token by 1.

Method Details

GetCurrentFSSHTTPBSubRequestID() public static method

This method is used to get the current sub request ID and atomic adding the token by 1.
public static GetCurrentFSSHTTPBSubRequestID ( ) : uint
return uint

GetCurrentSerialNumber() public static method

This method is used to get the current serial number and atomic adding the token by 1.
public static GetCurrentSerialNumber ( ) : uint
return uint

GetCurrentToken() public static method

This method is used to get the current token value and atomic adding the token by 1.
public static GetCurrentToken ( ) : uint
return uint