public static View[] FromTSObject(dynamic[] tsArray) { if (tsArray is null) { return(null); } var list = new System.Collections.Generic.List <View>(); foreach (var tsItem in tsArray) { list.Add(View_.FromTSObject(tsItem)); } return(list.ToArray()); }
public static dynamic GetTSObject(View[] dynArray) { if (dynArray is null) { return(null); } var list = new System.Collections.Generic.List <dynamic>(); foreach (var dynItem in dynArray) { list.Add(View_.GetTSObject(dynItem)); } return(list.ToArray()); }
public override int GetHashCode() { int hashcode = 157; unchecked { if (isset.create_) { hashcode = (hashcode * 397) + Create_.GetHashCode(); } if (isset.delete_) { hashcode = (hashcode * 397) + Delete_.GetHashCode(); } if (isset.view_) { hashcode = (hashcode * 397) + View_.GetHashCode(); } if (isset.edit_) { hashcode = (hashcode * 397) + Edit_.GetHashCode(); } } return(hashcode); }