Exemplo n.º 1
0
        public override string ToString()
        {
            return(GetType().Name + ";Accepts:" + AcceptedCharacters +
#pragma warning disable 618 // Ignore obsolete warning for EditorHints
                   ((EditorHints == EditorHints.None) ? string.Empty : (";Hints: " + EditorHints.ToString())));

#pragma warning restore 618 // Ignore obsolete warning for EditorHints
        }
Exemplo n.º 2
0
 public override string ToString()
 {
     return(GetType().Name
            + ";Accepts:"
            + AcceptedCharacters
            + (
                (EditorHints == EditorHints.None)
                 ? String.Empty
                 : (";Hints: " + EditorHints.ToString())
                ));
 }
Exemplo n.º 3
0
 public static SpanConstructor WithEditorHints(this SpanConstructor self, EditorHints hints)
 {
     return(self.With(eh => eh.EditorHints = hints));
 }
Exemplo n.º 4
0
 public static SpanConstructor WithEditorHints(this SpanConstructor self, EditorHints hints)
 {
     return self.With(eh => eh.EditorHints = hints);
 }