JetBrains.EnvDTE.Client by JetBrains

<PackageReference Include="JetBrains.EnvDTE.Client" Version="20220221.47.0" />

 ProjectItem_set_NameRequest

using JetBrains.Rd; using JetBrains.Rd.Base; using JetBrains.Rd.Util; using System; namespace JetBrains.Rider.Model { public sealed class ProjectItem_set_NameRequest : IEquatable<ProjectItem_set_NameRequest> { public static CtxReadDelegate<ProjectItem_set_NameRequest> Read = new CtxReadDelegate<ProjectItem_set_NameRequest>((object)<>c.<>9, (IntPtr)(void*)); public static CtxWriteDelegate<ProjectItem_set_NameRequest> Write = new CtxWriteDelegate<ProjectItem_set_NameRequest>((object)<>c.<>9, (IntPtr)(void*)); public ProjectItemModel Model { get; set; } public string NewName { get; set; } public ProjectItem_set_NameRequest(ProjectItemModel model, string newName) { if (model == null) throw new ArgumentNullException("model"); if (newName == null) throw new ArgumentNullException("newName"); Model = model; NewName = newName; } public void Deconstruct(out ProjectItemModel model, out string newName) { model = Model; newName = NewName; } public override bool Equals(object obj) { if (obj == null) return false; if (this == obj) return true; if (obj.GetType() != GetType()) return false; return Equals((ProjectItem_set_NameRequest)obj); } public bool Equals(ProjectItem_set_NameRequest other) { if (other == null) return false; if (this == other) return true; if (object.Equals(Model, other.Model)) return NewName == other.NewName; return false; } public override int GetHashCode() { return (0 * 31 + Model.GetHashCode()) * 31 + NewName.GetHashCode(); } public void Print(PrettyPrinter printer) { printer.Println("ProjectItem_set_NameRequest ("); PrettyPrinterIndentCookie val = printer.IndentCookie(); try { printer.Print("model = "); PrintableEx.PrintEx((object)Model, printer); printer.Println(); printer.Print("newName = "); PrintableEx.PrintEx((object)NewName, printer); printer.Println(); } finally { ((IDisposable)val).Dispose(); } printer.Print(")"); } public override string ToString() { SingleLinePrettyPrinter val = new SingleLinePrettyPrinter(); Print(val); return ((object)val).ToString(); } } }