MonoMobile.Views.ActionSheetView.GetTitle C# (CSharp) Method

GetTitle() private static method

private static GetTitle ( MethodInfo method ) : string
method System.Reflection.MethodInfo
return string
		private static string GetTitle(MethodInfo method)
		{
			var captionAttribute = method.GetCustomAttribute<CaptionAttribute>();
			var title = captionAttribute != null ? captionAttribute.Caption : method.Name.Capitalize();

			return title;
		}