C# Class VaultFolderCreate.ServiceManager

A singleton class for managing web service objects and connection information.
Show file Open project: nick-hall-majenta/Autodesk-Vault-Utilities Class Usage Examples

Public Methods

Method Description
GetDocumentService ( ) : DocumentService

Gets the Document service object, or creates one if needed.

GetSecurityService ( LoginInfo loginInfo ) : SecurityService

Gets the security service object, or creates one if needed.

GetServiceManager ( ) : ServiceManager

Gets the ServiceManager instance

Private Methods

Method Description
ServiceManager ( ) : System
SetSvcUrl ( System svc ) : string

Set the URL of the web service. This is how you point the service to a specific server.

Method Details

GetDocumentService() public static method

Gets the Document service object, or creates one if needed.
public static GetDocumentService ( ) : DocumentService
return VaultFolderCreate.DocumentSvc.DocumentService

GetSecurityService() public static method

Gets the security service object, or creates one if needed.
public static GetSecurityService ( LoginInfo loginInfo ) : SecurityService
loginInfo LoginInfo
return VaultFolderCreate.SecuritySvc.SecurityService

GetServiceManager() public static method

Gets the ServiceManager instance
public static GetServiceManager ( ) : ServiceManager
return ServiceManager