Ejemplo n.º 1
0
        public IResource CreateInstance(SourceFile source, ResourceMetadata metadata, CommentMetadata comment, object spec)
        {
            var info = new ResourceHelpInfo(comment.Synopsis);

            return((IResource)Activator.CreateInstance(typeof(T), source, metadata, info, spec));
        }