Esempio n. 1
0
 /// <summary>
 /// Raise the version for features used in the user's request
 /// </summary>
 /// <param name="major">The major segment of the version</param>
 /// <param name="minor">The minor segment of the version</param>
 /// <param name="config">Data service configuration instance to validate the feature version.</param>
 internal void RaiseFeatureVersion(int major, int minor, DataServiceConfiguration config)
 {
     this.maxFeatureVersion = RaiseVersion(this.maxFeatureVersion, major, minor);
     config.ValidateMaxProtocolVersion(this);
 }
Esempio n. 2
0
 /// <summary>
 /// Raise the version for features used in the user's request
 /// </summary>
 /// <param name="major">The major segment of the version</param>
 /// <param name="minor">The minor segment of the version</param>
 /// <param name="config">Data service configuration instance to validate the feature version.</param>
 internal void RaiseFeatureVersion(int major, int minor, DataServiceConfiguration config)
 {
     this.maxFeatureVersion = RaiseVersion(this.maxFeatureVersion, major, minor);
     config.ValidateMaxProtocolVersion(this);
 }