コード例 #1
0
        public IResource CreateInstance(SourceFile source, ResourceMetadata metadata, CommentMetadata comment, object option)
        {
            var info = new ResourceHelpInfo(comment.Synopsis);

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