Ejemplo n.º 1
0
        public ISourceProxy CreateProxy(object source, SourceDescription description)
        {
            try
            {
                ISourceProxy proxy = null;
                if (TryCreateProxy(source, description, out proxy))
                {
                    return(proxy);
                }

                throw new NotSupportedException("Not found available proxy factory");
            }
            catch (Exception e)
            {
                throw e;
            }
        }
Ejemplo n.º 2
0
 private bool TryCreateProxy(object source, SourceDescription description, out ISourceProxy proxy)
 {
     proxy = null;
     return(false);
 }