예제 #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));
        }
예제 #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);
        }