示例#1
0
文件: IVote.cs 项目: lanicon/Styx
 /// <summary>
 /// Vote 'yes' or 'ok' or 'allow' or 'accept'.
 /// </summary>
 public static void Yes(this IVote <Boolean> Vote)
 {
     Vote.VoteFor(true);
 }
示例#2
0
文件: IVote.cs 项目: lanicon/Styx
 /// <summary>
 /// Vote 'yes' or 'ok' or 'allow' or 'accept'.
 /// </summary>
 public static void Accept(this IVote <Boolean> Vote)
 {
     Vote.VoteFor(true);
 }
示例#3
0
文件: IVote.cs 项目: lanicon/Styx
 /// <summary>
 /// Vote 'no' or 'deny'.
 /// </summary>
 public static void Deny(this IVote <Boolean> Vote)
 {
     Vote.VoteFor(false);
 }