Пример #1
0
            public override System.IO.Stream GetResponseStream()
            {
                Stream stm = TestResourceLoader.GetStream(resourceType, resourceName);

                return(stm);
            }
Пример #2
0
        private IResource GetResource(object instance, string name)
        {
            string resourcePath = TestResourceLoader.GetAssemblyResourceUri(instance, name);

            return(resourceLoader.GetResource(resourcePath));
        }