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

◆ AceFlagsFromAF()

static AceFlags System.Security.AccessControl.CommonAcl.AceFlagsFromAF ( AF af,
bool isDS )
inlinestaticprivateinherited

Definition at line 158 of file CommonAcl.cs.

159 {
160 AceFlags aceFlags = AceFlags.None;
161 if ((af & AF.CI) != 0)
162 {
163 aceFlags |= AceFlags.ContainerInherit;
164 }
165 if (!isDS && (af & AF.OI) != 0)
166 {
167 aceFlags |= AceFlags.ObjectInherit;
168 }
169 if ((af & AF.IO) != 0)
170 {
171 aceFlags |= AceFlags.InheritOnly;
172 }
173 if ((af & AF.NP) != 0)
174 {
175 aceFlags |= AceFlags.NoPropagateInherit;
176 }
177 return aceFlags;
178 }

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