[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/git-thinh/ClearScript/master/ClearScript/DocumentAccessFlags.cs [Back]  [Original]

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.

using System;

namespace Microsoft.ClearScript
{
    /// 
    /// Defines document access options.
    /// 
    [Flags]
    public enum DocumentAccessFlags
    {
        /// 
        /// Specifies that no options are selected.
        /// 
        None = 0,

        /// 
        /// Specifies that documents may be loaded from the file system.
        /// 
        EnableFileLoading = 0x00000001,

        /// 
        /// Specifies that documents may be downloaded from the Web.
        /// 
        EnableWebLoading = 0x00000002,

        /// 
        /// Specifies that documents may be loaded from any location.
        /// 
        EnableAllLoading = EnableFileLoading | EnableWebLoading,

        /// 
        /// Specifies that a document path must begin with a segment of "." or ".." to be
        /// considered a relative path. By default, any path that is not explicitly a top-level
        /// or root path is eligible.
        /// 
        EnforceRelativePrefix = 0x00000004
    }
}

Web Proxy Viewer  |  New URL  |  Original Page