public ReadValueContext( WorkflowExecutionContext context, int indicatorLength, string text, string value, char passwordChar, ReadValueMode readingMode) { CodeContract.Requires(context != null); Context = context; CheckText(indicatorLength, text); OriginalText = text; Value = value; _passwordChar = passwordChar; ReadValueMode = readingMode; }