示例#1
0
 public void ParseNonResidentAttribute(Attribute attr)
 {
     if (attr.NonResidentFlag == ResidentFlag.NonResident && attr.NonResidentHeader.Fragments.Length > 0)
     {
         // Get data
         attr.ParseAttributeNonResidentBody(this);
     }
 }
示例#2
0
        public void ParseNonResidentAttribute(Attribute attr)
        {
            if (Provider.MftFileOnly)
            {               // Nothing to do about this
                throw new InvalidOperationException("Provider indicates an MFT file is used. Cannot parse non-resident attributes.");
            }

            if (attr.NonResidentHeader.Fragments.Length > 0)
            {               // Get data
                attr.ParseAttributeNonResidentBody(this);
            }
        }