C# Class SolarCalculator.SolarCalculatorSoe

Inheritance: SoeBase, IServerObjectExtension, IObjectConstruct, IRESTRequestHandler
ファイルを表示 Open project: steveoh/SolarCalculator

Private Properties

Property Type Description

Public Methods

Method Description
Construct ( IPropertySet props ) : void

This is where you put any expensive business logic that you don’t need to run on each request. For example, if you know you’re always working with the same layer in the map, you can put the code to get the layer here.

SolarCalculatorSoe ( ) : System.Runtime.InteropServices

Initializes a new instance of the SolarCalculatorSoe class. If you have business logic that you want to run when the SOE first becomes enabled, don’t here; instead, use the following IObjectConstruct.Construct() method found in SoeBase.cs

Method Details

Construct() public method

This is where you put any expensive business logic that you don’t need to run on each request. For example, if you know you’re always working with the same layer in the map, you can put the code to get the layer here.
public Construct ( IPropertySet props ) : void
props IPropertySet The props.
return void

SolarCalculatorSoe() public method

Initializes a new instance of the SolarCalculatorSoe class. If you have business logic that you want to run when the SOE first becomes enabled, don’t here; instead, use the following IObjectConstruct.Construct() method found in SoeBase.cs
public SolarCalculatorSoe ( ) : System.Runtime.InteropServices
return System.Runtime.InteropServices