FindInClassInspector

Syntax

FindInClassInspectorResult FindInClassInspector(MbId tMb, FindInClassInspectorArg tArg)

Parameters

tMb. Repository connection moniker.

tArg. Operation execution parameters.

Description

The FindInClassInspector operation searches in the class inspector.

Comments

To execute the operation, in the tMb field specify repository connection moniker, and in the tArg field specify code element search options. The moniker can be obtained on executing the OpenMetabase operation.

The operation results in the list of found class inspector elements.

Example

Below is the example of searching in the class inspector. The request contains the searched string. The response contains the list of elements with search results.

SOAP request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<FindInClassInspector xmlns="http://www.fsight.ru/PP.SOM.Som">
<tMb xsi:type="q1:OpenMetabaseResult" xmlns="" xmlns:q1="http://www.fsight.ru/PP.SOM.Som">
  <id>COAALKJJBFIOFOAEOHJHMAKDHKFCMMDEEKIEPDMEAHENJCAH!M</id>
  <sessKey>272175</sessKey>
  <sessCookie>C1</sessCookie>
  <version>163</version>
  <defLocale>1049</defLocale>
  <driver>2</driver>
  </tMb>
<tArg xmlns="">
<currentLine>
  <Assembly />
  </currentLine>
  <findString>CalendarLevelSet</findString>
  </tArg>
  </FindInClassInspector>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<FindInClassInspectorResult xmlns="http://www.fsight.ru/PP.SOM.Som" xmlns:q1="http://www.fsight.ru/PP.SOM.Som" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<result xmlns="">
<it>
  <Assembly>Cubes</Assembly>
  <Element>CubeMetaCopierClass.ICubeMetaCopier</Element>
<Member>
  <type>Property</type>
  <name>CalendarLevelSet</name>
  <typeName>DimCalendarLevelSet</typeName>
  <access>Public</access>
  <imask>0</imask>
  </Member>
  </it>
<it>
  <Assembly>Cubes</Assembly>
  <Element>CubeMetaExporterClass.ICubeMetaExporter</Element>
<Member>
  <type>Property</type>
  <name>CalendarLevelSet</name>
  <typeName>DimCalendarLevelSet</typeName>
  <access>Public</access>
  <imask>0</imask>
  </Member>
  </it>
<it>
  <Assembly>Cubes</Assembly>
  <Element>ICubeMetaCopier</Element>
<Member>
  <type>Property</type>
  <name>CalendarLevelSet</name>
  <typeName>DimCalendarLevelSet</typeName>
  <access>Public</access>
  <imask>0</imask>
  </Member>
  </it>
<it>
  <Assembly>Cubes</Assembly>
  <Element>ICubeMetaExporter</Element>
<Member>
  <type>Property</type>
  <name>CalendarLevelSet</name>
  <typeName>DimCalendarLevelSet</typeName>
  <access>Public</access>
  <imask>0</imask>
  </Member>
  </it>
<it>
  <Assembly>Cubes</Assembly>
  <Element>IExportRequestParams</Element>
<Member>
  <type>Property</type>
  <name>CalendarLevelSet</name>
  <typeName>DimCalendarLevelSet</typeName>
  <access>Public</access>
  <imask>0</imask>
  </Member>
  </it>
<it>
  <Assembly>Cubes</Assembly>
  <Element>IImportRequestRubricatorParams</Element>
<Member>
  <type>Property</type>
  <name>CalendarLevelSet</name>
  <typeName>DimCalendarLevelSet</typeName>
  <access>Public</access>
  <imask>0</imask>
  </Member>
  </it>
<it>
  <Assembly>Dimensions</Assembly>
  <Element>DimCalendarLevelSet</Element>
  </it>
  </result>
  <posAtResult xmlns="">0</posAtResult>
  </FindInClassInspectorResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"FindInClassInspector" :
{
"tMb" :
{
"@type" : "q1:OpenMetabaseResult",
"id" : "COAALKJJBFIOFOAEOHJHMAKDHKFCMMDEEKIEPDMEAHENJCAH!M",
"sessKey" : "272175",
"sessCookie" : "C1",
"version" : "163",
"defLocale" : "1049",
"driver" : "2"
},
"tArg" :
{
"currentLine" :
{
"Assembly" : ""
},
"findString" : "CalendarLevelSet"
}
}
}

JSON response:

{
"FindInClassInspectorResult" :
{
"result" :
{
"it" :
[
{
"Assembly" : "Cubes",
"Element" : "CubeMetaCopierClass.ICubeMetaCopier",
"Member" :
{
"type" : "Property",
"name" : "CalendarLevelSet",
"typeName" : "DimCalendarLevelSet",
"access" : "Public",
"imask" : "0"
}
},
{
"Assembly" : "Cubes",
"Element" : "CubeMetaExporterClass.ICubeMetaExporter",
"Member" :
{
"type" : "Property",
"name" : "CalendarLevelSet",
"typeName" : "DimCalendarLevelSet",
"access" : "Public",
"imask" : "0"
}
},
{
"Assembly" : "Cubes",
"Element" : "ICubeMetaCopier",
"Member" :
{
"type" : "Property",
"name" : "CalendarLevelSet",
"typeName" : "DimCalendarLevelSet",
"access" : "Public",
"imask" : "0"
}
},
{
"Assembly" : "Cubes",
"Element" : "ICubeMetaExporter",
"Member" :
{
"type" : "Property",
"name" : "CalendarLevelSet",
"typeName" : "DimCalendarLevelSet",
"access" : "Public",
"imask" : "0"
}
},
{
"Assembly" : "Cubes",
"Element" : "IExportRequestParams",
"Member" :
{
"type" : "Property",
"name" : "CalendarLevelSet",
"typeName" : "DimCalendarLevelSet",
"access" : "Public",
"imask" : "0"
}
},
{
"Assembly" : "Cubes",
"Element" : "IImportRequestRubricatorParams",
"Member" :
{
"type" : "Property",
"name" : "CalendarLevelSet",
"typeName" : "DimCalendarLevelSet",
"access" : "Public",
"imask" : "0"
}
},
{
"Assembly" : "Dimensions",
"Element" : "DimCalendarLevelSet"
}
]
},
"posAtResult" : "0"
}
}
public static FindInClassInspectorResult FindInClassInspector(MbId mb, string find)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tFind = new FindInClassInspector()
{
tMb = mb,
tArg = new FindInClassInspectorArg()
{
findString = find,
currentLine = new ClassInspectorLine()
{
Assembly = ""
}
}
};
// Search in class inspector
var result = somClient.FindInClassInspector(tFind);
return result;
}

See also:

Working with Development Environment