void UpdateRelation(String value) { if (_relation != null) { _relation.Cancel(); } _relation = Factory.LinkRelations.Create(this, Relation); UpdateSource(this.GetOwnAttribute(AttributeNames.Href)); }
void UpdateRelation(String value) { if (_relation != null) { //TODO //_relation.Cancel(); } _relation = CreateFirstLegalRelation(); UpdateSource(this.GetOwnAttribute(AttributeNames.Href)); }
internal override void SetupElement() { var rel = this.GetOwnAttribute(AttributeNames.Rel); if (rel != null) { _relList?.Update(rel); _relation = CreateFirstLegalRelation(); } base.SetupElement(); }
internal void UpdateRelation(String value) { _relList?.Update(value); _relation = CreateFirstLegalRelation(); UpdateSource(this.GetOwnAttribute(AttributeNames.Href)); }