Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
.NET
»
Topic:
What does mean 0 (zero) of the LoadCtrls value?
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: What does mean 0 (zero) of the LoadCtrls value? (Read 2039 times)
0 Members and 1 Guest are viewing this topic.
Andrey Bushman
Swamp Rat
Posts: 864
What does mean 0 (zero) of the LoadCtrls value?
«
on:
October 24, 2016, 08:46:19 AM »
What does mean 0 (zero) of the
LoadCtrls
value? Look the attached screen, please.
Logged
dgorsman
Water Moccasin
Posts: 2437
Re: What does mean 0 (zero) of the LoadCtrls value?
«
Reply #1 on:
October 24, 2016, 10:16:14 AM »
Its a binary flag value. So, no flags are set.
Logged
If you are going to fly by the seat of your pants, expect friction burns.
try {GreatPower;}
catch (notResponsible)
{NextTime(PlanAhead);}
finally
{MasterBasics;}
Andrey Bushman
Swamp Rat
Posts: 864
Re: What does mean 0 (zero) of the LoadCtrls value?
«
Reply #2 on:
October 25, 2016, 06:41:23 AM »
Quote from: dgorsman on October 24, 2016, 10:16:14 AM
Its a binary flag value. So, no flags are set.
I understand this... But I don't understand what is differ for 0 and 16 values? Both cases don't load the extension.
Logged
Andrey Bushman
Swamp Rat
Posts: 864
Re: What does mean 0 (zero) of the LoadCtrls value?
«
Reply #3 on:
October 25, 2016, 07:20:44 AM »
Alexander Rivilis
answered to my question
here
. Therefore my curent version of the
LoadCtrls
enum is:
Code - C#:
[Select]
[
Flags
]
public
enum
LoadCtrls
{
/// <summary>
/// Don't load application. This variant allows to load
/// the application later through the
/// `HostApplicationServices.LoadApplication` or
/// `DynamicLinker.LoadApp` functions.
/// </summary>
NotLoad
=
0
,
/// <summary>
/// Load application upon detection of proxy object.
/// </summary>
LoadWhenProxyDetected
=
1
,
/// <summary>
/// Load the application at startup.
/// </summary>
LoadAtApplicationStartup
=
2
,
/// <summary>
/// Load the application at start of a command.
/// </summary>
LoadWhenCommandLaunched
=
4
,
/// <summary>
/// Load the application at the request of a user or
/// another application.
/// </summary>
LoadWhenRequestedByUserOrApplication
=
8
,
/// <summary>
/// Do not load the application. Also this variant
/// forbids to load the application later through the
/// `HostApplicationServices.LoadApplication` or
/// `DynamicLinker.LoadApp` functions.
/// </summary>
ForbidLoad
=
16
,
/// <summary>
/// Load the application transparently.
/// </summary>
LoadTransparently
=
32
,
/// <summary>
/// Load the application when the system is idle.
/// </summary>
LoadArxWhenSystemIsIdle
=
64
}
«
Last Edit: October 25, 2016, 07:24:28 AM by Andrey Bushman
»
Logged
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
.NET
»
Topic:
What does mean 0 (zero) of the LoadCtrls value?