Beispiel #1
0
 /// <summary>
 /// Creates a new instance of the StiReference class.
 /// </summary>
 /// <param name="propInfo">Adapted property.</param>
 public StiReference(StiPropertyInfo propInfo) : this(propInfo, null, null)
 {
 }
Beispiel #2
0
 public void Remove(StiPropertyInfo propertyInfo)
 {
     List.Remove(propertyInfo);
 }
Beispiel #3
0
 /// <summary>
 /// Creates a new instance of the StiReference class.
 /// </summary>
 /// <param name="propInfo">Adapted property.</param>
 /// <param name="obj">The object where a property is located.</param>
 /// <param name="propertyInfo">Standard property.</param>
 public StiReference(StiPropertyInfo propInfo, object obj, PropertyInfo propertyInfo)
 {
     this.propInfo     = propInfo;
     this.obj          = obj;
     this.propertyInfo = propertyInfo;
 }
Beispiel #4
0
 public int IndexOf(StiPropertyInfo propertyInfo)
 {
     return(List.IndexOf(propertyInfo));
 }
Beispiel #5
0
 public void Insert(int index, StiPropertyInfo propertyInfo)
 {
     List.Insert(index, propertyInfo);
 }
Beispiel #6
0
 public bool Contains(StiPropertyInfo propertyInfo)
 {
     return(List.Contains(propertyInfo));
 }
Beispiel #7
0
 public void Add(StiPropertyInfo propertyInfo)
 {
     propertyInfo.Parent = parent;
     List.Add(propertyInfo);
 }
Beispiel #8
0
 public StiPropertyInfoCollection(StiPropertyInfo parentPropertyInfo)
 {
     this.parent = parentPropertyInfo;
 }
 public void Add(StiPropertyInfo propInfo, object value, PropertyInfo propertyInfo)
 {
     List.Add(new StiReference(propInfo, value, propertyInfo));
 }
 public void Add(StiPropertyInfo propInfo)
 {
     List.Add(new StiReference(propInfo));
 }