Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ResolutionSettings"/> class.
 ///     Constructor, all settings provided here, immutable hereafter.
 /// </summary>
 /// <param name="resolveExternal">The Resolve External Setting enum
 /// </param>
 /// <param name="resolveCrossRef">The Resolve Cross References enum
 /// </param>
 /// <param name="resolutionDepth">
 /// - required if resolving references. 0 indicates resolve all, any other positive integer is the level of recursion to resolve
 /// </param>
 public ResolutionSettings(ResolveExternalSetting resolveExternal, ResolveCrossReferences resolveCrossRef, int resolutionDepth)
 {
     this._resolveExternal = resolveExternal;
     this._resolveCrossRef = resolveCrossRef;
     this._resolutionDepth = resolutionDepth;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ResolutionSettings"/> class.
 ///     Constructor, all settings provided here, immutable hereafter.
 /// </summary>
 /// <param name="resolveExternal">The Resolve External Setting enum
 /// </param>
 /// <param name="resolveCrossRef">The Resolve Cross References enum
 /// </param>
 public ResolutionSettings(ResolveExternalSetting resolveExternal, ResolveCrossReferences resolveCrossRef)
 {
     this._resolveExternal = resolveExternal;
     this._resolveCrossRef = resolveCrossRef;
 }