public void Add(HealthcheckAccountData x) { Number += x.Number; NumberActive += x.NumberActive; NumberBadPrimaryGroup += x.NumberBadPrimaryGroup; NumberDesEnabled += x.NumberDesEnabled; NumberDisabled += x.NumberDisabled; NumberEnabled += x.NumberEnabled; NumberInactive += x.NumberInactive; NumberLocked += x.NumberLocked; NumberPwdNeverExpires += x.NumberPwdNeverExpires; NumberPwdNotRequired += x.NumberPwdNotRequired; NumberReversibleEncryption += x.NumberReversibleEncryption; NumberSidHistory += x.NumberSidHistory; NumberTrustedToAuthenticateForDelegation += x.NumberTrustedToAuthenticateForDelegation; NumberDuplicate += x.NumberDuplicate; NumberNoPreAuth += x.NumberNoPreAuth; }
public void SetProxy(HealthcheckAccountData proxy) { if (proxy.ListBadPrimaryGroup == null) { proxy.ListBadPrimaryGroup = new List <HealthcheckAccountDetailData>(); } ListBadPrimaryGroup = proxy.ListBadPrimaryGroup; if (proxy.ListDesEnabled == null) { proxy.ListDesEnabled = new List <HealthcheckAccountDetailData>(); } ListDesEnabled = proxy.ListDesEnabled; if (proxy.ListDomainSidHistory == null) { proxy.ListDomainSidHistory = new List <HealthcheckSIDHistoryData>(); } ListDomainSidHistory = proxy.ListDomainSidHistory; if (proxy.ListDuplicate == null) { proxy.ListDuplicate = new List <HealthcheckAccountDetailData>(); } ListDuplicate = proxy.ListDuplicate; if (proxy.ListInactive == null) { proxy.ListInactive = new List <HealthcheckAccountDetailData>(); } ListInactive = proxy.ListInactive; if (proxy.ListLocked == null) { proxy.ListLocked = new List <HealthcheckAccountDetailData>(); } ListLocked = proxy.ListLocked; if (proxy.ListNoPreAuth == null) { proxy.ListNoPreAuth = new List <HealthcheckAccountDetailData>(); } ListNoPreAuth = proxy.ListNoPreAuth; if (proxy.ListPwdNeverExpires == null) { proxy.ListPwdNeverExpires = new List <HealthcheckAccountDetailData>(); } ListPwdNeverExpires = proxy.ListPwdNeverExpires; if (proxy.ListPwdNotRequired == null) { proxy.ListPwdNotRequired = new List <HealthcheckAccountDetailData>(); } ListPwdNotRequired = proxy.ListPwdNotRequired; if (proxy.ListReversibleEncryption == null) { proxy.ListReversibleEncryption = new List <HealthcheckAccountDetailData>(); } ListReversibleEncryption = proxy.ListReversibleEncryption; if (proxy.ListSidHistory == null) { proxy.ListSidHistory = new List <HealthcheckAccountDetailData>(); } ListSidHistory = proxy.ListSidHistory; if (proxy.ListTrustedToAuthenticateForDelegation == null) { proxy.ListTrustedToAuthenticateForDelegation = new List <HealthcheckAccountDetailData>(); } ListTrustedToAuthenticateForDelegation = proxy.ListTrustedToAuthenticateForDelegation; }