Example #1
0
 public IEmbeder GetInstance(EmbedType embedType, EmbedingOptions options)
 {
     switch (embedType)
     {
         case EmbedType.Lsb:
             return new LsbEmbeder(options);
         case EmbedType.None:
             return new MockEmbeder();
         default:
             return new LsbEmbeder(options);
     }
 }
Example #2
0
 /// <summary>
 /// Initializes instance of LsbEmbeder class.
 /// </summary>
 /// <param name="options">Options of embeding.</param>
 public LsbEmbeder(EmbedingOptions options)
 {
     _options = options;
 }