Inheritance: ICompositePropertyMapVisitor
示例#1
0
        public CompositePropertyMap(IEnumerable <ICompositePropertyFragmentMap> propertyMaps)
        {
            var propertyMapVisitor = new CompositePropertyMapVisitor();

            propertyMaps.ForEach(fragment => fragment.Accept(propertyMapVisitor));
            ContractType           = propertyMapVisitor.ContractType;
            GetPropertyFragmentMap = propertyMapVisitor.GetPropertyFragmentMap;
            SetPropertyFragmentMap = propertyMapVisitor.SetPropertyFragmentMap;
        }
示例#2
0
        public CompositePropertyMap(IEnumerable<ICompositePropertyFragmentMap> propertyMaps)
        {
            var propertyMapVisitor = new CompositePropertyMapVisitor();

            propertyMaps.ForEach(fragment => fragment.Accept(propertyMapVisitor));
            ContractType = propertyMapVisitor.ContractType;
            GetPropertyFragmentMap = propertyMapVisitor.GetPropertyFragmentMap;
            SetPropertyFragmentMap = propertyMapVisitor.SetPropertyFragmentMap;
        }