CreateFrom() static private method

static private CreateFrom ( object extension ) : IWcfExtension
extension object
return IWcfExtension
Example #1
0
 public T AddExtensions(params object[] extensions)
 {
     foreach (object extension in extensions)
     {
         Extensions.Add(WcfExplicitExtension.CreateFrom(extension));
     }
     return((T)this);
 }
Example #2
0
 public T AddExtensions(params object[] extensions)
 {
     Extensions.AddAll(extensions.Select(extension => WcfExplicitExtension.CreateFrom(extension)));
     return((T)this);
 }