comparison Source/DataAccess/ObjectTypeAttribute.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 using System;
2
3 namespace BLToolkit.DataAccess
4 {
5 [JetBrains.Annotations.BaseTypeRequired(typeof(DataAccessor))]
6 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
7 public class ObjectTypeAttribute : Attribute
8 {
9 public ObjectTypeAttribute(Type objectType)
10 {
11 _objectType = objectType;
12 }
13
14 private readonly Type _objectType;
15 public Type ObjectType
16 {
17 get { return _objectType; }
18 }
19 }
20 }