protected override void Save(IPropertyBag propertyBag)
 {
     propertyBag.WriteProperty("ExecutionMode", ExecutionMode);
     propertyBag.WriteProperty("Builder", Builder.IfNotNull(m => m.AssemblyQualifiedName));
 }
예제 #2
0
 /// <summary>
 /// Saves the pipeline component configuration. This base class implementation must be called by derived classes
 /// if they override it.
 /// </summary>
 /// <param name="propertyBag"></param>
 /// <param name="clearDirty"></param>
 /// <param name="saveAllProperties"></param>
 public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties)
 {
     propertyBag.WriteProperty("Enabled", Enabled);
     Save(propertyBag);
 }
예제 #3
0
 /// <summary>
 /// Saves the current component configuration into the property bag
 /// </summary>
 /// <param name="propertyBag">Configuration property bag</param>
 protected override void Save(IPropertyBag propertyBag)
 {
     propertyBag.WriteProperty("Extractors", PropertyExtractorCollectionConverter.Serialize(Extractors));
 }
 /// <summary>
 /// Saves the current component configuration into the property bag
 /// </summary>
 /// <param name="propertyBag">Configuration property bag</param>
 protected override void Save(IPropertyBag propertyBag)
 {
     propertyBag.WriteProperty(nameof(EnableFailedMessageRouting), EnableFailedMessageRouting);
     propertyBag.WriteProperty(nameof(SuppressRoutingFailureReport), SuppressRoutingFailureReport);
 }
예제 #5
0
 /// <summary>
 /// Saves the current component configuration into the property bag
 /// </summary>
 /// <param name="propertyBag">Configuration property bag</param>
 protected override void Save(IPropertyBag propertyBag)
 {
     propertyBag.WriteProperty("Components", MicroPipelineComponentEnumerableConverter.Serialize(Components));
 }
 protected override void Save(IPropertyBag propertyBag)
 {
     propertyBag.WriteProperty(nameof(ExecutionMode), ExecutionMode);
     propertyBag.WriteProperty(nameof(PluginType), PluginType.IfNotNull(m => m.AssemblyQualifiedName));
 }
 /// <summary>
 /// Saves the current component configuration into the property bag
 /// </summary>
 /// <param name="propertyBag">Configuration property bag</param>
 protected override void Save(IPropertyBag propertyBag)
 {
     propertyBag.WriteProperty("Encoding", EncodingConverter.Serialize(Encoding));
     propertyBag.WriteProperty("Map", Map.IfNotNull(m => m.AssemblyQualifiedName));
 }
 /// <summary>
 /// Saves the current component configuration to the <paramref name="propertyBag"/>.
 /// </summary>
 /// <param name="propertyBag">Configuration property bag</param>
 protected override void Save(IPropertyBag propertyBag)
 {
     propertyBag.WriteProperty(nameof(Components), _microComponent.SaveConfiguration());
 }
 /// <summary>
 /// Saves the current component configuration into the property bag
 /// </summary>
 /// <param name="propertyBag">Configuration property bag</param>
 protected override void Save(IPropertyBag propertyBag)
 {
     propertyBag.WriteProperty("EnableFailedMessageRouting", EnableFailedMessageRouting);
     propertyBag.WriteProperty("SuppressRoutingFailureReport", SuppressRoutingFailureReport);
 }
 /// <summary>
 /// Saves the current component configuration into the property bag
 /// </summary>
 /// <param name="propertyBag">Configuration property bag</param>
 protected override void Save(IPropertyBag propertyBag)
 {
     propertyBag.WriteProperty("Encoding", EncodingConverter.Serialize(Encoding));
     propertyBag.WriteProperty("Modes", Modes);
     propertyBag.WriteProperty("Translations", XmlTranslationSetConverter.Serialize(Translations));
 }
 /// <summary>
 /// Saves the current component configuration into the property bag
 /// </summary>
 /// <param name="propertyBag">Configuration property bag</param>
 protected override void Save(IPropertyBag propertyBag)
 {
     propertyBag.WriteProperty("ExecutionMode", ExecutionMode);
     propertyBag.WriteProperty("Policy", Policy.IfNotNull(p => p.ToString()));
 }
 protected override void Save(IPropertyBag propertyBag)
 {
     propertyBag.WriteProperty("Factory", Factory.IfNotNull(m => m.AssemblyQualifiedName));
 }
예제 #13
0
 /// <summary>
 /// Saves the current component configuration into the property bag
 /// </summary>
 /// <param name="propertyBag">Configuration property bag</param>
 protected override void Save(IPropertyBag propertyBag)
 {
     propertyBag.WriteProperty("TrackingContextRetentionDuration", TrackingContextRetentionDuration);
     propertyBag.WriteProperty("TrackingModes", TrackingModes);
 }