We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f9a33d commit dc7e5d4Copy full SHA for dc7e5d4
1 file changed
DesignPatterns/ProxyPattern/ProxyPattern/WebSite.cs
@@ -0,0 +1,31 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.Linq;
4
+using System.Text;
5
+using System.Threading.Tasks;
6
+
7
+namespace ProxyPattern
8
+{
9
+ /// <summary>
10
+ /// 网站类
11
+ /// </summary>
12
+ abstract class WebSite
13
+ {
14
15
+ /// 注册用户名
16
17
+ public string userName;
18
19
+ /// 注册用户
20
21
+ public abstract void Register();
22
23
+ /// 登录
24
25
+ public abstract void Login();
26
27
+ /// 浏览信息
28
29
+ public abstract void Browse();
30
+ }
31
+}
0 commit comments