Пример #1
0
 protected override RenameRegistrationOptions CreateRegistrationOptions(RenameCapability capability, ClientCapabilities clientCapabilities)
 {
     return(new()
     {
         DocumentSelector = Program.Selector
     });
 }
Пример #2
0
 public RenameRegistrationOptions GetRegistrationOptions(RenameCapability capability, ClientCapabilities clientCapabilities)
 {
     return(new RenameRegistrationOptions
     {
         PrepareProvider = false,
         DocumentSelector = RazorDefaults.Selector,
     });
 }
Пример #3
0
 public override void SetCapability(RenameCapability capability) => _setCapability?.Invoke(capability);
Пример #4
0
 public virtual void SetCapability(RenameCapability capability) => Capability = capability;
Пример #5
0
 public abstract void SetCapability(RenameCapability capability);
 public void SetCapability(RenameCapability capability)
 {
     _capability = capability;
 }
Пример #7
0
 public void SetCapability(RenameCapability capability)
 {
     capability.DynamicRegistration = true;
 }
Пример #8
0
 public void SetCapability(RenameCapability capability)
 {
 }