示例#1
0
 /// <summary>
 /// Checks whether the activity should contain an activity definition.
 /// </summary>
 /// <returns>True if the activity contains an activity definition, otherwise false.</returns>
 private bool HasActivityDefinition()
 {
     return(_activityType != null || _descriptionLanguageMap.Any() || _nameLanguageMap.Any() || _extensions.Any());
 }