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); }
public InfoMessageContext(IInfoMessage message, InfoMessageMetadata metadata, InfoMessageMethods methods) { Message = message; Metadata = metadata; Methods = methods; }