// Token: 0x06001F69 RID: 8041 RVA: 0x00094BA0 File Offset: 0x00092DA0
        internal override void Copy(BamlRecord record)
        {
            base.Copy(record);
            BamlPropertyStringReferenceRecord bamlPropertyStringReferenceRecord = (BamlPropertyStringReferenceRecord)record;

            bamlPropertyStringReferenceRecord._stringId = this._stringId;
        }
コード例 #2
0
        // Read a Property record, get the current element off the context stack and convert
        // the string value of the property into a real object.  Obtain the string value
        // from the string table in the baml file. 
        protected virtual void ReadPropertyStringRecord(BamlPropertyStringReferenceRecord bamlPropertyRecord)
        { 
            if (null == CurrentContext || 
                (ReaderFlags.DependencyObject != CurrentContext.ContextType &&
                 ReaderFlags.ClrObject != CurrentContext.ContextType)) 
            {
                ThrowException(SRID.ParserUnexpInBAML, "Property");
            }
 
            string attribValue = GetPropertyValueFromStringId(bamlPropertyRecord.StringId);
            ReadPropertyRecordBase(attribValue, bamlPropertyRecord.AttributeId, 
                                   0); 
        }