Mono.Rocks.Check.Self C# (CSharp) Метод

Self() публичный статический Метод

public static Self ( object self ) : void
self object
Результат void
        public static void Self(object self)
        {
            if (self == null)
                throw new ArgumentNullException ("self");
        }

Usage Example

Пример #1
0
        public static IEnumerable <string> Words(this TextReader self, TextReaderRocksOptions options)
        {
            Check.Self(self);
            CheckOptions(options);

            return(Tokens(self, options, (p, c) => !char.IsWhiteSpace(c)));
        }
All Usage Examples Of Mono.Rocks.Check::Self