public ProtectAttribute(ProtectMode settings) { this.Settings = settings; }
public static ViewModelPropertyMap Protect(this ViewModelPropertyMap property, ProtectMode protectMode) { property.ViewModelProtection = protectMode; return(property); }