196 references to CimType
System.Management (196)
Instrumentation\SchemaMapping.cs (23)
191 props.Add("ProcessId", CimType.String, false); 192 props.Add("InstanceId", CimType.String, false); 462 CimType cimtype = CimType.String; 488 CimType cimType = prop.Type; 511 cimtype = CimType.Object; 513 cimtype = CimType.Object; 515 cimtype = CimType.Object; 517 cimtype = CimType.SInt8; 519 cimtype = CimType.UInt8; 521 cimtype = CimType.SInt16; 523 cimtype = CimType.UInt16; 525 cimtype = CimType.SInt32; 527 cimtype = CimType.UInt32; 529 cimtype = CimType.SInt64; 531 cimtype = CimType.UInt64; 533 cimtype = CimType.Real32; 535 cimtype = CimType.Real64; 537 cimtype = CimType.Boolean; 539 cimtype = CimType.String; 541 cimtype = CimType.Char16; 543 cimtype = CimType.DateTime; 545 cimtype = CimType.DateTime;
Instrumentation\SchemaRegistration.cs (12)
625props.Add("InstrumentedAssembliesClassName", InstrumentedAssembliesClassName, CimType.String); 650props.Add("Name", CimType.String, false); 653props.Add("RegisteredBuild", CimType.String, false); 654props.Add("FullName", CimType.String, false); 655props.Add("PathToAssembly", CimType.String, false); 656props.Add("Code", CimType.String, false); 657props.Add("Mof", CimType.String, false); 666props.Add("NamespaceName", CimType.String, false); 677props.Add("HostingModel", "Decoupled:Com", CimType.String); 678props.Add("SecurityDescriptor", CimType.String, false); 679props.Add("Version", 1, CimType.UInt32); 689props.Add("Assembly", CimType.String, false);
property.cs (82)
140 (CimType)(propertyType & ~(int)tag_CIMTYPE_ENUMERATION.CIM_FLAG_ARRAY), 147 (CimType)(propertyType & ~(int)tag_CIMTYPE_ENUMERATION.CIM_FLAG_ARRAY), 173 /// <para>A <see cref='System.Management.CimType'/> value 176 public CimType Type { 179 return (CimType)(propertyType & ~(int)tag_CIMTYPE_ENUMERATION.CIM_FLAG_ARRAY); 272 internal static object MapWmiValueToValue(object wmiValue, CimType type, bool isArray) 285 case CimType.UInt16: 292 case CimType.UInt32: 299 case CimType.UInt64: 306 case CimType.SInt8: 313 case CimType.SInt64: 320 case CimType.Char16: 327 case CimType.Object: 343 case CimType.SInt8: 347 case CimType.UInt16: 351 case CimType.UInt32: 355 case CimType.UInt64: 359 case CimType.SInt64: 363 case CimType.Char16: 367 case CimType.Object: 387 internal static object MapValueToWmiValue(object val, CimType type, bool isArray) 400 case CimType.SInt8: 406 case CimType.UInt8: 417 case CimType.SInt16: 428 case CimType.UInt16: 434 case CimType.SInt32: 445 case CimType.UInt32: 451 case CimType.SInt64: 457 case CimType.UInt64: 463 case CimType.Real32: 474 case CimType.Real64: 485 case CimType.Char16: 491 case CimType.String: 492 case CimType.DateTime: 493 case CimType.Reference: 504 case CimType.Boolean: 515 case CimType.Object: 538 case CimType.SInt8: 542 case CimType.UInt8: 546 case CimType.SInt16: 550 case CimType.UInt16: 554 case CimType.SInt32: 558 case CimType.UInt32: 562 case CimType.SInt64: 566 case CimType.UInt64: 570 case CimType.Real32: 574 case CimType.Real64: 578 case CimType.Char16: 582 case CimType.String: 583 case CimType.DateTime: 584 case CimType.Reference: 588 case CimType.Boolean: 592 case CimType.Object: 619 internal static object MapValueToWmiValue(object val, out bool isArray, out CimType type) 642 type = CimType.UInt8; 652 type = CimType.SInt8; 660 type = CimType.Boolean; 667 type = CimType.UInt16; 675 type = CimType.SInt16; 680 type = CimType.SInt32; 687 type = CimType.UInt32; 697 type = CimType.UInt64; 707 type = CimType.SInt64; 715 type = CimType.Real32; 720 type = CimType.Real64; 727 type = CimType.Char16; 739 type = CimType.String; 749 type = CimType.Object; 769 type = CimType.UInt16; 774 type = CimType.UInt32; 782 type = CimType.UInt64; 787 type = CimType.SInt8; 792type = CimType.UInt8; 797 type = CimType.SInt16; 802 type = CimType.SInt32; 807 type = CimType.SInt64; 812 type = CimType.Boolean; 817 type = CimType.Real32; 822 type = CimType.Real64; 827 type = CimType.Char16; 832 type = CimType.String; 840 type = CimType.Object;
propertyset.cs (3)
412 CimType cimType = 0; 443 public void Add(string propertyName, Object propertyValue, CimType propertyType) 485 public void Add(string propertyName, CimType propertyType, bool isArray)
WmiGenerator.cs (76)
1235if(prop.Type == CimType.DateTime) 1358if(prop.Type != CimType.DateTime) 1441if (prop.Type == CimType.Reference) 1449if (prop.Type == CimType.DateTime) 1501if (prop.Type == CimType.Reference) 1509if (prop.Type == CimType.DateTime) 2836CimType cimRetType = CimType.SInt8; // Initialized to remove warnings 2975if( prop.Type == CimType.DateTime) 3003if (prop.Type == CimType.Reference) 3010if (prop.Type == CimType.DateTime) 3089if( prop.Type == CimType.DateTime) 3107if( prop.Type == CimType.DateTime) 3120if (prop.Type == CimType.Reference) 3127if (prop.Type == CimType.DateTime) 3142if(prop.IsArray || prop.Type == CimType.Object) 3162if(prop.Type == CimType.DateTime && prop.IsArray == false) 4651private CodeTypeReference ConvertCIMType(CimType cType,bool isArray) 4656case CimType.SInt8: 4661case CimType.UInt8: // 4666case CimType.SInt16: 4671case CimType.UInt16: 4683case CimType.SInt32: 4688case CimType.UInt32: 4700case CimType.SInt64: 4705case CimType.UInt64: 4717case CimType.Real32: 4722case CimType.Real64: 4727case CimType.Boolean: 4732case CimType.String: 4737case CimType.DateTime: 4742case CimType.Reference: 4747case CimType.Char16: 4752case CimType.Object: 4772private static bool isTypeInt(CimType cType) 4777case CimType.UInt8: // 4778case CimType.UInt16: 4779case CimType.UInt32: // FIXX VB code generator cannot have Long enumerators 4780case CimType.SInt8: 4781case CimType.SInt16: 4782case CimType.SInt32: 4787case CimType.SInt64: 4788case CimType.UInt64: 4789case CimType.Real32: 4790case CimType.Real64: 4791case CimType.Boolean: 4792case CimType.String: 4793case CimType.DateTime: 4794case CimType.Reference: 4795case CimType.Char16: 4796case CimType.Object: 5144String GetConversionFunction(CimType cimType) 5150case CimType.UInt8: 5154case CimType.SInt8: 5158case CimType.SInt16: 5162case CimType.UInt16: 5173case CimType.SInt32: 5178case CimType.UInt32: 5190case CimType.SInt64: 5195case CimType.UInt64: 5207case CimType.Real32: 5212case CimType.Real64: 5217case CimType.Boolean: 5223case CimType.Char16: 5229case CimType.String: 5255private static bool IsPropertyValueType(CimType cType) 5260case CimType.String: 5261case CimType.Reference: 5262case CimType.Object: 5293private static string ConvertToNumericValueAndAddToArray(CimType cimType, string numericValue,ArrayList arrayToAdd,out string enumType) 5300case CimType.UInt8: 5301case CimType.SInt8: 5302case CimType.SInt16: 5303case CimType.UInt16: 5304case CimType.SInt32: 5310case CimType.UInt32: