コード例 #1
0
        bool IBindingContext.TryGet <T> (out T t, params object[] extras)
        {
            IBindingKey key  = new BindingKey(typeof(T));
            var         name = new BindingName(InnerBindingNames.Empty);

            return(TryGet(name, key, out t, extras));
        }
コード例 #2
0
        bool IBindingContext.TryGet <T> (IBindingName name, out T t, params object[] extras)
        {
            IBindingKey key = new BindingKey(typeof(T));

            return(TryGet(name, key, out t, extras));
        }
コード例 #3
0
        T IBindingContext.Get <T> ()
        {
            IBindingKey key = new BindingKey(typeof(T));

            return((T)Get(new BindingName(InnerBindingNames.Empty), key));
        }
コード例 #4
0
        T IBindingContext.Get <T> (IBindingName name, params object[] extras)
        {
            IBindingKey key = new BindingKey(typeof(T));

            return((T)Get(name, key, extras));
        }