mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-03 23:12:42 +00:00
Make wrapper objects contain references to the Properties/Methods they represent
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
// Copyright © 2010-2014 The CefSharp Project. All rights reserved.
|
||||
//
|
||||
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
||||
#pragma once
|
||||
|
||||
#include "Stdafx.h"
|
||||
|
||||
#include "JavascriptObjectWrapper.h"
|
||||
#include "JavascriptPropertyWrapper.h"
|
||||
#include "JavascriptMethodWrapper.h"
|
||||
|
||||
using namespace System;
|
||||
|
||||
namespace CefSharp
|
||||
{
|
||||
/*void JavascriptObjectWrapper::Clone(JavascriptObject^ obj)
|
||||
{
|
||||
Id = obj->Id;
|
||||
|
||||
for each (JavascriptProperty^ prop in Enumerable::OfType<JavascriptProperty^>(obj->Properties))
|
||||
{
|
||||
auto propertywrapper = gcnew JavascriptPropertyWrapper(prop);
|
||||
Properties->Add(propertywrapper);
|
||||
}
|
||||
|
||||
for each (JavascriptMethod^ method in Enumerable::OfType<JavascriptMethod^>(obj->Methods))
|
||||
{
|
||||
auto methodwrapper = gcnew JavascriptMethodWrapper(method);
|
||||
Methods->Add(methodwrapper);
|
||||
}
|
||||
};*/
|
||||
}
|
||||
Reference in New Issue
Block a user