コード例 #1
0
 /// <summary>
 /// Get <see cref="ComponentInfo" /> for given <see cref="InstanceInfo" />.
 /// </summary>
 /// <param name="instanceInfo"><see cref="InstanceInfo" /> which defines type of component.</param>
 /// <returns><see cref="ComponentInfo" /> if available, <c>null</c> otherwise.</returns>
 public ComponentInfo GetComponentInfo(InstanceInfo instanceInfo)
 {
     return(_manager.GetComponentInfo(instanceInfo));
 }
コード例 #2
0
 /// <summary>
 /// Get <see cref="ComponentInfo" /> defined for given type.
 /// </summary>
 /// <param name="type">Type which component info is needed.</param>
 /// <returns><see cref="ComponentInfo" /> defined for type if available, <c>null</c> otherwise.</returns>
 public ComponentInfo GetComponentInfo(InstanceInfo type)
 {
     return(_manager.GetComponentInfo(type));
 }