You are here: Symbol Reference
Symbol Reference
> Ofcas.Lk.Api.Client.Core Namespace
Ofcas.Lk.Api.Client.Core Namespace
Ofcas.Lk.Api.Client.Core.Exceptions Namespace
Ofcas.Lk.Api.Client.Core.Interfaces Namespace
Ofcas.Lk.Api.Client.Ui Namespace
Ofcas.Lk.Api.Shared.DC Namespace
Ofcas.Lk.Api.Shared.DC.Enums Namespace
Files
> Classes
Classes
> CoreObjectBase Class
CoreInfo<TData, TParentObject, TParent> Class
CoreObjectBase Class
CoreObjectFullyQualified<TParent, TOwnInfo, TChild, TChildInfo> Class
CoreObjectWithChildren<TChild, TChildInfo> Class
Disposable Class
Document Class
DocumentContainer Class
DocumentInfo Class
ElementPricelist Class
ElementPricelistConfigurator Class
ElementPricelistConfiguratorNextTreeResult Class
ElementPricelistContainer Class
ElementPricelistElevationInfo Class
ElementPricelistInfo Class
ElementType Class
Elevation Class
ElevationEditMode Class
ElevationInfo Class
ElevationInstance Class
ElevationInstanceInfo Class
ExportSettings Class
GdzSettings Class
GraphicSettings Class
InsertionElevationInfo Class
LoginScope Class
OperationInfo Class
Phase Class
PhaseInfo Class
Project Class
ProjectCenter Class
ProjectCenterInfo Class
ProjectDirectoryInfo Class
ProjectInfo Class
ProjectInformation Class
ProjectInformationContainer Class
ProjectInformationInfo Class
ReportCategory Class
ReportItem Class
Settings3D Class
StandardElevationInfo Class
TextElevationInfo Class
> CoreObjectBase Methods
CoreObjectBase.CoreObjectBase Constructor
CoreObjectBase Fields
CoreObjectBase Methods
CoreObjectBase Properties
> CoreObjectBase.CallService<T> Method
CoreObjectBase.CallService<T> Method
CoreObjectBase.CallServiceWithMessage<T> Method
CoreObjectBase.CanDispose Method
CoreObjectBase.Children Method
CoreObjectBase.Dispose Method
Close

Ofcas.Lk.Api.Client - Version 3.0 | Contents Index Home |

CoreObjectBase.CallService<T> Method
Send Feedback
Collapse All Expand All

Calls a service function and raises an error if it fails.

Syntax
C#
protected T CallService<T>(Func<IApiService, T> serviceCall, Guid projectGuid = default(Guid), [CallerMemberName] string callerMethod = null) where T : IBaseResponse;
Parameters

Parameters | Description
Func<IApiService, T> serviceCall | The call to be executed.
Guid projectGuid = default(Guid) | The caller project guid.
[CallerMemberName] string callerMethod = null | The caller method.
T | The type of BaseResponse expected.

Links
CoreObjectBase Class
Ofcas.Lk.Api.Client.Core Namespace

Copyright © 2019. All rights reserved.
What do you think about this topic? Send feedback!