Пример #1
0
        public static PBXContainerItemProxyData Create(string containerRef, string proxyType, string remoteGlobalGUID, string remoteInfo)
        {
            PBXContainerItemProxyData containerItemProxyData = new PBXContainerItemProxyData();

            containerItemProxyData.guid = PBXGUID.Generate();
            containerItemProxyData.SetPropertyString("isa", "PBXContainerItemProxy");
            containerItemProxyData.SetPropertyString("containerPortal", containerRef);
            containerItemProxyData.SetPropertyString("proxyType", proxyType);
            containerItemProxyData.SetPropertyString("remoteGlobalIDString", remoteGlobalGUID);
            containerItemProxyData.SetPropertyString("remoteInfo", remoteInfo);
            return(containerItemProxyData);
        }
 public static PBXContainerItemProxyData Create(string containerRef, string proxyType, string remoteGlobalGUID, string remoteInfo)
 {
     PBXContainerItemProxyData data = new PBXContainerItemProxyData {
         guid = PBXGUID.Generate()
     };
     data.SetPropertyString("isa", "PBXContainerItemProxy");
     data.SetPropertyString("containerPortal", containerRef);
     data.SetPropertyString("proxyType", proxyType);
     data.SetPropertyString("remoteGlobalIDString", remoteGlobalGUID);
     data.SetPropertyString("remoteInfo", remoteInfo);
     return data;
 }