コード例 #1
0
 /// <summary>
 /// Adds a property to the Properties collection which must have been previously populated by CreateNewEntry.
 /// </summary>
 /// <param name="properties">The value of the Properties property to add the property to.</param>
 /// <param name="propertyToAdd">The property to add.</param>
 internal static void AddPropertyToPropertiesList(IEnumerable <ODataProperty> properties, ODataProperty propertyToAdd)
 {
     DebugUtils.CheckNoExternalCallers();
     Debug.Assert(propertyToAdd != null, "propertyToAdd != null");
     ReaderUtils.GetPropertiesList(properties).Add(propertyToAdd);
 }