comparison Source/DataAccess/Direction.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 [AttributeUsage(AttributeTargets.Parameter), CLSCompliant(false)]
6 public abstract class Direction : Attribute
7 {
8 protected string[] _members;
9 public string[] Members
10 {
11 get { return _members; }
12 set { _members = value; }
13 }
14
15 public class OutputAttribute : Direction
16 {
17 public OutputAttribute(params string[] members)
18 {
19 _members = members;
20 }
21 }
22
23 public class InputOutputAttribute : Direction
24 {
25 public InputOutputAttribute(params string[] members)
26 {
27 _members = members;
28 }
29 }
30
31 public class IgnoreAttribute : Direction
32 {
33 public IgnoreAttribute(params string[] members)
34 {
35 _members = members;
36 }
37 }
38
39 public class ReturnValueAttribute : Direction
40 {
41 protected string _member;
42 public string Member
43 {
44 get { return _member; }
45 set { _member = value; }
46 }
47
48 public ReturnValueAttribute(string member)
49 {
50 _member = member;
51 }
52 }
53 }
54 }