C# Class Dev2.Core.Tests.ProperMoqs.TestResourceModel

Inheritance: MockBehaviourBase, IContextualResourceModel
Show file Open project: Warewolf-ESB/Warewolf Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddError ( IErrorInfo error ) : void
ClearErrors ( ) : void
Commit ( ) : void
GetErrors ( System.Guid instanceId ) : IList
IsAuthorized ( AuthorizationContext authorizationContext ) : bool
RaiseEvents ( ) : void
RemoveError ( IErrorInfo error ) : void
Rollback ( ) : void
TestResourceModel ( ) : System
TestResourceModel ( IEnvironmentModel environmentModel, System.Guid serverID ) : System
ToServiceDefinition ( bool prepairForDeployment ) : StringBuilder
Update ( IResourceModel resourceModel ) : void
UpdateIconPath ( string iconPath ) : void
this ( string columnName ) : string

Protected Methods

Method Description
OnPropertyChanged ( [ propertyName = null ) : void

Method Details

AddError() public method

public AddError ( IErrorInfo error ) : void
error IErrorInfo
return void

ClearErrors() public method

public ClearErrors ( ) : void
return void

Commit() public method

public Commit ( ) : void
return void

GetErrors() public method

public GetErrors ( System.Guid instanceId ) : IList
instanceId System.Guid
return IList

IsAuthorized() public method

public IsAuthorized ( AuthorizationContext authorizationContext ) : bool
authorizationContext AuthorizationContext
return bool

OnPropertyChanged() protected method

protected OnPropertyChanged ( [ propertyName = null ) : void
propertyName [
return void

RaiseEvents() public method

public RaiseEvents ( ) : void
return void

RemoveError() public method

public RemoveError ( IErrorInfo error ) : void
error IErrorInfo
return void

Rollback() public method

public Rollback ( ) : void
return void

TestResourceModel() public method

public TestResourceModel ( ) : System
return System

TestResourceModel() public method

public TestResourceModel ( IEnvironmentModel environmentModel, System.Guid serverID ) : System
environmentModel IEnvironmentModel
serverID System.Guid
return System

ToServiceDefinition() public method

public ToServiceDefinition ( bool prepairForDeployment ) : StringBuilder
prepairForDeployment bool
return StringBuilder

Update() public method

public Update ( IResourceModel resourceModel ) : void
resourceModel IResourceModel
return void

UpdateIconPath() public method

public UpdateIconPath ( string iconPath ) : void
iconPath string
return void

this() public method

public this ( string columnName ) : string
columnName string
return string