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

Inheritance: IResource
Afficher le fichier Open project: Warewolf-ESB/Warewolf Class Usage Examples

Private Properties

Свойство Type Description
AddDatabaseSourcesForSqlBulkInsertTool void
AddEmailSources void
AddRemoteServerDependencies void
CreateResourceForTree ResourceForTree
GetDependenciesForWorkerService void
GetDependenciesForWorkflowService void
LoadDependencies void
WriteErrors System.Xml.Linq.XElement

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
ParseResourceType ( string resourceTypeStr ) : ResourceType

Private Methods

Méthode 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 méthode

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.
Résultat bool

Equals() public méthode

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 .
Résultat bool

GetHashCode() public méthode

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Résultat int

GetInputsOutputs() public méthode

public GetInputsOutputs ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
Résultat void

GetResourceTypeFromString() public méthode

public GetResourceTypeFromString ( string actionTypeStr ) : ResourceType
actionTypeStr string
Résultat ResourceType

IsUserInAuthorRoles() public méthode

public IsUserInAuthorRoles ( string userRoles ) : bool
userRoles string
Résultat bool

ParseProperties() public static méthode

public static ParseProperties ( string s, string>.Dictionary properties ) : void
s string
properties string>.Dictionary
Résultat void

ParseResourceType() protected méthode

protected ParseResourceType ( string resourceTypeStr ) : ResourceType
resourceTypeStr string
Résultat ResourceType

ReadDataList() public méthode

public ReadDataList ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
Résultat void

Resource() public méthode

public Resource ( ) : System
Résultat System

Resource() public méthode

public Resource ( IResource copy ) : System
copy IResource
Résultat System

Resource() public méthode

public Resource ( System.Xml.Linq.XElement xml ) : System
xml System.Xml.Linq.XElement
Résultat System

SetIsNew() public méthode

public SetIsNew ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

ToStringBuilder() public méthode

public ToStringBuilder ( ) : StringBuilder
Résultat StringBuilder

ToXml() public méthode

public ToXml ( ) : System.Xml.Linq.XElement
Résultat System.Xml.Linq.XElement

UpdateErrorsBasedOnXML() public méthode

public UpdateErrorsBasedOnXML ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
Résultat void

UpgradeXml() public méthode

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
Résultat System.Xml.Linq.XElement

operator() public static méthode

public static operator ( ) : bool
Résultat bool