public SdlChannelSinkProvider(IDictionary properties, ICollection providerData)
        {
            this._bMetadataEnabled = true;
            if (properties != null)
            {
                foreach (DictionaryEntry entry in properties)
                {
                    string key = (string)entry.Key;
                    if (key == null)
                    {
                        goto Label_0089;
                    }
                    if (!(key == "remoteApplicationMetadataEnabled"))
                    {
                        if (key == "metadataEnabled")
                        {
                            goto Label_0070;
                        }
                        goto Label_0089;
                    }
                    this._bRemoteApplicationMetadataEnabled = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture);
                    continue;
Label_0070:
                    this._bMetadataEnabled = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture);
                    continue;
Label_0089:
                    CoreChannel.ReportUnknownProviderConfigProperty(base.GetType().Name, (string)entry.Key);
                }
            }
        }
        public SdlChannelSinkProvider(IDictionary properties, ICollection providerData)
        {
            if (properties != null)
            {
                foreach (DictionaryEntry entry in properties)
                {
                    switch ((String)entry.Key)
                    {
                    case "remoteApplicationMetadataEnabled": _bRemoteApplicationMetadataEnabled = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break;

                    case "metadataEnabled": _bMetadataEnabled = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break;

                    default:
                        CoreChannel.ReportUnknownProviderConfigProperty(
                            this.GetType().Name, (String)entry.Key);
                        break;
                    }
                }
            }
        }