SenseNet.ContentRepository.Storage.Search.Internal.BinaryExpression.GetNodeAttribute C# (CSharp) Method

GetNodeAttribute() public static method

public static GetNodeAttribute ( DateTimeAttribute attr ) : NodeAttribute
attr DateTimeAttribute
return NodeAttribute
		public static NodeAttribute GetNodeAttribute(DateTimeAttribute attr)
		{
			switch (attr)
			{
				case DateTimeAttribute.LockDate:
					return NodeAttribute.LockDate;
				case DateTimeAttribute.LastLockUpdate:
					return NodeAttribute.LastLockUpdate;
				case DateTimeAttribute.CreationDate:
					return NodeAttribute.CreationDate;
				case DateTimeAttribute.ModificationDate:
					return NodeAttribute.ModificationDate;
				default:
					throw new NotImplementedException("Unknown DateTimeAttribute");
			}
		}
		public static NodeAttribute GetNodeAttribute(ReferenceAttribute attr)

Same methods

BinaryExpression::GetNodeAttribute ( IntAttribute attr ) : NodeAttribute
BinaryExpression::GetNodeAttribute ( ReferenceAttribute attr ) : NodeAttribute
BinaryExpression::GetNodeAttribute ( StringAttribute attr ) : NodeAttribute