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

GetNodeAttribute() public static method

public static GetNodeAttribute ( StringAttribute attr ) : NodeAttribute
attr StringAttribute
return NodeAttribute
		public static NodeAttribute GetNodeAttribute(StringAttribute attr)
		{
			switch (attr)
			{
				case StringAttribute.Name:
					return NodeAttribute.Name;
				case StringAttribute.Path:
					return NodeAttribute.Path;
				case StringAttribute.ETag:
					return NodeAttribute.ETag;
				case StringAttribute.LockToken:
					return NodeAttribute.LockToken;
				default:
					throw new NotImplementedException("Unknown StringAttribute");
			}
		}
		public static NodeAttribute GetNodeAttribute(IntAttribute attr)

Same methods

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