// Copyright © 2010-2017 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp { public class DefaultResourceHandlerFactoryItem { /// /// The handler for a specific Url /// public IResourceHandler Handler { get; private set; } /// /// Whether or not the handler should be used once (true) or until manually unregistered (false) /// public bool OneTimeUse { get; private set; } /// The handler for a specific Url /// Whether or not the handler should be used once (true) or until manually unregistered (false) public DefaultResourceHandlerFactoryItem(IResourceHandler handler, bool oneTimeUse) { Handler = handler; OneTimeUse = oneTimeUse; } } }