C# Class VersionOne.Web.Plugins.Api.TranslateHalYamlInputToAssetXml

Inheritance: BaseTranslateApiHalInputToAssetXml
Show file Open project: versionone/VersionOne.SDK.Experimental Class Usage Examples

Public Methods

Method Description
Execute ( string input ) : string

Protected Methods

Method Description
AddAttributeFromScalarProperty ( string name, object scalar ) : void
CreateAttributeFromRelationItem ( object obj ) : Attribute
GetArrayFromObject ( object obj ) : object[]
GetContentTypes ( ) : string[]
GetLinkGroupKeyFromProperty ( object property ) : string
GetLinkGroupRelations ( object linkGroup ) : IEnumerable
GetLinkGroupsFromRootProperty ( object rootObject ) : IEnumerable

Method Details

AddAttributeFromScalarProperty() protected method

protected AddAttributeFromScalarProperty ( string name, object scalar ) : void
name string
scalar object
return void

CreateAttributeFromRelationItem() protected method

protected CreateAttributeFromRelationItem ( object obj ) : Attribute
obj object
return Attribute

Execute() public method

public Execute ( string input ) : string
input string
return string

GetArrayFromObject() protected method

protected GetArrayFromObject ( object obj ) : object[]
obj object
return object[]

GetContentTypes() protected method

protected GetContentTypes ( ) : string[]
return string[]

GetLinkGroupKeyFromProperty() protected method

protected GetLinkGroupKeyFromProperty ( object property ) : string
property object
return string

GetLinkGroupRelations() protected method

protected GetLinkGroupRelations ( object linkGroup ) : IEnumerable
linkGroup object
return IEnumerable

GetLinkGroupsFromRootProperty() protected method

protected GetLinkGroupsFromRootProperty ( object rootObject ) : IEnumerable
rootObject object
return IEnumerable