public ViewModelBase(String viewModelId = null) { ViewModelUniqueId = viewModelId ?? Guid.NewGuid().ToString(); _propertyCache = AppCore.Instance.Get <IPropertyCache>(); _propertyCache.Initialize(this).Wait(); _disposable = new CompositeDisposable(); _disposableActions = new List <Action>(); }
public ObjectCopier(IFieldCache fieldCache, IPropertyCache propertyCache) { Guard.IsNotNull(fieldCache, "fieldCache"); Guard.IsNotNull(propertyCache, "propertyCache"); this.fieldCache = fieldCache; this.propertyCache = propertyCache; }
public RfcClient(IServiceProvider serviceProvider, IOptions <RfcConfiguration> configurationOptions) { _serviceProvider = serviceProvider; _rfcConfiguration = configurationOptions.Value; _propertyCache = _serviceProvider.GetRequiredService <IPropertyCache>(); IRfcNetWeaverLibrary rfcNetWeaverLibrary = serviceProvider.GetRequiredService <IRfcNetWeaverLibrary>(); rfcNetWeaverLibrary.EnsureLibraryPresent(); }
public ReadTable(IPropertyCache cache, IRfcInterop interop) : base(interop) { _cache = cache; }