Esempio n. 1
0
 /// <summary>
 /// Append the formatData to the list of formatting configurations, and update the
 /// entire formatting database.
 /// </summary>
 /// <param name="formatData">
 /// The formatData is of type 'ExtendedTypeDefinition'. It defines the View configuration
 /// including TableControl, ListControl, and WideControl.
 /// </param>
 /// <exception cref="FormatTableLoadException">
 /// 1. There were errors loading Formattable. Look in the Errors property to
 /// get detailed error messages.
 /// </exception>
 public void AppendFormatData(IEnumerable <ExtendedTypeDefinition> formatData)
 {
     if (formatData == null)
     {
         throw PSTraceSource.NewArgumentNullException("formatData");
     }
     _formatDBMgr.AddFormatData(formatData, false);
 }