Exemplo n.º 1
0
 /// <summary>
 /// Removes given formatting options from current if present and returns updated <see cref="DictionaryFormat"/>.
 /// </summary>
 /// <param name="options">Formatted options removed.</param>
 public DictionaryFormat RemoveOptions(DictionaryFormatOptions options)
 {
     Options &= Options ^ options;
     return(this);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Extends current formatting options with provided options and returns updated <see cref="DictionaryFormat"/>.
 /// </summary>
 /// <param name="options">Formatting options added.</param>
 public DictionaryFormat AddOptions(DictionaryFormatOptions options)
 {
     Options |= options;
     return(this);
 }