Exemple #1
0
        public RootScope(Context context)
        {
            _context   = context;
            _functions = new FunctionCollection();
            _variables = new VariableCollection();
            _classes   = new ClassCollection();
            _objects   = new ObjectCollection();
            _arrays    = new ArrayCollection();

            StandardLibrary.Populate(_functions);
            StandardLibrary.Populate(_variables);
        }
 public AdapterICAC(IArrayCollection <T> adaptee)
 {
     _adaptee = adaptee;
 }
 public AdapterICAC()
 {
     _adaptee = new ArrayCollection <T>();
 }
Exemple #4
0
 public static IIndexedCollection <T> Configure <T>(IArrayCollection <T> iac)
 {
     return(new AdapterICAC <T>(iac));
 }