Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MimeKit.Tnef.TnefNameId"/> struct.
 /// </summary>
 /// <remarks>
 /// Creates a new <see cref="TnefNameId"/> with the specified integer identifier.
 /// </remarks>
 /// <param name="propertySetGuid">The property set GUID.</param>
 /// <param name="id">The identifier.</param>
 public TnefNameId(Guid propertySetGuid, int id)
 {
     kind    = TnefNameIdKind.Id;
     guid    = propertySetGuid;
     this.id = id;
     name    = null;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MimeKit.Tnef.TnefNameId"/> struct.
 /// </summary>
 /// <remarks>
 /// Creates a new <see cref="TnefNameId"/> with the specified string identifier.
 /// </remarks>
 /// <param name="propertySetGuid">The property set GUID.</param>
 /// <param name="name">The name.</param>
 public TnefNameId(Guid propertySetGuid, string name)
 {
     kind      = TnefNameIdKind.Name;
     guid      = propertySetGuid;
     this.name = name;
     id        = 0;
 }
Esempio n. 3
0
		/// <summary>
		/// Initializes a new instance of the <see cref="MimeKit.Tnef.TnefNameId"/> struct.
		/// </summary>
		/// <remarks>
		/// Creates a new <see cref="TnefNameId"/> with the specified integer identifier.
		/// </remarks>
		/// <param name="propertySetGuid">The property set GUID.</param>
		/// <param name="id">The identifier.</param>
		public TnefNameId (Guid propertySetGuid, int id)
		{
			kind = TnefNameIdKind.Id;
			guid = propertySetGuid;
			this.id = id;
			name = null;
		}
Esempio n. 4
0
		/// <summary>
		/// Initializes a new instance of the <see cref="MimeKit.Tnef.TnefNameId"/> struct.
		/// </summary>
		/// <remarks>
		/// Creates a new <see cref="TnefNameId"/> with the specified string identifier.
		/// </remarks>
		/// <param name="propertySetGuid">The property set GUID.</param>
		/// <param name="name">The name.</param>
		public TnefNameId (Guid propertySetGuid, string name)
		{
			kind = TnefNameIdKind.Name;
			guid = propertySetGuid;
			this.name = name;
			id = 0;
		}