示例#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)
 {
 }