public SirenClassAttribute(Type template, string directory, SirenGenerateMode mode = SirenGenerateMode.Generate) { Template = template; Directory = directory; Mode = mode; if (!Mode.HasFlag(SirenGenerateMode.Embeded)&& !Mode.HasFlag(SirenGenerateMode.Generate) &&!Mode.HasFlag(SirenGenerateMode.Suppress)) { Mode |= SirenGenerateMode.Generate; } }
public SirenClassAttribute(Type template, string directory, SirenGenerateMode mode = SirenGenerateMode.Generate) { Template = template; Directory = directory; Mode = mode; if (!Mode.HasFlag(SirenGenerateMode.Embeded) && !Mode.HasFlag(SirenGenerateMode.Generate) && !Mode.HasFlag(SirenGenerateMode.Suppress)) { Mode |= SirenGenerateMode.Generate; } }
public SirenClassAttribute(Type template, string directory, SirenGenerateMode mode = SirenGenerateMode.Generate) { Template = template; Directory = directory; Mode = mode; }