up: CTX     index Zimbu documentation

CLASS CTX.Provider @public

summary

     

A simple provider that allows setting the object to provide.

 
Implements CTX.I_Provider
 
$set(object) @public  Store the object to be provided.
$provide() dyn @public  Returns the object previously set with set().
 

members (alphabetically)

     

FUNC $provide() dyn @public

     

Returns the object previously set with set().

Returns NIL if set() was not yet called.

PROC $set(dyn object) @public

     

Store the object to be provided.

license

      Copyright 2015 Bram Moolenaar All Rights Reserved.

      Licensed under the Apache License, Version 2.0. See the LICENSE file or obtain a copy at: http://www.apache.org/licenses/LICENSE-2.0