Esempio n. 1
0
        //------------------------------------------------------------------------------
        protected override IInternalSettingsSerializer GetSerializer(bool secure)
        {
            IInternalSettingsSerializer serializer = null;

            if (secure)
            {
                throw new ExceptionForUser(new NotSupportedException("Secure settings are not supported by Advexp.Settings for Windows Core"));
            }
            else
            {
                if (m_IsolatedStorageSerializer == null)
                {
                    m_IsolatedStorageSerializer = new InternalIsolatedStorageSerializer();
                }

                serializer = m_IsolatedStorageSerializer;
            }

            return(serializer);
        }