Castle.Facilities.AutomaticTransactionManagement.TransactionMetaInfo.IsGenericMethodTransactional C# (CSharp) Method

IsGenericMethodTransactional() private method

private IsGenericMethodTransactional ( MethodInfo info ) : bool
info System.Reflection.MethodInfo
return bool
		private bool IsGenericMethodTransactional(MethodInfo info)
		{
			object[] atts = info.GetCustomAttributes(typeof(TransactionAttribute), true);

			if (atts.Length != 0)
			{
				Add(info, atts[0] as TransactionAttribute);
				return true;
			}
			else
			{
				notTransactionalCache[info] = string.Empty;
			}

			return false;
		}
	}