End() public method

public End ( ) : void
return void
Ejemplo n.º 1
0
        public void MapObject(Type typeOfObjectToMap, MappingMethods mappingMethods)
        {
            mappingMethods.Start();

            MapObject(null, mappingMethods, typeOfObjectToMap);

            mappingMethods.End();
        }
Ejemplo n.º 2
0
        public void MapObject(Type typeOfObjectToMap, MappingMethods mappingMethods)
        {
            mappingMethods.Start();

            MapObject(null, mappingMethods, typeOfObjectToMap);

            mappingMethods.End();
        }
Ejemplo n.º 3
0
        // This isn't being used,
        // so removing it to clear
        // out a warning.
        //MappingMethods mMappingMethods;

        #endregion

        #region Methods

        #region XML Docs
        /// <summary>
        /// Pass an object and a MappingMethods and MapObject will map each member in that object to the corresponding
        /// method from the mappingMethods.
        /// </summary>
        /// <param name="objectToMap">object whose members will be called on.</param>
        /// <param name="mappingMethods">MappingMethods which has dictionaries of members/methods.</param>
        #endregion
        public void MapObject(object objectToMap, MappingMethods mappingMethods)
        {
            mappingMethods.Start();

            if (objectToMap == null)
            {
                throw new ArgumentException("The objectToMap is a null type");
            }
            else
            {
                MapObject(objectToMap, mappingMethods, objectToMap.GetType());
            }

            mappingMethods.End();
        }
Ejemplo n.º 4
0
        // This isn't being used, 
        // so removing it to clear
        // out a warning.
        //MappingMethods mMappingMethods;

        #endregion

        #region Methods

        #region XML Docs
        /// <summary>
        /// Pass an object and a MappingMethods and MapObject will map each member in that object to the corresponding
        /// method from the mappingMethods.
        /// </summary>
        /// <param name="objectToMap">object whose members will be called on.</param>
        /// <param name="mappingMethods">MappingMethods which has dictionaries of members/methods.</param>
        #endregion
        public void MapObject(object objectToMap, MappingMethods mappingMethods)
        {
            mappingMethods.Start();

            if (objectToMap == null)
            {
                throw new ArgumentException("The objectToMap is a null type");
            }
            else
            {
                MapObject(objectToMap, mappingMethods, objectToMap.GetType());
            }

            mappingMethods.End();
        }