Here are the examples of the csharp api System.Collections.Generic.IEnumerable.Contains(TemplateFlag) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
19
Source : Template.cs
with MIT License
from craigbridges
with MIT License
from craigbridges
public bool IsFlagSet
(
TemplateFlag flag
)
{
return this.Flags.Contains(flag);
}
19
Source : TemplateContext.cs
with MIT License
from craigbridges
with MIT License
from craigbridges
public bool IsFlagSet
(
TemplateFlag flag
)
{
return this.Flags.Contains
(
flag
);
}