NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

6.2.1 Import aliases

An import alias defines an alias for a namespace or type. The identifier of a directive must be unique within the global namespace (not just the global namespace declaration in the source file in which the import alias is defined), even though it does not declare a name in the global namespace's declaration space. An import alias can create an alias for any namespace or type. Accessing a namespace or type through an alias yields exactly the same result as accessing the namespace or type through its declared name. Nested declarations may shadow the import alias name.

ImportsAliasClause ::= Identifier = NamespaceOrTypeName
NamespaceOrTypeName ::= NamespaceName | TypeName