Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AFFromAceFlags()

static AF System.Security.AccessControl.CommonAcl.AFFromAceFlags ( AceFlags aceFlags,
bool isDS )
inlinestaticprivateinherited

Definition at line 136 of file CommonAcl.cs.

137 {
138 AF aF = (AF)0;
139 if ((aceFlags & AceFlags.ContainerInherit) != 0)
140 {
141 aF |= AF.CI;
142 }
143 if (!isDS && (aceFlags & AceFlags.ObjectInherit) != 0)
144 {
145 aF |= AF.OI;
146 }
147 if ((aceFlags & AceFlags.InheritOnly) != 0)
148 {
149 aF |= AF.IO;
150 }
151 if ((aceFlags & AceFlags.NoPropagateInherit) != 0)
152 {
153 aF |= AF.NP;
154 }
155 return aF;
156 }

Referenced by System.Security.AccessControl.CommonAcl.MergeInheritanceBits(), and System.Security.AccessControl.CommonAcl.RemoveInheritanceBits().