private static ActiveDirectoryOptions Build(Action <ActiveDirectoryOptions> options) { var opt = new ActiveDirectoryOptions(); options(opt); return(opt); }
/// <summary> /// ActiveDirectory /// </summary> public ActiveDirectory() { _options = new ActiveDirectoryOptions(); }
/// <summary> /// ActiveDirectory /// </summary> public ActiveDirectory(Action <ActiveDirectoryOptions> options) { _options = Build(options); }