public NSAppleEventDescriptor(NSAppleEventDescriptorType type) { switch (type) { case NSAppleEventDescriptorType.List: InitializeHandle (_InitListDescriptor (), "listDescriptor"); break; case NSAppleEventDescriptorType.Record: InitializeHandle (_InitRecordDescriptor (), "recordDescriptor"); break; default: throw new ArgumentOutOfRangeException ("type"); } }
public NSAppleEventDescriptor(NSAppleEventDescriptorType type) { switch (type) { case NSAppleEventDescriptorType.List: InitializeHandle(_InitListDescriptor(), "listDescriptor"); break; case NSAppleEventDescriptorType.Record: InitializeHandle(_InitRecordDescriptor(), "recordDescriptor"); break; default: throw new ArgumentOutOfRangeException("type"); } }