public static DocumentOnTypeFormattingOptions Of(IDocumentOnTypeFormattingOptions options) { return(new DocumentOnTypeFormattingOptions() { FirstTriggerCharacter = options.FirstTriggerCharacter, MoreTriggerCharacter = options.MoreTriggerCharacter }); }
public static DocumentOnTypeFormattingOptions Of(IDocumentOnTypeFormattingOptions options, IEnumerable <IHandlerDescriptor> descriptors) { return(new DocumentOnTypeFormattingOptions() { FirstTriggerCharacter = options.FirstTriggerCharacter, MoreTriggerCharacter = options.MoreTriggerCharacter, }); }