public void InitializeFrom(MetaDataOptions options) { MetaDataHeaderOptions.InitializeFrom(options.MetaDataHeaderOptions); TablesHeapOptions.InitializeFrom(options.TablesHeapOptions); Flags = options.Flags; OnFlagsChanged(); }
public void InitializeFrom(MetaDataHeaderOptions options) { Signature.Value = options.Signature; MajorVersion.Value = options.MajorVersion; MinorVersion.Value = options.MinorVersion; Reserved1.Value = options.Reserved1; VersionString = options.VersionString; StorageFlags.Value = (byte?)options.StorageFlags; Reserved2.Value = options.Reserved2; }
public void CopyTo(MetaDataHeaderOptions options) { options.Signature = Signature.Value; options.MajorVersion = MajorVersion.Value; options.MinorVersion = MinorVersion.Value; options.Reserved1 = Reserved1.Value; options.VersionString = string.IsNullOrEmpty(VersionString) ? null : VersionString; options.StorageFlags = (StorageFlags?)StorageFlags.Value; options.Reserved2 = Reserved2.Value; }
public void CopyTo(MetaDataOptions options) { MetaDataHeaderOptions.CopyTo(options.MetaDataHeaderOptions); TablesHeapOptions.CopyTo(options.TablesHeapOptions); options.Flags = Flags; }