Esempio n. 1
0
        static IndirectionStub MakeStub(StubElement internalStub)
        {
            Debug.Assert(internalStub != null);

            if (internalStub.Target == null)
            {
                throw new KeyNotFoundException(""); // TODO:
            }
            return(new IndirectionStub(internalStub.Name, internalStub.Alias, internalStub.Xml, internalStub.Target));
        }
Esempio n. 2
0
        static IndirectionStub MakeStub(StubElement internalStub)
        {
            Debug.Assert(internalStub != null);

            if (internalStub.Target == null)
                throw new KeyNotFoundException(""); // TODO: 
            
            return new IndirectionStub(internalStub.Name, internalStub.Alias, internalStub.Xml, internalStub.Target);
        }