Exemplo 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));
        }
Exemplo 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);
        }