Mono.Rocks.Check.Selector C# (CSharp) Method

Selector() public static method

public static Selector ( object selector ) : void
selector object
return void
        public static void Selector(object selector)
        {
            if (selector == null)
                throw new ArgumentNullException ("selector");
        }

Usage Example

Ejemplo n.º 1
0
        public static TResult With <TSource, TResult> (this TSource self, Func <TSource, TResult> selector)
        {
            // Permit self to be null
            Check.Selector(selector);

            return(selector(self));
        }
All Usage Examples Of Mono.Rocks.Check::Selector