C# Class Dev2.Studio.Core.Models.ResourceModel

Inheritance: Dev2.Studio.Core.ViewModels.Base.ValidationController, IDataErrorInfo, IContextualResourceModel
Exibir arquivo Open project: Warewolf-ESB/Warewolf Class Usage Examples

Private Properties

Property Type Description
CreateServiceXElement System.Xml.Linq.XElement
CreateWorkflowXElement System.Xml.Linq.XElement
ReceiveDesignValidation void
ReceiveEnvironmentValidation void
WriteErrors List

Public Methods

Method Description
AddError ( IErrorInfo error ) : void
ClearErrors ( ) : void
Commit ( ) : void
GetErrors ( System.Guid instanceId ) : IList
IsAuthorized ( System.ComponentModel.DataAnnotations.AuthorizationContext authorizationContext ) : bool
RemoveError ( IErrorInfo error ) : void
ResourceModel ( IEnvironmentModel environment ) : System
ResourceModel ( IEnvironmentModel environment, IEventAggregator eventPublisher ) : System
Rollback ( ) : void
ToServiceDefinition ( bool prepairForDeployment = false ) : StringBuilder
Update ( IResourceModel resourceModel ) : void

Updates the non workflow related details of from another resource model.

UpdateIconPath ( string iconPath ) : void
this ( string columnName ) : string

Protected Methods

Method Description
OnDispose ( ) : void

Private Methods

Method Description
CreateServiceXElement ( StringBuilder xaml ) : System.Xml.Linq.XElement
CreateWorkflowXElement ( StringBuilder xaml ) : System.Xml.Linq.XElement
ReceiveDesignValidation ( DesignValidationMemo memo ) : void
ReceiveEnvironmentValidation ( DesignValidationMemo memo ) : void
WriteErrors ( ) : List

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 ( System.ComponentModel.DataAnnotations.AuthorizationContext authorizationContext ) : bool
authorizationContext System.ComponentModel.DataAnnotations.AuthorizationContext
return bool

OnDispose() protected method

protected OnDispose ( ) : void
return void

RemoveError() public method

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

ResourceModel() public method

public ResourceModel ( IEnvironmentModel environment ) : System
environment IEnvironmentModel
return System

ResourceModel() public method

public ResourceModel ( IEnvironmentModel environment, IEventAggregator eventPublisher ) : System
environment IEnvironmentModel
eventPublisher IEventAggregator
return System

Rollback() public method

public Rollback ( ) : void
return void

ToServiceDefinition() public method

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

Update() public method

Updates the non workflow related details of from another resource model.
public Update ( IResourceModel resourceModel ) : void
resourceModel IResourceModel The resource model to update from.
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