Пример #1
0
        public void ClassSummaryText()
        {
            var summary = SummaryManager.GetSummary(typeof(SummaryManagerTest));

            Assert.AreEqual(summary, "Summary manager text");
        }
 /// <summary>
 ///
 /// </summary>
 /// <param name="property"></param>
 /// <returns></returns>
 public static string GetSummary(this PropertyInfo property)
 {
     return(SummaryManager.GetSummary(property));
 }
Пример #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="type"></param>
 /// <returns></returns>
 public static string GetSummary(this Type type)
 {
     return(SummaryManager.GetSummary(type));
 }
Пример #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="fieldInfo"></param>
 /// <returns></returns>
 public static string GetSummary(this FieldInfo fieldInfo)
 {
     return(SummaryManager.GetSummary(fieldInfo));
 }