コード例 #1
0
ファイル: BaseProxyGenerator.cs プロジェクト: patdhlk/Core
        protected virtual void CreateTypeAttributes(ClassEmitter emitter)
        {
            emitter.AddCustomAttributes(ProxyGenerationOptions);
#if FEATURE_SERIALIZATION
            emitter.DefineCustomAttribute <XmlIncludeAttribute>(new object[] { targetType });
#endif
        }
コード例 #2
0
        protected virtual void CreateTypeAttributes(ClassEmitter emitter)
        {
            emitter.AddCustomAttributes(ProxyGenerationOptions);
#if !SILVERLIGHT
            emitter.DefineCustomAttribute <XmlIncludeAttribute>(new object[] { targetType });
#endif
        }