예제 #1
0
 public static Exceptional<IndexKeyDefinition> CreateFromIDChainDefinitions(IEnumerable<IDChainDefinition> myIDChainDefinitions)
 {
     var indexKeyDefinition = new IndexKeyDefinition();
     var retVal = new Exceptional<IndexKeyDefinition>(indexKeyDefinition);
     foreach (var idChainDefinition in myIDChainDefinitions)
     {
         retVal.PushIExceptional(indexKeyDefinition.AddIDChainDefinition(idChainDefinition));
     }
     return retVal;
 }
예제 #2
0
 public static Exceptional<IndexKeyDefinition> CreateFromIDChainDefinition(IDChainDefinition myIDChainDefinition)
 {
     var indexKeyDefinition = new IndexKeyDefinition();
     var retVal = new Exceptional<IndexKeyDefinition>(indexKeyDefinition);
     retVal.PushIExceptional(indexKeyDefinition.AddIDChainDefinition(myIDChainDefinition));
     return retVal;
 }