protected void InitialRelativeType(ref CY.CSTS.Core.Business.view_INSTRUMENT instrument, ref IEnumerable<CY.CSTS.Core.Business.CLASSCODE> relativeTypes, ref int typecount) { try { if (instrument != null) { relativeTypes = instrument.GetRelativeInstrumentTypes(); if (relativeTypes != null) { typecount = relativeTypes.Count(); } } } catch (Exception ex) { throw ex; } }