Class PropertyFieldsContainerIntegrationClient
- Namespace
- Sfrep.AppraiseIt.Client.Integration.DataStore
- Assembly
- Sfrep.AppraiseIt.Client.Integration.dll
Encapsulates data for the subject or a comparable (excluding rental comparables) in the dynamic data store.
public sealed class PropertyFieldsContainerIntegrationClient : FieldsContainerIntegrationClientBase, IDisposable
- Inheritance
-
objectPropertyFieldsContainerIntegrationClient
- Implements
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.ReferenceEquals(object, object)object.ToString()
Properties
OutbuildingCount
Gets the number of outbuildings in this property.
public int OutbuildingCount { get; }
Property Value
- int
StructureCount
Gets the number of structures in this property.
public int StructureCount { get; }
Property Value
- int
Methods
AddOutbuilding(string, string)
Adds an outbuilding to this property.
public OutbuildingDataIntegrationClient AddOutbuilding(string outbuildingType, string outbuildingTypeOtherDescription)
Parameters
outbuildingTypestringThe outbuilding's type.
Supported values:
- None
- Barn
- Boathouse
- Bunkhouse
- EnclosedKennel
- Greenhouse
- GuestHouse
- IndoorRidingArena
- ManufacturedHome
- Office
- Other
- PoolHouse
- Shed
- Silo
- Stable
- StandaloneAdu
- Studio
- Workshop
outbuildingTypeOtherDescriptionstringThe outbuilding's description when it's outbuildingType is Other.
Returns
- OutbuildingDataIntegrationClient
The newly added outbuilding.
Remarks
Each call returns a new instance that, to prevent resource leaks, must be disposed by calling the Dispose method once it is no longer needed.
AddStructure(string, bool)
Adds a structure to this property.
public StructureDataIntegrationClient AddStructure(string name, bool isManufacturedHome)
Parameters
namestringThe structure's name.
isManufacturedHomeboolTrue if the structure is a manufactured home. Otherwise, false.
Returns
- StructureDataIntegrationClient
The newly added structure.
Remarks
Each call returns a new instance that, to prevent resource leaks, must be disposed by calling the Dispose method once it is no longer needed.
Dispose(bool)
Frees resources used by this instance.
protected override void Dispose(bool disposing)
Parameters
disposingboolTrue if called by the Dispose() method. False if called by the finalizer.
GetOutbuilding(int)
Gets the specified outbuilding from this structure.
public OutbuildingDataIntegrationClient GetOutbuilding(int index)
Parameters
indexintThe outbuilding's index.
Returns
- OutbuildingDataIntegrationClient
The outbuilding's data.
Remarks
Each call returns a new instance that, to prevent resource leaks, must be disposed by calling the Dispose method once it is no longer needed.
GetStructure(int)
Gets the specified structure from this property.
public StructureDataIntegrationClient GetStructure(int index)
Parameters
indexintThe structure's index.
Returns
- StructureDataIntegrationClient
The structure data.
Remarks
Each call returns a new instance that, to prevent resource leaks, must be disposed by calling the Dispose method once it is no longer needed.
RemoveOutbuilding(int)
Removes the specified outbuilding from this property.
public void RemoveOutbuilding(int index)
Parameters
indexintThe outbuilding's index.
RemoveStructure(int)
Removes the specified structure from this property.
public void RemoveStructure(int index)
Parameters
indexintThe structure's index.