C# Class Dev2.Runtime.ServiceModel.Data.Resource

Inheritance: IResource
Exibir arquivo Open project: Warewolf-ESB/Warewolf Class Usage Examples

Private Properties

Property Type Description
AddDatabaseSourcesForSqlBulkInsertTool void
AddEmailSources void
AddRemoteServerDependencies void
CreateResourceForTree ResourceForTree
GetDependenciesForWorkerService void
GetDependenciesForWorkflowService void
LoadDependencies void
WriteErrors System.Xml.Linq.XElement

Public Methods

Method Description
Equals ( IResource other ) : bool

Indicates whether the current object is equal to another object of the same type.

Equals ( object obj ) : bool

Determines whether the specified T:System.Object is equal to the current T:System.Object.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

GetInputsOutputs ( System.Xml.Linq.XElement xml ) : void
GetResourceTypeFromString ( string actionTypeStr ) : ResourceType
IsUserInAuthorRoles ( string userRoles ) : bool
ParseProperties ( string s, string>.Dictionary properties ) : void
ReadDataList ( System.Xml.Linq.XElement xml ) : void
Resource ( ) : System
Resource ( IResource copy ) : System
Resource ( System.Xml.Linq.XElement xml ) : System
SetIsNew ( System.Xml.Linq.XElement xml ) : void
ToString ( ) : string
ToStringBuilder ( ) : StringBuilder
ToXml ( ) : System.Xml.Linq.XElement
UpdateErrorsBasedOnXML ( System.Xml.Linq.XElement xml ) : void
UpgradeXml ( System.Xml.Linq.XElement xml, IResource resource ) : System.Xml.Linq.XElement

If this instance IsUpgraded then sets the ID, Version, Name and ResourceType attributes on the given XML.

operator ( ) : bool

Protected Methods

Method Description
ParseResourceType ( string resourceTypeStr ) : ResourceType

Private Methods

Method Description
AddDatabaseSourcesForSqlBulkInsertTool ( System.Xml.Linq.XElement elementToUse ) : void
AddEmailSources ( System.Xml.Linq.XElement elementToUse ) : void
AddRemoteServerDependencies ( System.Xml.Linq.XElement element ) : void
CreateResourceForTree ( System.Guid resourceId, System.Guid uniqueId, string resourceName, ResourceType resourceType ) : ResourceForTree
GetDependenciesForWorkerService ( System.Xml.Linq.XElement xml ) : void
GetDependenciesForWorkflowService ( System.Xml.Linq.XElement xml ) : void
LoadDependencies ( System.Xml.Linq.XElement xml ) : void
WriteErrors ( ) : System.Xml.Linq.XElement

Method Details

Equals() public method

Indicates whether the current object is equal to another object of the same type.
public Equals ( IResource other ) : bool
other IResource An object to compare with this object.
return bool

Equals() public method

Determines whether the specified T:System.Object is equal to the current T:System.Object.
public Equals ( object obj ) : bool
obj object The to compare with the current .
return bool

GetHashCode() public method

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
return int

GetInputsOutputs() public method

public GetInputsOutputs ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
return void

GetResourceTypeFromString() public method

public GetResourceTypeFromString ( string actionTypeStr ) : ResourceType
actionTypeStr string
return ResourceType

IsUserInAuthorRoles() public method

public IsUserInAuthorRoles ( string userRoles ) : bool
userRoles string
return bool

ParseProperties() public static method

public static ParseProperties ( string s, string>.Dictionary properties ) : void
s string
properties string>.Dictionary
return void

ParseResourceType() protected method

protected ParseResourceType ( string resourceTypeStr ) : ResourceType
resourceTypeStr string
return ResourceType

ReadDataList() public method

public ReadDataList ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
return void

Resource() public method

public Resource ( ) : System
return System

Resource() public method

public Resource ( IResource copy ) : System
copy IResource
return System

Resource() public method

public Resource ( System.Xml.Linq.XElement xml ) : System
xml System.Xml.Linq.XElement
return System

SetIsNew() public method

public SetIsNew ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
return void

ToString() public method

public ToString ( ) : string
return string

ToStringBuilder() public method

public ToStringBuilder ( ) : StringBuilder
return StringBuilder

ToXml() public method

public ToXml ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement

UpdateErrorsBasedOnXML() public method

public UpdateErrorsBasedOnXML ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
return void

UpgradeXml() public method

If this instance IsUpgraded then sets the ID, Version, Name and ResourceType attributes on the given XML.
public UpgradeXml ( System.Xml.Linq.XElement xml, IResource resource ) : System.Xml.Linq.XElement
xml System.Xml.Linq.XElement The XML to be upgraded.
resource IResource
return System.Xml.Linq.XElement

operator() public static method

public static operator ( ) : bool
return bool