示例#1
0
 public void ReadAttribute(string name, out SamAccountType? value)
 {
     int? numericValue;
     this.ReadAttribute(name, out numericValue);
     value = (SamAccountType?)numericValue;
 }
示例#2
0
 protected bool ReadAttribute(int attributeId, out SamAccountType? value)
 {
     int? numericValue;
     bool hasValue = this.ReadAttribute(attributeId, out numericValue);
     value = hasValue ? (SamAccountType)numericValue.Value : (SamAccountType?)null;
     return hasValue;
 }