Improve ByteArrayResourceHandler and FileResourceHandler comments

They should probably be renamed before the next version is branched, give a better indication
they're classes that represent unmanaged CEF implementations
This commit is contained in:
amaitland
2017-05-11 13:02:13 +10:00
parent 504d04dc43
commit ab4e513693
2 changed files with 8 additions and 2 deletions
@@ -11,7 +11,10 @@ using System.Text;
namespace CefSharp
{
/// <summary>
/// ByteArrayResourceHandler is used as a placeholder to represent the underlying CefStreamResourceHandler
/// ByteArrayResourceHandler is used as a placeholder class which uses native CEF implementations.
/// CefStreamReader::CreateForData(); reads the byte array that is passed to a new instance
/// of CefStreamResourceHandler
/// TODO: Move this class into Handler namespace
/// </summary>
public class ByteArrayResourceHandler : IResourceHandler
{
+4 -1
View File
@@ -11,8 +11,11 @@ using System.Text;
namespace CefSharp
{
/// <summary>
/// FileResourceHandler is used as a placeholder to represent the underlying CefStreamResourceHandler
/// FileResourceHandler is used as a placeholder class which uses native CEF implementations.
/// CefStreamReader::CreateForFile is used to create a CefStreamReader instance which is passed to
/// a new instance of CefStreamResourceHandler
/// (Was previously ResourceHandlerType::File to differentiate, going for a more flexible approach now)
/// TODO: Move this class into Handler namespace
/// </summary>
public class FileResourceHandler : IResourceHandler
{