Example #1
0
 internal void CheckIfMember(IExcelObject o)
 {
     if (!object.ReferenceEquals(this, o.Workbook))
     {
         throw new ArgumentException("Specified object is not a member of the workbook");
     }
 }
Example #2
0
 internal void CheckIfMember(IExcelObject o)
 {
     if (!object.ReferenceEquals(this, o.Workbook))
         throw new ArgumentException("Specified object is not a member of the workbook");
 }