Esempio n. 1
0
 /// <summary>
 /// Create the binding object (association) for the global constant in the global name scope (system dictionary).
 /// </summary>
 /// <param name="installer">Context within which the binding is to be created.</param>
 /// <param name="name">Name of the global.</param>
 /// <returns>Returns true if successful, otherwise false.</returns>
 protected override bool InternalCreateBinding(IDefinitionInstallerContext installer, Symbol name)
 {
     // Everything else has been validate, so create a binding - so far pointing to null.
     installer.AddGlobalConstantBinding(new GlobalConstantBinding(name));
     return(true);
 }