Microsoft.Xades.ClaimedRoles.HasChanged C# (CSharp) Method

HasChanged() public method

Check to see if something has changed in this instance and needs to be serialized
public HasChanged ( ) : bool
return bool
		public bool HasChanged()
		{
			bool retVal = false;

			if (this.claimedRoleCollection.Count > 0)
			{
				retVal = true;
			}

			return retVal;
		}

Usage Example

Exemplo n.º 1
0
 /// <summary>
 /// Check to see if something has changed in this instance and needs to be serialized
 /// </summary>
 /// <returns>Flag indicating if a member needs serialization</returns>
 public bool HasChanged()
 {
     return((claimedRoles != null && claimedRoles.HasChanged()) || (certifiedRoles != null && certifiedRoles.HasChanged()));
 }