User: xtoff
Date: 2009/10/28 10:49 AM

Removed:
 /DynamicProxy/trunk/src/Castle.DynamicProxy/
  IAttributeDisassembler.cs

Modified:
 /DynamicProxy/trunk/src/Castle.DynamicProxy/
  AttributeUtil.cs, Castle.DynamicProxy-vs2008.csproj
 /DynamicProxy/trunk/src/Castle.DynamicProxy/Generators/
  AttributeDisassembler.cs
 /DynamicProxy/trunk/src/Castle.DynamicProxy/Generators/Emitters/
  PropertyEmitter.cs

Log:
 - Removed IAttributeDisassembler, using the one from Core instead.

File Changes:

Directory: /DynamicProxy/trunk/src/Castle.DynamicProxy/
=======================================================

File [modified]: AttributeUtil.cs
Delta lines: +0 -1
===================================================================

--- 
DynamicProxy/trunk/src/Castle.DynamicProxy/Castle.DynamicProxy-vs2008.csproj    
    2009-10-28 17:47:38 UTC (rev 6282)
+++ 
DynamicProxy/trunk/src/Castle.DynamicProxy/Castle.DynamicProxy-vs2008.csproj    
    2009-10-28 17:49:41 UTC (rev 6283)
@@ -294,7 +294,6 @@
     <Compile Include="Contributors\MembersCollector.cs" />
     <Compile Include="Contributors\ProxyInstanceContributor.cs" />
     <Compile Include="Generators\ProxyMethod.cs" />
-    <Compile Include="IAttributeDisassembler.cs" />
     <Compile Include="InternalsHelper.cs" />
     <Compile Include="InvalidMixinConfigurationException.cs" />

File [modified]: Castle.DynamicProxy-vs2008.csproj
Delta lines: +1 -0
===================================================================

--- 
DynamicProxy/trunk/src/Castle.DynamicProxy/Generators/AttributeDisassembler.cs  
    2009-10-28 17:47:38 UTC (rev 6282)
+++ 
DynamicProxy/trunk/src/Castle.DynamicProxy/Generators/AttributeDisassembler.cs  
    2009-10-28 17:49:41 UTC (rev 6283)
@@ -5,6 +5,7 @@
        using System.Diagnostics;
        using System.Reflection;
        using System.Reflection.Emit;
+       using Castle.Core.Interceptor;
 
 #if !SILVERLIGHT

File [removed]: IAttributeDisassembler.cs
Delta lines: +0 -0
===================================================================

Directory: /DynamicProxy/trunk/src/Castle.DynamicProxy/Generators/Emitters/
===========================================================================

File [modified]: PropertyEmitter.cs
Delta lines: +0 -43
===================================================================

--- DynamicProxy/trunk/src/Castle.DynamicProxy/IAttributeDisassembler.cs        
2009-10-28 17:47:38 UTC (rev 6282)
+++ DynamicProxy/trunk/src/Castle.DynamicProxy/IAttributeDisassembler.cs        
2009-10-28 17:49:41 UTC (rev 6283)
@@ -1,43 +0,0 @@
-// Copyright 2004-2009 Castle Project - http://www.castleproject.org/
-// 
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// 
-//     http://www.apache.org/licenses/LICENSE-2.0
-// 
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-namespace Castle.DynamicProxy
-{
-       using System;
-       using System.Reflection.Emit;
-
-       /// <summary>
-       /// Provides functionality for disassembling instances of attributes to 
CustomAttributeBuilder form, during the process of emiting new types by Dynamic 
Proxy.
-       /// </summary>
-       /// <remarks>
-       /// Usually Dynamic Proxy will handle disassembly process internally 
and will call out to implementers of this interface for help only in fallback 
scenarios and in Silverlight,
-       /// where mechanisms used usually by Dynamic Proxy are not available.
-       /// To register instance of class implementing this interface with 
Dynamic Proxy library call <see 
cref="AttributeUtil.AddDisassembler{TAttribute}"/> method passing as generic 
parameter attribute type that the disassembler handles.
-       /// When disassembling an attribute Dynamic Proxy will first check if 
an custom disassembler has been registered to handle attributes of that type, 
and if no, it'll use its internal default disassembler.
-       /// </remarks>
-       public interface IAttributeDisassembler
-       {
-               /// <summary>
-               /// Disassembles given attribute instance back to corresponding 
CustomAttributeBuilder.
-               /// </summary>
-               /// <param name="attribute">An instance of attribute to 
disassemble</param>
-               /// <returns><see cref="CustomAttributeBuilder"/> corresponding 
1 to 1 to given attribute instance</returns>
-               /// <remarks>
-               /// Implementers should return <see 
cref="CustomAttributeBuilder"/> that corresponds to given attribute instance 1 
to 1,
-               /// that is after calling specified constructor with specified 
arguments, and setting specified properties and fields with values specified
-               /// we should be able to get an attribute instance identical to 
the one passed in <paramref name="attribute"/>.
-               /// </remarks>
-               CustomAttributeBuilder Disassemble(Attribute attribute);
-       }
-}

Directory: /DynamicProxy/trunk/src/Castle.DynamicProxy/Generators/
==================================================================

File [modified]: AttributeDisassembler.cs
Delta lines: +0 -1
===================================================================

--- 
DynamicProxy/trunk/src/Castle.DynamicProxy/Generators/Emitters/PropertyEmitter.cs
   2009-10-28 17:47:38 UTC (rev 6282)
+++ 
DynamicProxy/trunk/src/Castle.DynamicProxy/Generators/Emitters/PropertyEmitter.cs
   2009-10-28 17:49:41 UTC (rev 6283)
@@ -18,7 +18,6 @@
        using System.Reflection;
        using System.Reflection.Emit;
        using Castle.DynamicProxy.Tokens;
-       using Core.Interceptor;
 
        public class PropertyEmitter : IMemberEmitter


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to