C# Class Microsoft.WindowsAzure.Commands.Utilities.CloudService.RoleInfo

Base class for describing roles that we will create.
Mostra file Open project: Azure/azure-powershell Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool

Checks for equality between provided object and this object

GetHashCode ( ) : int
RoleInfo ( string name, int instanceCount ) : Microsoft.Azure.Commands.Common.Authentication

Private Methods

Method Description
AddRoleToDefinition ( ServiceDefinition serviceDefinition, object template ) : void

Method Details

Equals() public method

Checks for equality between provided object and this object
public Equals ( object obj ) : bool
obj object This object can be type of RoleInfo, WebRoleInfo, WorkerRoleInfo, WebRole or WorkerRole
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

RoleInfo() public method

public RoleInfo ( string name, int instanceCount ) : Microsoft.Azure.Commands.Common.Authentication
name string
instanceCount int
return Microsoft.Azure.Commands.Common.Authentication