示例#1
0
 /// <summary>
 /// Add new proto link representing a embedding relationship to this proto group.
 /// </summary>
 /// <param name="protoLink">Proto link to add this proto group.</param>
 public void AddNewEmbeddingLink(ModelProtoLink protoLink)
 {
     if (!protoEmbeddingLinks.Contains(protoLink))
     {
         protoEmbeddingLinks.Add(protoLink);
     }
 }
示例#2
0
 /// <summary>
 /// Add new proto link representing a reference relationship to this proto group.
 /// </summary>
 /// <param name="protoLink">Proto link to add this proto group.</param>
 public void AddNewReferenceLink(ModelProtoLink protoLink)
 {
     if (!protoReferenceLinks.Contains(protoLink))
     {
         protoReferenceLinks.Add(protoLink);
     }
 }
 /// <summary>
 /// Add new proto link representing a embedding relationship to this proto group.
 /// </summary>
 /// <param name="protoLink">Proto link to add this proto group.</param>
 public void AddNewEmbeddingLink(ModelProtoLink protoLink)
 {
     if (!protoEmbeddingLinks.Contains(protoLink))
         protoEmbeddingLinks.Add(protoLink);
 }
 /// <summary>
 /// Add new proto link representing a reference relationship to this proto group.
 /// </summary>
 /// <param name="protoLink">Proto link to add this proto group.</param>
 public void AddNewReferenceLink(ModelProtoLink protoLink)
 {
     if (!protoReferenceLinks.Contains(protoLink))
         protoReferenceLinks.Add(protoLink);
 }