コード例 #1
0
        public static InfoMessageContext Create(InfoMessage message, ICommentOptions options)
        {
            var metadata = new InfoMessageMetadata(message, options);
            var methods  = new InfoMessageMethods();
            var context  = new InfoMessageContext(message, metadata, methods);

            return(context);
        }
コード例 #2
0
 public InfoMessageContext(IInfoMessage message, InfoMessageMetadata metadata, InfoMessageMethods methods)
 {
     Message  = message;
     Metadata = metadata;
     Methods  = methods;
 }