public StrongNameIdentityPermission(PermissionState state) { // false == do not allow Unrestricted for Identity Permissions CheckPermissionState(state, false); // default values _single = SNIP.CreateDefault(); }
public StrongNameIdentityPermission(PermissionState state) { // Identity Permissions can be unrestricted in Fx 2.0 _state = CheckPermissionState(state, true); // default values _list = new ArrayList(); _list.Add(SNIP.CreateDefault()); }
internal void ResetToDefault() { _list.Clear(); _list.Add(SNIP.CreateDefault()); }