internal NiTaskDialogBuilder(INiShell shell) { if (shell == null) throw new ArgumentNullException("shell"); _shell = shell; }
internal NiTaskDialogBuilder(INiShell shell) { if (shell == null) { throw new ArgumentNullException("shell"); } _shell = shell; }
public static IEnumerable <INiWindowFrame> GetDocumentWindows(this INiShell self) { if (self == null) { throw new ArgumentNullException("self"); } INiIterator <INiWindowFrame> iterator; ErrorUtil.ThrowOnFailure(self.GetDocumentWindowIterator(out iterator)); return(iterator.GetEnumerable()); }
public MessageFilter(NiPackage package) { _package = package; _shell = (INiShell)package.GetService(typeof(INiShell)); }