/// <summary> /// Assigns the properties of aSource to this instance. /// </summary> /// <param name="aSource">A source object.</param> public override void AssignFromSource(object aSource) { if (!(aSource is FunctionAccess)) { throw new ArgumentException("Invalid Source Argument to FunctionAccess Assign"); } _function = (aSource as FunctionAccess)._function; _access = (aSource as FunctionAccess)._access; _access.AccessMap = (aSource as FunctionAccess)._access.AccessMap; }
/// <summary> /// Merges the Argument AccessMap with this instance's AccessMap /// </summary> /// <param name="aAccess">A access.</param> public void Merge(Access aAccess) { _accessMap |= aAccess._accessMap; }
/// <summary> /// Assigns the source AccessMap to the the AccessMap of this instance. /// </summary> /// <param name="aSourceAccess">A source access map.</param> public void AssignFromSource(Access aSourceAccess) { _accessMap = aSourceAccess.AccessMap; }