public static GlobalObjectKey Parse(string str) { if (string.IsNullOrEmpty(str) || str == " ") { return(null); } int pos = str.IndexOf(Separator); return(new GlobalObjectKey( ObjectKey.Parse(str.Substring(0, pos)), ObjectKey.Parse(str.Substring(pos + 1)))); }
public object GetRealObject(StreamingContext context) { return(ObjectKey.Parse(serializedKey)); }
public GlobalObjectKey(string ownerKey, string key) : this(ObjectKey.Parse(ownerKey), ObjectKey.Parse(key)) { }