/// <summary> /// Initializes a new instance of the <see cref="ScopedDateTimePropertyDefinition"/> class. /// </summary> /// <param name="xmlElementName">Name of the XML element.</param> /// <param name="uri">The URI.</param> /// <param name="flags">The flags.</param> /// <param name="version">The version.</param> /// <param name="getPropertyDefinitionCallback">The callback that will be used to retrieve the time zone property.</param> internal ScopedDateTimePropertyDefinition( string xmlElementName, string uri, PropertyDefinitionFlags flags, ExchangeVersion version, GetPropertyDefinitionCallback getPropertyDefinitionCallback) : base( xmlElementName, uri, flags, version) { EwsUtilities.Assert( getPropertyDefinitionCallback != null, "ScopedDateTimePropertyDefinition.ctor", "getPropertyDefinitionCallback is null."); this.getPropertyDefinitionCallback = getPropertyDefinitionCallback; }