Exemple #1
0
        /// <summary>
        /// Create a sonar base object
        /// </summary>
        /// <param name="sonarApiClient"></param>
        /// <returns></returns>
        public static T CreateObject(TfsApiClient tfsApiClient)
        {
            T result = new T();

            result.SetTfsApiClient(tfsApiClient);
            return(result);
        }
Exemple #2
0
 /// <summary>
 /// Set the sonar API client to the object
 /// </summary>
 /// <param name="client"></param>
 void IBaseObjectApi.SetTfsApiClient(TfsApiClient client)
 {
     _tfsApiClient = client;
 }