view Source/Reflection/Extension/TypeExtensionAttribute.cs @ 1:8f65451dc28f

Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author cin
date Fri, 28 Mar 2014 01:04:56 +0400
parents f990fcb411a9
children
line wrap: on
line source

using System;

namespace BLToolkit.Reflection.Extension
{
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum)]
	public class TypeExtensionAttribute : Attribute
	{
		public TypeExtensionAttribute()
		{
		}

		public TypeExtensionAttribute(string typeName) 
			: this(null, typeName)
		{
		}

		public TypeExtensionAttribute(string fileName, string typeName)
		{
			FileName = fileName;
			TypeName = typeName;
		}

		public string FileName { get; set; }
		public string TypeName { get; set; }
	}
}