public static SecondaryObjectTypeIds ( this obj ) : IList |
||
obj | this | Cmis object. |
return | IList |
public static IList<string> SecondaryObjectTypeIds(this ICmisObject obj) {
IList<string> ids = new List<string>();
if (obj.SecondaryTypes != null) {
foreach (var secondaryType in obj.SecondaryTypes) {
ids.Add(secondaryType.Id);
}
}
return ids;
}