Exemplo n.º 1
0
 /// <summary>
 /// Adds an application part.
 /// </summary>
 /// <param name="part">The application part.</param>
 public void AddApplicationPart(IApplicationPart part)
 {
     if (!this.applicationParts.Contains(part))
     {
         this.applicationParts.Add(part);
     }
 }
Exemplo n.º 2
0
 /// <inheritdoc />
 public IApplicationPartManager AddApplicationPart(IApplicationPart part)
 {
     if (!this.applicationParts.Contains(part))
     {
         this.applicationParts.Add(part);
     }
     return(this);
 }
Exemplo n.º 3
0
 /// <inheritdoc />
 public bool Equals(IApplicationPart other) => this.Equals(other as AssemblyPart);
Exemplo n.º 4
0
 public IApplicationPartManager AddApplicationPart(IApplicationPart part)
 {
     this.manager.AddApplicationPart(part);
     return(this);
 }