Make wrapper objects contain references to the Properties/Methods they represent

This commit is contained in:
amaitland
2014-08-28 15:27:06 +10:00
parent d0dc5d9409
commit 0130fa427d
13 changed files with 102 additions and 128 deletions
@@ -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);
}
};*/
}