public bool TryDefine(string name, TypeBase type, out FrameResource resource) { resource = null; if (IsDefined(name)) return false; resource = Frame.Allocate(type, false); _identifiers.Add(name, resource); return true; }
public bool TryDefine(string name, TypeBase type, out FrameResource resource) { resource = null; if (IsDefined(name)) { return(false); } resource = Frame.Allocate(type, false); _identifiers.Add(name, resource); return(true); }