JetBrains.EnvDTE.Client by JetBrains

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

 ProjectItemModel

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