Ejemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="options">Options</param>
 public MetaDataHeader(MetaDataHeaderOptions options)
 {
     this.options = options ?? new MetaDataHeaderOptions();
 }
Ejemplo n.º 2
0
		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;
		}
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="options">Options</param>
		public MetaDataHeader(MetaDataHeaderOptions options) {
			this.options = options ?? new MetaDataHeaderOptions();
		}
Ejemplo n.º 4
0
		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;
		}