Exemplo n.º 1
0
        /// <summary>
        /// GetFailedEventArgs Constructor
        /// </summary>
        /// <param name="parsed">a simple MessageParse</param>
        internal GetFailedEventArgs(dynamic parsed)
        {
#if DEBUG
            FCP2Protocol.ArgsDebug(this, parsed);
#endif

            Global               = parsed.Global;
            Code                 = parsed.Code;
            CodeDescription      = parsed.CodeDescription;
            ExtraDescription     = parsed.ExtraDescription;
            Fatal                = parsed.Fatal;
            ShortCodeDescription = parsed.ShortCodeDescription;
            Identifier           = parsed.Identifier;
            ExpectedDataLength   = parsed.ExpectedDataLength;
            ExpectedMetadata     = new ExpectedMetadataType(parsed.ExpectedMetadata);
            FinalizedExpected    = parsed.FinalizedExpected;
            RedirectURI          = parsed.RedirectURI;

            /* TODO: Complex Get Failed */

#if DEBUG
            parsed.PrintAccessCount();
#endif
        }
Exemplo n.º 2
0
        /// <summary>
        /// GetFailedEventArgs Constructor
        /// </summary>
        /// <param name="parsed">a simple MessageParse</param>
        internal GetFailedEventArgs(dynamic parsed)
        {
#if DEBUG
            FCP2Protocol.ArgsDebug(this, parsed);
#endif

            Global = parsed.Global;
            Code = parsed.Code;
            CodeDescription = parsed.CodeDescription;
            ExtraDescription = parsed.ExtraDescription;
            Fatal = parsed.Fatal;
            ShortCodeDescription = parsed.ShortCodeDescription;
            Identifier = parsed.Identifier;
            ExpectedDataLength = parsed.ExpectedDataLength;
            ExpectedMetadata = new ExpectedMetadataType(parsed.ExpectedMetadata);
            FinalizedExpected = parsed.FinalizedExpected;
            RedirectURI = parsed.RedirectURI;

            /* TODO: Complex Get Failed */

#if DEBUG
            parsed.PrintAccessCount();
#endif
        }