コード例 #1
0
 /// <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);
     }
 }
コード例 #2
0
 /// <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);
 }