public VendorInfo() { Behaviour = Behaviour.Default; Name = ""; DisplayName = ""; UrlElement = ""; Description = ""; InternalID = (new Guid()).ToString(); HasExpenses = false; SecurityData = new SecurityData(); ClientSide = new ClientSide(); m_oGuid = new Guid(); } // constructor
} // ToString public object Clone() { var oRes = new SecurityData { Fields = new List <FieldInfo>(), ToStringArguments = new List <string>() }; foreach (FieldInfo fi in Fields) { oRes.Fields.Add((FieldInfo)fi.Clone()); } foreach (string s in ToStringArguments) { oRes.ToStringArguments.Add((string)s.Clone()); } return(oRes); } // Clone