Nitro.SecureName Class Reference

Detailed Description

Represents a name of a namespace or type that can be allowed or blocked from use.

Public Member Functions

 SecureName (string name)
 Creates a new secure name for the given type name (e.g. More...
 
bool Matches (Type type)
 Checks if the given type falls in the scope named here. More...
 

Public Attributes

string Name
 The name to match. Either a namespace (e.g. System.Collections) or a fully qualified type (e.g. System.String). More...
 

Constructor & Destructor Documentation

Nitro.SecureName.SecureName ( string  name)
inline

Creates a new secure name for the given type name (e.g.

Member Function Documentation

bool Nitro.SecureName.Matches ( Type  type)
inline

Checks if the given type falls in the scope named here.

Parameters
typeThe typqe to check for a match
Returns
True if there is a successful match; false otherwise.

Member Data Documentation

string Nitro.SecureName.Name

The name to match. Either a namespace (e.g. System.Collections) or a fully qualified type (e.g. System.String).