Add() 공개 메소드

Adds a MemberInfo instance to the chain
public Add ( MemberInfo member ) : void
member System.Reflection.MemberInfo Member to add
리턴 void
예제 #1
0
        /// <summary>
        /// Builds a property path.
        /// </summary>
        public string BuildPropertyName(string propertyName)
        {
            var chain = new PropertyChain(this);

            chain.Add(propertyName);
            return(chain.ToString());
        }
예제 #2
0
        /// <summary>
        /// Builds a property path.
        /// </summary>
        public string BuildPropertyName(string propertyName)
        {
            if (_memberNames.Count == 0)
            {
                return(propertyName);
            }

            var chain = new PropertyChain(this);

            chain.Add(propertyName);
            return(chain.ToString());
        }
예제 #3
0
 public string BuildPropertyName(string propertyName)
 {
     var chain = new PropertyChain(this);
     chain.Add(propertyName);
     return chain.ToString();
 }
		/// <summary>
		/// Builds a property path.
		/// </summary>
		public string BuildPropertyName(string propertyName) {
			if (memberNames.Count == 0) {
				return propertyName;
			}

			var chain = new PropertyChain(this);
			chain.Add(propertyName);
			return chain.ToString();
		}