/// <summary> /// Returns whether the <see cref="CodeTranslationOptions"/> supports regions for the given /// <paramref name="area"/>. /// </summary> /// <param name="area">The <see cref="AutoRegionAreas"/> that the <see cref="CodeTranslationOptions"/> /// supports given the current state of the <see cref="CodeTranslationOptions"/>.</param> /// <returns>true, if the <see cref="CodeTranslationOptions"/> supports /// auto-regioning for the <paramref name="area"/> given; false, otherwise.</returns> public bool AutoRegionsFor(AutoRegionAreas area) { return((this.AutoRegions & area) == area); }
public bool AutoRegionsFor(AutoRegionAreas area) { return(this.options.AutoRegionsFor(area)); }