Esempio n. 1
0
 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>();
 }
Esempio n. 2
0
        public ObjectCopier(IFieldCache fieldCache, IPropertyCache propertyCache)
        {
            Guard.IsNotNull(fieldCache, "fieldCache");
            Guard.IsNotNull(propertyCache, "propertyCache");

            this.fieldCache    = fieldCache;
            this.propertyCache = propertyCache;
        }
Esempio n. 3
0
        public ObjectCopier(IFieldCache fieldCache, IPropertyCache propertyCache)
        {
            Guard.IsNotNull(fieldCache, "fieldCache");
            Guard.IsNotNull(propertyCache, "propertyCache");

            this.fieldCache = fieldCache;
            this.propertyCache = propertyCache;
        }
Esempio n. 4
0
        public RfcClient(IServiceProvider serviceProvider, IOptions <RfcConfiguration> configurationOptions)
        {
            _serviceProvider  = serviceProvider;
            _rfcConfiguration = configurationOptions.Value;
            _propertyCache    = _serviceProvider.GetRequiredService <IPropertyCache>();

            IRfcNetWeaverLibrary rfcNetWeaverLibrary = serviceProvider.GetRequiredService <IRfcNetWeaverLibrary>();

            rfcNetWeaverLibrary.EnsureLibraryPresent();
        }
Esempio n. 5
0
 public ReadTable(IPropertyCache cache, IRfcInterop interop) : base(interop)
 {
     _cache = cache;
 }