コード例 #1
0
        private static FunctionComplexProperty CreateComplexPropertyUsingModificationFunction(
            ModificationFunction parentModificationFunction, ComplexConceptualProperty property)
        {
            // make sure that we don't already have one
            var fcp = parentModificationFunction.FindFunctionComplexProperty(property);
            if (fcp == null)
            {
                fcp = CreateNewFunctionComplexProperty(parentModificationFunction, property);
                parentModificationFunction.AddComplexProperty(fcp);
            }

            return fcp;
        }