public void AddRange(ProfilePropertyDefinitionCollection collection) { foreach (sp_ProfileListResult objProfilePropertyDefinition in collection) { Add(objProfilePropertyDefinition); } }
public void AddRange(ProfilePropertyDefinitionCollection collection) { foreach (ProfileManagementInfo objProfilePropertyDefinition in collection) { Add(objProfilePropertyDefinition); } }
/// <summary> /// /// </summary> /// <param name="PropertyTypeName"></param> /// <returns></returns> public ProfilePropertyDefinitionCollection GetByCategory(string PropertyTypeName) { ProfilePropertyDefinitionCollection collection = new ProfilePropertyDefinitionCollection(); foreach (ProfileManagementInfo profileProperty in InnerList) { if ((profileProperty.PropertyTypeName == PropertyTypeName)) { // Found Profile property that satisfies category collection.Add(profileProperty); } } return collection; }
public ProfilePropertyDefinitionCollection GetByCategory(string PropertyTypeName) { ProfilePropertyDefinitionCollection collection = new ProfilePropertyDefinitionCollection(); foreach (ProfileManagementInfo profileProperty in InnerList) { if ((profileProperty.PropertyTypeName == PropertyTypeName)) { // Found Profile property that satisfies category collection.Add(profileProperty); } } return(collection); }
ProfilePropertyDefinitionCollection _ProfileProperties;// = new ProfilePropertyDefinitionCollection(); protected override void LoadViewState(object savedState) { if (!(savedState == null)) { // Load State from the array of objects that was saved with SaveViewState. object[] myState = ((object[])(savedState)); if (!(myState[0] == null)) { base.LoadViewState(myState[0]); } // Load ModuleID if (!(myState[1] == null)) { _ProfileProperties = ((ProfilePropertyDefinitionCollection)(myState[1])); } } }
/// <summary> /// Profile property definition collection. /// </summary> /// <param name="collection">ProfilePropertyDefinitionCollection object.</param> public ProfilePropertyDefinitionCollection(ProfilePropertyDefinitionCollection collection) { AddRange(collection); }
/// <summary> /// /// </summary> /// <param name="collection"></param> public void AddRange(ProfilePropertyDefinitionCollection collection) { foreach (ProfileManagementInfo objProfilePropertyDefinition in collection) { Add(objProfilePropertyDefinition); } }
public ProfilePropertyDefinitionCollection(ProfilePropertyDefinitionCollection collection) { AddRange(collection); }
private void RefreshGrid() { _ProfileProperties = null; BindGrid(); }