SIL.FieldWorks.XWorks.RecordNavigationInfo.GetSendingClerk C# (CSharp) Method

GetSendingClerk() public static method

Given an argument from OnRecordNavigation, expected to be a RecordNavigationInfo, if it really is return it's clerk. Otherwise return null.
public static GetSendingClerk ( object argument ) : RecordClerk
argument object
return RecordClerk
		public static RecordClerk GetSendingClerk(object argument)
		{
			var info = argument as RecordNavigationInfo;
			if (info == null)
				return null;
			return info.Clerk;
		}