org.pdfclown.samples.cli.Utils Class Reference

List of all members.

Static Public Member Functions

static object Get (this object obj, string propertyName)
 Gets the value of the given property.
static bool Is (this object obj, Type type)
 Gets whether the object's definition is compatible with the given type's.
static void Prompt (string message)

Member Function Documentation

static object org.pdfclown.samples.cli.Utils.Get ( this object  obj,
string  propertyName 
) [static]

Gets the value of the given property.

Parameters:
propertyName Property name whose value has to be retrieved.
static bool org.pdfclown.samples.cli.Utils.Is ( this object  obj,
Type  type 
) [static]

Gets whether the object's definition is compatible with the given type's.

This extension method represents a workaround to the lack of type covariance support in C#. You may consider it equivalent to a (forbidden) overloading of the 'is' operator.

Parameters:
type Type to verify against the object's definition.
static void org.pdfclown.samples.cli.Utils.Prompt ( string  message  )  [static]

Copyright 2006-2013 Stefano Chizzolini. For more information, please visit PDF Clown home page.

Generated on Sat Feb 9 21:28:29 2013 for PDF Clown Samples 0.1.2 by  doxygen 1.6.3