Пример #1
0
        private DxStoreAccessReply.GetPropertyNames GetPropertyNamesInternal(DxStoreAccessRequest.GetPropertyNames request)
        {
            bool isStale = !this.EnsureInstanceReadyAndNotStale(request.ReadOptions);

            DxStoreAccessReply.GetPropertyNames getPropertyNames = this.CreateReply <DxStoreAccessReply.GetPropertyNames>();
            getPropertyNames.ReadResult = new ReadResult
            {
                IsStale = isStale
            };
            getPropertyNames.Infos = this.instance.LocalDataStore.EnumPropertyNames(request.FullKeyName);
            return(this.FinishRequest <DxStoreAccessReply.GetPropertyNames>(getPropertyNames));
        }
Пример #2
0
        // Token: 0x060005C2 RID: 1474 RVA: 0x00015EB8 File Offset: 0x000140B8
        public PropertyNameInfo[] GetPropertyNameInfos(ReadWriteConstraints constraints)
        {
            ReadOptions readOptions = this.GetReadOptions(constraints);

            return(this.BaseParameters.KeyFactory.RunOperationAndTranslateException <PropertyNameInfo[]>(OperationCategory.GetSubKeyNames, this.FullKeyName, delegate()
            {
                DxStoreAccessRequest.GetPropertyNames getPropertyNames = this.CreateRequest <DxStoreAccessRequest.GetPropertyNames>();
                getPropertyNames.ReadOptions = readOptions;
                DxStoreAccessReply.GetPropertyNames propertyNames = this.BaseParameters.Client.GetPropertyNames(getPropertyNames, null);
                this.SetReadResult(constraints, propertyNames.ReadResult);
                return propertyNames.Infos;
            }, false));
        }
Пример #3
0
 public DxStoreAccessReply.GetPropertyNames GetPropertyNames(DxStoreAccessRequest.GetPropertyNames request)
 {
     return(this.RunServerOperationAndConvertToFaultException <DxStoreAccessRequest.GetPropertyNames, DxStoreAccessReply.GetPropertyNames>(request, (DxStoreAccessRequest.GetPropertyNames req) => this.GetPropertyNamesInternal(req)));
 }