Nini.Ini.IniWriter.ValidateState C# (CSharp) Method

ValidateState() private method

Validates the state to determine if the item can be written.
private ValidateState ( ) : void
return void
        private void ValidateState()
        {
            if (writeState == IniWriteState.Closed) {
                throw  new InvalidOperationException ("The writer is closed");
            }
        }