/// <summary> /// /// </summary> /// <param name="propertyBag"></param> /// <param name="errorLog"></param> public void Load(IPropertyBag propertyBag, int errorLog) { if (string.IsNullOrEmpty(DocumentSpecName)) { DocumentSpecName = PropertyBagHelper.ToStringOrDefault(PropertyBagHelper.ReadPropertyBag(propertyBag, DocumentSpecNamePropertyName), string.Empty); } }
/// <summary> /// /// </summary> /// <param name="propertyBag"></param> /// <param name="clearDirty"></param> /// <param name="saveAllProperties"></param> public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties) { PropertyBagHelper.WritePropertyBag(propertyBag, DocumentSpecNamePropertyName, DocumentSpecName); }