Exemple #1
0
        /// <summary>
        /// Clones this instance.
        /// </summary>
        /// <returns></returns>
        public GribMessage Clone()
        {
            var newHandle = GribApiProxy.GribHandleClone(this.Handle);

            return(new GribMessage(newHandle));
        }
Exemple #2
0
        /// <summary>
        /// Creates a shallow copy of this instance.
        /// </summary>
        /// <returns></returns>
        public GribMessage Copy()
        {
            var newHandle = GribApiProxy.GribHandleClone(this.Handle);

            return(new GribMessage(newHandle, GribContext.Default));
        }