Ejemplo n.º 1
0
 /// <summary>
 ///     Determines whether the workspace contains the table name and type combination.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="source">The source.</param>
 /// <param name="type">The type.</param>
 /// <returns>
 ///     Returns a <see cref="bool" /> representing <c>true</c> when the workspace contains the table name and type.
 /// </returns>
 public static bool Contains <T>(this IWorkspace source, esriDatasetType type) where T : Entity
 {
     return(source.Contains(type, Entity.GetFullName <T>()));
 }