コード例 #1
0
 public static DocumentOnTypeFormattingOptions Of(IDocumentOnTypeFormattingOptions options)
 {
     return(new DocumentOnTypeFormattingOptions()
     {
         FirstTriggerCharacter = options.FirstTriggerCharacter,
         MoreTriggerCharacter = options.MoreTriggerCharacter
     });
 }
コード例 #2
0
 public static DocumentOnTypeFormattingOptions Of(IDocumentOnTypeFormattingOptions options, IEnumerable <IHandlerDescriptor> descriptors)
 {
     return(new DocumentOnTypeFormattingOptions()
     {
         FirstTriggerCharacter = options.FirstTriggerCharacter,
         MoreTriggerCharacter = options.MoreTriggerCharacter,
     });
 }