Table of Contents

Class BusinessManager

Namespace
S1API.Property
Assembly
S1API.dll

Provides methods for managing and retrieving business property data within the application.

public static class BusinessManager
Inheritance
BusinessManager
Inherited Members

Methods

FindBusinessByName(string)

Finds a business property with the given name from the list of available business properties.

public static BusinessWrapper? FindBusinessByName(string name)

Parameters

name string

The name of the business property to search for.

Returns

BusinessWrapper

A BusinessWrapper representing the business property with the specified name if found; otherwise, null.

GetAllBusinesses()

Retrieves a list of all business properties available.

public static List<BusinessWrapper> GetAllBusinesses()

Returns

List<BusinessWrapper>

A list of BusinessWrapper objects representing all available business properties.

GetOwnedBusinesses()

Retrieves a list of all business properties that are currently owned.

public static List<BusinessWrapper> GetOwnedBusinesses()

Returns

List<BusinessWrapper>

A list of BusinessWrapper objects representing the owned business properties.