Dev2.DynamicServices.DsfDataObject.PublishValues C# (CSharp) Method

PublishValues() protected method

The host invokes this method and passes all the loaded values in the collection (filled by the or ) as a dictionary parameter.
protected PublishValues ( object>.IDictionary readWriteValues ) : void
readWriteValues object>.IDictionary /// The read-write values that were loaded from the persistence store. This dictionary /// corresponds to the dictionary of read-write values persisted in the most recent persistence episode. ///
return void
        protected override void PublishValues(IDictionary<XName, object> readWriteValues)
        {
            foreach (XName key in readWriteValues.Keys)
            {
                PropertyInfo pi = typeof (IDSFDataObject).GetProperty(key.LocalName);

                if (pi != null)
                {
                    pi.SetValue(this, readWriteValues[key], null);
                }
            }
        }