public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties) { PropertyBagHelper.WritePropertyBag(propertyBag, SourcePropertyPathPropertyName, SourcePropertyPath); PropertyBagHelper.WritePropertyBag(propertyBag, DestinationPropertyPathPropertyName, DestinationPropertyPath); PropertyBagHelper.WritePropertyBag(propertyBag, ListNamePropertyName, ListName); PropertyBagHelper.WritePropertyBag(propertyBag, DefaultValuePropertyName, DefaultValue); }
public void WritePropertyBagComplexObjectTest() { PropertyBagHelper.WritePropertyBag(_propertyBag, TestXmlDocumentString, new XmlDocument()); var property = PropertyBagHelper.ReadPropertyBag <XmlDocument>(_propertyBag, TestXmlDocumentString); Assert.IsNotNull(property); }
public virtual void Save(IPropertyBag pb, bool fClearDirty, bool fSaveAllProperties) { PropertyBagHelper.WritePropertyBag(pb, NamespaceToModifyPropertyName, NamespaceToModify); PropertyBagHelper.WritePropertyBag(pb, NewNamespacePropertyName, NewNamespace); PropertyBagHelper.WritePropertyBag(pb, ShouldUpdateMessagewTypeContextPropertyName, ShouldUpdateMessageTypeContext); }
/// <summary> /// Saves current component configuration into the property bag. /// </summary> /// <param name="pb">Configuration property bag.</param> /// <param name="fClearDirty">Not used.</param> /// <param name="fSaveAllProperties">Not used.</param> void IPersistPropertyBag.Save(Microsoft.BizTalk.Component.Interop.IPropertyBag pb, bool fClearDirty, bool fSaveAllProperties) { string envelopeSpecNames = String.Empty; foreach (var item in this.EnvelopeSpecNames) { if (envelopeSpecNames == String.Empty) { envelopeSpecNames = item.SchemaName; continue; } envelopeSpecNames += String.Format("|{0}", item.SchemaName); } string documentSpecNames = String.Empty; foreach (var item in this.documentSpecNames) { if (documentSpecNames == String.Empty) { documentSpecNames = item.SchemaName; continue; } documentSpecNames += String.Format("|{0}", item.SchemaName); } PropertyBagHelper.WritePropertyBag(pb, "DocumentSpecNames", documentSpecNames); PropertyBagHelper.WritePropertyBag(pb, "EnvelopeSpecNames", envelopeSpecNames); PropertyBagHelper.WritePropertyBag(pb, "RecoverableInterchangeProcessing", this.RecoverableInterchangeProcessing); PropertyBagHelper.WritePropertyBag(pb, "ValidateDocument", this.ValidateDocument); }
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties) { PropertyBagHelper.WritePropertyBag(propertyBag, PropertyPathPropertyName, PropertyPath); PropertyBagHelper.WritePropertyBag(propertyBag, XPathPropertyName, XPath); PropertyBagHelper.WritePropertyBag(propertyBag, PromoteProperytName, PromoteProperty); PropertyBagHelper.WritePropertyBag(propertyBag, ThrowIfNoMatchPropertyName, ThrowIfNoMatch); }
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties) { var props = this.GetType().GetProperties(System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance); foreach (var prop in props) { if (prop.CanRead & prop.CanWrite) { PropertyBagHelper.WritePropertyBag(propertyBag, prop.Name, prop.GetValue(this)); } } }
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties) { PropertyBagHelper.WritePropertyBag(propertyBag, DestinationPropertyPropertyName, DestinationProperty); }
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties) { PropertyBagHelper.WritePropertyBag(propertyBag, VariablePropertyMappingPropertyName, VariablePropertyMapping); PropertyBagHelper.WritePropertyBag(propertyBag, UrlTemplatePropertyName, UrlTemplate); }
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties) { PropertyBagHelper.WritePropertyBag(propertyBag, ContextPropertyToPromotePropertyName, ContextPropertyToPromote); PropertyBagHelper.WritePropertyBag(propertyBag, QueryPropertyName, Query); PropertyBagHelper.WritePropertyBag(propertyBag, ConnectionStringConfigKeyPropertyName, ConnectionStringConfigKey); }
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties) { PropertyBagHelper.WritePropertyBag(propertyBag, XpathPropertyName, Xpath); }
/// <summary> /// Saves current component configuration into the property bag. /// </summary> /// <param name="pb">Configuration property bag.</param> /// <param name="fClearDirty">Not used.</param> /// <param name="fSaveAllProperties">Not used.</param> public void Save(Microsoft.BizTalk.Component.Interop.IPropertyBag pb, bool fClearDirty, bool fSaveAllProperties) { PropertyBagHelper.WritePropertyBag(pb, "MapName", _mapName); PropertyBagHelper.WritePropertyBag(pb, "Parameters", _parameters); PropertyBagHelper.WritePropertyBag(pb, "MapRequired", _mapRequired); }
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties) { PropertyBagHelper.WritePropertyBag(propertyBag, PropertyPathPropertyName, PropertyPath); PropertyBagHelper.WritePropertyBag(propertyBag, ValuePropertyName, Value); PropertyBagHelper.WritePropertyBag(propertyBag, PromoteProperytName, PromoteProperty); }
/// <summary> /// Saves the current component configuration into the property bag. /// </summary> /// <param name="pb">Configuration property bag.</param> /// <param name="fClearDirty">Not used.</param> /// <param name="fSaveAllProperties">Not used.</param> public void Save(Microsoft.BizTalk.Component.Interop.IPropertyBag pb, Boolean fClearDirty, Boolean fSaveAllProperties) { PropertyBagHelper.WritePropertyBag(pb, "Encoding", EncodingName); }
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties) { PropertyBagHelper.WritePropertyBag(propertyBag, RecoverableInterchangeProcessingPropertyName, RecoverableInterchangeProcessing); }
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties) { PropertyBagHelper.WritePropertyBag(propertyBag, DocumentSpecNamePropertyName, DocumentSpecName); }
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties) { PropertyBagHelper.WritePropertyBag(propertyBag, EncryptionKeyPropertyName, EncryptionKey); }
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties) { PropertyBagHelper.WritePropertyBag(propertyBag, TargetCharsetPropertyName, TargetCharset); }
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties) { PropertyBagHelper.WritePropertyBag(propertyBag, ExpressionPropertyName, Expression); PropertyBagHelper.WritePropertyBag(propertyBag, XPathPropertyName, XPath); }
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties) { PropertyBagHelper.WritePropertyBag(propertyBag, DefaultZipEntryFileExtensionPropertyName, DefaultZipEntryFileExtension); }