예제 #1
0
 public MetadataBuffer(MetadataImage image)
 {
     Image                  = image ?? throw new ArgumentNullException(nameof(image));
     TableStreamBuffer      = new TableStreamBuffer(this);
     BlobStreamBuffer       = new BlobStreamBuffer(this);
     StringStreamBuffer     = new StringStreamBuffer();
     UserStringStreamBuffer = new UserStringStreamBuffer();
     GuidStreamBuffer       = new GuidStreamBuffer(this);
     ResourcesBuffer        = new ResourcesBuffer();
 }
예제 #2
0
        public MetadataBuffer(MetadataImage image)
        {
            if (image == null)
            {
                throw new ArgumentNullException("image");
            }

            Image                  = image;
            TableStreamBuffer      = new TableStreamBuffer(this);
            BlobStreamBuffer       = new BlobStreamBuffer(this);
            StringStreamBuffer     = new StringStreamBuffer();
            UserStringStreamBuffer = new UserStringStreamBuffer();
            GuidStreamBuffer       = new GuidStreamBuffer(this);
            ResourcesBuffer        = new ResourcesBuffer();
        }