Пример #1
0
 /// <summary>
 /// Gets the <see cref="MonitorForAttribute"/>
 /// </summary>
 /// <param name="monitor">
 /// The monitor.
 /// </param>
 /// <returns>
 /// The <see cref="MonitorForAttribute"/>.
 /// </returns>
 internal static MonitorForAttribute MonitorFor(this IMonitor monitor)
 {
     return(monitor.GetType().GetCustomAttribute <MonitorForAttribute>(false));
 }