Microsoft.Protocols.TestSuites.MS_OXCPRPT.Model.RopGetPropertyIdsFromNamesMethod C# (CSharp) Method

RopGetPropertyIdsFromNamesMethod() private method

private RopGetPropertyIdsFromNamesMethod ( bool isTestOrder, bool isCreateFlagSet, bool isPropertyNameExisting, SpecificPropertyName specialPropertyName, bool &isCreatedEntryReturned, CPRPTErrorCode &error ) : void
isTestOrder bool
isCreateFlagSet bool
isPropertyNameExisting bool
specialPropertyName SpecificPropertyName
isCreatedEntryReturned bool
error CPRPTErrorCode
return void
        public static void RopGetPropertyIdsFromNamesMethod(
            bool isTestOrder,
            bool isCreateFlagSet,
            bool isPropertyNameExisting,
            SpecificPropertyName specialPropertyName,
            out bool isCreatedEntryReturned,
            out CPRPTErrorCode error)
        {
            Condition.IsTrue(isInitialized);

            isCreatedEntryReturned = false;
            error = CPRPTErrorCode.None;

            if (isCreateFlagSet && !isPropertyNameExisting)
            {
                isCreatedEntryReturned = true;
                ModelHelper.CaptureRequirement(
                    628,
                    @"[In RopGetPropertyIdsFromNames ROP Request Buffer] Flags: This field is set to 0x02 to request that a new entry be created for 
                    each named property that is not found in the existing mapping table; ");
            }

            if (!isCreateFlagSet)
            {
                isCreatedEntryReturned = false;
                ModelHelper.CaptureRequirement(
                    62801,
                    @"[In RopGetPropertyIdsFromNames ROP Request Buffer] Flags: This field is set to 0x00 otherwise[If not request a new entry to be created for each named property that is not found in the existing mapping table].");
            }
        }