SessionProfile Class

Current Session Profile describes all session specific parameters. Used as a main context for all IO/visualization/calculation operations.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public abstract class SessionProfile : OptionsCollection, 
	ISessionProfile, IOptionsCollection, IEnumerable<KeyValuePair<string, string>>, 
	IEnumerable, IResultOptions
Inheritance
Object    OptionsCollection    SessionProfile
Implements
IOptionsCollection, IResultOptions, ISessionProfile, IEnumerable<KeyValuePair<String, String>>, IEnumerable

Constructors

SessionProfile Constructs the session profile.

Properties

Account Provides access to the account which is used in the session.
AppEnv Environment of the application.
ApproximateEqualAccuracy Accuracy of the Approximate Equal operator.
AppShortTitle

Localized short title of the application like SMath Solver Enterprise which is formatted from AppInfo using CurrentLanguage and ShortTitle.

ArgumentsSeparator Function's arguments separator to use within a program.
BuiltInFunctions Descriptions of built-in function.
BuiltInOperators Descriptions of built-in operators.
BuiltInSpecialVariables Descriptions of built-in special variables.
BuiltInVariables Built-in program's constants.
CurrentLanguage Interface language to be used within current application session.
CurrentUnits Set of Units to be used within current application session.
CurrentUnitsLanguage Selected language of the built-in units.
DecimalPlaces Number of decimal places in the result.
DecimalSymbol Decimal Symbol. Also used as a char to start subscript in the variables names.
Drawing Provides access to the font settings within current application session.
ExponentialThreshold Exponential threshold of the result value.
FontName Name of the font.
FractionType Type of the fractions on output.
IntegralAccuracy Accuracy of the Integral calculation.
IsDisposed Determines whether the session profile is disposed or not.
Item Gets or sets a string representation of the option value.
(Inherited from OptionsCollection)
LastErrorSpecialVariable Provides description of the lastError built-in special variable.
Manager Instance of SessionsManager this session profile belongs to.
NamingType Gets or sets a type of the functions to be displayed.
OnError Action to perform on error.
PageModel Provides access to the printing model of documents.
PrimitivesBuiltIn Descriptions of built-in primitives.
PrimitivesExternal Descriptions of primitives which are supported by plug-ins.
ProgramFullTitleInvariant

Full title of the program in English like SMath Studio Enterprise 1.3.0.9031 Desktop 64-bit Portable which is formatted from ProgramInfo using FullTitle.

  Tip

Value of this property suits well for logging.

RoundingMode Mathematical rounding method to process a number that is midway.
SignificantDigits Determines whether answer should be displayed in significant digits mode.
SolveFromPoint Start value of the interval for numerical solve function.
SolveToPoint End value of the interval for numerical solve function.
TrailingZeros Determines whether trailing zeros must be displayed or not.
UseMixedNumbers Determines whether to show result as a combination of a whole number and a proper fraction.

Methods

Dispose Implementation of Dispose()
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetAccount Provides the value for Account.
GetBoolean Returns value of the option in boolean format.
(Inherited from OptionsCollection)
GetBuiltInFunctions Provides the value for BuiltInFunctions.
GetBuiltInOperators Provides the value for BuiltInOperators.
GetBuiltInSpecialVariables Provides the value for BuiltInSpecialVariables.
GetBuiltInVariables Provides the value for BuiltInVariables.
GetCollection Returns a dictionary of the options with values where name of the option start with a given name.
(Inherited from OptionsCollection)
GetDrawing Provides the value for Drawing.
GetEnumerator Returns enumerator of the available options.
(Inherited from OptionsCollection)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetInt Returns value of the option in integer format.
(Inherited from OptionsCollection)
GetPrimitivesBuiltIn Provides the value for PrimitivesBuiltIn.
GetPrimitivesExternal Provides the value for PrimitivesExternal.
GetSingle Returns value of the option in the floating number format.
(Inherited from OptionsCollection)
GetString Returns value of the option as a string.
(Inherited from OptionsCollection)
GetTypeGets the Type of the current instance.
(Inherited from Object)
LoadUnits Loads the measurement units via UnitsManager and sets the properties CurrentUnitsLanguage and CurrentUnits.
MakeGlobal Uses current Session Profile as a Global Context for old-style plug-ins.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ShowAlert

Shows an alert message using AppShortTitle as the title of the message box.

ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

data Dictionary of the options and its values.
(Inherited from OptionsCollection)

See Also