protected override RenameRegistrationOptions CreateRegistrationOptions(RenameCapability capability, ClientCapabilities clientCapabilities) { return(new() { DocumentSelector = Program.Selector }); }
public RenameRegistrationOptions GetRegistrationOptions(RenameCapability capability, ClientCapabilities clientCapabilities) { return(new RenameRegistrationOptions { PrepareProvider = false, DocumentSelector = RazorDefaults.Selector, }); }
public override void SetCapability(RenameCapability capability) => _setCapability?.Invoke(capability);
public virtual void SetCapability(RenameCapability capability) => Capability = capability;
public abstract void SetCapability(RenameCapability capability);
public void SetCapability(RenameCapability capability) { _capability = capability; }
public void SetCapability(RenameCapability capability) { capability.DynamicRegistration = true; }
public void SetCapability(RenameCapability capability) { }