public AcItemWrapper([NotNull]IAcWrapperLoader loader, [NotNull]AcPlaceholderNew initialValue) { if (loader == null) throw new ArgumentNullException(nameof(loader)); if (initialValue == null) throw new ArgumentNullException(nameof(initialValue)); _loader = loader; _value = initialValue; IsLoaded = _value.GetType().IsSubclassOf(typeof(AcObjectNew)); }
public AcItemWrapper([NotNull] IAcWrapperLoader loader, [NotNull] AcPlaceholderNew initialValue) { if (loader == null) { throw new ArgumentNullException(nameof(loader)); } if (initialValue == null) { throw new ArgumentNullException(nameof(initialValue)); } _loader = loader; _value = initialValue; IsLoaded = _value.GetType().IsSubclassOf(typeof(AcObjectNew)); }