PropertyMap.AddSetProperty C# (CSharp) Method

AddSetProperty() public method

public AddSetProperty ( String name, MethodDetail, detail ) : void
name String
detail MethodDetail,
return void
            public void AddSetProperty(String name, MethodDetail detail) {
               Property property = properties.get(name);
               if(property == null) {
                  property = new Property();
                  properties.put(name, property);
               }
               if(property.Set() != null) {
                  throw new IllegalStateException("The property '"+name+"' is defined twice in "+details.FullyQualifiedName);
               }
               if(detail == null) {
                  throw new IllegalStateException("Can not set a null property");
               }
               property.AddSetMethod(detail);
            }
            public void AddGetProperty(String name, MethodDetail detail) {