Exemplo n.º 1
0
        internal bool Add(ILocalBindable bindable)
        {
            if (string.IsNullOrEmpty(bindable.Name.Name))
            {
                return(true);
            }
            bool result = this.bag.Add(bindable.Name, new LocalInfo(bindable));

            return(result);
        }
Exemplo n.º 2
0
 internal bool TryGet(ILocalBindable bindable, out ObjectData info)
 {
     if (bindable == null)
     {
         info = null;
         return(false);
     }
     else
     {
         return(this.bag.TryGetValue(bindable, out info));
     }
 }
Exemplo n.º 3
0
 public LocalInfo(ILocalBindable bindable)
 {
     this.Bindable = bindable;
 }