Пример #1
0
        internal void CreateInstance(
            MI_OperationFlags flags,
            MI_OperationOptions options,
            string namespaceName,
            MI_Instance inboundInstance,
            MI_OperationCallbacks callbacks,
            out MI_Operation operation
            )
        {
            if (callbacks != null)
            {
                throw new NotImplementedException();
            }

            MI_Operation operationLocal = MI_Operation.NewDirectPtr();

            this.ft.CreateInstance(this,
                                   flags,
                                   options,
                                   namespaceName,
                                   inboundInstance,
                                   null,
                                   operationLocal);

            operation = operationLocal;
        }
Пример #2
0
        internal void EnumerateClasses(
            MI_OperationFlags flags,
            MI_OperationOptions options,
            string namespaceName,
            string className,
            bool classNamesOnly,
            MI_OperationCallbacks callbacks,
            out MI_Operation operation
            )
        {
            if (callbacks != null)
            {
                throw new NotImplementedException();
            }

            MI_Operation operationLocal = MI_Operation.NewDirectPtr();

            this.ft.EnumerateClasses(this,
                                     flags,
                                     options,
                                     namespaceName,
                                     className,
                                     classNamesOnly,
                                     null,
                                     operationLocal);

            operation = operationLocal;
        }
Пример #3
0
        internal void Subscribe(
            MI_OperationFlags flags,
            MI_OperationOptions options,
            string namespaceName,
            string queryDialect,
            string queryExpression,
            MI_SubscriptionDeliveryOptions deliverOptions,
            MI_OperationCallbacks callbacks,
            out MI_Operation operation
            )
        {
            if (callbacks != null)
            {
                throw new NotImplementedException();
            }

            MI_Operation operationLocal = MI_Operation.NewDirectPtr();

            this.ft.Subscribe(this,
                              flags,
                              options,
                              namespaceName,
                              queryDialect,
                              queryExpression,
                              deliverOptions,
                              null,
                              operationLocal);

            operation = operationLocal;
        }
Пример #4
0
        internal void ReferenceInstances(
            MI_OperationFlags flags,
            MI_OperationOptions options,
            string namespaceName,
            MI_Instance instanceKeys,
            string resultClass,
            string role,
            bool keysOnly,
            MI_OperationCallbacks callbacks,
            out MI_Operation operation
            )
        {
            if (callbacks != null)
            {
                throw new NotImplementedException();
            }

            MI_Operation operationLocal = MI_Operation.NewDirectPtr();

            this.ft.ReferenceInstances(this,
                                       flags,
                                       options,
                                       namespaceName,
                                       instanceKeys,
                                       resultClass,
                                       role,
                                       keysOnly,
                                       null,
                                       operationLocal);

            operation = operationLocal;
        }
Пример #5
0
        internal void QueryInstances(
            MI_OperationFlags flags,
            MI_OperationOptions options,
            string namespaceName,
            string queryDialect,
            string queryExpression,
            MI_OperationCallbacks callbacks,
            out MI_Operation operation
            )
        {
            if (callbacks != null)
            {
                throw new NotImplementedException();
            }

            MI_Operation operationLocal = MI_Operation.NewDirectPtr();

            this.ft.QueryInstances(this,
                                   flags,
                                   options,
                                   namespaceName,
                                   queryDialect,
                                   queryExpression,
                                   null,
                                   operationLocal);

            operation = operationLocal;
        }
Пример #6
0
        internal void TestConnection(
            MI_OperationFlags flags,
            MI_OperationCallbacks callbacks,
            out MI_Operation operation
            )
        {
            if (callbacks != null)
            {
                throw new NotImplementedException();
            }

            MI_Operation operationLocal = MI_Operation.NewDirectPtr();

            this.ft.TestConnection(this,
                                   flags,
                                   null,
                                   operationLocal);

            operation = operationLocal;
        }