/// <summary> /// Initialize the object based on a DataAreaAccessCondition /// </summary> /// <param name="access">the DataAreaAccessCondition to clone</param> internal void Initialize(DataAreaAccessCondition access) { Read = access.Read; Write = access.Write; Increment = access.Increment; Decrement = access.Decrement; }
public override bool Equals(object obj) { DataAreaAccessCondition daac = obj as DataAreaAccessCondition; if (daac == null) { return(false); } return((daac.Read == Read) && (daac.Write == Write) && (daac.Increment == Increment) && (daac.Decrement == Decrement)); }
public AccessConditions() { DataAreas = new DataAreaAccessCondition[3]; DataAreas[0] = new DataAreaAccessCondition(); DataAreas[1] = new DataAreaAccessCondition(); DataAreas[2] = new DataAreaAccessCondition(); Trailer = new TrailerAccessCondition(); MADVersion = MADVersionEnum.NoMAD; MultiApplicationCard = false; }