예제 #1
0
    public ContextEdge AddNewContextEdge(OutcomeOrSuggestion item, int rank)
    {
      Contract.Requires(item != null);
      Contract.Ensures(Contract.Result<ContextEdge>() != null);

      throw new NotImplementedException();
    }
예제 #2
0
        public ContextEdge NewContextEdge(OutcomeOrSuggestion item)
        {
            Contract.Ensures(Contract.Result<ContextEdge>() != null);

            throw new NotImplementedException();
        }
예제 #3
0
    public ContextEdge AddNewContextEdge(OutcomeOrSuggestion item, int rank)
    {
      if (!this.IsValid) return null;

      var result = this.model.NewContextEdge(item);
      result.Rank = rank;
      return result;
    }
 public ContextEdge AddNewContextEdge(OutcomeOrSuggestion item, int rank)
 {
   return underlying.AddNewContextEdge(item, rank);
 }