예제 #1
0
        private static ActiveDirectoryOptions Build(Action <ActiveDirectoryOptions> options)
        {
            var opt = new ActiveDirectoryOptions();

            options(opt);
            return(opt);
        }
예제 #2
0
 /// <summary>
 /// ActiveDirectory
 /// </summary>
 public ActiveDirectory()
 {
     _options = new ActiveDirectoryOptions();
 }
예제 #3
0
 /// <summary>
 /// ActiveDirectory
 /// </summary>
 public ActiveDirectory(Action <ActiveDirectoryOptions> options)
 {
     _options = Build(options);
 }