public Exceptional ChangeCommentOnType(GraphDBType myGraphDBType, String myComment) { if (myGraphDBType == null) return new Exceptional<Boolean>(new Error_ArgumentNullOrEmpty("myGraphDBType")); if (String.IsNullOrEmpty(myComment)) return new Exceptional<Boolean>(new Error_ArgumentNullOrEmpty("myComment")); myGraphDBType.SetComment(myComment); var flushExcept = FlushType(myGraphDBType); if (!flushExcept.Success()) { return new Exceptional<Boolean>(true); } else { return new Exceptional<Boolean>(flushExcept); } }
public Exceptional ChangeCommentOnType(GraphDBType myGraphDBType, String myComment) { if (myGraphDBType == null) return new Exceptional<Boolean>(new Error_ArgumentNullOrEmpty("myGraphDBType")); if (String.IsNullOrEmpty(myComment)) return new Exceptional<Boolean>(new Error_ArgumentNullOrEmpty("myComment")); myGraphDBType.SetComment(myComment); return new Exceptional<Boolean>(true); }