예제 #1
0
파일: cClass.cs 프로젝트: swapneshpal/HRIMS
 public cClass(string i_sName, string i_sNamespace, string i_sDescriptiveName, string i_sDescprition, enClassType i_enType, bool i_bIsSecurityEnabled, cProperty[] i_aProperties, enStorageType i_enStorage)
 {
     sName              = i_sName;
     sNamespace         = i_sNamespace;
     sDescriptiveName   = i_sDescriptiveName;
     sDescription       = i_sDescprition;
     enType             = i_enType;
     bIsSecurityEnabled = i_bIsSecurityEnabled;
     aProperties        = i_aProperties;
     m_dicProperties    = new Dictionary <string, int>(aProperties.Length);
     for (int i = 0; i < aProperties.Length; i++)
     {
         m_dicProperties.Add(aProperties[i].sName, i);
     }
     enStorage = i_enStorage;
 }
예제 #2
0
파일: cClass.cs 프로젝트: swapneshpal/HRIMS
 public cClass(string i_sName, string i_sNamespace, string i_sDescriptiveName, string i_sDescprition, enClassType i_enType, bool i_bIsSecurityEnabled, cProperty[] i_aProperties, enStorageType i_enStorage)
 {
     sName = i_sName;
     sNamespace = i_sNamespace;
     sDescriptiveName = i_sDescriptiveName;
     sDescription = i_sDescprition;
     enType = i_enType;
     bIsSecurityEnabled = i_bIsSecurityEnabled;
     aProperties = i_aProperties;
     m_dicProperties = new Dictionary<string, int>(aProperties.Length);
     for (int i = 0; i < aProperties.Length; i++)
     {
         m_dicProperties.Add(aProperties[i].sName, i);
     }
     enStorage = i_enStorage;
 }