Permalink
Fetching contributors…
Cannot retrieve contributors at this time
256 lines (256 sloc) 9.95 KB
<Type Name="TypeCheckFunctionsExtensions" FullName="Microsoft.Azure.Documents.SystemFunctions.TypeCheckFunctionsExtensions">
<TypeSignature Language="C#" Value="public static class TypeCheckFunctionsExtensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit TypeCheckFunctionsExtensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.Azure.Documents.SystemFunctions.TypeCheckFunctionsExtensions" />
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>1.14.0.0</AssemblyVersion>
<AssemblyVersion>1.16.0.0</AssemblyVersion>
<AssemblyVersion>1.17.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>1.5.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
Provide methods for type checking.
These methods are to be used in LINQ expressions only and will be evaluated on server.
There's no implementation provided in the client library.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="IsDefined">
<MemberSignature Language="C#" Value="public static bool IsDefined (this object obj);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsDefined(object obj) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Azure.Documents.SystemFunctions.TypeCheckFunctionsExtensions.IsDefined(System.Object)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>1.14.0.0</AssemblyVersion>
<AssemblyVersion>1.16.0.0</AssemblyVersion>
<AssemblyVersion>1.17.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>1.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="obj" Type="System.Object" RefType="this" />
</Parameters>
<Docs>
<param name="obj"></param>
<summary>
Determines if a certain property is defined or not.
</summary>
<returns>Returns true if this property is defined otherwise returns false.</returns>
<remarks />
<example>
<code><![CDATA[
var isDefinedQuery = documents.Where(document => document.Name.IsDefined());
]]></code>
</example>
<example>
<code><![CDATA[
var isDefinedQuery = documents.Where(document => document.Name.IsDefined());
]]></code>
</example>
<example>
<code><![CDATA[
var isDefinedQuery = documents.Where(document => document.Name.IsDefined());
]]></code>
</example>
<example>
<code><![CDATA[
var isDefinedQuery = documents.Where(document => document.Name.IsDefined());
]]></code>
</example>
<example>
<code><![CDATA[
var isDefinedQuery = documents.Where(document => document.Name.IsDefined());
]]></code>
</example>
<example>
<code><![CDATA[
var isDefinedQuery = documents.Where(document => document.Name.IsDefined());
]]></code>
</example>
<example>
<code><![CDATA[
var isDefinedQuery = documents.Where(document => document.Name.IsDefined());
]]></code>
</example>
<example>
<code><![CDATA[
var isDefinedQuery = documents.Where(document => document.Name.IsDefined());
]]></code>
</example>
<example>
<code><![CDATA[
var isDefinedQuery = documents.Where(document => document.Name.IsDefined());
]]></code>
</example>
</Docs>
</Member>
<Member MemberName="IsNull">
<MemberSignature Language="C#" Value="public static bool IsNull (this object obj);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsNull(object obj) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Azure.Documents.SystemFunctions.TypeCheckFunctionsExtensions.IsNull(System.Object)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>1.14.0.0</AssemblyVersion>
<AssemblyVersion>1.16.0.0</AssemblyVersion>
<AssemblyVersion>1.17.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>1.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="obj" Type="System.Object" RefType="this" />
</Parameters>
<Docs>
<param name="obj"></param>
<summary>
Determines if a certain property is null or not.
</summary>
<returns>Returns true if this property is null otherwise returns false.</returns>
<remarks />
<example>
<code><![CDATA[
var isNullQuery = documents.Where(document => document.Name.IsNull());
]]></code>
</example>
<example>
<code><![CDATA[
var isNullQuery = documents.Where(document => document.Name.IsNull());
]]></code>
</example>
<example>
<code><![CDATA[
var isNullQuery = documents.Where(document => document.Name.IsNull());
]]></code>
</example>
<example>
<code><![CDATA[
var isNullQuery = documents.Where(document => document.Name.IsNull());
]]></code>
</example>
<example>
<code><![CDATA[
var isNullQuery = documents.Where(document => document.Name.IsNull());
]]></code>
</example>
<example>
<code><![CDATA[
var isNullQuery = documents.Where(document => document.Name.IsNull());
]]></code>
</example>
<example>
<code><![CDATA[
var isNullQuery = documents.Where(document => document.Name.IsNull());
]]></code>
</example>
<example>
<code><![CDATA[
var isNullQuery = documents.Where(document => document.Name.IsNull());
]]></code>
</example>
<example>
<code><![CDATA[
var isNullQuery = documents.Where(document => document.Name.IsNull());
]]></code>
</example>
</Docs>
</Member>
<Member MemberName="IsPrimitive">
<MemberSignature Language="C#" Value="public static bool IsPrimitive (this object obj);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsPrimitive(object obj) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Azure.Documents.SystemFunctions.TypeCheckFunctionsExtensions.IsPrimitive(System.Object)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.Documents.Client</AssemblyName>
<AssemblyVersion>1.14.0.0</AssemblyVersion>
<AssemblyVersion>1.16.0.0</AssemblyVersion>
<AssemblyVersion>1.17.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Azure.DocumentDB.Core</AssemblyName>
<AssemblyVersion>1.5.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="obj" Type="System.Object" RefType="this" />
</Parameters>
<Docs>
<param name="obj"></param>
<summary>
Determines if a certain property is of premitive JSON type.
</summary>
<returns>Returns true if this property is null otherwise returns false.</returns>
<remarks>
Premitive JSON types (Double, String, Boolean and Null)
</remarks>
<example>
<code><![CDATA[
var isPrimitiveQuery = documents.Where(document => document.Name.IsPrimitive());
]]></code>
</example>
<example>
<code><![CDATA[
var isPrimitiveQuery = documents.Where(document => document.Name.IsPrimitive());
]]></code>
</example>
<example>
<code><![CDATA[
var isPrimitiveQuery = documents.Where(document => document.Name.IsPrimitive());
]]></code>
</example>
<example>
<code><![CDATA[
var isPrimitiveQuery = documents.Where(document => document.Name.IsPrimitive());
]]></code>
</example>
<example>
<code><![CDATA[
var isPrimitiveQuery = documents.Where(document => document.Name.IsPrimitive());
]]></code>
</example>
<example>
<code><![CDATA[
var isPrimitiveQuery = documents.Where(document => document.Name.IsPrimitive());
]]></code>
</example>
<example>
<code><![CDATA[
var isPrimitiveQuery = documents.Where(document => document.Name.IsPrimitive());
]]></code>
</example>
<example>
<code><![CDATA[
var isPrimitiveQuery = documents.Where(document => document.Name.IsPrimitive());
]]></code>
</example>
<example>
<code><![CDATA[
var isPrimitiveQuery = documents.Where(document => document.Name.IsPrimitive());
]]></code>
</example>
</Docs>
</Member>
</Members>
</Type>