Пример #1
0
        /// <summary>
        ///     Gets an empty structure with a valid data block header and sensible defaults.
        /// </summary>
        public static EXP_DARWIN_LINK AnEmptyOne() {
            var value = new EXP_DARWIN_LINK();

            value.SetDataBlockHeader();

            value.szDarwinID = new sbyte[MAX_PATH];
            value.szwDarwinID = new char[MAX_PATH];

            return value;
        }
Пример #2
0
        /// <summary>
        ///     Gets an empty structure with a valid data block header and sensible defaults.
        /// </summary>
        public static EXP_DARWIN_LINK AnEmptyOne()
        {
            var value = new EXP_DARWIN_LINK();

            value.SetDataBlockHeader();

            value.szDarwinID  = new sbyte[MAX_PATH];
            value.szwDarwinID = new char[MAX_PATH];

            return(value);
        }