/// <summary> /// Reload the <see cref="Component" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.ComponentData" /> /// </summary> /// <param name="componentData"><see cref="T:Tridion.ContentManager.CoreService.Client.ComponentData" /></param> protected void Reload(ComponentData componentData) { if (componentData == null) throw new ArgumentNullException("componentData"); mComponentData = componentData; base.Reload(componentData); mApprovalStatus = null; mSchema = null; mBinaryContent = null; mWorkflow = null; }
/// <summary> /// Reload the <see cref="Template" /> with the specified <see cref="T:Tridion.ContentManager.CoreService.Client.TemplateData" /> /// </summary> /// <param name="templateData"><see cref="T:Tridion.ContentManager.CoreService.Client.TemplateData" /></param> protected void Reload(TemplateData templateData) { if (templateData == null) throw new ArgumentNullException("templateData"); mTemplateData = templateData; base.Reload(templateData); mBinaryContent = null; mParameterSchema = null; }